Symbol: attrs
lib/libcurses/cchar.c
113
wcval->attributes = attrs & ~__COLOR;
lib/libcurses/cchar.c
52
getcchar(const cchar_t *wcval, wchar_t *wch, attr_t *attrs,
lib/libcurses/cchar.c
67
if (attrs == NULL || color_pair == NULL)
lib/libcurses/cchar.c
71
*attrs = wcval->attributes;
lib/libcurses/cchar.c
87
setcchar(cchar_t *wcval, const wchar_t *wch, const attr_t attrs,
lib/libp2k/p2k.c
1323
int attrnamespace, size_t *attrsize, uint8_t *attrs,
lib/libp2k/p2k.c
1331
if (attrs)
lib/libp2k/p2k.c
1332
uio = rump_pub_uio_setup(attrs, *resid, 0, RUMPUIO_READ);
lib/libperfuse/ops.c
3508
int attrns, size_t *attrsize, uint8_t *attrs, size_t *resid, int flag,
lib/libperfuse/ops.c
3566
if (attrs != NULL) {
lib/libperfuse/ops.c
3590
(void)memcpy(attrs + outlen + 1,
lib/libperfuse/ops.c
3592
*(attrs + outlen) = (uint8_t)attrlen;
lib/libperfuse/ops.c
3595
(void)memcpy(attrs + outlen, np + i, attrlen + 1);
share/examples/puffs/pgfs/pgfs_puffs.c
761
unsigned int attrs;
share/examples/puffs/pgfs/pgfs_puffs.c
768
attrs = 0;
share/examples/puffs/pgfs/pgfs_puffs.c
771
attrs |= GETATTR_UID|GETATTR_GID|GETATTR_MODE;
share/examples/puffs/pgfs/pgfs_puffs.c
774
attrs |= GETATTR_TYPE|GETATTR_UID|GETATTR_GID;
share/examples/puffs/pgfs/pgfs_puffs.c
779
attrs |= GETATTR_UID|GETATTR_GID|GETATTR_MODE;
share/examples/puffs/pgfs/pgfs_puffs.c
784
error = getattr(xc, fileid, &ova, attrs);
sys/arch/alpha/alpha/pmap.c
2358
uintptr_t attrs = 0;
sys/arch/alpha/alpha/pmap.c
2363
attrs |= (PGA_REFERENCED|PGA_MODIFIED);
sys/arch/alpha/alpha/pmap.c
2365
attrs |= PGA_REFERENCED;
sys/arch/alpha/alpha/pmap.c
2369
attrs = (md->pvh_listx |= attrs);
sys/arch/alpha/alpha/pmap.c
2373
if ((attrs & PGA_REFERENCED) == 0)
sys/arch/alpha/alpha/pmap.c
2375
else if ((attrs & PGA_MODIFIED) == 0)
sys/arch/alpha/alpha/pmap.c
3325
uintptr_t const attrs = md->pvh_listx & PGA_ATTRS;
sys/arch/alpha/alpha/pmap.c
3327
md->pvh_listx = (uintptr_t)newpv | attrs;
sys/arch/ia64/stand/ia64/ski/efi_stub.c
201
GetVariable(efi_char *name, struct uuid *vendor, uint32_t *attrs,
sys/arch/ia64/stand/ia64/ski/efi_stub.c
214
SetVariable(efi_char *name, struct uuid *vendor, uint32_t attrs, u_long datasz,
sys/arch/powerpc/ibm4xx/pmap.c
238
return &uvm_physseg_get_pmseg(bank)->attrs[pg];
sys/arch/powerpc/ibm4xx/pmap.c
504
uvm_physseg_get_pmseg(bank)->attrs = attr;
sys/arch/powerpc/include/ibm4xx/vmparam.h
106
char *attrs;
sys/arch/x86/include/pmap_pv.h
82
uint8_t attrs;
sys/arch/x86/include/pmap_pv.h
90
#define pp_attrs pp_u.s.attrs
sys/arch/x86/x86/pmap.c
6174
pmap_pp_attrs_to_ept(uint8_t attrs)
sys/arch/x86/x86/pmap.c
6177
if (attrs & PP_ATTRS_D)
sys/arch/x86/x86/pmap.c
6179
if (attrs & PP_ATTRS_A)
sys/arch/x86/x86/pmap.c
6181
if (attrs & PP_ATTRS_W)
sys/arch/x86/x86/pmap.c
658
pmap_pp_attrs_to_pte(uint8_t attrs)
sys/arch/x86/x86/pmap.c
661
if (attrs & PP_ATTRS_D)
sys/arch/x86/x86/pmap.c
663
if (attrs & PP_ATTRS_A)
sys/arch/x86/x86/pmap.c
665
if (attrs & PP_ATTRS_W)
sys/dev/wscons/wsdisplay_vcons.c
1042
(scr->scr_attrs[pos] != vdp->attrs[ppos])) {
sys/dev/wscons/wsdisplay_vcons.c
1046
vdp->attrs[ppos] = scr->scr_attrs[pos];
sys/dev/wscons/wsdisplay_vcons.c
1092
vdp->attrs[i] = scr->scr_attrs[i];
sys/dev/wscons/wsdisplay_vcons.c
1197
(scr->scr_attrs[pos] != vdp->attrs[ppos])) {
sys/dev/wscons/wsdisplay_vcons.c
1201
vdp->attrs[ppos] = scr->scr_attrs[pos];
sys/dev/wscons/wsdisplay_vcons.c
1248
vdp->attrs[i] = fillattr;
sys/dev/wscons/wsdisplay_vcons.c
1308
if ((vdp->chars == NULL) || (vdp->attrs == NULL)) {
sys/dev/wscons/wsdisplay_vcons.c
1312
if ((vdp->chars[pos] != c) || (vdp->attrs[pos] != attr)) {
sys/dev/wscons/wsdisplay_vcons.c
1313
vdp->attrs[pos] = attr;
sys/dev/wscons/wsdisplay_vcons.c
1722
vdp->attrs[i] = -1;
sys/dev/wscons/wsdisplay_vcons.c
222
vdp->attrs = NULL;
sys/dev/wscons/wsdisplay_vcons.c
359
if (vdp->attrs != NULL)
sys/dev/wscons/wsdisplay_vcons.c
360
free(vdp->attrs, M_DEVBUF);
sys/dev/wscons/wsdisplay_vcons.c
364
vdp->attrs = malloc(size * sizeof(long), M_DEVBUF,
sys/dev/wscons/wsdisplay_vcons.c
746
vdp->attrs[boffset] = attrptr[offset];
sys/dev/wscons/wsdisplay_vcons.c
792
vdp->attrs[vdp->cursor_offset] = 0xffffffff;
sys/dev/wscons/wsdisplay_vcons.c
803
(vdp->attrs[boffset] != attrptr[offset])) {
sys/dev/wscons/wsdisplay_vcons.c
807
vdp->attrs[boffset] = attrptr[offset];
sys/dev/wscons/wsdisplay_vcons.c
91
long *attrs;
sys/kern/kern_exec.c
2221
handle_posix_spawn_attrs(struct posix_spawnattr *attrs, struct proc *parent)
sys/kern/kern_exec.c
2228
if (attrs == NULL)
sys/kern/kern_exec.c
2253
if (attrs->sa_flags & POSIX_SPAWN_SETPGROUP) {
sys/kern/kern_exec.c
2255
pid_t pgrp = attrs->sa_pgroup;
sys/kern/kern_exec.c
2266
if (attrs->sa_flags & POSIX_SPAWN_SETSCHEDULER)
sys/kern/kern_exec.c
2267
error = do_sched_setparam(p->p_pid, 0, attrs->sa_schedpolicy,
sys/kern/kern_exec.c
2268
&attrs->sa_schedparam);
sys/kern/kern_exec.c
2269
else if (attrs->sa_flags & POSIX_SPAWN_SETSCHEDPARAM) {
sys/kern/kern_exec.c
2271
SCHED_NONE, &attrs->sa_schedparam);
sys/kern/kern_exec.c
2277
if (attrs->sa_flags & POSIX_SPAWN_RESETIDS) {
sys/kern/kern_exec.c
2289
if (attrs->sa_flags & POSIX_SPAWN_SETSIGMASK) {
sys/kern/kern_exec.c
2291
error = sigprocmask1(l, SIG_SETMASK, &attrs->sa_sigmask, NULL);
sys/kern/kern_exec.c
2297
if (attrs->sa_flags & POSIX_SPAWN_SETSIGDEF) {
sys/kern/kern_exec.c
2309
if (sigismember(&attrs->sa_sigdefault, i))
sys/kern/kern_exec.c
2351
struct posix_spawnattr *attrs = spawn_data->sed_attrs;
sys/kern/kern_exec.c
2352
if ((!attrs || (attrs->sa_flags
sys/kern/kern_exec.c
2369
error = handle_posix_spawn_attrs(attrs, spawn_data->sed_parent);
sys/nfs/nfs_vfsops.c
689
struct vattr *attrs;
sys/nfs/nfs_vfsops.c
780
attrs = malloc(sizeof(struct vattr), M_TEMP, M_WAITOK);
sys/nfs/nfs_vfsops.c
781
VOP_GETATTR(vp, attrs, l->l_cred);
sys/nfs/nfs_vfsops.c
784
kauth_cred_setuid(cr, attrs->va_uid);
sys/nfs/nfs_vfsops.c
785
kauth_cred_seteuid(cr, attrs->va_uid);
sys/nfs/nfs_vfsops.c
786
kauth_cred_setsvuid(cr, attrs->va_uid);
sys/nfs/nfs_vfsops.c
787
kauth_cred_setgid(cr, attrs->va_gid);
sys/nfs/nfs_vfsops.c
788
kauth_cred_setegid(cr, attrs->va_gid);
sys/nfs/nfs_vfsops.c
789
kauth_cred_setsvgid(cr, attrs->va_gid);
sys/nfs/nfs_vfsops.c
793
free(attrs, M_TEMP);
sys/sys/device.h
429
#define CFDRIVER_DECL(name, class, attrs) \
sys/sys/device.h
433
.cd_attrs = attrs, \
sys/uvm/pmap/pmap.c
1021
u_long attrs = 0;
sys/uvm/pmap/pmap.c
1081
attrs |= VM_PAGEMD_MODIFIED;
sys/uvm/pmap/pmap.c
1083
attrs |= VM_PAGEMD_REFERENCED;
sys/uvm/pmap/pmap.c
1114
if (attrs != 0)
sys/uvm/pmap/pmap.c
1115
pmap_page_set_attributes(mdpg, attrs);
tests/fs/ffs/t_extattr.c
156
check_list(buf, __arraycount(attrs));
tests/fs/ffs/t_extattr.c
161
check_list(buf, __arraycount(attrs));
tests/fs/ffs/t_extattr.c
63
static const char *attrs[] = { E, T };
tests/fs/ffs/t_extattr.c
69
for (size_t i = 0; i < __arraycount(attrs); i++) {
tests/fs/ffs/t_extattr.c
71
if (l != strlen(attrs[i]))
tests/fs/ffs/t_extattr.c
73
strlen(attrs[i]));
tests/fs/ffs/t_extattr.c
74
if (strncmp(&buf[p], attrs[i], l) != 0)
tests/fs/ffs/t_extattr.c
76
&buf[p], attrs[i]);
tests/fs/vfs/t_ro.c
185
ATF_TC_FSAPPLY_RO(attrs, "can query but not change attributes", filegen);
tests/fs/vfs/t_ro.c
197
ATF_TP_FSAPPLY_RO(attrs);
tests/fs/vfs/t_vnops.c
1083
ATF_TC_FSAPPLY(attrs, "check setting attributes works");
tests/fs/vfs/t_vnops.c
1117
ATF_TP_FSAPPLY(attrs);
tests/lib/libcurses/slave/curses_commands.c
247
attr_t attrs;
tests/lib/libcurses/slave/curses_commands.c
253
retval = attr_get(&attrs, &colours, NULL);
tests/lib/libcurses/slave/curses_commands.c
257
report_int(attrs);
tests/lib/libcurses/slave/curses_commands.c
4502
ARG_INT(attrs);
tests/lib/libcurses/slave/curses_commands.c
4507
report_return(setcchar(&wcval, wch, attrs, color_pair, NULL));
tests/lib/libcurses/slave/curses_commands.c
4516
attr_t attrs;
tests/lib/libcurses/slave/curses_commands.c
4528
report_return(getcchar(wcval, wch, &attrs, &color_pair, NULL));
tests/lib/libcurses/slave/curses_commands.c
4530
report_int(attrs);
tests/lib/libcurses/slave/curses_commands.c
4876
ARG_INT(attrs);
tests/lib/libcurses/slave/curses_commands.c
4879
report_return(slk_attr_off(attrs, NULL));
tests/lib/libcurses/slave/curses_commands.c
4896
ARG_INT(attrs);
tests/lib/libcurses/slave/curses_commands.c
4899
report_return(slk_attr_on(attrs, NULL));
tests/lib/libcurses/slave/curses_commands.c
4916
ARG_INT(attrs);
tests/lib/libcurses/slave/curses_commands.c
4920
report_return(slk_attr_set(attrs, color_pair_number, NULL));
usr.bin/config/sem.c
513
defdev(struct devbase *dev, struct loclist *loclist, struct attrlist *attrs,
usr.bin/config/sem.c
528
if (has_errobj(attrs, &errattr))
usr.bin/config/sem.c
542
attrs = attrlist_cons(attrs, getattr(dev->d_name));
usr.bin/config/sem.c
552
for (al = attrs; al != NULL; al = al->al_next)
usr.bin/config/sem.c
570
dev->d_attrs = attrs;
usr.bin/config/sem.c
588
for (al = attrs; al != NULL; al = al->al_next) {
usr.bin/config/sem.c
601
attrlist_destroyall(attrs);
usr.bin/config/sem.c
654
struct attrlist *attrs)
usr.bin/config/sem.c
682
if (has_errobj(attrs, &errattr))
usr.bin/config/sem.c
684
for (al = attrs; al != NULL; al = al->al_next) {
usr.bin/config/sem.c
696
deva->d_attrs = attrs;
usr.bin/config/sem.c
749
attrlist_destroyall(attrs);
usr.bin/sdpquery/print.c
57
attr_t * attrs;
usr.bin/sdpquery/print.c
734
service_list[j].attrs, service_list[j].nattr))
usr.bin/xlint/lint1/cgram.y
118
attribute *old_attrs = list->attrs;
usr.bin/xlint/lint1/cgram.y
120
list->attrs = block_zero_alloc(
usr.bin/xlint/lint1/cgram.y
121
list->cap * sizeof(*list->attrs), "attribute[]");
usr.bin/xlint/lint1/cgram.y
123
memcpy(list->attrs, old_attrs,
usr.bin/xlint/lint1/cgram.y
124
list->len * sizeof(*list->attrs));
usr.bin/xlint/lint1/cgram.y
126
list->attrs[list->len++] = attr;
usr.bin/xlint/lint1/cgram.y
133
attribute_list_add(dst, src.attrs[i]);
usr.bin/xlint/lint1/debug.c
358
type_attributes_string(type_attributes attrs)
usr.bin/xlint/lint1/debug.c
363
attrs.used ? " used" : "",
usr.bin/xlint/lint1/debug.c
364
attrs.noreturn ? " noreturn" : "",
usr.bin/xlint/lint1/debug.c
365
attrs.bit_width == 128 ? " 128bit" :
usr.bin/xlint/lint1/debug.c
366
attrs.bit_width == 64 ? " 64bit" : "");
usr.bin/xlint/lint1/debug.c
607
const attribute *attr = list->attrs + i;
usr.bin/xlint/lint1/decl.c
507
dcs_add_type_attributes(type_attributes attrs)
usr.bin/xlint/lint1/decl.c
509
if (attrs.used)
usr.bin/xlint/lint1/decl.c
511
if (attrs.noreturn)
usr.bin/xlint/lint1/decl.c
513
if (attrs.bit_width == 128)
usr.bin/xlint/lint1/decl.c
515
if (attrs.bit_width == 64)
usr.bin/xlint/lint1/lint1.h
591
attribute *attrs;
usr.bin/xlint/lint1/tree.c
718
attributes_contain(const attribute_list *attrs, const char *str)
usr.bin/xlint/lint1/tree.c
720
for (size_t i = 0, n = attrs->len; i < n; i++) {
usr.bin/xlint/lint1/tree.c
721
const attribute *attr = attrs->attrs + i;