Symbol: attr
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
1000
isakmp_cfg_addr4(struct ph1handle *iph1 __unused, struct isakmp_data *attr,
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
1008
if ((buffer = vmalloc(sizeof(*attr) + len)) == NULL) {
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
1015
new->type = attr->type;
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
1024
isakmp_cfg_addrnet4(struct ph1handle *iph1 __unused, struct isakmp_data *attr,
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
1033
if ((buffer = vmalloc(sizeof(*attr) + len)) == NULL) {
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
1040
new->type = attr->type;
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
1052
isakmp_cfg_addr4_list(struct ph1handle *iph1 __unused, struct isakmp_data *attr,
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
1068
if ((bufone = vmalloc(sizeof(*attr) + len)) == NULL) {
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
1074
new->type = attr->type;
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
1077
new += (len + sizeof(*attr));
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
1657
struct isakmp_data *attr;
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
1676
len = sizeof(*attrpl) + sizeof(*attr) * attrcount;
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
1688
attr = (struct isakmp_data *)(attrpl + 1);
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
1691
attr->type = htons(attrlist[i]);
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
1692
attr->lorv = htons(0);
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
1693
attr++;
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
1708
isakmp_cfg_getaddr4(struct isakmp_data *attr, struct in_addr *ip)
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
1710
size_t alen = ntohs(attr->lorv);
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
1718
addr = (in_addr_t *)(attr + 1);
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
1725
isakmp_cfg_appendaddr4(struct isakmp_data *attr, struct in_addr *ip,
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
1728
size_t alen = ntohs(attr->lorv);
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
1740
addr = (in_addr_t *)(attr + 1);
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
1748
isakmp_cfg_getstring(struct isakmp_data *attr, char *str)
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
1750
size_t alen = ntohs(attr->lorv);
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
1752
src = (char *)(attr + 1);
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
307
struct isakmp_data *attr;
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
315
attr = (struct isakmp_data *)(attrpl + 1);
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
319
type = ntohs(attr->type);
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
327
s_isakmp_cfg_type(type), ntohs(attr->lorv));
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
332
attr, ntohs(attrpl->id))) != 0)
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
343
tlen -= sizeof(*attr);
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
344
attr++;
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
348
type = ntohs(attr->type);
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
349
alen = ntohs(attr->lorv);
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
375
attr, ntohs(attrpl->id))) != 0)
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
379
isakmp_cfg_getaddr4(attr, &iph1->mode_cfg->addr4);
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
383
isakmp_cfg_getaddr4(attr, &iph1->mode_cfg->mask4);
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
387
isakmp_cfg_appendaddr4(attr,
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
393
isakmp_cfg_appendaddr4(attr,
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
399
isakmp_cfg_getstring(attr,
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
413
isakmp_unity_reply(iph1, attr);
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
424
npp = (char *)attr;
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
425
attr = (struct isakmp_data *)(npp + sizeof(*attr) + alen);
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
426
tlen -= (sizeof(*attr) + alen);
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
477
struct isakmp_data *attr;
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
494
attr = (struct isakmp_data *)(attrpl + 1);
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
499
type = ntohs(attr->type);
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
507
s_isakmp_cfg_type(type), ntohs(attr->lorv));
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
511
reply_attr = isakmp_xauth_req(iph1, attr);
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
520
tlen -= sizeof(*attr);
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
521
attr++;
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
531
type = ntohs(attr->type);
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
532
alen = ntohs(attr->lorv);
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
552
reply_attr = isakmp_cfg_net(iph1, attr);
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
565
reply_attr = isakmp_xauth_req(iph1, attr);
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
570
attr, ISAKMP_CFG_RACOON_VERSION);
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
584
reply_attr = isakmp_unity_req(iph1, attr);
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
595
npp = (char *)attr;
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
596
attr = (struct isakmp_data *)(npp + sizeof(*attr) + alen);
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
597
tlen -= (sizeof(*attr) + alen);
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
644
struct isakmp_data *attr;
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
661
attr = (struct isakmp_data *)(attrpl + 1);
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
669
type = ntohs(attr->type);
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
677
reply_attr = isakmp_xauth_set(iph1, attr);
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
696
tlen -= sizeof(*attr);
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
697
attr++;
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
699
alen = ntohs(attr->lorv);
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
700
tlen -= (sizeof(*attr) + alen);
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
701
npp = (char *)attr;
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
702
attr = (struct isakmp_data *)
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
703
(npp + sizeof(*attr) + alen);
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
759
isakmp_cfg_net(struct ph1handle *iph1, struct isakmp_data *attr)
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
764
type = ntohs(attr->type);
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
833
attr, &iph1->mode_cfg->addr4.s_addr);
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
867
return isakmp_cfg_addr4(iph1, attr,
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
872
attr, &isakmp_cfg_config.dns4[0],
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
877
attr, &isakmp_cfg_config.nbns4[0],
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
882
return isakmp_cfg_addrnet4(iph1, attr,
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
901
isakmp_cfg_void(struct ph1handle *iph1, struct isakmp_data *attr)
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
906
if ((buffer = vmalloc(sizeof(*attr))) == NULL) {
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
913
new->type = attr->type;
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
922
isakmp_cfg_copy(struct ph1handle *iph1 __unused, struct isakmp_data *attr)
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
927
if ((ntohs(attr->type) & ISAKMP_GEN_MASK) == ISAKMP_GEN_TLV)
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
928
len = ntohs(attr->lorv);
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
930
if ((buffer = vmalloc(sizeof(*attr) + len)) == NULL) {
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
935
memcpy(buffer->v, attr, sizeof(*attr) + ntohs(attr->lorv));
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
942
isakmp_cfg_short(struct ph1handle *iph1 __unused, struct isakmp_data *attr, int value)
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
948
if ((buffer = vmalloc(sizeof(*attr))) == NULL) {
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
954
type = ntohs(attr->type) & ~ISAKMP_GEN_MASK;
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
964
isakmp_cfg_varlen(struct ph1handle *iph1 __unused, struct isakmp_data *attr,
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
974
if ((buffer = vmalloc(sizeof(*attr) + len)) == NULL) {
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
981
new->type = attr->type;
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
991
isakmp_cfg_string(struct ph1handle *iph1, struct isakmp_data *attr,
crypto/dist/ipsec-tools/src/racoon/isakmp_cfg.c
995
return isakmp_cfg_varlen(iph1, attr, string, len);
crypto/dist/ipsec-tools/src/racoon/isakmp_unity.c
101
type = ntohs(attr->type);
crypto/dist/ipsec-tools/src/racoon/isakmp_unity.c
109
s_isakmp_cfg_type(type), ntohs(attr->lorv));
crypto/dist/ipsec-tools/src/racoon/isakmp_unity.c
145
reply_attr = isakmp_cfg_string(iph1, attr, buf);
crypto/dist/ipsec-tools/src/racoon/isakmp_unity.c
151
reply_attr = isakmp_cfg_short(iph1, attr,
crypto/dist/ipsec-tools/src/racoon/isakmp_unity.c
156
reply_attr = isakmp_cfg_short(iph1, attr,
crypto/dist/ipsec-tools/src/racoon/isakmp_unity.c
161
reply_attr = isakmp_cfg_copy(iph1, attr);
crypto/dist/ipsec-tools/src/racoon/isakmp_unity.c
166
attr, isakmp_cfg_config.default_domain);
crypto/dist/ipsec-tools/src/racoon/isakmp_unity.c
171
reply_attr = isakmp_cfg_split(iph1, attr,
crypto/dist/ipsec-tools/src/racoon/isakmp_unity.c
179
reply_attr = isakmp_cfg_split(iph1, attr,
crypto/dist/ipsec-tools/src/racoon/isakmp_unity.c
186
reply_attr = isakmp_cfg_varlen(iph1, attr,
crypto/dist/ipsec-tools/src/racoon/isakmp_unity.c
203
isakmp_unity_reply(struct ph1handle *iph1, struct isakmp_data *attr)
crypto/dist/ipsec-tools/src/racoon/isakmp_unity.c
205
int type = ntohs(attr->type);
crypto/dist/ipsec-tools/src/racoon/isakmp_unity.c
206
int alen = ntohs(attr->lorv);
crypto/dist/ipsec-tools/src/racoon/isakmp_unity.c
208
struct unity_network *network = (struct unity_network *)(attr + 1);
crypto/dist/ipsec-tools/src/racoon/isakmp_unity.c
259
isakmp_cfg_split(struct ph1handle *iph1, struct isakmp_data *attr,
crypto/dist/ipsec-tools/src/racoon/isakmp_unity.c
272
if ((buffer = vmalloc(sizeof(*attr) + len)) == NULL) {
crypto/dist/ipsec-tools/src/racoon/isakmp_unity.c
278
new->type = attr->type;
crypto/dist/ipsec-tools/src/racoon/isakmp_unity.c
89
isakmp_unity_req(struct ph1handle *iph1, struct isakmp_data *attr)
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
124
struct isakmp_pl_attr *attr;
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
146
tlen = sizeof(*attr) +
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
1466
isakmp_xauth_req(struct ph1handle *iph1, struct isakmp_data *attr)
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
1487
type = ntohs(attr->type) & ~ISAKMP_GEN_MASK;
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
1492
if ((ntohs(attr->type) & ISAKMP_GEN_TV) == 0) {
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
1497
if (ntohs(attr->lorv) != XAUTH_TYPE_GENERIC) {
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
1500
ntohs(attr->lorv));
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
1556
if ((ntohs(attr->type) & ISAKMP_GEN_TV) == 0) {
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
1557
dlen = ntohs(attr->lorv);
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
1559
mraw = (char*)(attr + 1);
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
156
attr = (struct isakmp_pl_attr *)buffer->v;
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
157
memset(attr, 0, tlen);
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
1579
if ((buffer = vmalloc(sizeof(*attr) + dlen)) == NULL) {
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
1585
attr = (struct isakmp_data *)buffer->v;
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
1587
attr->type = htons(type | ISAKMP_GEN_TV);
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
1588
attr->lorv = htons(value);
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
159
attr->h.len = htons(tlen);
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
1592
attr->type = htons(type | ISAKMP_GEN_TLV);
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
1593
attr->lorv = htons(dlen);
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
1594
data = (char *)(attr + 1);
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
160
attr->type = ISAKMP_CFG_REQUEST;
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
161
attr->id = htons(eay_random());
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
1619
isakmp_xauth_set(struct ph1handle *iph1, struct isakmp_data *attr)
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
163
typeattr = (struct isakmp_data *)(attr + 1);
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
1633
type = ntohs(attr->type) & ~ISAKMP_GEN_MASK;
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
1658
if (ntohs(attr->lorv) != XAUTH_STATUS_OK) {
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
1673
if ((ntohs(attr->type) & ISAKMP_GEN_TV) == 0) {
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
1674
dlen = ntohs(attr->lorv);
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
1676
mraw = (char*)(attr + 1);
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
1697
if ((buffer = vmalloc(sizeof(*attr))) == NULL) {
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
1703
attr = (struct isakmp_data *)buffer->v;
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
1704
attr->type = htons(type | ISAKMP_GEN_TV);
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
1705
attr->lorv = htons(0);
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
186
xauth_attr_reply(struct ph1handle *iph1, struct isakmp_data *attr, int id)
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
206
type = ntohs(attr->type) & ~ISAKMP_GEN_MASK;
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
209
switch (ntohs(attr->lorv)) {
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
236
alen = ntohs(attr->lorv);
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
244
memcpy(*outlet, attr + 1, alen);
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
407
struct isakmp_pl_attr *attr;
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
411
tlen = sizeof(*attr) +
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
419
attr = (struct isakmp_pl_attr *)buffer->v;
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
420
memset(attr, 0, tlen);
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
422
attr->h.len = htons(tlen);
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
423
attr->type = ISAKMP_CFG_SET;
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
424
attr->id = htons(id);
crypto/dist/ipsec-tools/src/racoon/isakmp_xauth.c
426
stattr = (struct isakmp_data *)(attr + 1);
crypto/dist/ipsec-tools/src/racoon/racoonctl.c
1256
struct isakmp_data *attr;
crypto/dist/ipsec-tools/src/racoon/racoonctl.c
1266
attr = (struct isakmp_data *)(evtdump + 1);
crypto/dist/ipsec-tools/src/racoon/racoonctl.c
1269
if (len < sizeof(*attr)) {
crypto/dist/ipsec-tools/src/racoon/racoonctl.c
1274
if ((ntohs(attr->type) & ISAKMP_GEN_MASK) == ISAKMP_GEN_TV) {
crypto/dist/ipsec-tools/src/racoon/racoonctl.c
1276
len -= sizeof(*attr);
crypto/dist/ipsec-tools/src/racoon/racoonctl.c
1277
attr++;
crypto/dist/ipsec-tools/src/racoon/racoonctl.c
1281
if (len < (sizeof(*attr) + ntohs(attr->lorv))) {
crypto/dist/ipsec-tools/src/racoon/racoonctl.c
1286
switch (ntohs(attr->type) & ~ISAKMP_GEN_MASK) {
crypto/dist/ipsec-tools/src/racoon/racoonctl.c
1288
if (ntohs(attr->lorv) < sizeof(addr4)) {
crypto/dist/ipsec-tools/src/racoon/racoonctl.c
1292
memcpy(&addr4, attr + 1, sizeof(addr4));
crypto/dist/ipsec-tools/src/racoon/racoonctl.c
1296
banner = racoon_malloc(ntohs(attr->lorv) + 1);
crypto/dist/ipsec-tools/src/racoon/racoonctl.c
1301
memcpy(banner, attr + 1, ntohs(attr->lorv));
crypto/dist/ipsec-tools/src/racoon/racoonctl.c
1302
banner[ntohs(attr->lorv)] = '\0';
crypto/dist/ipsec-tools/src/racoon/racoonctl.c
1309
len -= (sizeof(*attr) + ntohs(attr->lorv));
crypto/dist/ipsec-tools/src/racoon/racoonctl.c
1310
n = (char *)attr;
crypto/dist/ipsec-tools/src/racoon/racoonctl.c
1311
attr = (struct isakmp_data *)
crypto/dist/ipsec-tools/src/racoon/racoonctl.c
1312
(n + sizeof(*attr) + ntohs(attr->lorv));
games/worms/worms.c
190
chtype ch, eye, attr;
games/worms/worms.c
452
w->attr = nc ? ctab[n % nc] : 0;
games/worms/worms.c
506
x = w->xpos[h] = 0, c | w->attr);
games/worms/worms.c
546
c | w->attr);
games/worms/worms.c
552
w->ch | w->attr);
games/worms/worms.c
564
}, attr[] = {
games/worms/worms.c
567
int nattr = __arraycount(attr);
games/worms/worms.c
592
if (!canbold && attr[i] == A_BOLD)
games/worms/worms.c
594
if (!candim && attr[i] == A_DIM)
games/worms/worms.c
598
if (clr[j] == COLOR_BLACK && attr[i] != A_BOLD)
games/worms/worms.c
604
*ip++ = COLOR_PAIR(nc + 1) | attr[i];
lib/libbluetooth/sdp.h
473
uint16_t attr; /* SDP_ATTR_xxx */
lib/libbluetooth/sdp_compat.c
172
uint16_t attr;
lib/libbluetooth/sdp_compat.c
224
while (vlen > 0 && sdp_get_attr(&seq, &attr, &value)) {
lib/libbluetooth/sdp_compat.c
225
vp->attr = attr;
lib/libbluetooth/sdp_compat.c
377
uint32_t attr;
lib/libbluetooth/sdp_compat.c
583
sdp_attr2desc(uint16_t attr)
lib/libbluetooth/sdp_compat.c
588
if (attr == a->attr)
lib/libbluetooth/sdp_compat.c
600
if (uuid == a->attr)
lib/libbluetooth/sdp_get.c
66
sdp_get_attr(sdp_data_t *data, uint16_t *attr, sdp_data_t *value)
lib/libbluetooth/sdp_get.c
76
*attr = (uint16_t)a;
lib/libbluetooth/sdp_put.c
63
sdp_put_attr(sdp_data_t *data, uint16_t attr, sdp_data_t *value)
lib/libbluetooth/sdp_put.c
67
if (!sdp_put_uint16(&d, attr)
lib/libc/stdlib/system.c
112
posix_spawnattr_init(&attr);
lib/libc/stdlib/system.c
113
posix_spawnattr_setsigdefault(&attr, &sigdefault);
lib/libc/stdlib/system.c
114
posix_spawnattr_setsigmask(&attr, &omask);
lib/libc/stdlib/system.c
115
posix_spawnattr_setflags(&attr,
lib/libc/stdlib/system.c
118
error = posix_spawn(&pid, _PATH_BSHELL, NULL, &attr, __UNCONST(argp),
lib/libc/stdlib/system.c
121
posix_spawnattr_destroy(&attr);
lib/libc/stdlib/system.c
61
posix_spawnattr_t attr;
lib/libcurses/add_wchstr.c
179
tp->attr = win->battr;
lib/libcurses/add_wchstr.c
216
lp->attr = win->battr;
lib/libcurses/add_wchstr.c
236
lp->attr = chp->attributes & WA_ATTRIBUTES;
lib/libcurses/add_wchstr.c
265
lp->attr = chp->attributes & WA_ATTRIBUTES;
lib/libcurses/add_wchstr.c
290
win->alines[win->cury]->line[i].attr,
lib/libcurses/addbytes.c
101
__waddbytes(WINDOW *win, const char *bytes, int count, attr_t attr)
lib/libcurses/addbytes.c
104
return _cursesi_waddbytes(win, bytes, count, attr, 1);
lib/libcurses/addbytes.c
115
_cursesi_waddbytes(WINDOW *win, const char *bytes, int count, attr_t attr,
lib/libcurses/addbytes.c
155
c, attr, *py, *px);
lib/libcurses/addbytes.c
156
err = _cursesi_addbyte(win, &lp, py, px, c, attr, char_interp);
lib/libcurses/addbytes.c
181
(unsigned)wc, unctrl((unsigned)wc), attr, *py, *px, n);
lib/libcurses/addbytes.c
184
cc.attributes = attr;
lib/libcurses/addbytes.c
209
attr_t attr, int char_interp)
lib/libcurses/addbytes.c
282
attributes = (win->wattr | attr) & (__ATTRIBUTES & ~__COLOR);
lib/libcurses/addbytes.c
283
if (attr & __COLOR)
lib/libcurses/addbytes.c
284
attributes |= attr & __COLOR;
lib/libcurses/addbytes.c
328
(*lp)->line[*x].attr =
lib/libcurses/addbytes.c
331
(*lp)->line[*x].attr = attributes | win->battr;
lib/libcurses/addbytes.c
476
tp->attr = win->battr;
lib/libcurses/addbytes.c
512
tp->attr = win->battr;
lib/libcurses/addbytes.c
555
lp->attr = attributes | (win->battr & ~__COLOR);
lib/libcurses/addbytes.c
557
lp->attr = attributes | win->battr;
lib/libcurses/addbytes.c
563
lp->ch, lp->attr, lp->wcols);
lib/libcurses/addbytes.c
593
tp->attr = lp->attr & WA_ATTRIBUTES;
lib/libcurses/addbytes.c
638
tp->attr = win->battr;
lib/libcurses/addbytes.c
650
lp->ch, lp->attr);
lib/libcurses/addch.c
115
buf.attr = (attr_t)ch & __ATTRIBUTES;
lib/libcurses/addch.c
116
__CTRACE(__CTRACE_INPUT, "addch: %d : 0x%x\n", buf.ch, buf.attr);
lib/libcurses/addch.c
128
return _cursesi_waddbytes(win, buf, 1, dp->attr, 1);
lib/libcurses/addchnstr.c
136
attr_t attr;
lib/libcurses/addchnstr.c
161
attr = (*chp) & __ATTRIBUTES;
lib/libcurses/addchnstr.c
170
if (((*chp) & __ATTRIBUTES) != attr) {
lib/libcurses/addchnstr.c
172
if (_cursesi_waddbytes(win, start, i, attr, 0) == ERR) {
lib/libcurses/addchnstr.c
176
attr = (*chp) & __ATTRIBUTES;
lib/libcurses/addchnstr.c
182
ret = _cursesi_waddbytes(win, start, i, attr, 0);
lib/libcurses/attributes.c
108
attron(int attr)
lib/libcurses/attributes.c
110
return wattron(stdscr, attr);
lib/libcurses/attributes.c
118
attroff(int attr)
lib/libcurses/attributes.c
120
return wattroff(stdscr, attr);
lib/libcurses/attributes.c
129
attrset(int attr)
lib/libcurses/attributes.c
131
return wattrset(stdscr, attr);
lib/libcurses/attributes.c
144
wattr_get(WINDOW *win, attr_t *attr, short *pair, void *opts)
lib/libcurses/attributes.c
150
if (attr != NULL) {
lib/libcurses/attributes.c
151
*attr = win->wattr;
lib/libcurses/attributes.c
153
*attr &= WA_ATTRIBUTES;
lib/libcurses/attributes.c
167
wattr_on(WINDOW *win, attr_t attr, void *opts)
lib/libcurses/attributes.c
172
return __wattr_on(win, attr);
lib/libcurses/attributes.c
183
wattr_off(WINDOW *win, attr_t attr, void *opts)
lib/libcurses/attributes.c
188
return __wattr_off(win, attr);
lib/libcurses/attributes.c
197
wattr_set(WINDOW *win, attr_t attr, short pair, void *opts)
lib/libcurses/attributes.c
200
win, attr, pair);
lib/libcurses/attributes.c
209
attr = (attr & ~__COLOR) | COLOR_PAIR(pair);
lib/libcurses/attributes.c
212
__wattr_on(win, attr);
lib/libcurses/attributes.c
254
wattron(WINDOW *win, int attr)
lib/libcurses/attributes.c
256
__CTRACE(__CTRACE_ATTR, "wattron: win %p, attr %08x\n", win, attr);
lib/libcurses/attributes.c
257
return __wattr_on(win, (attr_t) attr);
lib/libcurses/attributes.c
265
wattroff(WINDOW *win, int attr)
lib/libcurses/attributes.c
267
__CTRACE(__CTRACE_ATTR, "wattroff: win %p, attr %08x\n", win, attr);
lib/libcurses/attributes.c
268
return __wattr_off(win, (attr_t) attr);
lib/libcurses/attributes.c
277
wattrset(WINDOW *win, int attr)
lib/libcurses/attributes.c
279
__CTRACE(__CTRACE_ATTR, "wattrset: win %p, attr %08x\n", win, attr);
lib/libcurses/attributes.c
281
__wattr_on(win, (attr_t) attr);
lib/libcurses/attributes.c
329
attr_t attr = 0;
lib/libcurses/attributes.c
334
attr |= __BLINK;
lib/libcurses/attributes.c
336
attr |= __BOLD;
lib/libcurses/attributes.c
338
attr |= __DIM;
lib/libcurses/attributes.c
340
attr |= __BLANK;
lib/libcurses/attributes.c
342
attr |= __PROTECT;
lib/libcurses/attributes.c
344
attr |= __REVERSE;
lib/libcurses/attributes.c
347
attr |= WA_LOW;
lib/libcurses/attributes.c
349
attr |= WA_TOP;
lib/libcurses/attributes.c
351
attr |= WA_LEFT;
lib/libcurses/attributes.c
353
attr |= WA_RIGHT;
lib/libcurses/attributes.c
355
attr |= WA_HORIZONTAL;
lib/libcurses/attributes.c
357
attr |= WA_VERTICAL;
lib/libcurses/attributes.c
361
attr |= __STANDOUT;
lib/libcurses/attributes.c
363
attr |= __UNDERSCORE;
lib/libcurses/attributes.c
365
attr |= __ALTCHARSET;
lib/libcurses/attributes.c
367
return attr;
lib/libcurses/attributes.c
373
__wattr_on(WINDOW *win, attr_t attr)
lib/libcurses/attributes.c
382
__CTRACE(__CTRACE_ATTR, "wattr_on: win %p, attr %08x\n", win, attr);
lib/libcurses/attributes.c
385
if (attr & __BLINK && t_enter_blink_mode(t) != NULL)
lib/libcurses/attributes.c
387
if (attr & __BOLD && t_enter_bold_mode(t) != NULL)
lib/libcurses/attributes.c
389
if (attr & __DIM && t_enter_dim_mode(t) != NULL)
lib/libcurses/attributes.c
391
if (attr & __BLANK && t_enter_secure_mode(t) != NULL)
lib/libcurses/attributes.c
393
if (attr & __PROTECT && t_enter_protected_mode(t) != NULL)
lib/libcurses/attributes.c
395
if (attr & __REVERSE && t_enter_reverse_mode(t) != NULL)
lib/libcurses/attributes.c
398
if (attr & WA_LOW && t_enter_low_hl_mode(t) != NULL)
lib/libcurses/attributes.c
400
if (attr & WA_TOP && t_enter_top_hl_mode(t) != NULL)
lib/libcurses/attributes.c
402
if (attr & WA_LEFT && t_enter_left_hl_mode(t) != NULL)
lib/libcurses/attributes.c
404
if (attr & WA_RIGHT && t_enter_right_hl_mode(t) != NULL)
lib/libcurses/attributes.c
406
if (attr & WA_HORIZONTAL && t_enter_horizontal_hl_mode(t) != NULL)
lib/libcurses/attributes.c
408
if (attr & WA_VERTICAL && t_enter_vertical_hl_mode(t) != NULL)
lib/libcurses/attributes.c
412
if (attr & __STANDOUT && t_enter_standout_mode(t) != NULL &&
lib/libcurses/attributes.c
415
if (attr & __UNDERSCORE && t_enter_underline_mode(t) != NULL &&
lib/libcurses/attributes.c
418
if (attr & __COLOR)
lib/libcurses/attributes.c
419
__wcolor_set(win, attr);
lib/libcurses/attributes.c
425
__wattr_off(WINDOW *win, attr_t attr)
lib/libcurses/attributes.c
434
__CTRACE(__CTRACE_ATTR, "wattr_off: win %p, attr %08x\n", win, attr);
lib/libcurses/attributes.c
437
if (attr & __BLINK)
lib/libcurses/attributes.c
439
if (attr & __BOLD)
lib/libcurses/attributes.c
441
if (attr & __DIM)
lib/libcurses/attributes.c
443
if (attr & __BLANK)
lib/libcurses/attributes.c
445
if (attr & __PROTECT)
lib/libcurses/attributes.c
447
if (attr & __REVERSE)
lib/libcurses/attributes.c
450
if (attr & WA_LOW)
lib/libcurses/attributes.c
452
if (attr & WA_TOP)
lib/libcurses/attributes.c
454
if (attr & WA_LEFT)
lib/libcurses/attributes.c
456
if (attr & WA_RIGHT)
lib/libcurses/attributes.c
458
if (attr & WA_HORIZONTAL)
lib/libcurses/attributes.c
460
if (attr & WA_VERTICAL)
lib/libcurses/attributes.c
464
if (attr & __STANDOUT)
lib/libcurses/attributes.c
466
if (attr & __UNDERSCORE)
lib/libcurses/attributes.c
468
if (attr & __COLOR) {
lib/libcurses/attributes.c
477
__wcolor_set(WINDOW *win, attr_t attr)
lib/libcurses/attributes.c
490
win->wattr |= attr & __COLOR;
lib/libcurses/attributes.c
53
attr_get(attr_t *attr, short *pair, void *opts)
lib/libcurses/attributes.c
55
return wattr_get(stdscr, attr, pair, opts);
lib/libcurses/attributes.c
64
attr_on(attr_t attr, void *opts)
lib/libcurses/attributes.c
66
return wattr_on(stdscr, attr, opts);
lib/libcurses/attributes.c
75
attr_off(attr_t attr, void *opts)
lib/libcurses/attributes.c
77
return wattr_off(stdscr, attr, opts);
lib/libcurses/attributes.c
86
attr_set(attr_t attr, short pair, void *opts)
lib/libcurses/attributes.c
88
return wattr_set(stdscr, attr, pair, opts);
lib/libcurses/background.c
112
cp->attr = win->battr | (cp->attr & __ALTCHARSET);
lib/libcurses/background.c
187
obkgrnd.attr = win->battr;
lib/libcurses/background.c
238
nbkgrnd.attr = win->battr;
lib/libcurses/border.c
137
win->alines[i]->line[0].attr = (attr_t) left & __ATTRIBUTES;
lib/libcurses/border.c
139
win->alines[i]->line[endx].attr = (attr_t) right & __ATTRIBUTES;
lib/libcurses/border.c
143
fp[i].attr = (attr_t) top & __ATTRIBUTES;
lib/libcurses/border.c
145
lp[i].attr = (attr_t) bottom & __ATTRIBUTES;
lib/libcurses/border.c
152
fp[0].attr = (attr_t) topleft & __ATTRIBUTES;
lib/libcurses/border.c
154
fp[endx].attr = (attr_t) topright & __ATTRIBUTES;
lib/libcurses/border.c
156
lp[0].attr = (attr_t) botleft & __ATTRIBUTES;
lib/libcurses/border.c
158
lp[endx].attr = (attr_t) botright & __ATTRIBUTES;
lib/libcurses/border.c
311
win->alines[i]->line[j].attr = left.attributes;
lib/libcurses/border.c
356
win->alines[i]->line[j].attr = right.attributes;
lib/libcurses/border.c
394
win->alines[i]->line[j].attr = win->battr;
lib/libcurses/border.c
419
win->alines[0]->line[i + j].attr = top.attributes;
lib/libcurses/border.c
453
win->alines[0]->line[i].attr = win->battr;
lib/libcurses/border.c
462
win->alines[endy]->line[i + j].attr = bottom.attributes;
lib/libcurses/border.c
495
win->alines[endy]->line[i].attr = win->battr;
lib/libcurses/border.c
506
win->alines[0]->line[i].attr = topleft.attributes;
lib/libcurses/border.c
536
win->alines[0]->line[i].attr = topright.attributes;
lib/libcurses/border.c
566
win->alines[endy]->line[i].attr = botleft.attributes;
lib/libcurses/border.c
595
win->alines[endy]->line[i].attr = botright.attributes;
lib/libcurses/chgat.c
39
chgat(int n, attr_t attr, short color, const void *opts)
lib/libcurses/chgat.c
41
return wchgat(stdscr, n, attr, color, opts);
lib/libcurses/chgat.c
45
mvchgat(int y, int x, int n, attr_t attr, short color,
lib/libcurses/chgat.c
48
return mvwchgat(stdscr, y, x, n, attr, color, opts);
lib/libcurses/chgat.c
52
wchgat(WINDOW *win, int n, attr_t attr, short color, const void *opts)
lib/libcurses/chgat.c
54
return mvwchgat(win, win->cury, win->curx, n, attr, color, opts);
lib/libcurses/chgat.c
58
mvwchgat(WINDOW *win , int y, int x, int count, attr_t attr, short color,
lib/libcurses/chgat.c
72
attr = (attr & ~__COLOR) | COLOR_PAIR(color);
lib/libcurses/chgat.c
78
"color pair %d\n", x, y, count, (attr & ~__COLOR),
lib/libcurses/chgat.c
93
lc->attr = (lc->attr & ~WA_ATTRIBUTES) | attr;
lib/libcurses/chgat.c
95
lc->attr = attr;
lib/libcurses/clrtobot.c
105
sp->attr = battr | (sp->attr & __ALTCHARSET);
lib/libcurses/clrtoeol.c
111
sp->attr = battr | (sp->attr & __ALTCHARSET);
lib/libcurses/color.c
255
win->alines[y]->line[x].attr &= ~__COLOR;
lib/libcurses/color.c
256
win->alines[y]->line[x].attr |= __default_color;
lib/libcurses/color.c
535
__set_color( /*ARGSUSED*/ WINDOW *win, attr_t attr)
lib/libcurses/color.c
540
((curscr->wattr & __COLOR) == (attr & __COLOR)))
lib/libcurses/color.c
543
pair = PAIR_NUMBER((uint32_t)attr);
lib/libcurses/color.c
589
curscr->wattr |= attr & __COLOR;
lib/libcurses/color.c
676
if ((lp->line[x].attr & __COLOR) == cl)
lib/libcurses/color.c
677
lp->line[x].attr &= ~__COLOR;
lib/libcurses/color.c
685
if ((lp->line[x].attr &
lib/libcurses/copywin.c
125
cc.attributes = sp->attr;
lib/libcurses/cr_put.c
454
if (csp->attr == curscr->wattr)
lib/libcurses/cr_put.c
457
if ((csp->attr & WA_ATTRIBUTES)
lib/libcurses/cur_hash.c
80
h = __hash_more(&cp->attr, sizeof(cp->attr), h);
lib/libcurses/curses.c
126
dest->attr = src->attr;
lib/libcurses/curses.c
89
int ret = ( x->ch == y->ch ) && ( x->attr == y->attr );
lib/libcurses/curses.h
442
#define attroff(attr) wattroff(stdscr, attr)
lib/libcurses/curses.h
443
#define attron(attr) wattron(stdscr, attr)
lib/libcurses/curses.h
444
#define attrset(attr) wattrset(stdscr, attr)
lib/libcurses/curses_private.h
338
((_sp)->attr & WA_ATTRIBUTES) != (_battr) || \
lib/libcurses/curses_private.h
343
((_sp)->ch != (_bch) || (_sp)->attr != (_battr))
lib/libcurses/curses_private.h
397
void __set_color(WINDOW *win, attr_t attr);
lib/libcurses/curses_private.h
72
attr_t attr; /* Attributes */
lib/libcurses/delch.c
106
temp1->attr = win->battr & __COLOR;
lib/libcurses/delch.c
108
temp1->attr = 0;
lib/libcurses/delch.c
144
temp1->attr = win->battr;
lib/libcurses/erase.c
93
sp->attr = battr | (sp->attr & __ALTCHARSET);
lib/libcurses/fileio.c
117
if (fwrite(&sp->attr, sizeof(attr_t), 1, fp) != 1)
lib/libcurses/fileio.c
224
if (fread(&sp->attr, sizeof(attr_t), 1, fp) != 1)
lib/libcurses/in_wch.c
95
wcval->attributes = lp->attr;
lib/libcurses/in_wchstr.c
148
wcp->attributes = start->attr;
lib/libcurses/inch.c
88
attr_t attr;
lib/libcurses/inch.c
95
attr = (attr_t) ((win)->alines[(win)->cury]->line[(win)->curx].attr &
lib/libcurses/inch.c
97
if (__using_color && ((attr & __COLOR) == __default_color))
lib/libcurses/inch.c
98
attr &= ~__COLOR;
lib/libcurses/inch.c
99
return (ch | attr);
lib/libcurses/inchstr.c
158
*chstr = start->ch | (start->attr & ~__ACS_IS_WACS);
lib/libcurses/inchstr.c
160
*chstr = start->ch | start->attr;
lib/libcurses/ins_wch.c
173
temp1->attr = win->battr;
lib/libcurses/ins_wch.c
186
start->attr = wch->attributes & WA_ATTRIBUTES;
lib/libcurses/ins_wch.c
199
start->ch, start->attr, start->nsp);
lib/libcurses/ins_wstr.c
307
win->alines[y]->line[i].attr,
lib/libcurses/ins_wstr.c
331
temp1->attr = win->battr;
lib/libcurses/ins_wstr.c
354
win->alines[y]->line[i].attr,
lib/libcurses/ins_wstr.c
387
win->alines[y]->line[i].attr,
lib/libcurses/insch.c
101
attr = win->battr & __COLOR;
lib/libcurses/insch.c
103
attr = 0;
lib/libcurses/insch.c
120
temp1->attr = (attr_t) ch & __ATTRIBUTES;
lib/libcurses/insch.c
121
if (temp1->attr & __COLOR)
lib/libcurses/insch.c
122
temp1->attr |= (win->battr & ~__COLOR);
lib/libcurses/insch.c
124
temp1->attr |= win->battr;
lib/libcurses/insch.c
133
win->alines[LINES - 1]->line[COLS - 1].attr != attr)) {
lib/libcurses/insch.c
95
attr_t attr;
lib/libcurses/insdelln.c
122
win->alines[y]->line[i].attr = attr;
lib/libcurses/insdelln.c
166
win->alines[y]->line[i].attr = attr;
lib/libcurses/insdelln.c
76
attr_t attr;
lib/libcurses/insdelln.c
89
attr = win->battr & __COLOR;
lib/libcurses/insdelln.c
91
attr = 0;
lib/libcurses/insstr.c
191
temp1->attr = win->wattr;
lib/libcurses/insstr.c
206
win->alines[win->cury]->line[i].attr);
lib/libcurses/newwin.c
171
sp->attr = 0;
lib/libcurses/refresh.c
1027
((nsp->attr & __STANDOUT) || (nsp->attr & __UNDERSCORE)))
lib/libcurses/refresh.c
1046
csp->attr = nsp->attr;
lib/libcurses/refresh.c
1059
tcsp->attr = csp->attr;
lib/libcurses/refresh.c
1074
if (((_cursesi_screen->nca & nsp->attr) == 0) && (__using_color == 1) &&
lib/libcurses/refresh.c
1076
__set_color(curscr, nsp->attr & __COLOR);
lib/libcurses/refresh.c
1185
blank.attr = win->battr;
lib/libcurses/refresh.c
1212
wy, x, lp->ch, lp->attr, lp->wcols,
lib/libcurses/refresh.c
1214
vlp->ch, vlp->attr, vlp->wcols,
lib/libcurses/refresh.c
1290
(cp->attr & attr_mask) == battr)) {
lib/libcurses/refresh.c
1299
((cp->attr & attr_mask) == battr)) {
lib/libcurses/refresh.c
1321
nsp->ch, nsp->attr, nsp->wcols, win->bch, win->battr,
lib/libcurses/refresh.c
1324
csp->ch, csp->attr, csp->wcols, win->bch, win->battr,
lib/libcurses/refresh.c
1378
(__do_color_init == 1 || nsp->attr == blank.attr)))
lib/libcurses/refresh.c
1395
if (wlp->line[wx].attr & win->screen->nca) {
lib/libcurses/refresh.c
1407
csp->attr = blank.attr;
lib/libcurses/refresh.c
1531
wy, x, lp->ch, lp->attr, lp->wcols,
lib/libcurses/refresh.c
1533
vlp->ch, vlp->attr, vlp->wcols,
lib/libcurses/refresh.c
1629
__virtscr->maxy - 1)]->line[0].attr & __COLOR;
lib/libcurses/refresh.c
1631
if ((__virtscr->alines[i]->line[0].attr & __COLOR) != bcolor) {
lib/libcurses/refresh.c
1633
attr & __COLOR;
lib/libcurses/refresh.c
1721
curscr->alines[i]->line[j].attr);
lib/libcurses/refresh.c
1735
__virtscr->alines[i]->line[j].attr);
lib/libcurses/refresh.c
1744
buf[i].attr = 0;
lib/libcurses/refresh.c
1754
buf[i].attr = 0;
lib/libcurses/refresh.c
311
wlp->line[wx].attr, wlp->line[wx].cflags);
lib/libcurses/refresh.c
315
vlp->line[x_off].attr,
lib/libcurses/refresh.c
320
vlp->line[x_off].attr = wlp->line[wx].attr;
lib/libcurses/refresh.c
339
dwlp->line[dx_off].attr =
lib/libcurses/refresh.c
340
wlp->line[wx].attr;
lib/libcurses/refresh.c
383
vlp->line[x_off].attr);
lib/libcurses/refresh.c
661
curscr->alines[i]->line[j].attr);
lib/libcurses/refresh.c
688
win->alines[i]->line[j].attr);
lib/libcurses/refresh.c
823
curscr->alines[i]->line[j].attr,
lib/libcurses/refresh.c
828
_cursesi_screen->__virtscr->alines[i]->line[j].attr,
lib/libcurses/refresh.c
852
, nsp->attr
lib/libcurses/refresh.c
860
off = (~nsp->attr & curscr->wattr)
lib/libcurses/refresh.c
912
__set_color(curscr, nsp->attr & __COLOR);
lib/libcurses/refresh.c
914
on = (nsp->attr & ~curscr->wattr)
lib/libcurses/resize.c
352
sp->attr = 0;
lib/libcurses/slk.c
117
slk_attron(const chtype attr)
lib/libcurses/slk.c
120
return __slk_attron(_cursesi_screen, attr);
lib/libcurses/slk.c
129
slk_attr_on(const attr_t attr, void *opt)
lib/libcurses/slk.c
132
return __slk_attr_on(_cursesi_screen, attr, opt);
lib/libcurses/slk.c
141
slk_attroff(const chtype attr)
lib/libcurses/slk.c
144
return __slk_attroff(_cursesi_screen, attr);
lib/libcurses/slk.c
153
slk_attr_off(const attr_t attr, void *opt)
lib/libcurses/slk.c
156
return __slk_attr_off(_cursesi_screen, attr, opt);
lib/libcurses/slk.c
165
slk_attrset(const chtype attr)
lib/libcurses/slk.c
168
return __slk_attrset(_cursesi_screen, attr);
lib/libcurses/slk.c
177
slk_attr_set(const attr_t attr, short pair, void *opt)
lib/libcurses/slk.c
180
return __slk_attr_set(_cursesi_screen, attr, pair, opt);
lib/libcurses/slk.c
296
__slk_attron(SCREEN *screen, const chtype attr)
lib/libcurses/slk.c
301
return wattron(screen->slk_window, attr);
lib/libcurses/slk.c
310
__slk_attr_on(SCREEN *screen, const attr_t attr, void *opt)
lib/libcurses/slk.c
315
return wattr_on(screen->slk_window, attr, opt);
lib/libcurses/slk.c
324
__slk_attroff(SCREEN *screen, const chtype attr)
lib/libcurses/slk.c
329
return wattroff(screen->slk_window, attr);
lib/libcurses/slk.c
338
__slk_attr_off(SCREEN *screen, const attr_t attr, void *opt)
lib/libcurses/slk.c
343
return wattr_off(screen->slk_window, attr, opt);
lib/libcurses/slk.c
352
__slk_attrset(SCREEN *screen, const chtype attr)
lib/libcurses/slk.c
357
return wattrset(screen->slk_window, attr);
lib/libcurses/slk.c
366
__slk_attr_set(SCREEN *screen, const attr_t attr, short pair, void *opt)
lib/libcurses/slk.c
371
return wattr_set(screen->slk_window, attr, pair, opt);
lib/libisns/isns_util.c
189
pthread_attr_t attr;
lib/libisns/isns_util.c
194
error = pthread_attr_init(&attr);
lib/libisns/isns_util.c
200
error = pthread_attr_setname_np(&attr, namebuf, NULL);
lib/libisns/isns_util.c
204
pthread_attr_destroy(&attr);
lib/libisns/isns_util.c
209
&attr, isns_control_thread, cfg_p);
lib/libisns/isns_util.c
210
pthread_attr_destroy(&attr);
lib/libmenu/attributes.c
41
set_menu_fore(MENU *menu, attr_t attr)
lib/libmenu/attributes.c
44
_menui_default_menu.fore = attr;
lib/libmenu/attributes.c
46
menu->fore = attr;
lib/libmenu/attributes.c
66
set_menu_back(MENU *menu, attr_t attr)
lib/libmenu/attributes.c
69
_menui_default_menu.back = attr;
lib/libmenu/attributes.c
71
menu->back = attr;
lib/libmenu/attributes.c
91
set_menu_grey(MENU *menu, attr_t attr)
lib/libmenu/attributes.c
94
_menui_default_menu.grey = attr;
lib/libmenu/attributes.c
96
menu->grey = attr;
lib/libnpf/npf.c
1008
uint32_t attr;
lib/libnpf/npf.c
1010
attr = NPF_RULE_PASS | NPF_RULE_FINAL | NPF_RULE_LAYER_3 |
lib/libnpf/npf.c
1014
rl = npf_rule_create(NULL, attr, ifname);
lib/libnpf/npf.c
680
npf_rule_create(const char *name, uint32_t attr, const char *ifname)
lib/libnpf/npf.c
689
nvlist_add_number(rl->rule_dict, "attr", attr);
lib/libnvmm/libnvmm_x86.c
59
uint16_t *attr;
lib/libnvmm/libnvmm_x86.c
83
attr = (uint16_t *)&state->segs[i].attrib;
lib/libnvmm/libnvmm_x86.c
90
*attr,
lib/libp2k/p2k.c
1267
uint8_t *attr, size_t *resid, const struct puffs_cred *pcr)
lib/libp2k/p2k.c
1274
if (attr)
lib/libp2k/p2k.c
1275
uio = rump_pub_uio_setup(attr, *resid, 0, RUMPUIO_READ);
lib/libp2k/p2k.c
1296
uint8_t *attr, size_t *resid, const struct puffs_cred *pcr)
lib/libp2k/p2k.c
1303
if (attr)
lib/libp2k/p2k.c
1304
uio = rump_pub_uio_setup(attr, *resid, 0, RUMPUIO_READ);
lib/libperfuse/fuse.h
198
struct fuse_attr attr;
lib/libperfuse/fuse.h
217
struct fuse_attr attr;
lib/libperfuse/ops.c
1260
fuse_attr_to_vap(ps, &pn->pn_va, &feo->attr);
lib/libperfuse/ops.c
1621
(void *)opc, vap->va_size, fao->attr.size);
lib/libperfuse/ops.c
1629
fuse_attr_to_vap(ps, vap, &fao->attr);
lib/libperfuse/ops.c
1913
(void *)opc, old_vap->va_size, fao->attr.size);
lib/libperfuse/ops.c
1916
fuse_attr_to_vap(ps, old_va, &fao->attr);
lib/libperfuse/ops.c
3376
int attrns, const char *attrname, size_t *attrsize, uint8_t *attr,
lib/libperfuse/ops.c
3442
(void)memcpy(attr, np, len);
lib/libperfuse/ops.c
3456
int attrns, const char *attrname, uint8_t *attr, size_t *resid,
lib/libperfuse/ops.c
3489
(void)memcpy(np, (char *)attr, datalen);
lib/libperfuse/ops.c
445
if (feo->attr.ino == 0) {
lib/libperfuse/ops.c
482
fuse_attr_to_vap(ps, &pn->pn_va, &feo->attr);
lib/libperfuse/ops.c
544
fuse_attr_to_vap(ps, &pn->pn_va, &feo->attr);
lib/libpthread/mtx.c
67
pthread_mutexattr_t attr;
lib/libpthread/mtx.c
71
if (pthread_mutexattr_init(&attr) != 0)
lib/libpthread/mtx.c
74
if (pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE) != 0) {
lib/libpthread/mtx.c
75
pthread_mutexattr_destroy(&attr);
lib/libpthread/mtx.c
80
if (pthread_mutex_init(mtx, &attr) == 0)
lib/libpthread/mtx.c
83
pthread_mutexattr_destroy(&attr);
lib/libpthread/pthread.c
331
pthread__getstack(pthread_t newthread, const pthread_attr_t *attr)
lib/libpthread/pthread.c
337
if (attr != NULL) {
lib/libpthread/pthread.c
338
pthread_attr_getstack(attr, &stackbase, &stacksize);
lib/libpthread/pthread.c
340
pthread_attr_getguardsize(attr, &guardsize);
lib/libpthread/pthread.c
399
pthread_create(pthread_t *thread, const pthread_attr_t *attr,
lib/libpthread/pthread.c
413
return __libc_thr_create_stub(thread, attr, startfunc, arg);
lib/libpthread/pthread.c
416
if (attr == NULL)
lib/libpthread/pthread.c
418
else if (attr->pta_magic == PT_ATTR_MAGIC)
lib/libpthread/pthread.c
419
nattr = *attr;
lib/libpthread/pthread.c
499
if (pthread__getstack(newthread, attr)) {
lib/libpthread/pthread.c
518
if (pthread__getstack(newthread, attr)) {
lib/libpthread/pthread.h
117
int pthread_mutexattr_settype(pthread_mutexattr_t *attr, int);
lib/libpthread/pthread_attr.c
102
attr->pta_magic = PT_ATTR_DEAD;
lib/libpthread/pthread_attr.c
109
pthread_attr_get_np(pthread_t thread, pthread_attr_t *attr)
lib/libpthread/pthread_attr.c
114
attr->pta_magic == PT_ATTR_MAGIC);
lib/libpthread/pthread_attr.c
116
p = pthread__attr_init_private(attr);
lib/libpthread/pthread_attr.c
120
attr->pta_flags = thread->pt_flags &
lib/libpthread/pthread_attr.c
132
pthread_attr_getdetachstate(const pthread_attr_t *attr, int *detachstate)
lib/libpthread/pthread_attr.c
136
attr->pta_magic == PT_ATTR_MAGIC);
lib/libpthread/pthread_attr.c
138
if (attr->pta_flags & PT_FLAG_DETACHED)
lib/libpthread/pthread_attr.c
148
pthread_attr_setdetachstate(pthread_attr_t *attr, int detachstate)
lib/libpthread/pthread_attr.c
152
attr->pta_magic == PT_ATTR_MAGIC);
lib/libpthread/pthread_attr.c
156
attr->pta_flags &= ~PT_FLAG_DETACHED;
lib/libpthread/pthread_attr.c
159
attr->pta_flags |= PT_FLAG_DETACHED;
lib/libpthread/pthread_attr.c
170
pthread_attr_getguardsize(const pthread_attr_t *attr, size_t *guard)
lib/libpthread/pthread_attr.c
175
attr->pta_magic == PT_ATTR_MAGIC);
lib/libpthread/pthread_attr.c
177
if ((p = attr->pta_private) == NULL)
lib/libpthread/pthread_attr.c
187
pthread_attr_setguardsize(pthread_attr_t *attr, size_t guard)
lib/libpthread/pthread_attr.c
192
attr->pta_magic == PT_ATTR_MAGIC);
lib/libpthread/pthread_attr.c
194
p = pthread__attr_init_private(attr);
lib/libpthread/pthread_attr.c
205
pthread_attr_getinheritsched(const pthread_attr_t *attr, int *inherit)
lib/libpthread/pthread_attr.c
209
attr->pta_magic == PT_ATTR_MAGIC);
lib/libpthread/pthread_attr.c
211
if (attr->pta_flags & PT_FLAG_EXPLICIT_SCHED)
lib/libpthread/pthread_attr.c
221
pthread_attr_setinheritsched(pthread_attr_t *attr, int inherit)
lib/libpthread/pthread_attr.c
225
attr->pta_magic == PT_ATTR_MAGIC);
lib/libpthread/pthread_attr.c
229
attr->pta_flags &= ~PT_FLAG_EXPLICIT_SCHED;
lib/libpthread/pthread_attr.c
232
attr->pta_flags |= PT_FLAG_EXPLICIT_SCHED;
lib/libpthread/pthread_attr.c
243
pthread_attr_getscope(const pthread_attr_t *attr, int *scope)
lib/libpthread/pthread_attr.c
247
attr->pta_magic == PT_ATTR_MAGIC);
lib/libpthread/pthread_attr.c
249
if (attr->pta_flags & PT_FLAG_SCOPE_SYSTEM)
lib/libpthread/pthread_attr.c
259
pthread_attr_setscope(pthread_attr_t *attr, int scope)
lib/libpthread/pthread_attr.c
263
attr->pta_magic == PT_ATTR_MAGIC);
lib/libpthread/pthread_attr.c
267
attr->pta_flags &= ~PT_FLAG_SCOPE_SYSTEM;
lib/libpthread/pthread_attr.c
270
attr->pta_flags |= PT_FLAG_SCOPE_SYSTEM;
lib/libpthread/pthread_attr.c
281
pthread_attr_setschedparam(pthread_attr_t *attr,
lib/libpthread/pthread_attr.c
288
attr->pta_magic == PT_ATTR_MAGIC);
lib/libpthread/pthread_attr.c
292
p = pthread__attr_init_private(attr);
lib/libpthread/pthread_attr.c
303
pthread_attr_getschedparam(const pthread_attr_t *attr,
lib/libpthread/pthread_attr.c
309
attr->pta_magic == PT_ATTR_MAGIC);
lib/libpthread/pthread_attr.c
313
p = attr->pta_private;
lib/libpthread/pthread_attr.c
323
pthread_attr_setschedpolicy(pthread_attr_t *attr, int policy)
lib/libpthread/pthread_attr.c
328
attr->pta_magic == PT_ATTR_MAGIC);
lib/libpthread/pthread_attr.c
334
p = pthread__attr_init_private(attr);
lib/libpthread/pthread_attr.c
346
pthread_attr_getschedpolicy(const pthread_attr_t *attr, int *policy)
lib/libpthread/pthread_attr.c
351
attr->pta_magic == PT_ATTR_MAGIC);
lib/libpthread/pthread_attr.c
353
p = attr->pta_private;
lib/libpthread/pthread_attr.c
364
pthread_attr_getstack(const pthread_attr_t *attr, void **addr, size_t *size)
lib/libpthread/pthread_attr.c
369
attr->pta_magic == PT_ATTR_MAGIC);
lib/libpthread/pthread_attr.c
371
if ((p = attr->pta_private) == NULL) {
lib/libpthread/pthread_attr.c
384
pthread_attr_setstack(pthread_attr_t *attr, void *addr, size_t size)
lib/libpthread/pthread_attr.c
389
attr->pta_magic == PT_ATTR_MAGIC);
lib/libpthread/pthread_attr.c
391
p = pthread__attr_init_private(attr);
lib/libpthread/pthread_attr.c
403
pthread_attr_getstacksize(const pthread_attr_t *attr, size_t *size)
lib/libpthread/pthread_attr.c
408
attr->pta_magic == PT_ATTR_MAGIC);
lib/libpthread/pthread_attr.c
410
if ((p = attr->pta_private) == NULL)
lib/libpthread/pthread_attr.c
420
pthread_attr_setstacksize(pthread_attr_t *attr, size_t size)
lib/libpthread/pthread_attr.c
425
attr->pta_magic == PT_ATTR_MAGIC);
lib/libpthread/pthread_attr.c
430
p = pthread__attr_init_private(attr);
lib/libpthread/pthread_attr.c
441
pthread_attr_getstackaddr(const pthread_attr_t *attr, void **addr)
lib/libpthread/pthread_attr.c
446
attr->pta_magic == PT_ATTR_MAGIC);
lib/libpthread/pthread_attr.c
448
if ((p = attr->pta_private) == NULL)
lib/libpthread/pthread_attr.c
458
pthread_attr_setstackaddr(pthread_attr_t *attr, void *addr)
lib/libpthread/pthread_attr.c
463
attr->pta_magic == PT_ATTR_MAGIC);
lib/libpthread/pthread_attr.c
465
p = pthread__attr_init_private(attr);
lib/libpthread/pthread_attr.c
476
pthread_attr_getname_np(const pthread_attr_t *attr, char *name, size_t len,
lib/libpthread/pthread_attr.c
482
attr->pta_magic == PT_ATTR_MAGIC);
lib/libpthread/pthread_attr.c
484
if ((p = attr->pta_private) == NULL) {
lib/libpthread/pthread_attr.c
499
pthread_attr_setname_np(pthread_attr_t *attr, const char *name, void *arg)
lib/libpthread/pthread_attr.c
505
attr->pta_magic == PT_ATTR_MAGIC);
lib/libpthread/pthread_attr.c
507
p = pthread__attr_init_private(attr);
lib/libpthread/pthread_attr.c
522
pthread_attr_setcreatesuspend_np(pthread_attr_t *attr)
lib/libpthread/pthread_attr.c
526
attr->pta_magic == PT_ATTR_MAGIC);
lib/libpthread/pthread_attr.c
528
attr->pta_flags |= PT_FLAG_SUSPENDED;
lib/libpthread/pthread_attr.c
533
pthread_getattr_np(pthread_t thread, pthread_attr_t *attr)
lib/libpthread/pthread_attr.c
537
if ((error = pthread_attr_init(attr)) != 0)
lib/libpthread/pthread_attr.c
539
if ((error = pthread_attr_get_np(thread, attr)) != 0) {
lib/libpthread/pthread_attr.c
540
(void)pthread_attr_destroy(attr);
lib/libpthread/pthread_attr.c
61
pthread__attr_init_private(pthread_attr_t *attr)
lib/libpthread/pthread_attr.c
65
if ((p = attr->pta_private) != NULL)
lib/libpthread/pthread_attr.c
70
attr->pta_private = p;
lib/libpthread/pthread_attr.c
80
pthread_attr_init(pthread_attr_t *attr)
lib/libpthread/pthread_attr.c
83
attr->pta_magic = PT_ATTR_MAGIC;
lib/libpthread/pthread_attr.c
84
attr->pta_flags = 0;
lib/libpthread/pthread_attr.c
85
attr->pta_private = NULL;
lib/libpthread/pthread_attr.c
92
pthread_attr_destroy(pthread_attr_t *attr)
lib/libpthread/pthread_attr.c
97
attr->pta_magic == PT_ATTR_MAGIC);
lib/libpthread/pthread_attr.c
99
if ((p = attr->pta_private) != NULL)
lib/libpthread/pthread_barrier.c
128
pthread_barrierattr_getpshared(const pthread_barrierattr_t * __restrict attr,
lib/libpthread/pthread_barrier.c
133
attr->ptba_magic == _PT_BARRIERATTR_MAGIC);
lib/libpthread/pthread_barrier.c
140
pthread_barrierattr_setpshared(pthread_barrierattr_t *attr, int pshared)
lib/libpthread/pthread_barrier.c
144
attr->ptba_magic == _PT_BARRIERATTR_MAGIC);
lib/libpthread/pthread_barrier.c
157
pthread_barrierattr_init(pthread_barrierattr_t *attr)
lib/libpthread/pthread_barrier.c
160
attr->ptba_magic = _PT_BARRIERATTR_MAGIC;
lib/libpthread/pthread_barrier.c
165
pthread_barrierattr_destroy(pthread_barrierattr_t *attr)
lib/libpthread/pthread_barrier.c
169
attr->ptba_magic == _PT_BARRIERATTR_MAGIC);
lib/libpthread/pthread_barrier.c
170
attr->ptba_magic = _PT_BARRIERATTR_DEAD;
lib/libpthread/pthread_barrier.c
45
const pthread_barrierattr_t *attr, unsigned int count)
lib/libpthread/pthread_barrier.c
49
attr == NULL || attr->ptba_magic == _PT_BARRIERATTR_MAGIC);
lib/libpthread/pthread_cond.c
330
pthread_condattr_init(pthread_condattr_t *attr)
lib/libpthread/pthread_cond.c
333
attr->ptca_magic = _PT_CONDATTR_MAGIC;
lib/libpthread/pthread_cond.c
334
attr->ptca_private = NULL;
lib/libpthread/pthread_cond.c
340
pthread_condattr_setclock(pthread_condattr_t *attr, clockid_t clck)
lib/libpthread/pthread_cond.c
344
attr->ptca_magic == _PT_CONDATTR_MAGIC);
lib/libpthread/pthread_cond.c
349
if (attr->ptca_private == NULL)
lib/libpthread/pthread_cond.c
350
attr->ptca_private = malloc(sizeof(clockid_t));
lib/libpthread/pthread_cond.c
351
if (attr->ptca_private == NULL)
lib/libpthread/pthread_cond.c
353
*(clockid_t *)attr->ptca_private = clck;
lib/libpthread/pthread_cond.c
361
pthread_condattr_getclock(const pthread_condattr_t *__restrict attr,
lib/libpthread/pthread_cond.c
366
attr->ptca_magic == _PT_CONDATTR_MAGIC);
lib/libpthread/pthread_cond.c
368
if (attr == NULL || attr->ptca_private == NULL)
lib/libpthread/pthread_cond.c
370
*clock_id = *(clockid_t *)attr->ptca_private;
lib/libpthread/pthread_cond.c
375
pthread_condattr_destroy(pthread_condattr_t *attr)
lib/libpthread/pthread_cond.c
379
attr->ptca_magic == _PT_CONDATTR_MAGIC);
lib/libpthread/pthread_cond.c
381
attr->ptca_magic = _PT_CONDATTR_DEAD;
lib/libpthread/pthread_cond.c
382
free(attr->ptca_private);
lib/libpthread/pthread_cond.c
389
pthread_condattr_getpshared(const pthread_condattr_t * __restrict attr,
lib/libpthread/pthread_cond.c
394
attr->ptca_magic == _PT_CONDATTR_MAGIC);
lib/libpthread/pthread_cond.c
401
pthread_condattr_setpshared(pthread_condattr_t *attr, int pshared)
lib/libpthread/pthread_cond.c
405
attr->ptca_magic == _PT_CONDATTR_MAGIC);
lib/libpthread/pthread_cond.c
83
pthread_cond_init(pthread_cond_t *cond, const pthread_condattr_t *attr)
lib/libpthread/pthread_cond.c
86
return __libc_cond_init_stub(cond, attr);
lib/libpthread/pthread_cond.c
89
(attr == NULL) || (attr->ptca_magic == _PT_CONDATTR_MAGIC));
lib/libpthread/pthread_cond.c
94
if (attr && attr->ptca_private) {
lib/libpthread/pthread_cond.c
99
*(clockid_t *)attr->ptca_private;
lib/libpthread/pthread_mutex.c
120
pthread_mutex_init(pthread_mutex_t *ptm, const pthread_mutexattr_t *attr)
lib/libpthread/pthread_mutex.c
130
return __libc_mutex_init_stub(ptm, attr);
lib/libpthread/pthread_mutex.c
134
attr == NULL || attr->ptma_magic == _PT_MUTEXATTR_MAGIC);
lib/libpthread/pthread_mutex.c
136
if (attr == NULL) {
lib/libpthread/pthread_mutex.c
141
val = (uintptr_t)attr->ptma_private;
lib/libpthread/pthread_mutex.c
545
pthread_mutexattr_init(pthread_mutexattr_t *attr)
lib/libpthread/pthread_mutex.c
549
return __libc_mutexattr_init_stub(attr);
lib/libpthread/pthread_mutex.c
552
attr->ptma_magic = _PT_MUTEXATTR_MAGIC;
lib/libpthread/pthread_mutex.c
553
attr->ptma_private = (void *)PTHREAD_MUTEX_DEFAULT;
lib/libpthread/pthread_mutex.c
558
pthread_mutexattr_destroy(pthread_mutexattr_t *attr)
lib/libpthread/pthread_mutex.c
561
return __libc_mutexattr_destroy_stub(attr);
lib/libpthread/pthread_mutex.c
564
attr->ptma_magic == _PT_MUTEXATTR_MAGIC);
lib/libpthread/pthread_mutex.c
566
attr->ptma_magic = _PT_MUTEXATTR_DEAD;
lib/libpthread/pthread_mutex.c
572
pthread_mutexattr_gettype(const pthread_mutexattr_t *attr, int *typep)
lib/libpthread/pthread_mutex.c
576
attr->ptma_magic == _PT_MUTEXATTR_MAGIC);
lib/libpthread/pthread_mutex.c
578
*typep = MUTEX_GET_TYPE(attr->ptma_private);
lib/libpthread/pthread_mutex.c
583
pthread_mutexattr_settype(pthread_mutexattr_t *attr, int type)
lib/libpthread/pthread_mutex.c
587
return __libc_mutexattr_settype_stub(attr, type);
lib/libpthread/pthread_mutex.c
590
attr->ptma_magic == _PT_MUTEXATTR_MAGIC);
lib/libpthread/pthread_mutex.c
596
MUTEX_SET_TYPE(attr->ptma_private, type);
lib/libpthread/pthread_mutex.c
604
pthread_mutexattr_getprotocol(const pthread_mutexattr_t *attr, int*proto)
lib/libpthread/pthread_mutex.c
608
attr->ptma_magic == _PT_MUTEXATTR_MAGIC);
lib/libpthread/pthread_mutex.c
610
*proto = MUTEX_GET_PROTOCOL(attr->ptma_private);
lib/libpthread/pthread_mutex.c
615
pthread_mutexattr_setprotocol(pthread_mutexattr_t* attr, int proto)
lib/libpthread/pthread_mutex.c
619
attr->ptma_magic == _PT_MUTEXATTR_MAGIC);
lib/libpthread/pthread_mutex.c
624
MUTEX_SET_PROTOCOL(attr->ptma_private, proto);
lib/libpthread/pthread_mutex.c
634
pthread_mutexattr_getprioceiling(const pthread_mutexattr_t *attr, int *ceil)
lib/libpthread/pthread_mutex.c
638
attr->ptma_magic == _PT_MUTEXATTR_MAGIC);
lib/libpthread/pthread_mutex.c
640
*ceil = MUTEX_GET_CEILING(attr->ptma_private);
lib/libpthread/pthread_mutex.c
645
pthread_mutexattr_setprioceiling(pthread_mutexattr_t *attr, int ceil)
lib/libpthread/pthread_mutex.c
649
attr->ptma_magic == _PT_MUTEXATTR_MAGIC);
lib/libpthread/pthread_mutex.c
654
MUTEX_SET_CEILING(attr->ptma_private, ceil);
lib/libpthread/pthread_mutex.c
660
pthread_mutexattr_getpshared(const pthread_mutexattr_t * __restrict attr,
lib/libpthread/pthread_mutex.c
665
attr->ptma_magic == _PT_MUTEXATTR_MAGIC);
lib/libpthread/pthread_mutex.c
672
pthread_mutexattr_setpshared(pthread_mutexattr_t *attr, int pshared)
lib/libpthread/pthread_mutex.c
676
attr->ptma_magic == _PT_MUTEXATTR_MAGIC);
lib/libpthread/pthread_rwlock.c
640
pthread_rwlockattr_getpshared(const pthread_rwlockattr_t * __restrict attr,
lib/libpthread/pthread_rwlock.c
652
pthread_rwlockattr_setpshared(pthread_rwlockattr_t *attr, int pshared)
lib/libpthread/pthread_rwlock.c
669
pthread_rwlockattr_init(pthread_rwlockattr_t *attr)
lib/libpthread/pthread_rwlock.c
672
if (attr == NULL)
lib/libpthread/pthread_rwlock.c
674
attr->ptra_magic = _PT_RWLOCKATTR_MAGIC;
lib/libpthread/pthread_rwlock.c
681
pthread_rwlockattr_destroy(pthread_rwlockattr_t *attr)
lib/libpthread/pthread_rwlock.c
685
attr->ptra_magic == _PT_RWLOCKATTR_MAGIC);
lib/libpthread/pthread_rwlock.c
687
attr->ptra_magic = _PT_RWLOCKATTR_DEAD;
lib/libpthread/pthread_rwlock.c
93
const pthread_rwlockattr_t *attr)
lib/libpthread/pthread_rwlock.c
96
return __libc_rwlock_init_stub(ptr, attr);
lib/libpthread/pthread_rwlock.c
99
attr == NULL || attr->ptra_magic == _PT_RWLOCKATTR_MAGIC);
lib/libradius/radlib.c
1059
const struct vendor_attribute *attr;
lib/libradius/radlib.c
1061
attr = (const struct vendor_attribute *)*data;
lib/libradius/radlib.c
1062
*vendor = ntohl(attr->vendor_value);
lib/libradius/radlib.c
1063
*data = attr->attrib_data;
lib/libradius/radlib.c
1064
*len = attr->attrib_len - 2;
lib/libradius/radlib.c
1066
return (attr->attrib_type);
lib/libradius/radlib.c
1081
struct vendor_attribute *attr;
lib/libradius/radlib.c
1090
if ((attr = malloc(len + 6)) == NULL) {
lib/libradius/radlib.c
1095
attr->vendor_value = htonl((uint32_t)vendor);
lib/libradius/radlib.c
1096
attr->attrib_type = type;
lib/libradius/radlib.c
1097
attr->attrib_len = (unsigned char)(len + 2);
lib/libradius/radlib.c
1098
(void)memcpy(attr->attrib_data, value, len);
lib/libradius/radlib.c
1100
res = put_raw_attr(h, RAD_VENDOR_SPECIFIC, attr, len + 6);
lib/libradius/radlib.c
1101
free(attr);
sbin/atactl/atactl.c
850
device_smart_temp(const struct ata_smart_attr *attr, uint64_t raw_value)
sbin/atactl/atactl.c
852
printf("%" PRIu8, attr->raw[0]);
sbin/atactl/atactl.c
853
if (attr->raw[0] != raw_value)
sbin/atactl/atactl.c
855
attr->raw[2], attr->raw[4]);
sbin/atactl/atactl.c
867
const struct ata_smart_attr *attr;
sbin/atactl/atactl.c
909
attr = NULL;
sbin/atactl/atactl.c
913
attr = &value_buf->attributes[j];
sbin/atactl/atactl.c
918
if (thresh && attr == NULL)
sbin/atactl/atactl.c
920
if (attr == NULL)
sbin/atactl/atactl.c
923
if (attr->value == 0||attr->value == 0xFE||attr->value == 0xFF)
sbin/atactl/atactl.c
946
flags = le16toh(attr->flags);
sbin/atactl/atactl.c
949
i, attr->value, thresh,
sbin/atactl/atactl.c
952
attr->value > thresh ? "posi" : "nega", name);
sbin/atactl/atactl.c
955
raw_value += ((uint64_t)attr->raw[j]) << (8*j);
sbin/atactl/atactl.c
958
(*special)(attr, raw_value);
sbin/drvctl/drvctl.c
145
if (attr)
sbin/drvctl/drvctl.c
146
strlcpy(raa.ifattr, attr, sizeof(raa.ifattr));
sbin/drvctl/drvctl.c
70
char *attr = 0;
sbin/drvctl/drvctl.c
93
attr = optarg;
sbin/efi/bootvar.h
39
#define IS_ACTIVE(attr) ((attr) & LOAD_OPTION_ACTIVE)
sbin/fsck_v7fs/main.c
226
struct v7fs_fileattr attr;
sbin/fsck_v7fs/main.c
236
memset(&attr, 0, sizeof(attr));
sbin/fsck_v7fs/main.c
237
attr.uid = 0;
sbin/fsck_v7fs/main.c
238
attr.gid = 0;
sbin/fsck_v7fs/main.c
239
attr.mode = V7FS_IFDIR | 0755;
sbin/fsck_v7fs/main.c
240
attr.device = 0;
sbin/fsck_v7fs/main.c
241
attr.ctime = attr.mtime = attr.atime = (v7fs_time_t)time(NULL);
sbin/fsck_v7fs/main.c
245
"lost+found", strlen("lost+found"), &attr, &ino)))
sbin/newfs_msdos/mkfs_msdos.c
154
u_int8_t attr; /* attributes */
sbin/newfs_msdos/mkfs_msdos.c
748
mk1(de->attr, 050);
sbin/newfs_sysvbfs/newfs_sysvbfs.c
213
inode->attr.atime = t;
sbin/newfs_sysvbfs/newfs_sysvbfs.c
214
inode->attr.mtime = t;
sbin/newfs_sysvbfs/newfs_sysvbfs.c
215
inode->attr.ctime = t;
sbin/newfs_sysvbfs/newfs_sysvbfs.c
216
inode->attr.mode = 0755;
sbin/newfs_sysvbfs/newfs_sysvbfs.c
217
inode->attr.type = 2; /* DIR */
sbin/newfs_sysvbfs/newfs_sysvbfs.c
218
inode->attr.nlink = 2; /* . + .. */
sys/arch/aarch64/aarch64/pmap.c
1767
pt_entry_t attr, pte, opte, *ptep;
sys/arch/aarch64/aarch64/pmap.c
1992
attr = L3_PAGE | (kenter ? 0 : LX_BLKPAG_NG);
sys/arch/aarch64/aarch64/pmap.c
1993
attr = _pmap_pte_adjust_prot(attr, prot, mdattr, user);
sys/arch/aarch64/aarch64/pmap.c
1994
attr = _pmap_pte_adjust_cacheflags(attr, flags);
sys/arch/aarch64/aarch64/pmap.c
1996
attr |= LX_BLKPAG_APUSER;
sys/arch/aarch64/aarch64/pmap.c
1998
attr |= LX_BLKPAG_OS_WIRED;
sys/arch/aarch64/aarch64/pmap.c
2000
attr |= LX_BLKPAG_SH_IS;
sys/arch/aarch64/aarch64/pmap.c
2003
pte = pa | attr;
sys/arch/aarch64/aarch64/pmap.c
342
pt_entry_t attr;
sys/arch/aarch64/aarch64/pmap.c
345
attr = _pmap_pte_adjust_prot(0, prot, VM_PROT_ALL, false);
sys/arch/aarch64/aarch64/pmap.c
346
attr = _pmap_pte_adjust_cacheflags(attr, flags);
sys/arch/aarch64/aarch64/pmap.c
347
pmapboot_enter_range(va, pa, resid, attr, printf);
sys/arch/aarch64/aarch64/pmap_machdep.c
648
pt_entry_t attr;
sys/arch/aarch64/aarch64/pmap_machdep.c
657
attr = L1_BLOCK;
sys/arch/aarch64/aarch64/pmap_machdep.c
660
attr = L2_BLOCK;
sys/arch/aarch64/aarch64/pmap_machdep.c
663
attr = L3_PAGE;
sys/arch/aarch64/aarch64/pmap_machdep.c
668
attr |= pte;
sys/arch/aarch64/aarch64/pmap_machdep.c
670
pmapboot_enter(va, pa, blocksize, blocksize, attr, NULL);
sys/arch/aarch64/aarch64/pmapboot.c
215
pt_entry_t attr, void (*pr)(const char *, ...) __printflike(1, 2))
sys/arch/aarch64/aarch64/pmapboot.c
243
va, pa, size, blocksize, attr);
sys/arch/aarch64/aarch64/pmapboot.c
252
attr |= LX_BLKPAG_OS_BOOT;
sys/arch/aarch64/aarch64/pmapboot.c
302
attr;
sys/arch/aarch64/aarch64/pmapboot.c
347
attr;
sys/arch/aarch64/aarch64/pmapboot.c
391
attr;
sys/arch/aarch64/aarch64/pmapboot.c
474
pmapboot_enter_range(vaddr_t va, paddr_t pa, psize_t size, pt_entry_t attr,
sys/arch/aarch64/aarch64/pmapboot.c
491
pmapboot_enter(va, pa, mapsize, L3_SIZE, attr, pr);
sys/arch/aarch64/aarch64/pmapboot.c
504
pmapboot_enter(va, pa, mapsize, L2_SIZE, attr, pr);
sys/arch/aarch64/aarch64/pmapboot.c
515
pmapboot_enter(va, pa, mapsize, L1_SIZE, attr, pr);
sys/arch/aarch64/aarch64/pmapboot.c
526
pmapboot_enter(va, pa, mapsize, L2_SIZE, attr, pr);
sys/arch/aarch64/aarch64/pmapboot.c
537
pmapboot_enter(va, pa, mapsize, L3_SIZE, attr, pr);
sys/arch/acorn32/stand/lib/riscoscalls.h
342
uint32_t attr;
sys/arch/acorn32/stand/nbfs/nbfs.c
412
fdp->attr = 0;
sys/arch/alpha/pci/pci_machdep.c
608
pci_intr_handle_t * const ihp, int const attr, uint64_t const data)
sys/arch/alpha/pci/pci_machdep.c
612
switch (attr) {
sys/arch/amiga/dev/amidisplaycc.c
368
long attr;
sys/arch/amiga/dev/amidisplaycc.c
392
&cookie, &x, &y, &attr);
sys/arch/amiga/dev/amidisplaycc.c
394
cookie, x, y, attr);
sys/arch/amiga/dev/amidisplaycc.c
489
#define ATTRFG(attr) (((attr)>>16) & 255)
sys/arch/amiga/dev/amidisplaycc.c
490
#define ATTRBG(attr) (((attr)>>8) & 255)
sys/arch/amiga/dev/amidisplaycc.c
491
#define ATTRMO(attr) ((attr) & 255)
sys/arch/amiga/dev/amidisplaycc.c
578
amidisplaycc_putchar(void *screen, int row, int col, u_int ch, long attr)
sys/arch/amiga/dev/amidisplaycc.c
607
fgcolor = ATTRFG(attr);
sys/arch/amiga/dev/amidisplaycc.c
608
bgcolor = ATTRBG(attr);
sys/arch/amiga/dev/amidisplaycc.c
609
mode = ATTRMO(attr);
sys/arch/amiga/dev/amidisplaycc.c
752
long attr)
sys/arch/amiga/dev/amidisplaycc.c
776
bgcolor = ATTRBG(attr);
sys/arch/amiga/dev/amidisplaycc.c
925
amidisplaycc_eraserows(void *screen, int row, int nrows, long attr)
sys/arch/amiga/dev/amidisplaycc.c
961
bgcolor = ATTRBG(attr);
sys/arch/amiga/dev/grf_cl.c
1894
cl_wsputchar(void *c, int row, int col, u_int ch, long attr)
sys/arch/amiga/dev/grf_cl.c
1911
*cp = attr;
sys/arch/amiga/dev/grf_cl.c
2053
cl_wsallocattr(void *c, int fg, int bg, int flg, long *attr)
sys/arch/amiga/dev/grf_cl.c
2057
*attr = (flg & WSATTR_REVERSE) ? 0x70 : 0x07;
sys/arch/amiga/dev/grf_cl.c
2058
if (flg & WSATTR_UNDERLINE) *attr = 0x01;
sys/arch/amiga/dev/grf_cl.c
2059
if (flg & WSATTR_HILIT) *attr |= 0x08;
sys/arch/amiga/dev/grf_cl.c
2060
if (flg & WSATTR_BLINK) *attr |= 0x80;
sys/arch/amiga/dev/grf_cv.c
2310
static void cv_wsputchar(void *c, int row, int col, u_int ch, long attr)
sys/arch/amiga/dev/grf_cv.c
2323
*cp = attr;
sys/arch/amiga/dev/grf_cv.c
2438
cv_wsallocattr(void *c, int fg, int bg, int flg, long *attr)
sys/arch/amiga/dev/grf_cv.c
2442
*attr = (flg & WSATTR_REVERSE) ? 0x70 : 0x07;
sys/arch/amiga/dev/grf_cv.c
2443
if (flg & WSATTR_UNDERLINE) *attr = 0x01;
sys/arch/amiga/dev/grf_cv.c
2444
if (flg & WSATTR_HILIT) *attr |= 0x08;
sys/arch/amiga/dev/grf_cv.c
2445
if (flg & WSATTR_BLINK) *attr |= 0x80;
sys/arch/amiga/dev/grf_cv3d.c
2164
cv3d_wsputchar(void *cookie, int row, int col, u_int ch, long attr)
sys/arch/amiga/dev/grf_cv3d.c
2177
*cp = attr;
sys/arch/amiga/dev/grf_cv3d.c
2305
cv3d_wsallocattr(void *c, int fg, int bg, int flg, long *attr)
sys/arch/amiga/dev/grf_cv3d.c
2309
*attr = (flg & WSATTR_REVERSE) ? 0x70 : 0x07;
sys/arch/amiga/dev/grf_cv3d.c
2310
if (flg & WSATTR_UNDERLINE) *attr = 0x01;
sys/arch/amiga/dev/grf_cv3d.c
2311
if (flg & WSATTR_HILIT) *attr |= 0x08;
sys/arch/amiga/dev/grf_cv3d.c
2312
if (flg & WSATTR_BLINK) *attr |= 0x80;
sys/arch/amiga/dev/grf_et.c
1721
et_wsputchar(void *c, int row, int col, u_int ch, long attr)
sys/arch/amiga/dev/grf_et.c
1738
*cp = attr;
sys/arch/amiga/dev/grf_et.c
1880
et_wsallocattr(void *c, int fg, int bg, int flg, long *attr)
sys/arch/amiga/dev/grf_et.c
1884
*attr = (flg & WSATTR_REVERSE) ? 0x70 : 0x07;
sys/arch/amiga/dev/grf_et.c
1885
if (flg & WSATTR_UNDERLINE) *attr = 0x01;
sys/arch/amiga/dev/grf_et.c
1886
if (flg & WSATTR_HILIT) *attr |= 0x08;
sys/arch/amiga/dev/grf_et.c
1887
if (flg & WSATTR_BLINK) *attr |= 0x80;
sys/arch/amiga/dev/ite_cl.c
154
unsigned char attr;
sys/arch/amiga/dev/ite_cl.c
160
attr =(unsigned char) ((mode & ATTR_INV) ? (0x70) : (0x07));
sys/arch/amiga/dev/ite_cl.c
161
if (mode & ATTR_UL) attr = 0x01; /* ???????? */
sys/arch/amiga/dev/ite_cl.c
162
if (mode & ATTR_BOLD) attr |= 0x08;
sys/arch/amiga/dev/ite_cl.c
163
if (mode & ATTR_BLINK) attr |= 0x80;
sys/arch/amiga/dev/ite_cl.c
169
*cp = (unsigned char) attr;
sys/arch/amiga/dev/ite_cv.c
209
unsigned char attr;
sys/arch/amiga/dev/ite_cv.c
212
attr = (unsigned char) ((mode & ATTR_INV) ? (0x70) : (0x07));
sys/arch/amiga/dev/ite_cv.c
213
if (mode & ATTR_UL) attr = 0x01;
sys/arch/amiga/dev/ite_cv.c
214
if (mode & ATTR_BOLD) attr |= 0x08;
sys/arch/amiga/dev/ite_cv.c
215
if (mode & ATTR_BLINK) attr |= 0x80;
sys/arch/amiga/dev/ite_cv.c
219
*cp = (unsigned char) attr;
sys/arch/amiga/dev/ite_cv.c
223
*cp = (unsigned char) attr;
sys/arch/amiga/dev/ite_cv3d.c
209
unsigned char attr;
sys/arch/amiga/dev/ite_cv3d.c
212
attr = (unsigned char) ((mode & ATTR_INV) ? (0x70) : (0x07));
sys/arch/amiga/dev/ite_cv3d.c
213
if (mode & ATTR_UL) attr = 0x01;
sys/arch/amiga/dev/ite_cv3d.c
214
if (mode & ATTR_BOLD) attr |= 0x08;
sys/arch/amiga/dev/ite_cv3d.c
215
if (mode & ATTR_BLINK) attr |= 0x80;
sys/arch/amiga/dev/ite_cv3d.c
219
*cp = (unsigned char) attr;
sys/arch/amiga/dev/ite_cv3d.c
223
*cp = (unsigned char) attr;
sys/arch/amiga/dev/ite_et.c
159
unsigned char attr;
sys/arch/amiga/dev/ite_et.c
165
attr =(unsigned char) ((mode & ATTR_INV) ? (0x70) : (0x07));
sys/arch/amiga/dev/ite_et.c
166
if (mode & ATTR_UL) attr = 0x01; /* ???????? */
sys/arch/amiga/dev/ite_et.c
167
if (mode & ATTR_BOLD) attr |= 0x08;
sys/arch/amiga/dev/ite_et.c
168
if (mode & ATTR_BLINK) attr |= 0x80;
sys/arch/amiga/dev/ite_et.c
174
*cp = (unsigned char) attr;
sys/arch/amiga/dev/ite_rh.c
194
register u_char attr;
sys/arch/amiga/dev/ite_rh.c
196
attr = (mode & ATTR_INV) ? 0x21 : 0x10;
sys/arch/amiga/dev/ite_rh.c
197
if (mode & ATTR_UL) attr = 0x01; /* ???????? */
sys/arch/amiga/dev/ite_rh.c
198
if (mode & ATTR_BOLD) attr |= 0x08;
sys/arch/amiga/dev/ite_rh.c
199
if (mode & ATTR_BLINK) attr |= 0x80;
sys/arch/amiga/dev/ite_rh.c
202
*fb++ = c; *fb = attr;
sys/arch/amiga/dev/ite_rt.c
402
register u_char attr;
sys/arch/amiga/dev/ite_rt.c
404
attr = (mode & ATTR_INV) ? 0x21 : 0x10;
sys/arch/amiga/dev/ite_rt.c
405
if (mode & ATTR_UL) attr = 0x01; /* ???????? */
sys/arch/amiga/dev/ite_rt.c
406
if (mode & ATTR_BOLD) attr |= 0x08;
sys/arch/amiga/dev/ite_rt.c
407
if (mode & ATTR_BLINK) attr |= 0x80;
sys/arch/amiga/dev/ite_rt.c
410
*fb++ = c; *fb = attr;
sys/arch/amiga/dev/itevar.h
179
#define set_attr(ip, attr) ((ip)->attribute |= (attr))
sys/arch/amiga/dev/itevar.h
180
#define clr_attr(ip, attr) ((ip)->attribute &= ~(attr))
sys/arch/amiga/dev/itevar.h
184
#define attrtest(ip, attr) 0
sys/arch/amiga/dev/itevar.h
185
#define attrset(ip, attr)
sys/arch/arc/include/pci_machdep.h
110
int attr, uint64_t data)
sys/arch/arc/include/pci_machdep.h
114
return pc->pc_intr_setattr(pc, ihp, attr, data);
sys/arch/arm/acpi/acpi_machdep.c
108
const uint64_t attr = be64dec(&map[5]);
sys/arch/arm/acpi/acpi_machdep.c
121
if ((attr & EFI_MD_ATTR_WB) != 0)
sys/arch/arm/acpi/acpi_machdep.c
123
else if ((attr & EFI_MD_ATTR_WC) != 0)
sys/arch/arm/acpi/acpi_machdep.c
125
else if ((attr & EFI_MD_ATTR_WT) != 0)
sys/arch/arm/acpi/acpi_pci_machdep.c
467
acpi_pci_md_intr_setattr(void *v, pci_intr_handle_t *ih, int attr, uint64_t data)
sys/arch/arm/acpi/acpi_pci_machdep.c
469
switch (attr) {
sys/arch/arm/broadcom/bcm2838_pcie.c
810
bcmstb_intr_setattr(void *v, pci_intr_handle_t *ih, int attr, uint64_t data)
sys/arch/arm/broadcom/bcm2838_pcie.c
812
switch (attr) {
sys/arch/arm/fdt/pcihost_fdt.c
597
pcihost_intr_setattr(void *v, pci_intr_handle_t *ih, int attr, uint64_t data)
sys/arch/arm/fdt/pcihost_fdt.c
599
switch (attr) {
sys/arch/arm/include/pci_machdep.h
180
int attr, uint64_t data)
sys/arch/arm/include/pci_machdep.h
184
return pc->pc_intr_setattr(pc, ihp, attr, data);
sys/arch/arm/iomd/vidcvideo.c
192
static void vv_putchar(void *c, int row, int col, u_int uc, long attr);
sys/arch/arm/iomd/vidcvideo.c
832
static void vv_eraserows(void *id, int startrow, int nrows, long attr)
sys/arch/arm/iomd/vidcvideo.c
853
static void vv_putchar(void *id, int row, int col, u_int uc, long attr)
sys/arch/arm/iomd/vidcvideo.c
860
dc->orig_ri_ops.putchar(id, row, col, uc, attr);
sys/arch/arm/marvell/armadaxp.c
1158
reg |= MVSOC_MLMB_WCR_ATTR(def->attr);
sys/arch/arm/marvell/armadaxp.c
1170
armadaxp_attr_dump(struct mvsoc_softc *sc, uint32_t target, uint32_t attr)
sys/arch/arm/marvell/armadaxp.c
1179
if (desc->attr != attr)
sys/arch/arm/marvell/armadaxp.c
1186
aprint_verbose_dev(sc->sc_dev, "target 0x%x(attr 0x%x)", target, attr);
sys/arch/arm/marvell/armadaxp.c
180
uint8_t attr;
sys/arch/arm/marvell/armadaxp.c
327
uint8_t attr; /* target attribute of the window */
sys/arch/arm/marvell/mvsoc.c
1237
mvsoc_target(int tag, uint32_t *target, uint32_t *attr, uint32_t *base,
sys/arch/arm/marvell/mvsoc.c
1247
if (attr != NULL)
sys/arch/arm/marvell/mvsoc.c
1248
*attr = 0;
sys/arch/arm/marvell/mvsoc.c
1267
if (attr != NULL)
sys/arch/arm/marvell/mvsoc.c
1268
*attr = mvsoc_tags[i].attr;
sys/arch/arm/marvell/mvsoc.c
1275
return mvsoc_target_ddr(mvsoc_tags[i].attr, base, size);
sys/arch/arm/marvell/mvsoc.c
1280
return mvsoc_target_ddr3(mvsoc_tags[i].attr, base,
sys/arch/arm/marvell/mvsoc.c
1284
mvsoc_tags[i].attr, base, size);
sys/arch/arm/marvell/mvsoc.c
1288
mvsoc_target_ddr(uint32_t attr, uint32_t *base, uint32_t *size)
sys/arch/arm/marvell/mvsoc.c
1297
switch (attr) {
sys/arch/arm/marvell/mvsoc.c
1311
aprint_error("unknown ATTR: 0x%x", attr);
sys/arch/arm/marvell/mvsoc.c
1335
mvsoc_target_ddr3(uint32_t attr, uint32_t *base, uint32_t *size)
sys/arch/arm/marvell/mvsoc.c
1344
switch (attr) {
sys/arch/arm/marvell/mvsoc.c
1358
aprint_error("unknown ATTR: 0x%x", attr);
sys/arch/arm/marvell/mvsoc.c
139
uint32_t attr;
sys/arch/arm/marvell/mvsoc.c
1421
mvsoc_target_peripheral(uint32_t target, uint32_t attr, uint32_t *base,
sys/arch/arm/marvell/mvsoc.c
1431
ta = MVSOC_MLMB_WCR_TARGET(target) | MVSOC_MLMB_WCR_ATTR(attr);
sys/arch/arm/marvell/mvsoc.c
1462
uint32_t reg, base, size, target, attr, enable;
sys/arch/arm/marvell/mvsoc.c
1469
attr = MVSOC_MLMB_WCR_GET_ATTR(reg);
sys/arch/arm/marvell/mvsoc.c
1481
armadaxp_attr_dump(sc, target, attr);
sys/arch/arm/marvell/mvsoc.c
1483
mvsoc_attr_dump(sc, target, attr);
sys/arch/arm/marvell/mvsoc.c
1493
mvsoc_attr_dump(struct mvsoc_softc *sc, uint32_t target, uint32_t attr)
sys/arch/arm/marvell/mvsoc.c
1495
aprint_verbose_dev(sc->sc_dev, "target 0x%x(attr 0x%x)", target, attr);
sys/arch/arm/marvell/pci_machdep.c
452
int window, target, attr, base, size, s;
sys/arch/arm/marvell/pci_machdep.c
458
&target, &attr, &base, &size);
sys/arch/arm/marvell/pci_machdep.c
508
MVSOC_MLMB_WCR_ATTR(attr) |
sys/arch/arm/nvidia/tegra_pcie.c
770
tegra_pcie_intr_setattr(void *v, pci_intr_handle_t *ih, int attr, uint64_t data)
sys/arch/arm/nvidia/tegra_pcie.c
772
switch (attr) {
sys/arch/arm/s3c2xx0/s3c24x0_lcd.c
753
s3c24x0_lcd_putchar(void *cookie, int row, int col, u_int uc, long attr)
sys/arch/arm/s3c2xx0/s3c24x0_lcd.c
758
row, col, uc, attr);
sys/arch/arm/s3c2xx0/s3c24x0_lcd.c
771
s3c24x0_lcd_erasecols(void *cookie, int row, int col, int num, long attr)
sys/arch/arm/s3c2xx0/s3c24x0_lcd.c
776
row, col, num, attr);
sys/arch/arm/s3c2xx0/s3c24x0_lcd.c
789
s3c24x0_lcd_eraserows(void *cookie, int row, int num, long attr)
sys/arch/arm/s3c2xx0/s3c24x0_lcd.c
794
row, num, attr);
sys/arch/arm/s3c2xx0/s3c24x0_lcd.c
798
s3c24x0_lcd_alloc_attr(void *cookie, int fg, int bg, int flg, long *attr)
sys/arch/arm/s3c2xx0/s3c24x0_lcd.c
803
fg, bg, flg, attr);
sys/arch/arm/ti/omap3_dss.c
1018
omapfb_putchar(void *cookie, int row, int col, u_int c, long attr)
sys/arch/arm/ti/omap3_dss.c
1026
rasops_unpack_attr(attr, &fg, &bg, &ul);
sys/arch/arm/ti/omap3_dss.c
1036
sc->sc_putchar(cookie, row, col, c, attr);
sys/arch/arm/ti/omap3_dss.c
1175
uint32_t attr = OMAP_DISPC_ATTR_BURST_16x32 |
sys/arch/arm/ti/omap3_dss.c
1179
if (cur->enable) attr |= OMAP_DISPC_ATTR_ENABLE;
sys/arch/arm/ti/omap3_dss.c
1181
OMAPFB_DISPC_GFX_ATTRIBUTES, attr);
sys/arch/arm/xscale/pxa2x0_lcd.c
949
pxa2x0_lcd_putchar(void *cookie, int row, int col, u_int uc, long attr)
sys/arch/arm/xscale/pxa2x0_lcd.c
953
(*scr->rinfo.ri_ops.putchar)(&scr->rinfo, row, col, uc, attr);
sys/arch/arm/xscale/pxa2x0_lcd.c
965
pxa2x0_lcd_erasecols(void *cookie, int row, int col, int num, long attr)
sys/arch/arm/xscale/pxa2x0_lcd.c
969
(*scr->rinfo.ri_ops.erasecols)(&scr->rinfo, row, col, num, attr);
sys/arch/arm/xscale/pxa2x0_lcd.c
981
pxa2x0_lcd_eraserows(void *cookie, int row, int num, long attr)
sys/arch/arm/xscale/pxa2x0_lcd.c
985
(*scr->rinfo.ri_ops.eraserows)(&scr->rinfo, row, num, attr);
sys/arch/arm/xscale/pxa2x0_lcd.c
989
pxa2x0_lcd_alloc_attr(void *cookie, int fg, int bg, int flg, long *attr)
sys/arch/arm/xscale/pxa2x0_lcd.c
993
return (*scr->rinfo.ri_ops.allocattr)(&scr->rinfo, fg, bg, flg, attr);
sys/arch/atari/dev/grfabs_et.c
586
regs->attr[i] = i;
sys/arch/atari/dev/grfabs_et.c
587
regs->attr[ACT_ID_ATTR_MODE_CNTL] = 0x01;
sys/arch/atari/dev/grfabs_et.c
588
regs->attr[ACT_ID_OVERSCAN_COLOR] = 0x00;
sys/arch/atari/dev/grfabs_et.c
589
regs->attr[ACT_ID_COLOR_PLANE_ENA] = 0x0f;
sys/arch/atari/dev/grfabs_et.c
590
regs->attr[ACT_ID_HOR_PEL_PANNING] = 0x00;
sys/arch/atari/dev/grfabs_et.c
591
regs->attr[ACT_ID_COLOR_SELECT] = 0x00;
sys/arch/atari/dev/grfabs_et.c
592
regs->attr[ACT_ID_MISCELLANEOUS] = 0x00;
sys/arch/atari/dev/grfabs_et.c
655
et_regs->attr[i] = RAttr(ba, i | 0x20);
sys/arch/atari/dev/grfabs_et.c
706
WAttr(ba, i | 0x20, et_regs->attr[i]);
sys/arch/atari/dev/grfabs_et.h
34
u_char attr[25]; /* Std. VGA attr. registers */
sys/arch/atari/dev/ite_et.c
491
u_char attr;
sys/arch/atari/dev/ite_et.c
504
attr = (unsigned char) ((mode & ATTR_INV) ? (0x70) : (0x07));
sys/arch/atari/dev/ite_et.c
505
if (mode & ATTR_UL) attr |= 0x01;
sys/arch/atari/dev/ite_et.c
506
if (mode & ATTR_BOLD) attr |= 0x08;
sys/arch/atari/dev/ite_et.c
507
if (mode & ATTR_BLINK) attr |= 0x80;
sys/arch/atari/dev/ite_et.c
510
cp[(dy * ip->cols) + dx] = (c << 8) | attr;
sys/arch/atari/dev/ite_et.c
671
etregs->attr[ACT_ID_ATTR_MODE_CNTL] = 0x0a;
sys/arch/atari/dev/itevar.h
172
#define set_attr(ip, attr) ((ip)->attribute |= (attr))
sys/arch/atari/dev/itevar.h
173
#define clr_attr(ip, attr) ((ip)->attribute &= ~(attr))
sys/arch/atari/dev/itevar.h
177
#define attrtest(ip, attr) 0
sys/arch/atari/dev/itevar.h
178
#define attrset(ip, attr)
sys/arch/atari/pci/pci_hades.c
146
int attr, uint64_t data)
sys/arch/atari/pci/pci_hades.c
149
switch (attr) {
sys/arch/atari/pci/pci_milan.c
100
switch (attr) {
sys/arch/atari/pci/pci_milan.c
96
pci_intr_setattr(pci_chipset_tag_t pc, pci_intr_handle_t *ih, int attr,
sys/arch/cobalt/pci/pci_machdep.c
203
int attr, uint64_t data)
sys/arch/cobalt/pci/pci_machdep.c
206
switch (attr) {
sys/arch/evbarm/armadaxp/armadaxp_machdep.c
220
uint32_t target, attr;
sys/arch/evbarm/armadaxp/armadaxp_machdep.c
245
window = mvsoc_target(memtag, &target, &attr, NULL, NULL);
sys/arch/evbarm/armadaxp/armadaxp_machdep.c
259
MVSOC_MLMB_WCR_ATTR(attr) |
sys/arch/evbarm/armadaxp/armadaxp_machdep.c
270
window = mvsoc_target(iotag, &target, &attr, NULL, NULL);
sys/arch/evbarm/armadaxp/armadaxp_machdep.c
284
MVSOC_MLMB_WCR_ATTR(attr) |
sys/arch/evbarm/marvell/marvell_machdep.c
139
uint32_t target, attr;
sys/arch/evbarm/marvell/marvell_machdep.c
143
window = mvsoc_target(memtag, &target, &attr, NULL, NULL);
sys/arch/evbarm/marvell/marvell_machdep.c
147
MVSOC_MLMB_WCR_ATTR(attr) |
sys/arch/evbarm/marvell/marvell_machdep.c
158
window = mvsoc_target(iotag, &target, &attr, NULL, NULL);
sys/arch/evbarm/marvell/marvell_machdep.c
162
MVSOC_MLMB_WCR_ATTR(attr) |
sys/arch/evbmips/rmixl/machdep.c
931
printf(", %d", m->attr);
sys/arch/evbppc/explora/dev/fb_elb.c
408
fb_eraserows(void *v, int row, int nrows, long attr)
sys/arch/evbppc/explora/dev/fb_elb.c
416
s3_fill(fb, 0, row, ri->ri_stride, nrows, (attr >> 16)&0x0f, 0x0f);
sys/arch/evbppc/explora/dev/fb_elb.c
420
fb_erasecols(void *v, int row, int startcol, int ncols, long attr)
sys/arch/evbppc/explora/dev/fb_elb.c
430
(attr >> 16)&0x0f, 0x0f);
sys/arch/ews4800mips/sbd/fb_sbdio.c
334
int *curx, int *cury, long *attr)
sys/arch/ews4800mips/sbd/fb_sbdio.c
348
*attr = defattr;
sys/arch/hp300/dev/diofb.c
336
diofb_allocattr(void *cookie, int fg, int bg, int flg, long *attr)
sys/arch/hp300/dev/diofb.c
354
*attr = (bg << 16) | (fg << 24) | (flg & WSATTR_UNDERLINE);
sys/arch/hp300/dev/diofb.c
392
diofb_erasecols(void *cookie, int row, int col, int num, long attr)
sys/arch/hp300/dev/diofb.c
400
rasops_unpack_attr(attr, &fg, &bg, NULL);
sys/arch/hp300/dev/diofb.c
412
rasops_erasecols(cookie, row, col, num, attr);
sys/arch/hp300/dev/diofb.c
416
diofb_eraserows(void *cookie, int row, int num, long attr)
sys/arch/hp300/dev/diofb.c
424
rasops_unpack_attr(attr, &fg, &bg, NULL);
sys/arch/hp300/dev/diofb.c
437
rasops_eraserows(cookie, row, num, attr);
sys/arch/hp300/dev/topcat.c
582
topcat_putchar8(void *cookie, int row, int col, u_int uc, long attr)
sys/arch/hp300/dev/topcat.c
592
(*diofb->wsputchar)(cookie, row, col, uc, attr);
sys/arch/hp300/dev/topcat.c
600
topcat_putchar1_4(void *cookie, int row, int col, u_int uc, long attr)
sys/arch/hp300/dev/topcat.c
620
clr[0] = (uint8_t)ri->ri_devcmap[(attr >> 16) & 0xf];
sys/arch/hp300/dev/topcat.c
621
clr[1] = (uint8_t)ri->ri_devcmap[(attr >> 24) & 0xf];
sys/arch/hp300/dev/topcat.c
668
if ((attr & WSATTR_UNDERLINE) != 0) {
sys/arch/hpc/stand/hpcboot/menu/menu.cpp
579
int attr = fd.dwFileAttributes;
sys/arch/hpc/stand/hpcboot/menu/menu.cpp
580
if ((attr & FILE_ATTRIBUTE_DIRECTORY) &&
sys/arch/hpc/stand/hpcboot/menu/menu.cpp
581
(attr & FILE_ATTRIBUTE_TEMPORARY) &&
sys/arch/hpcsh/dev/hd64461/hd64461video.c
759
hd64461video_erase(void *ctx, int xd, int yd, int h, int w, int attr)
sys/arch/hpcsh/dev/hd64461/hd64461video.c
810
int fclr, int uclr, u_int uc, int attr)
sys/arch/hppa/dev/gftfb.c
1018
if (attr & WSATTR_UNDERLINE) {
sys/arch/hppa/dev/gftfb.c
1027
gftfb_putchar_aa(void *cookie, int row, int col, u_int c, long attr)
sys/arch/hppa/dev/gftfb.c
1056
bg = ri->ri_devcmap[(attr >> 16) & 0xf];
sys/arch/hppa/dev/gftfb.c
1060
if (attr & WSATTR_UNDERLINE)
sys/arch/hppa/dev/gftfb.c
1061
glyphcache_underline(&sc->sc_gc, x, y, attr);
sys/arch/hppa/dev/gftfb.c
1065
rv = glyphcache_try(&sc->sc_gc, c, x, y, attr);
sys/arch/hppa/dev/gftfb.c
1078
fgo = ((attr >> 24) & 0xf) * 3;
sys/arch/hppa/dev/gftfb.c
1079
bgo = ((attr >> 16) & 0xf) * 3;
sys/arch/hppa/dev/gftfb.c
1138
if (attr & WSATTR_UNDERLINE)
sys/arch/hppa/dev/gftfb.c
1139
glyphcache_underline(&sc->sc_gc, x, y, attr);
sys/arch/hppa/dev/gftfb.c
1143
gftfb_allocattr(void *cookie, int fg0, int bg0, int flg, long *attr)
sys/arch/hppa/dev/gftfb.c
1160
*attr = (bg << 16) | (fg << 24) | flg;
sys/arch/hppa/dev/gftfb.c
842
int width, int height, long attr)
sys/arch/hppa/dev/gftfb.c
847
sc->vd.active->scr_ri.ri_devcmap[(attr >> 24 & 0xf)]);
sys/arch/hppa/dev/gftfb.c
916
gftfb_putchar(void *cookie, int row, int col, u_int c, long attr)
sys/arch/hppa/dev/gftfb.c
942
bg = ri->ri_devcmap[(attr >> 16) & 0xf];
sys/arch/hppa/dev/gftfb.c
943
fg = ri->ri_devcmap[(attr >> 24) & 0x0f];
sys/arch/hppa/dev/gftfb.c
948
if (attr & WSATTR_UNDERLINE)
sys/arch/hppa/dev/gftfb.c
982
if (attr & WSATTR_HILIT) {
sys/arch/hppa/dev/hyperfb.c
1045
int width, int height, long attr)
sys/arch/hppa/dev/hyperfb.c
1050
sc->vd.active->scr_ri.ri_devcmap[(attr >> 24 & 0xf)]);
sys/arch/hppa/dev/hyperfb.c
1127
hyperfb_putchar(void *cookie, int row, int col, u_int c, long attr)
sys/arch/hppa/dev/hyperfb.c
1153
bg = ri->ri_devcmap[(attr >> 16) & 0xf];
sys/arch/hppa/dev/hyperfb.c
1154
fg = ri->ri_devcmap[(attr >> 24) & 0x0f];
sys/arch/hppa/dev/hyperfb.c
1161
if (attr & WSATTR_UNDERLINE)
sys/arch/hppa/dev/hyperfb.c
1192
if (attr & WSATTR_HILIT) {
sys/arch/hppa/dev/hyperfb.c
1227
if (attr & WSATTR_UNDERLINE) {
sys/arch/hppa/dev/hyperfb.c
1236
hyperfb_putchar_aa(void *cookie, int row, int col, u_int c, long attr)
sys/arch/hppa/dev/hyperfb.c
1265
bg = ri->ri_devcmap[(attr >> 16) & 0xf];
sys/arch/hppa/dev/hyperfb.c
1269
if (attr & WSATTR_UNDERLINE)
sys/arch/hppa/dev/hyperfb.c
1270
glyphcache_underline(&sc->sc_gc, x, y, attr);
sys/arch/hppa/dev/hyperfb.c
1274
rv = glyphcache_try(&sc->sc_gc, c, x, y, attr);
sys/arch/hppa/dev/hyperfb.c
1288
fgo = ((attr >> 24) & 0xf) * 3;
sys/arch/hppa/dev/hyperfb.c
1289
bgo = ((attr >> 16) & 0xf) * 3;
sys/arch/hppa/dev/hyperfb.c
1348
if (attr & WSATTR_UNDERLINE)
sys/arch/hppa/dev/hyperfb.c
1349
glyphcache_underline(&sc->sc_gc, x, y, attr);
sys/arch/hppa/dev/hyperfb.c
1353
hyperfb_allocattr(void *cookie, int fg0, int bg0, int flg, long *attr)
sys/arch/hppa/dev/hyperfb.c
1370
*attr = (bg << 16) | (fg << 24) | flg;
sys/arch/hppa/dev/summitfb.c
1012
summitfb_putchar(void *cookie, int row, int col, u_int c, long attr)
sys/arch/hppa/dev/summitfb.c
1040
bg = ri->ri_devcmap[(attr >> 16) & 0xf];
sys/arch/hppa/dev/summitfb.c
1041
fg = ri->ri_devcmap[(attr >> 24) & 0x0f];
sys/arch/hppa/dev/summitfb.c
1046
if (attr & WSATTR_UNDERLINE)
sys/arch/hppa/dev/summitfb.c
1063
if (attr & WSATTR_HILIT) {
sys/arch/hppa/dev/summitfb.c
1102
if (attr & WSATTR_UNDERLINE) {
sys/arch/hppa/dev/summitfb.c
1112
summitfb_putchar_aa(void *cookie, int row, int col, u_int c, long attr)
sys/arch/hppa/dev/summitfb.c
1138
bg = ri->ri_devcmap[(attr >> 16) & 0xf];
sys/arch/hppa/dev/summitfb.c
1142
if (attr & WSATTR_UNDERLINE)
sys/arch/hppa/dev/summitfb.c
1143
glyphcache_underline(&sc->sc_gc, x, y, attr);
sys/arch/hppa/dev/summitfb.c
1147
rv = glyphcache_try(&sc->sc_gc, c, x, y, attr);
sys/arch/hppa/dev/summitfb.c
1159
fg24 = sc->sc_palette[(attr >> 24) & 0xf];
sys/arch/hppa/dev/summitfb.c
1193
if (attr & WSATTR_UNDERLINE)
sys/arch/hppa/dev/summitfb.c
1194
glyphcache_underline(&sc->sc_gc, x, y, attr);
sys/arch/hppa/dev/summitfb.c
1199
summitfb_allocattr(void *cookie, int fg0, int bg0, int flg, long *attr)
sys/arch/hppa/dev/summitfb.c
1216
*attr = (bg << 16) | (fg << 24) | flg;
sys/arch/hppa/dev/summitfb.c
928
int width, int height, long attr)
sys/arch/hppa/dev/summitfb.c
933
sc->vd.active->scr_ri.ri_devcmap[(attr >> 24 & 0xf)]);
sys/arch/hppa/include/pci_machdep.h
93
int attr, uint64_t data)
sys/arch/hppa/include/pci_machdep.h
97
return pc->pc_intr_setattr(pc, ihp, attr, data);
sys/arch/i386/stand/efiboot/efidisk.c
318
bool bootme = part[j].attr & GPT_ENT_ATTR_BOOTME;
sys/arch/i386/stand/lib/biosdisk.c
1068
if (d->part[i].attr & GPT_ENT_ATTR_BOOTME &&
sys/arch/i386/stand/lib/biosdisk.c
1238
if (raidframe.part[i].attr & GPT_ENT_ATTR_BOOTME) {
sys/arch/i386/stand/lib/biosdisk.c
1426
d->part[part].attr & GPT_ENT_ATTR_BOOTME)
sys/arch/i386/stand/lib/biosdisk.c
1567
d->part[part].attr & GPT_ENT_ATTR_BOOTME)
sys/arch/i386/stand/lib/biosdisk.c
443
d->part[j].attr = ep[i].ent_attr;
sys/arch/i386/stand/lib/biosdisk.c
975
bool bootme = d->part[part].attr & GPT_ENT_ATTR_BOOTME;
sys/arch/i386/stand/lib/biosdisk.h
39
uint64_t attr;
sys/arch/ia64/ia64/pmap.c
2084
vm_memattr_t attr;
sys/arch/ia64/ia64/pmap.c
2093
attr = pmap_flags_to_memattr(flags);
sys/arch/ia64/ia64/pmap.c
2102
pmap_pte_attr(pte, attr);
sys/arch/landisk/include/pci_machdep.h
86
#define pci_intr_setattr(pa, ihp, attr, data) \
sys/arch/landisk/include/pci_machdep.h
87
landisk_pci_intr_setattr(pa, ihp, attr, data)
sys/arch/landisk/landisk/shpcic_machdep.c
122
pci_intr_handle_t *ihp, int attr, uint64_t data)
sys/arch/landisk/landisk/shpcic_machdep.c
125
switch (attr) {
sys/arch/luna68k/dev/omrasops.c
1751
om_unpack_attr(long attr, uint8_t *fg, uint8_t *bg, int *underline)
sys/arch/luna68k/dev/omrasops.c
1755
f = (attr >> 8) & hwplanemask;
sys/arch/luna68k/dev/omrasops.c
1756
b = attr & hwplanemask;
sys/arch/luna68k/dev/omrasops.c
441
om_putchar(void *cookie, int row, int startcol, u_int uc, long attr)
sys/arch/luna68k/dev/omrasops.c
473
om_unpack_attr(attr, &fg, &bg, NULL);
sys/arch/luna68k/dev/omrasops.c
557
om_erasecols(void *cookie, int row, int startcol, int ncols, long attr)
sys/arch/luna68k/dev/omrasops.c
576
om_unpack_attr(attr, &fg, &bg, NULL);
sys/arch/luna68k/dev/omrasops.c
597
om_eraserows(void *cookie, int startrow, int nrows, long attr)
sys/arch/luna68k/dev/omrasops.c
617
om_unpack_attr(attr, &fg, &bg, NULL);
sys/arch/mips/include/pci_machdep.h
117
int attr, uint64_t data)
sys/arch/mips/include/pci_machdep.h
121
return pc->pc_intr_setattr(pc, ihp, attr, data);
sys/arch/mips/rmi/rmixl_firmware.h
142
int attr;
sys/arch/playstation2/ee/gsfb.c
173
int start, nrow, attr;
sys/arch/playstation2/ee/gsfb.c
338
_gsfb_eraserows(0, win->start, win->nrow, win->attr);
sys/arch/playstation2/ee/gsfb.c
433
_gsfb_putchar(void *cookie, int row, int col, u_int uc, long attr)
sys/arch/playstation2/ee/gsfb.c
441
gsfb_font_expand_psmct32(font, uc, attr, &buf[FONT_SCRATCH_BASE]);
sys/arch/playstation2/ee/gsfb.c
474
_gsfb_erasecols(void *cookie, int row, int startcol, int ncols, long attr)
sys/arch/playstation2/ee/gsfb.c
479
_gsfb_putchar(cookie, row, startcol + i, ' ', attr);
sys/arch/playstation2/ee/gsfb.c
505
_gsfb_eraserows(void *cookie, int row, int nrow, long attr)
sys/arch/playstation2/ee/gsfb.c
512
_gsfb_putchar(cookie, row + j, i, ' ', attr);
sys/arch/playstation2/ee/gsfb.c
516
_gsfb_allocattr(void *cookie, int fg, int bg, int flags, long *attr)
sys/arch/playstation2/ee/gsfb.c
533
*attr = ATTR_BG_SET(bg) | ATTR_FG_SET(fg) | flags;
sys/arch/playstation2/ee/gsfb.c
587
gsfb_font_expand_psmct32(const struct wsdisplay_font *font, u_int c, long attr,
sys/arch/playstation2/ee/gsfb.c
596
fg = gsfb_ansi_psmct32[ATTR_FG_GET(attr)];
sys/arch/playstation2/ee/gsfb.c
597
bg = gsfb_ansi_psmct32[ATTR_BG_GET(attr)];
sys/arch/playstation2/ee/gsfb.c
648
a = win->attr;
sys/arch/powerpc/ibm4xx/pci/pci_machdep.c
167
ibm4xx_pci_intr_setattr(void *v, pci_intr_handle_t *ihp, int attr,
sys/arch/powerpc/ibm4xx/pci/pci_machdep.c
171
switch (attr) {
sys/arch/powerpc/ibm4xx/pmap.c
1084
char *attr;
sys/arch/powerpc/ibm4xx/pmap.c
1091
attr = pa_to_attr(pa);
sys/arch/powerpc/ibm4xx/pmap.c
1092
if (attr == NULL)
sys/arch/powerpc/ibm4xx/pmap.c
1097
rv = (*attr & mask) != 0;
sys/arch/powerpc/ibm4xx/pmap.c
1099
*attr &= ~mask;
sys/arch/powerpc/ibm4xx/pmap.c
484
char *attr;
sys/arch/powerpc/ibm4xx/pmap.c
499
attr = pmap_attrib;
sys/arch/powerpc/ibm4xx/pmap.c
504
uvm_physseg_get_pmseg(bank)->attrs = attr;
sys/arch/powerpc/ibm4xx/pmap.c
506
attr += sz;
sys/arch/powerpc/ibm4xx/pmap.c
866
char *attr;
sys/arch/powerpc/ibm4xx/pmap.c
874
attr = pa_to_attr(pa);
sys/arch/powerpc/ibm4xx/pmap.c
875
KASSERT(attr);
sys/arch/powerpc/ibm4xx/pmap.c
877
*attr |= PMAP_ATTR_REF;
sys/arch/powerpc/ibm4xx/pmap.c
879
*attr |= PMAP_ATTR_CHG;
sys/arch/powerpc/include/pci_machdep.h
281
pci_intr_setattr(pci_chipset_tag_t pc, pci_intr_handle_t *ihp, int attr,
sys/arch/powerpc/include/pci_machdep.h
284
return (*pc->pc_intr_setattr)(pc->pc_intr_v, ihp, attr, data);
sys/arch/powerpc/pci/pci_machdep_common.c
139
genppc_pci_intr_setattr(void *v, pci_intr_handle_t *ihp, int attr,
sys/arch/riscv/fdt/pcihost_fdt.c
578
pcihost_intr_setattr(void *v, pci_intr_handle_t *ih, int attr, uint64_t data)
sys/arch/riscv/fdt/pcihost_fdt.c
580
switch (attr) {
sys/arch/riscv/include/pci_machdep.h
210
int attr, uint64_t data)
sys/arch/riscv/include/pci_machdep.h
214
return pc->pc_intr_setattr(pc, ihp, attr, data);
sys/arch/riscv/riscv/trap.c
347
u_int attr;
sys/arch/riscv/riscv/trap.c
359
attr = 0;
sys/arch/riscv/riscv/trap.c
365
attr |= VM_PAGEMD_REFERENCED;
sys/arch/riscv/riscv/trap.c
371
attr |= VM_PAGEMD_REFERENCED | VM_PAGEMD_MODIFIED;
sys/arch/riscv/riscv/trap.c
377
attr |= VM_PAGEMD_REFERENCED | VM_PAGEMD_MODIFIED;
sys/arch/riscv/riscv/trap.c
383
attr |= VM_PAGEMD_REFERENCED;
sys/arch/riscv/riscv/trap.c
392
if (attr == 0)
sys/arch/riscv/riscv/trap.c
398
pmap_page_set_attributes(VM_PAGE_TO_MD(pg), attr);
sys/arch/riscv/riscv/trap.c
403
if (pg != NULL && (attr & VM_PAGEMD_EXECPAGE) != 0)
sys/arch/sandpoint/pci/pci_machdep.c
416
int attr, uint64_t data)
sys/arch/sandpoint/pci/pci_machdep.c
419
switch (attr) {
sys/arch/sgimips/dev/crmfb.c
1443
crmfb_putchar(void *cookie, int row, int col, u_int c, long attr)
sys/arch/sgimips/dev/crmfb.c
1461
bg = ri->ri_devcmap[(attr >> 16) & 0xff];
sys/arch/sgimips/dev/crmfb.c
1462
fg = ri->ri_devcmap[(attr >> 24) & 0xff];
sys/arch/sgimips/dev/crmfb.c
1521
crmfb_putchar_aa(void *cookie, int row, int col, u_int c, long attr)
sys/arch/sgimips/dev/crmfb.c
1537
bg = ri->ri_devcmap[(attr >> 16) & 0xff];
sys/arch/sgimips/dev/crmfb.c
1538
fg = (attr >> 24);
sys/arch/sgimips/gio/grtwo.c
599
grtwo_putchar(void *c, int row, int col, u_int ch, long attr)
sys/arch/sgimips/gio/grtwo.c
611
grtwo_set_color(dc->iot, dc->ioh, (((attr) >> 8) & 0xff));
sys/arch/sgimips/gio/grtwo.c
661
grtwo_erasecols(void *c, int row, int startcol, int ncols, long attr)
sys/arch/sgimips/gio/grtwo.c
671
GR2_ATTR_BG(attr));
sys/arch/sgimips/gio/grtwo.c
690
grtwo_eraserows(void *c, int startrow, int nrows, long attr)
sys/arch/sgimips/gio/grtwo.c
699
GR2_ATTR_BG(attr));
sys/arch/sgimips/gio/grtwo.c
703
grtwo_allocattr(void *c, int fg, int bg, int flags, long *attr)
sys/arch/sgimips/gio/grtwo.c
720
*attr = GR2_ATTR_ENCODE(fg, bg);
sys/arch/sgimips/gio/light.c
154
#define LIGHT_ATTR_FG(attr) ((attr >> 8) & 0x00ff)
sys/arch/sgimips/gio/light.c
155
#define LIGHT_ATTR_BG(attr) (attr & 0x00ff)
sys/arch/sgimips/gio/light.c
245
int to_y, long attr)
sys/arch/sgimips/gio/light.c
254
rex_write(dc, REX_PAGE0_SET, REX_P0REG_COLORREDI, LIGHT_ATTR_BG(attr));
sys/arch/sgimips/gio/light.c
394
light_putchar(void *c, int row, int col, u_int ch, long attr)
sys/arch/sgimips/gio/light.c
413
rex_write(dc, REX_PAGE0_SET, REX_P0REG_COLORREDI, LIGHT_ATTR_FG(attr));
sys/arch/sgimips/gio/light.c
414
rex_write(dc, REX_PAGE0_SET, REX_P0REG_COLORBACK, LIGHT_ATTR_BG(attr));
sys/arch/sgimips/gio/light.c
452
light_erasecols(void *c, int row, int startcol, int ncols, long attr)
sys/arch/sgimips/gio/light.c
463
rex_fill_rect(c, from_x, from_y, to_x, to_y, attr);
sys/arch/sgimips/gio/light.c
486
light_eraserows(void *c, int row, int nrows, long attr)
sys/arch/sgimips/gio/light.c
497
rex_fill_rect(c, from_x, from_y, to_x, to_y, attr);
sys/arch/sgimips/gio/light.c
501
light_allocattr(void *c, int fg, int bg, int flags, long *attr)
sys/arch/sgimips/gio/light.c
521
*attr = LIGHT_ATTR_ENCODE(fg, bg);
sys/arch/sgimips/gio/light.c
582
int *curxp, int *curyp, long *attr)
sys/arch/sgimips/gio/newport.c
1160
newport_putchar(void *c, int row, int col, u_int ch, long attr)
sys/arch/sgimips/gio/newport.c
1194
rex3_write(dc, REX3_REG_COLORI, ri->ri_devcmap[(attr >> 24) & 0xf] & 0xff);
sys/arch/sgimips/gio/newport.c
1195
rex3_write(dc, REX3_REG_COLORBACK, ri->ri_devcmap[(attr >> 16) & 0xf] & 0xff);
sys/arch/sgimips/gio/newport.c
1239
long attr)
sys/arch/sgimips/gio/newport.c
1251
ri->ri_devcmap[(attr >> 16) & 0xf]);
sys/arch/sgimips/gio/newport.c
1272
newport_eraserows(void *c, int startrow, int nrows, long attr)
sys/arch/sgimips/gio/newport.c
1285
ri->ri_devcmap[(attr >> 16) & 0xf]);
sys/arch/sgimips/gio/newport.c
1292
ri->ri_devcmap[(attr >> 16) & 0xf]);
sys/arch/sgimips/pci/pci_machdep.c
139
int attr, uint64_t data)
sys/arch/sgimips/pci/pci_machdep.c
142
switch (attr) {
sys/arch/shark/ofw/vlpci.c
140
uint8_t attr;
sys/arch/shark/ofw/vlpci.c
144
attr = regread_1(sc, regaddr + 2);
sys/arch/shark/ofw/vlpci.c
145
size = 0x00010000 << __SHIFTOUT(attr, VLPCI_PCI_WND_ATTR_SZ);
sys/arch/shark/ofw/vlpci.c
147
size, attr);
sys/arch/sparc/dev/cgfourteen.c
1361
int width, int height, long attr)
sys/arch/sparc/dev/cgfourteen.c
1366
sc->sc_vd.active->scr_ri.ri_devcmap[(attr >> 24 & 0xf)]);
sys/arch/sparc/dev/cgfourteen.c
1595
cg14_putchar(void *cookie, int row, int col, u_int c, long attr)
sys/arch/sparc/dev/cgfourteen.c
1620
bg = ri->ri_devcmap[(attr >> 16) & 0xf];
sys/arch/sparc/dev/cgfourteen.c
1621
fg = ri->ri_devcmap[(attr >> 24) & 0xf];
sys/arch/sparc/dev/cgfourteen.c
1628
if (attr & 1)
sys/arch/sparc/dev/cgfourteen.c
1665
if (attr & 1)
sys/arch/sparc/dev/cgfourteen.c
1718
cg14_putchar_aa(void *cookie, int row, int col, u_int c, long attr)
sys/arch/sparc/dev/cgfourteen.c
1743
bg = ri->ri_devcmap[(attr >> 16) & 0xf];
sys/arch/sparc/dev/cgfourteen.c
1744
fg = ri->ri_devcmap[(attr >> 24) & 0xf];
sys/arch/sparc/dev/cgfourteen.c
1749
if (attr & 1)
sys/arch/sparc/dev/cgfourteen.c
1754
rv = glyphcache_try(&sc->sc_gc, c, x, y, attr);
sys/arch/sparc/dev/cgfourteen.c
1764
fgo = ((attr >> 24) & 0xf) * 3;
sys/arch/sparc/dev/cgfourteen.c
1765
bgo = ((attr >> 16) & 0xf) * 3;
sys/arch/sparc/dev/cgfourteen.c
1828
} else if (attr & 1)
sys/arch/sparc/sparc/pci_machdep.c
536
int attr, uint64_t data)
sys/arch/sparc/sparc/pci_machdep.c
539
switch (attr) {
sys/arch/sparc64/dev/ffb.c
1038
ffb_putchar_mono(void *cookie, int row, int col, u_int c, long attr)
sys/arch/sparc64/dev/ffb.c
1058
bg = ri->ri_devcmap[(attr >> 16) & 0xf];
sys/arch/sparc64/dev/ffb.c
1059
fg = ri->ri_devcmap[(attr >> 24) & 0xf];
sys/arch/sparc64/dev/ffb.c
1076
if (attr & WSATTR_HILIT) {
sys/arch/sparc64/dev/ffb.c
1125
if (attr & WSATTR_UNDERLINE) {
sys/arch/sparc64/dev/ffb.c
1135
ffb_putchar_aa(void *cookie, int row, int col, u_int c, long attr)
sys/arch/sparc64/dev/ffb.c
1158
bg = ri->ri_devcmap[(attr >> 16) & 0xf];
sys/arch/sparc64/dev/ffb.c
1159
fg = ri->ri_devcmap[(attr >> 24) & 0xf];
sys/arch/sparc64/dev/ffb.c
1206
if (attr & WSATTR_HILIT) {
sys/arch/sparc64/dev/ffb.c
1229
if (attr & WSATTR_UNDERLINE) {
sys/arch/sparc64/dev/ffb.c
668
ffb_ras_eraserows(void *cookie, int row, int n, long attr)
sys/arch/sparc64/dev/ffb.c
684
ffb_ras_setfg(sc, ri->ri_devcmap[(attr >> 16) & 0xf]);
sys/arch/sparc64/dev/ffb.c
703
ffb_ras_erasecols(void *cookie, int row, int col, int n, long attr)
sys/arch/sparc64/dev/ffb.c
725
ffb_ras_setfg(sc, ri->ri_devcmap[(attr >> 16) & 0xf]);
sys/arch/sparc64/dev/iommu.c
348
u_int64_t attr, nmapped;
sys/arch/sparc64/dev/iommu.c
356
attr = PCI_MAP_ATTR_READ | PCI_MAP_ATTR_WRITE;
sys/arch/sparc64/dev/iommu.c
358
attr &= ~PCI_MAP_ATTR_READ;
sys/arch/sparc64/dev/iommu.c
360
attr &= ~PCI_MAP_ATTR_WRITE;
sys/arch/sparc64/dev/iommu.c
365
err = hv_pci_iommu_map(is->is_devhandle, tsbid, 1, attr,
sys/arch/sparc64/dev/pci_machdep.c
416
int attr, uint64_t data)
sys/arch/sparc64/dev/pci_machdep.c
419
switch (attr) {
sys/arch/sun3/include/mc68851.h
103
} attr;
sys/arch/sun3/include/mc68851.h
165
} attr;
sys/arch/sun3/include/mc68851.h
207
} attr;
sys/arch/sun3/include/mc68851.h
253
} attr;
sys/arch/sun3/include/mc68851.h
274
#define MMU_VALID_DT(dte) ((dte).attr.raw & MMU_DT_MASK)
sys/arch/sun3/include/mc68851.h
276
#define MMU_INVALID_DT(dte) (!((dte).attr.raw & MMU_DT_MASK))
sys/arch/sun3/include/mc68851.h
278
#define MMU_PTE_USED(pte) ((pte).attr.raw & MMU_SHORT_PTE_USED)
sys/arch/sun3/include/mc68851.h
280
#define MMU_PTE_MODIFIED(pte) ((pte).attr.raw & MMU_SHORT_PTE_M)
sys/arch/sun3/include/mc68851.h
282
#define MMU_PTE_PA(pte) ((pte).attr.raw & MMU_SHORT_PTE_BASEADDR)
sys/arch/sun3/include/mc68851.h
284
#define MMU_DTE_PA(dte) ((dte).attr.raw & MMU_SHORT_DTE_BASEADDR)
sys/arch/sun3/sun3x/pmap.c
1013
kpte[i].attr.raw = mon_ctbl[i];
sys/arch/sun3/sun3x/pmap.c
1045
mon_dte[i].attr.raw = kernAbase[i].attr.raw;
sys/arch/sun3/sun3x/pmap.c
1148
b_tbl->bt_dtbl[j].attr.raw = MMU_DT_INVALID;
sys/arch/sun3/sun3x/pmap.c
1181
c_tbl->ct_dtbl[j].attr.raw = MMU_DT_INVALID;
sys/arch/sun3/sun3x/pmap.c
1293
tbl->bt_parent->at_dtbl[tbl->bt_pidx].attr.raw = MMU_DT_INVALID;
sys/arch/sun3/sun3x/pmap.c
1316
tbl->ct_parent->bt_dtbl[tbl->ct_pidx].attr.raw = MMU_DT_INVALID;
sys/arch/sun3/sun3x/pmap.c
1413
dte[i].attr.raw = MMU_DT_INVALID;
sys/arch/sun3/sun3x/pmap.c
1456
dte[i].attr.raw = MMU_DT_INVALID;
sys/arch/sun3/sun3x/pmap.c
1494
if (c_pte->attr.raw & MMU_SHORT_PTE_WIRED)
sys/arch/sun3/sun3x/pmap.c
1582
pv->pv_flags |= (u_short) pte->attr.raw;
sys/arch/sun3/sun3x/pmap.c
1584
pte->attr.raw = MMU_DT_INVALID;
sys/arch/sun3/sun3x/pmap.c
1802
a_dte->attr.raw = MMU_LONG_DTE_LU | MMU_DT_SHORT;
sys/arch/sun3/sun3x/pmap.c
1853
b_dte->attr.raw = mmu_vtop(c_tbl->ct_dtbl);
sys/arch/sun3/sun3x/pmap.c
1854
b_dte->attr.raw |= MMU_DT_SHORT;
sys/arch/sun3/sun3x/pmap.c
1896
if (c_pte->attr.raw & MMU_SHORT_PTE_WIRED) {
sys/arch/sun3/sun3x/pmap.c
1935
c_pte->attr.raw &= (MMU_SHORT_PTE_M
sys/arch/sun3/sun3x/pmap.c
1957
c_pte->attr.raw = 0;
sys/arch/sun3/sun3x/pmap.c
1969
c_pte->attr.raw |= MMU_SHORT_PTE_WIRED;
sys/arch/sun3/sun3x/pmap.c
1981
if (c_pte->attr.raw & ~(MMU_SHORT_PTE_M |
sys/arch/sun3/sun3x/pmap.c
1987
c_pte->attr.raw |= ((u_long) pa | MMU_DT_PAGE);
sys/arch/sun3/sun3x/pmap.c
1994
c_pte->attr.raw |= MMU_SHORT_PTE_WP;
sys/arch/sun3/sun3x/pmap.c
2000
c_pte->attr.raw |= MMU_SHORT_PTE_USED;
sys/arch/sun3/sun3x/pmap.c
2002
c_pte->attr.raw |= MMU_SHORT_PTE_M;
sys/arch/sun3/sun3x/pmap.c
2012
c_pte->attr.raw |= MMU_SHORT_PTE_CI;
sys/arch/sun3/sun3x/pmap.c
2104
pte->attr.raw &= (MMU_SHORT_PTE_USED|MMU_SHORT_PTE_M);
sys/arch/sun3/sun3x/pmap.c
2107
pte->attr.raw = MMU_DT_INVALID;
sys/arch/sun3/sun3x/pmap.c
2115
pte->attr.raw |= (pa | MMU_DT_PAGE);
sys/arch/sun3/sun3x/pmap.c
2118
pte->attr.raw |= MMU_SHORT_PTE_WP;
sys/arch/sun3/sun3x/pmap.c
2120
pte->attr.raw |= MMU_SHORT_PTE_CI;
sys/arch/sun3/sun3x/pmap.c
2149
pte->attr.raw = MMU_DT_INVALID | MMU_DT_PAGE | (pa & MMU_PAGE_MASK);
sys/arch/sun3/sun3x/pmap.c
2151
pte->attr.raw |= MMU_SHORT_PTE_WP;
sys/arch/sun3/sun3x/pmap.c
2153
pte->attr.raw |= MMU_SHORT_PTE_CI;
sys/arch/sun3/sun3x/pmap.c
2170
kernCbase[idx++].attr.raw = MMU_DT_INVALID;
sys/arch/sun3/sun3x/pmap.c
2219
pte->attr.raw |= MMU_SHORT_PTE_WP;
sys/arch/sun3/sun3x/pmap.c
2327
pte->attr.raw |= MMU_SHORT_PTE_WP;
sys/arch/sun3/sun3x/pmap.c
2396
if (!(pte->attr.raw & MMU_SHORT_PTE_WIRED))
sys/arch/sun3/sun3x/pmap.c
2400
pte->attr.raw &= ~(MMU_SHORT_PTE_WIRED);
sys/arch/sun3/sun3x/pmap.c
2725
pte->attr.raw |= MMU_SHORT_PTE_WP;
sys/arch/sun3/sun3x/pmap.c
2731
pv->pv_flags |= pte->attr.raw;
sys/arch/sun3/sun3x/pmap.c
2733
pte->attr.raw = MMU_DT_INVALID;
sys/arch/sun3/sun3x/pmap.c
2879
pte->attr.raw &= ~(flag);
sys/arch/sun3/sun3x/pmap.c
3142
a_dte->attr.raw = MMU_DT_INVALID;
sys/arch/sun3/sun3x/pmap.c
3191
a_dte->attr.raw = MMU_DT_INVALID;
sys/arch/sun3/sun3x/pmap.c
3236
a_dte->attr.raw = MMU_DT_INVALID;
sys/arch/sun3/sun3x/pmap.c
3311
b_dte->attr.raw = MMU_DT_INVALID;
sys/arch/sun3/sun3x/pmap.c
3336
b_dte->attr.raw = MMU_DT_INVALID;
sys/arch/sun3/sun3x/pmap.c
3360
b_dte->attr.raw = MMU_DT_INVALID;
sys/arch/sun3/sun3x/pmap.c
3406
if (c_pte->attr.raw & MMU_SHORT_PTE_WIRED)
sys/arch/sun3/sun3x/pmap.c
3665
return (pte->attr.raw);
sys/arch/sun3/sun3x/pmap.c
3683
kernCbase[idx].attr.raw = pte;
sys/arch/sun3/sun3x/pmap.c
3802
rp.attr.raw = ~MMU_LONG_RP_LU;
sys/arch/sun3/sun3x/pmap.c
763
kernAbase[i].attr.raw =
sys/arch/sun3/sun3x/pmap.c
768
kernBbase[b + j].attr.raw =
sys/arch/sun3/sun3x/pmap.c
995
kpte[i].attr.raw = mon_ctbl[i];
sys/arch/sun3/sun3x/pmap_pvt.h
95
#define MMU_PTE_WIRED ((*pte)->attr.raw & MMU_SHORT_PTE_WIRED)
sys/arch/sun68k/stand/libsa/sun3x.c
237
return tbl[pn].attr.raw;
sys/arch/sun68k/stand/libsa/sun3x.c
272
tbl[pn].attr.raw = pa;
sys/arch/usermode/dev/vncfb.c
323
vncfb_putchar(void *priv, int row, int col, u_int c, long attr)
sys/arch/usermode/dev/vncfb.c
331
ops->putchar(ri, row, col, c, attr);
sys/arch/vax/uba/qv.c
597
qv_putchar(void *id, int row, int col, u_int c, long attr)
sys/arch/vax/uba/qv.c
608
ss->ss_attr[row][col] = attr;
sys/arch/vax/uba/qv.c
614
rvid = (attr & WSATTR_REVERSE) ? 0xff : 0x00;
sys/arch/vax/uba/qv.c
620
if (attr & WSATTR_UNDERLINE)
sys/arch/vax/vsa/gpx.c
1100
gpx_fillrect(struct gpx_screen *ss, int x, int y, int dx, int dy, long attr,
sys/arch/vax/vsa/gpx.c
1105
rasops_unpack_attr(attr, &fg, &bg, NULL);
sys/arch/vax/vsa/gpx.c
522
gpx_putchar(void *v, int row, int col, u_int uc, long attr)
sys/arch/vax/vsa/gpx.c
529
rasops_unpack_attr(attr, &fg, &bg, &ul);
sys/arch/vax/vsa/gpx.c
573
1, attr, LF_R3); /* fg fill */
sys/arch/vax/vsa/gpx.c
595
gpx_erasecols(void *v, int row, int col, int cnt, long attr)
sys/arch/vax/vsa/gpx.c
607
gpx_fillrect(ss, x, y, dx, dy, attr, LF_R2); /* bg fill */
sys/arch/vax/vsa/gpx.c
628
gpx_eraserows(void *v, int row, int cnt, long attr)
sys/arch/vax/vsa/gpx.c
640
gpx_fillrect(ss, x, y, dx, dy, attr, LF_R2); /* bg fill */
sys/arch/vax/vsa/lcg.c
248
u_char attr; /* Attribute: 80/70/08/07 */
sys/arch/vax/vsa/lcg.c
507
int dot, attr;
sys/arch/vax/vsa/lcg.c
509
attr = ss->ss_image[row * lcg_cols + col].attr;
sys/arch/vax/vsa/lcg.c
514
attr = ss->ss_image[ss->ss_cury * lcg_cols +
sys/arch/vax/vsa/lcg.c
515
ss->ss_curx].attr;
sys/arch/vax/vsa/lcg.c
517
if (attr & LCG_ATTR_REVERSE) {
sys/arch/vax/vsa/lcg.c
518
cur_bg = attr & LCG_FG_MASK;
sys/arch/vax/vsa/lcg.c
519
cur_fg = (attr & LCG_BG_MASK) >> 4;
sys/arch/vax/vsa/lcg.c
521
cur_fg = attr & LCG_FG_MASK;
sys/arch/vax/vsa/lcg.c
522
cur_bg = (attr & LCG_BG_MASK) >> 4;
sys/arch/vax/vsa/lcg.c
531
if (attr & LCG_ATTR_REVERSE) {
sys/arch/vax/vsa/lcg.c
532
cur_bg = attr & LCG_FG_MASK;
sys/arch/vax/vsa/lcg.c
533
cur_fg = (attr & LCG_BG_MASK) >> 4;
sys/arch/vax/vsa/lcg.c
535
cur_fg = attr & LCG_FG_MASK;
sys/arch/vax/vsa/lcg.c
536
cur_bg = (attr & LCG_BG_MASK) >> 4;
sys/arch/vax/vsa/lcg.c
541
if (attr & LCG_ATTR_REVERSE) {
sys/arch/vax/vsa/lcg.c
542
ss->ss_cur_bg = attr & LCG_FG_MASK;
sys/arch/vax/vsa/lcg.c
543
ss->ss_cur_fg = (attr & LCG_BG_MASK) >> 4;
sys/arch/vax/vsa/lcg.c
545
ss->ss_cur_fg = attr & LCG_FG_MASK;
sys/arch/vax/vsa/lcg.c
546
ss->ss_cur_bg = (attr & LCG_BG_MASK) >> 4;
sys/arch/vax/vsa/lcg.c
562
lcg_putchar(void *id, int row, int col, u_int c, long attr)
sys/arch/vax/vsa/lcg.c
571
ss->ss_image[row * lcg_cols + col].attr = attr;
sys/arch/vax/vsa/lcg.c
575
dot_fg = attr & LCG_FG_MASK;
sys/arch/vax/vsa/lcg.c
576
dot_bg = (attr & LCG_BG_MASK) >> 4;
sys/arch/vax/vsa/lcg.c
577
if (attr & LCG_ATTR_REVERSE) {
sys/arch/vax/vsa/lcg.c
578
dot_fg = (attr & LCG_BG_MASK) >> 4;
sys/arch/vax/vsa/lcg.c
579
dot_bg = attr & LCG_FG_MASK;
sys/arch/vax/vsa/lcg.c
594
if (attr & LCG_ATTR_UNDERLINE) {
sys/arch/vax/vsa/lcg.c
641
ss->ss_image[i].attr = fillattr;
sys/arch/vax/vsa/lcg.c
680
ss->ss_image[i].attr = fillattr;
sys/arch/vax/vsa/lcg.c
811
ss->ss_image[i].attr = (LCG_BG_COLOR << 4) | LCG_FG_COLOR;
sys/arch/vax/vsa/lcg.c
825
int row, col, dot_fg, dot_bg, j, attr;
sys/arch/vax/vsa/lcg.c
839
attr = ss->ss_image[row * lcg_cols + col].attr;
sys/arch/vax/vsa/lcg.c
840
if (attr & LCG_ATTR_REVERSE) {
sys/arch/vax/vsa/lcg.c
841
dot_fg = (attr & LCG_BG_MASK) >> 4;
sys/arch/vax/vsa/lcg.c
842
dot_bg = attr & LCG_FG_MASK;
sys/arch/vax/vsa/lcg.c
844
dot_fg = attr & LCG_FG_MASK;
sys/arch/vax/vsa/lcg.c
845
dot_bg = (attr & LCG_BG_MASK) >> 4;
sys/arch/vax/vsa/lcg.c
863
if (attr & LCG_ATTR_UNDERLINE)
sys/arch/vax/vsa/lcg.c
945
lcg_conscreen.ss_image[i].attr =
sys/arch/vax/vsa/smg.c
647
smg_putchar(void *cookie, int row, int startcol, u_int uc, long attr)
sys/arch/vax/vsa/smg.c
662
inverse = ((attr & WSATTR_REVERSE) != 0) ? ALL1BITS : ALL0BITS;
sys/arch/vax/vsa/smg.c
968
smg_erasecols(void *cookie, int row, int col, int num, long attr)
sys/arch/vax/vsa/smg.c
973
rasops_unpack_attr(attr, &fg, &bg, NULL);
sys/arch/vax/vsa/spx.c
1070
ss->ss_image[i].attr = *defattrp;
sys/arch/vax/vsa/spx.c
1086
u_int row, col, attr;
sys/arch/vax/vsa/spx.c
1098
attr = ss->ss_image[idx].attr;
sys/arch/vax/vsa/spx.c
1104
(attr != prevscr->ss_image[idx].attr)) {
sys/arch/vax/vsa/spx.c
1107
spx_putchar(ss, row, col, c, attr);
sys/arch/vax/vsa/spx.c
1189
spx_conscreen.ss_image[i].attr =
sys/arch/vax/vsa/spx.c
396
u_char attr; /* Attribute: 80/70/08/07 */
sys/arch/vax/vsa/spx.c
680
int attr, data __unused;
sys/arch/vax/vsa/spx.c
682
attr = ss->ss_image[row * spx_cols + col].attr;
sys/arch/vax/vsa/spx.c
685
if (attr & SPX_ATTR_REVERSE) {
sys/arch/vax/vsa/spx.c
686
cur_bg = attr & SPX_FG_MASK;
sys/arch/vax/vsa/spx.c
687
cur_fg = (attr & SPX_BG_MASK) >> 4;
sys/arch/vax/vsa/spx.c
689
cur_fg = attr & SPX_FG_MASK;
sys/arch/vax/vsa/spx.c
690
cur_bg = (attr & SPX_BG_MASK) >> 4;
sys/arch/vax/vsa/spx.c
830
spx_putchar(void *id, int row, int col, u_int c, long attr)
sys/arch/vax/vsa/spx.c
838
ss->ss_image[row * spx_cols + col].attr = attr;
sys/arch/vax/vsa/spx.c
842
dot_fg = attr & SPX_FG_MASK;
sys/arch/vax/vsa/spx.c
843
dot_bg = (attr & SPX_BG_MASK) >> 4;
sys/arch/vax/vsa/spx.c
844
if (attr & SPX_ATTR_REVERSE) {
sys/arch/vax/vsa/spx.c
845
dot_fg = (attr & SPX_BG_MASK) >> 4;
sys/arch/vax/vsa/spx.c
846
dot_bg = attr & SPX_FG_MASK;
sys/arch/vax/vsa/spx.c
850
if (attr & SPX_ATTR_UNDERLINE)
sys/arch/vax/vsa/spx.c
891
ss->ss_image[i].attr = fillattr;
sys/arch/vax/vsa/spx.c
926
ss->ss_image[i].attr = fillattr;
sys/arch/x68k/dev/itevar.h
148
#define attrtest(ip, attr) \
sys/arch/x68k/dev/itevar.h
149
((* (u_char *) attrloc(ip, ip->cury, ip->curx)) & attr)
sys/arch/x68k/dev/itevar.h
151
#define attrset(ip, attr) \
sys/arch/x68k/dev/itevar.h
152
((* (u_char *) attrloc(ip, ip->cury, ip->curx)) = attr)
sys/arch/x68k/dev/itevar.h
157
#define attrtest(ip, attr) 0
sys/arch/x68k/dev/itevar.h
158
#define attrset(ip, attr)
sys/arch/x68k/dev/itevar.h
233
#define set_attr(ip, attr) ((ip)->attribute |= (attr))
sys/arch/x68k/dev/itevar.h
234
#define clr_attr(ip, attr) ((ip)->attribute &= ~(attr))
sys/arch/x68k/dev/itevar.h
238
#define attrtest(ip, attr) 0
sys/arch/x68k/dev/itevar.h
239
#define attrset(ip, attr)
sys/arch/x68k/stand/libdos/dos.h
75
unsigned char attr;
sys/arch/x86/pci/pci_intr_machdep.c
264
int attr, uint64_t data)
sys/arch/x86/pci/pci_intr_machdep.c
267
switch (attr) {
sys/arch/x86/x86/efi_machdep.c
451
efi_getbiosmemtype(uint32_t type, uint64_t attr)
sys/arch/x86/x86/efi_machdep.c
460
return (attr & EFI_MD_ATTR_WB) ? BIM_Memory : BIM_Reserved;
sys/arch/zaurus/dev/w100.c
525
w100_putchar(void *cookie, int row, int col, u_int uc, long attr)
sys/arch/zaurus/dev/w100.c
529
(*scr->rinfo.ri_ops.putchar)(&scr->rinfo, row, col, uc, attr);
sys/arch/zaurus/dev/w100.c
541
w100_erasecols(void *cookie, int row, int col, int num, long attr)
sys/arch/zaurus/dev/w100.c
545
(*scr->rinfo.ri_ops.erasecols)(&scr->rinfo, row, col, num, attr);
sys/arch/zaurus/dev/w100.c
557
w100_eraserows(void *cookie, int row, int num, long attr)
sys/arch/zaurus/dev/w100.c
561
(*scr->rinfo.ri_ops.eraserows)(&scr->rinfo, row, num, attr);
sys/arch/zaurus/dev/w100.c
565
w100_alloc_attr(void *cookie, int fg, int bg, int flg, long *attr)
sys/arch/zaurus/dev/w100.c
569
return (*scr->rinfo.ri_ops.allocattr)(&scr->rinfo, fg, bg, flg, attr);
sys/coda/coda.h
454
struct coda_vattr attr;
sys/coda/coda.h
462
struct coda_vattr attr;
sys/coda/coda.h
504
struct coda_vattr attr;
sys/coda/coda.h
513
struct coda_vattr attr;
sys/coda/coda.h
558
struct coda_vattr attr;
sys/coda/coda.h
565
struct coda_vattr attr;
sys/coda/coda.h
599
struct coda_vattr attr;
sys/coda/coda_venus.c
353
CNV_VV2V_ATTR(vap, &outp->attr);
sys/coda/coda_venus.c
370
CNV_V2VV_ATTR(&inp->attr, vap);
sys/coda/coda_venus.c
513
/*out*/ CodaFid *VFid, struct vattr *attr)
sys/coda/coda_venus.c
524
CNV_V2VV_ATTR(&inp->attr, va);
sys/coda/coda_venus.c
533
CNV_VV2V_ATTR(attr, &outp->attr);
sys/coda/coda_venus.c
624
CNV_V2VV_ATTR(&inp->attr, va);
sys/coda/coda_venus.c
633
CNV_VV2V_ATTR(ova, &outp->attr);
sys/coda/coda_venus.c
674
CNV_V2VV_ATTR(&inp->attr, va);
sys/coda/coda_venus.h
91
/*out*/ CodaFid *VFid, struct vattr *attr);
sys/coda/coda_vnops.c
1007
struct vattr attr;
sys/coda/coda_vnops.c
1021
error = venus_create(vtomi(dvp), &dcp->c_fid, nm, len, exclusive, mode, va, cred, l, &VFid, &attr);
sys/coda/coda_vnops.c
1036
cp = make_coda_node(&VFid, dvp->v_mount, attr.va_type);
sys/coda/coda_vnops.c
1041
(*va) = attr;
sys/coda/coda_vnops.c
1045
VTOC(*vpp)->c_vattr = attr;
sys/coda/coda_vnops.c
1866
coda_print_vattr(struct vattr *attr)
sys/coda/coda_vnops.c
1870
switch (attr->va_type) {
sys/coda/coda_vnops.c
1905
typestr, (int)attr->va_mode, (int)attr->va_uid,
sys/coda/coda_vnops.c
1906
(int)attr->va_gid, (int)attr->va_fsid, (int)attr->va_rdev));
sys/coda/coda_vnops.c
1909
(int)attr->va_fileid, (int)attr->va_nlink,
sys/coda/coda_vnops.c
1910
(int)attr->va_size,
sys/coda/coda_vnops.c
1911
(int)attr->va_blocksize,(int)attr->va_bytes));
sys/coda/coda_vnops.c
1913
attr->va_gen, attr->va_flags, attr->va_vaflags));
sys/coda/coda_vnops.c
1915
(int)attr->va_atime.tv_sec, (int)attr->va_atime.tv_nsec));
sys/coda/coda_vnops.c
1917
(int)attr->va_mtime.tv_sec, (int)attr->va_mtime.tv_nsec));
sys/coda/coda_vnops.c
1919
(int)attr->va_ctime.tv_sec, (int)attr->va_ctime.tv_nsec));
sys/compat/linux/arch/aarch64/linux_syscallargs.h
800
syscallarg(struct linux_mq_attr *) attr;
sys/compat/linux/arch/aarch64/linux_systrace_args.c
1271
uarg[3] = (intptr_t) SCARG(p, attr); /* struct linux_mq_attr * */
sys/compat/linux/arch/alpha/linux_syscallargs.h
1080
syscallarg(struct linux_mq_attr *) attr;
sys/compat/linux/arch/amd64/linux_syscallargs.h
970
syscallarg(struct linux_mq_attr *) attr;
sys/compat/linux/arch/amd64/linux_systrace_args.c
1681
uarg[3] = (intptr_t) SCARG(p, attr); /* struct linux_mq_attr * */
sys/compat/linux/arch/arm/linux_syscallargs.h
1036
syscallarg(struct linux_mq_attr *) attr;
sys/compat/linux/arch/arm/linux_systrace_args.c
1770
uarg[3] = (intptr_t) SCARG(p, attr); /* struct linux_mq_attr * */
sys/compat/linux/arch/i386/linux_syscallargs.h
1083
syscallarg(struct linux_mq_attr *) attr;
sys/compat/linux/arch/i386/linux_systrace_args.c
1833
uarg[3] = (intptr_t) SCARG(p, attr); /* struct linux_mq_attr * */
sys/compat/linux/arch/m68k/linux_syscallargs.h
1030
syscallarg(struct linux_mq_attr *) attr;
sys/compat/linux/arch/mips/linux_syscallargs.h
1077
syscallarg(struct linux_mq_attr *) attr;
sys/compat/linux/arch/powerpc/linux_syscallargs.h
969
syscallarg(struct linux_mq_attr *) attr;
sys/compat/linux/common/linux_mqueue.c
241
struct mq_attr attr;
sys/compat/linux/common/linux_mqueue.c
248
memcpy(&attr, &mq->mq_attrib, sizeof(struct mq_attr));
sys/compat/linux/common/linux_mqueue.c
249
bsd_to_linux_mq_attr(&attr, &lattr);
sys/compat/linux/common/linux_mqueue.c
267
struct mq_attr attr;
sys/compat/linux/common/linux_mqueue.c
274
linux_to_bsd_mq_attr(&lattr, &attr);
sys/compat/linux/common/linux_mqueue.c
275
nonblock = (attr.mq_flags & O_NONBLOCK);
sys/compat/linux/common/linux_mqueue.c
283
memcpy(&attr, &mq->mq_attrib, sizeof(struct mq_attr));
sys/compat/linux/common/linux_mqueue.c
284
bsd_to_linux_mq_attr(&attr, &lattr);
sys/compat/linux/common/linux_mqueue.c
85
struct mq_attr *attr = NULL, a;
sys/compat/linux/common/linux_mqueue.c
90
if ((oflag & O_CREAT) != 0 && SCARG(uap, attr) != NULL) {
sys/compat/linux/common/linux_mqueue.c
91
error = copyin(SCARG(uap, attr), &lattr, sizeof(lattr));
sys/compat/linux/common/linux_mqueue.c
95
attr = &a;
sys/compat/linux/common/linux_mqueue.c
99
(mode_t)SCARG(uap, mode), attr, retval);
sys/compat/linux/common/linux_sigevent.h
55
void *attr;
sys/compat/linux32/common/linux32_sigevent.h
57
void *attr;
sys/compat/netbsd32/netbsd32_conv.h
938
struct mq_attr *attr)
sys/compat/netbsd32/netbsd32_conv.h
941
memset(attr, 0, sizeof(*attr));
sys/compat/netbsd32/netbsd32_conv.h
942
attr->mq_flags = a32->mq_flags;
sys/compat/netbsd32/netbsd32_conv.h
943
attr->mq_maxmsg = a32->mq_maxmsg;
sys/compat/netbsd32/netbsd32_conv.h
944
attr->mq_msgsize = a32->mq_msgsize;
sys/compat/netbsd32/netbsd32_conv.h
945
attr->mq_curmsgs = a32->mq_curmsgs;
sys/compat/netbsd32/netbsd32_conv.h
949
netbsd32_from_mq_attr(const struct mq_attr *attr,
sys/compat/netbsd32/netbsd32_conv.h
954
a32->mq_flags = attr->mq_flags;
sys/compat/netbsd32/netbsd32_conv.h
955
a32->mq_maxmsg = attr->mq_maxmsg;
sys/compat/netbsd32/netbsd32_conv.h
956
a32->mq_msgsize = attr->mq_msgsize;
sys/compat/netbsd32/netbsd32_conv.h
957
a32->mq_curmsgs = attr->mq_curmsgs;
sys/compat/netbsd32/netbsd32_mqueue.c
109
struct mq_attr attr;
sys/compat/netbsd32/netbsd32_mqueue.c
117
memcpy(&attr, &mq->mq_attrib, sizeof(struct mq_attr));
sys/compat/netbsd32/netbsd32_mqueue.c
120
netbsd32_from_mq_attr(&attr, &a32);
sys/compat/netbsd32/netbsd32_mqueue.c
135
struct mq_attr attr;
sys/compat/netbsd32/netbsd32_mqueue.c
141
netbsd32_to_mq_attr(&attr32, &attr);
sys/compat/netbsd32/netbsd32_mqueue.c
142
nonblock = (attr.mq_flags & O_NONBLOCK);
sys/compat/netbsd32/netbsd32_mqueue.c
150
memcpy(&attr, &mq->mq_attrib, sizeof(struct mq_attr));
sys/compat/netbsd32/netbsd32_mqueue.c
167
netbsd32_from_mq_attr(&attr, &attr32);
sys/compat/netbsd32/netbsd32_mqueue.c
61
struct mq_attr *attr = NULL, a;
sys/compat/netbsd32/netbsd32_mqueue.c
64
if ((SCARG(uap, oflag) & O_CREAT) && SCARG_P32(uap, attr) != NULL) {
sys/compat/netbsd32/netbsd32_mqueue.c
65
error = copyin(SCARG_P32(uap, attr), &attr32, sizeof(attr32));
sys/compat/netbsd32/netbsd32_mqueue.c
69
attr = &a;
sys/compat/netbsd32/netbsd32_mqueue.c
73
SCARG(uap, mode), attr, retval);
sys/compat/netbsd32/netbsd32_syscallargs.h
1367
syscallarg(netbsd32_mq_attrp_t) attr;
sys/compat/netbsd32/netbsd32_systrace_args.c
1847
uarg[3] = (intptr_t) SCARG(p, attr).i32; /* netbsd32_mq_attrp_t */
sys/dev/acpi/apei_erst.c
287
uint64_t attr = apei_erst_act(sc, ACPI_ERST_GET_ERROR_ATTRIBUTES, 0);
sys/dev/acpi/apei_erst.c
295
"\0", attr);
sys/dev/ata/ld_ataraid.c
800
#define CFDRIVER_DECL(name, class, attr)
sys/dev/eisa/cac_eisa.c
328
#define CFDRIVER_DECL(name, class, attr)
sys/dev/eisa/mlx_eisa.c
369
#define CFDRIVER_DECL(name, class, attr)
sys/dev/fdt/virtio_mmio_fdt.c
113
virtio_mmio_fdt_rescan(device_t self, const char *attr, const int *scan_flags)
sys/dev/hpc/hpcfb.c
1010
vc->attr = attr;
sys/dev/hpc/hpcfb.c
1018
hpcfb_putchar(void *cookie, int row, int col, u_int uc, long attr)
sys/dev/hpc/hpcfb.c
102
long attr;
sys/dev/hpc/hpcfb.c
1028
hpcfb_tv_putchar(dc, row, col, uc, attr);
sys/dev/hpc/hpcfb.c
1049
fclr = ri->ri_devcmap[((u_int)attr >> 24) & 15];
sys/dev/hpc/hpcfb.c
1050
uclr = ri->ri_devcmap[((u_int)attr >> 16) & 15];
sys/dev/hpc/hpcfb.c
1053
xoff, yoff, font, fclr, uclr, uc, attr);
sys/dev/hpc/hpcfb.c
1055
rasops_emul.putchar(ri, row, col, uc, attr);
sys/dev/hpc/hpcfb.c
1144
int row, int startcol, int ncols, long attr)
sys/dev/hpc/hpcfb.c
1169
hpcfb_erasecols(void *cookie, int row, int startcol, int ncols, long attr)
sys/dev/hpc/hpcfb.c
1177
hpcfb_tv_erasecols(dc, row, startcol, ncols, attr);
sys/dev/hpc/hpcfb.c
1199
xoff, yoff, height, width, attr);
sys/dev/hpc/hpcfb.c
1201
rasops_emul.erasecols(ri, row, startcol, ncols, attr);
sys/dev/hpc/hpcfb.c
1306
rasops_emul.putchar(ri, row + i, j, svc->c, svc->attr);
sys/dev/hpc/hpcfb.c
1464
int row, int nrow, long attr)
sys/dev/hpc/hpcfb.c
1494
hpcfb_eraserows(void *cookie, int row, int nrow, long attr)
sys/dev/hpc/hpcfb.c
1503
hpcfb_tv_eraserows(dc, row, nrow, attr);
sys/dev/hpc/hpcfb.c
1524
0, yoff, height, width, attr);
sys/dev/hpc/hpcfb.c
1526
rasops_emul.eraserows(ri, row, nrow, attr);
sys/dev/hpc/hpcfb.c
984
long attr)
sys/dev/i2c/bmx280thpi2c.c
221
#define CFDRIVER_DECL(name, class, attr)
sys/dev/i2c/nxt2k.c
110
uint8_t attr, len2, buf;
sys/dev/i2c/nxt2k.c
116
attr = 0x02;
sys/dev/i2c/nxt2k.c
118
attr = attr << 1;
sys/dev/i2c/nxt2k.c
120
attr = attr >> 1;
sys/dev/i2c/nxt2k.c
122
len2 = ((attr << 4) | 0x10) | len;
sys/dev/i2c/nxt2k.c
140
uint8_t buf, len2, attr;
sys/dev/i2c/nxt2k.c
145
attr = 0x02;
sys/dev/i2c/nxt2k.c
147
attr = attr << 1;
sys/dev/i2c/nxt2k.c
149
attr = attr >> 1;
sys/dev/i2c/nxt2k.c
152
len2 = (attr << 4) | len;
sys/dev/i2c/scmdi2c.c
249
#define CFDRIVER_DECL(name, class, attr)
sys/dev/ic/cac.c
220
cac_rescan(device_t self, const char *attr, const int *locs)
sys/dev/ic/ct65550.c
596
chipsfb_putchar_aa(void *cookie, int row, int col, u_int c, long attr)
sys/dev/ic/ct65550.c
621
bg = ri->ri_devcmap[(attr >> 16) & 0xf];
sys/dev/ic/ct65550.c
630
rv = glyphcache_try(&sc->sc_gc, c, x, y, attr);
sys/dev/ic/ct65550.c
654
fgo = ((attr >> 24) & 0xf) * 3;
sys/dev/ic/ct65550.c
655
bgo = ((attr >> 16) & 0xf) * 3;
sys/dev/ic/ct65550.c
711
chipsfb_putchar(void *cookie, int row, int col, u_int c, long attr)
sys/dev/ic/ct65550.c
732
bg = (u_char)ri->ri_devcmap[(attr >> 16) & 0xf];
sys/dev/ic/ct65550.c
733
fg = (u_char)ri->ri_devcmap[(attr >> 24) & 0xf];
sys/dev/ic/hd44780_subr.c
129
hlcd_putchar(void *id, int row, int col, u_int c, long attr)
sys/dev/ic/igsfb.c
1315
igsfb_accel_eraserows(void *cookie, int row, int num, long attr)
sys/dev/ic/igsfb.c
1338
color = (attr >> 16) & 0xff;
sys/dev/ic/igsfb.c
1345
igsfb_accel_erasecols(void *cookie, int row, int col, int num, long attr)
sys/dev/ic/igsfb.c
1364
color = (attr >> 16) & 0xff;
sys/dev/ic/igsfb.c
1375
igsfb_accel_putchar(void *cookie, int row, int col, u_int uc, long attr)
sys/dev/ic/igsfb.c
1382
(*dc->dc_ri_putchar)(cookie, row, col, uc, attr);
sys/dev/ic/ld_aac.c
375
#define CFDRIVER_DECL(name, class, attr)
sys/dev/ic/ld_cac.c
233
#define CFDRIVER_DECL(name, class, attr)
sys/dev/ic/ld_icp.c
364
#define CFDRIVER_DECL(name, class, attr)
sys/dev/ic/ld_mlx.c
266
#define CFDRIVER_DECL(name, class, attr)
sys/dev/ic/ld_nvme.c
242
#define CFDRIVER_DECL(name, class, attr)
sys/dev/ic/pcdisplay_subr.c
156
pcdisplay_putchar(void *id, int row, int col, unsigned int c, long attr)
sys/dev/ic/pcdisplay_subr.c
171
c | (attr << 8));
sys/dev/ic/pcdisplay_subr.c
173
scr->mem[off] = c | (attr << 8);
sys/dev/ic/rt2860.c
3111
uint32_t attr;
sys/dev/ic/rt2860.c
3200
attr = RAL_READ(sc, RT2860_SKEY_MODE_0_7);
sys/dev/ic/rt2860.c
3201
attr &= ~(0xf << (k->wk_keyix * 4));
sys/dev/ic/rt2860.c
3202
attr |= mode << (k->wk_keyix * 4);
sys/dev/ic/rt2860.c
3203
RAL_WRITE(sc, RT2860_SKEY_MODE_0_7, attr);
sys/dev/ic/rt2860.c
3206
attr = RAL_READ(sc, RT2860_WCID_ATTR(wcid));
sys/dev/ic/rt2860.c
3207
attr = (attr & ~0xf) | (mode << 1) | RT2860_RX_PKEY_EN;
sys/dev/ic/rt2860.c
3208
RAL_WRITE(sc, RT2860_WCID_ATTR(wcid), attr);
sys/dev/ic/rt2860.c
3219
uint32_t attr;
sys/dev/ic/rt2860.c
3224
attr = RAL_READ(sc, RT2860_SKEY_MODE_0_7);
sys/dev/ic/rt2860.c
3225
attr &= ~(0xf << (k->wk_keyix * 4));
sys/dev/ic/rt2860.c
3226
RAL_WRITE(sc, RT2860_SKEY_MODE_0_7, attr);
sys/dev/ic/rt2860.c
3231
attr = RAL_READ(sc, RT2860_WCID_ATTR(wcid));
sys/dev/ic/rt2860.c
3232
attr &= ~0xf;
sys/dev/ic/rt2860.c
3233
RAL_WRITE(sc, RT2860_WCID_ATTR(wcid), attr);
sys/dev/ic/ssdfb.c
637
ssdfb_putchar(void *cookie, int row, int col, u_int c, long attr)
sys/dev/ic/ssdfb.c
642
sc->sc_orig_riops.putchar(cookie, row, col, c, attr);
sys/dev/ic/sti.c
1363
sti_putchar(void *v, int row, int col, u_int uc, long attr)
sys/dev/ic/sti.c
1370
fg = WSATTR_UNPACK_FG(attr);
sys/dev/ic/sti.c
1371
bg = WSATTR_UNPACK_BG(attr);
sys/dev/ic/sti.c
1436
sti_erasecols(void *v, int row, int startcol, int ncols, long attr)
sys/dev/ic/sti.c
1458
sti_eraserows(void *v, int srcrow, int nrows, long attr)
sys/dev/ic/sti.c
82
#define WSATTR_UNPACK_FG(attr) (((attr) >> WSATTR_FG_SHIFT) & 0xff)
sys/dev/ic/sti.c
83
#define WSATTR_UNPACK_BG(attr) (((attr) >> WSATTR_BG_SHIFT) & 0xff)
sys/dev/ic/sti.c
84
#define WSATTR_UNPACK_FLAG(attr) ((attr) & WSATTR_USERMASK)
sys/dev/ic/vga.c
1499
vga_putchar(void *c, int row, int col, u_int uc, long attr)
sys/dev/ic/vga.c
1502
pcdisplay_putchar(c, row, col, uc, attr);
sys/dev/ic/vga_raster.c
104
u_int8_t attr;
sys/dev/ic/vga_raster.c
1053
scr->cursortmp.ch, scr->cursortmp.attr ^ 0x77);
sys/dev/ic/vga_raster.c
1056
scr->cursortmp.attr = 0;
sys/dev/ic/vga_raster.c
1079
scr->cursortmp.attr);
sys/dev/ic/vga_raster.c
1083
scr->cursortmp.attr);
sys/dev/ic/vga_raster.c
1102
scr->cursortmp.attr ^ 0x77);
sys/dev/ic/vga_raster.c
1106
scr->cursortmp.attr ^ 0x77);
sys/dev/ic/vga_raster.c
1125
vga_raster_putchar(void *id, int row, int col, u_int c, long attr)
sys/dev/ic/vga_raster.c
1145
attr, fs);
sys/dev/ic/vga_raster.c
1149
scr->mem[off].attr = attr;
sys/dev/ic/vga_raster.c
1155
scr->mem[off + 1].attr = attr;
sys/dev/ic/vga_raster.c
1172
_vga_raster_putchar(scr, row, col, ' ', attr,
sys/dev/ic/vga_raster.c
1175
scr->mem[off].attr = attr;
sys/dev/ic/vga_raster.c
1181
_vga_raster_putchar(void *id, int row, int col, u_int c, long attr,
sys/dev/ic/vga_raster.c
1198
bgcolor = bgansitopc[attr >> 4];
sys/dev/ic/vga_raster.c
1199
fgcolor = fgansitopc[attr & 0x0f];
sys/dev/ic/vga_raster.c
1201
bgcolor = ((attr >> 4) & 0x0f);
sys/dev/ic/vga_raster.c
1202
fgcolor = attr & 0x0f;
sys/dev/ic/vga_raster.c
1395
scr->mem[off + i].attr = fillattr;
sys/dev/ic/vga_raster.c
1450
mem[off].attr);
sys/dev/ic/vga_raster.c
1477
if (scr->mem[off].attr == oldattr)
sys/dev/ic/vga_raster.c
1478
scr->mem[off].attr = newattr;
sys/dev/ic/vga_raster.c
481
scr->mem[i].attr = bus_space_read_1(vh->vh_memt,
sys/dev/marvell/ehci_mv.c
366
int window, target, attr, rv, i;
sys/dev/marvell/ehci_mv.c
372
&target, &attr, &base, &size);
sys/dev/marvell/ehci_mv.c
386
MARVELL_USB_WCR_ATTR(attr) |
sys/dev/marvell/gt.c
895
marvell_winparams_by_tag(device_t dev, int tag, int *target, int *attr,
sys/dev/marvell/gt.c
926
if (attr != NULL)
sys/dev/marvell/gt.c
927
*attr = tagtbl[i].attribute;
sys/dev/marvell/gtidmac.c
1492
int window, target, attr, rv, i, j;
sys/dev/marvell/gtidmac.c
1499
&target, &attr, &base, &size);
sys/dev/marvell/gtidmac.c
1514
GTIDMAC_BARX_ATTR(attr) |
sys/dev/marvell/gtidmac.c
1557
uint32_t target, attr, size, xexwc, winacc;
sys/dev/marvell/gtidmac.c
1564
&target, &attr, &base, &size);
sys/dev/marvell/gtidmac.c
1584
MVXORE_XEBARX_ATTR(attr) |
sys/dev/marvell/if_mvgbe.c
638
int window, target, attr, rv, i;
sys/dev/marvell/if_mvgbe.c
648
&target, &attr, &base, &size);
sys/dev/marvell/if_mvgbe.c
664
MVGBE_BASEADDR_ATTR(attr) |
sys/dev/marvell/if_mvxpe.c
790
int window, target, attr, rv, i;
sys/dev/marvell/if_mvxpe.c
800
&target, &attr, &base, &size);
sys/dev/marvell/if_mvxpe.c
816
MVXPE_BASEADDR_ATTR(attr) |
sys/dev/marvell/if_mvxpereg.h
296
#define MVXPE_BASEADDR_ATTR(attr) (((attr) & 0xff) << 8)
sys/dev/marvell/if_mvxpereg.h
332
#define MVXPE_EUDID_DATTR(attr) (((attr) & 0xff) << 4)
sys/dev/marvell/mvgbereg.h
294
#define MVGBE_BASEADDR_ATTR(attr) (((attr) & 0xff) << 8)
sys/dev/marvell/mvpex.c
278
uint32_t target, attr, base, size;
sys/dev/marvell/mvpex.c
283
if (orion_target(targetid, &target, &attr, &base, &size) == -1)
sys/dev/marvell/mvpex.c
296
MVPEX_WC_ATTR(attr) |
sys/dev/marvell/mvpex.c
361
int target, attr, window, rv, i, j;
sys/dev/marvell/mvpex.c
366
&target, &attr, &base, &size);
sys/dev/marvell/mvpex.c
391
MVPEX_WC_ATTR(attr) |
sys/dev/marvell/mvsata_mv.c
222
int window, target, attr, rv, i;
sys/dev/marvell/mvsata_mv.c
228
&target, &attr, &base, &size);
sys/dev/marvell/mvsata_mv.c
242
MVSATAHC_WCR_ATTR(attr) |
sys/dev/marvell/mvsdio.c
697
int window, target, attr, rv, i;
sys/dev/marvell/mvsdio.c
702
&target, &attr, &base, &size);
sys/dev/marvell/mvsdio.c
709
WC_ATTR(attr) |
sys/dev/marvell/mvxpsec.c
1034
uint32_t tag, target, attr, base, size;
sys/dev/marvell/mvxpsec.c
1050
window = mvsoc_target(tag, &target, &attr, &base, &size);
sys/dev/marvell/mvxpsec.c
524
int window, target, attr, rv, i;
sys/dev/marvell/mvxpsec.c
536
&target, &attr, &base, &size);
sys/dev/marvell/mvxpsec.c
550
reg |= MV_TDMA_ATTR_ATTR(attr);
sys/dev/marvell/mvxpsecreg.h
210
#define MV_TDMA_ATTR_ATTR(attr) (((attr) & 0xff) << 8)
sys/dev/mvme/vme_two.c
172
u_int32_t start, end, attr;
sys/dev/mvme/vme_two.c
187
attr = vme2_lcsr_read(sc, VME2LCSR_MASTER_ATTR);
sys/dev/mvme/vme_two.c
188
attr >>= VME2_MASTER_ATTR_AM_SHIFT(range);
sys/dev/mvme/vme_two.c
194
if (attr & VME2_MASTER_ATTR_D16)
sys/dev/mvme/vme_two.c
196
attr &= VME2_MASTER_ATTR_AM_MASK;
sys/dev/mvme/vme_two.c
198
vr->vr_am = (attr & VME_AM_ADRSIZEMASK) | MVMEBUS_AM2CAP(attr);
sys/dev/pci/cac_pci.c
296
#define CFDRIVER_DECL(name, class, attr)
sys/dev/pci/gffb.c
1293
int width, int height, long attr)
sys/dev/pci/gffb.c
1298
sc->vd.active->scr_ri.ri_devcmap[(attr >> 24 & 0xf)]);
sys/dev/pci/gffb.c
1355
gffb_putchar(void *cookie, int row, int col, u_int c, long attr)
sys/dev/pci/gffb.c
1375
bg = ri->ri_devcmap[(attr >> 16) & 0xf];
sys/dev/pci/gffb.c
1376
fg = ri->ri_devcmap[(attr >> 24) & 0xf];
sys/dev/pci/gffb.c
1380
if (attr & WSATTR_UNDERLINE)
sys/dev/pci/gffb.c
1384
rv = glyphcache_try(&sc->sc_gc, c, x, y, attr);
sys/dev/pci/gffb.c
1396
sc->sc_putchar(cookie, row, col, c, attr & 0xfffffff0);
sys/dev/pci/gffb.c
1407
} else if (attr & WSATTR_UNDERLINE)
sys/dev/pci/gffb.c
1413
gffb_putchar_mono(void *cookie, int row, int col, u_int c, long attr)
sys/dev/pci/gffb.c
1434
bg = ri->ri_devcmap[(attr >> 16) & 0xf];
sys/dev/pci/gffb.c
1435
fg = ri->ri_devcmap[(attr >> 24) & 0xf];
sys/dev/pci/gffb.c
1439
if (attr & WSATTR_UNDERLINE)
sys/dev/pci/gffb.c
1460
if (attr & WSATTR_HILIT) {
sys/dev/pci/gffb.c
1513
if (attr & WSATTR_UNDERLINE)
sys/dev/pci/gffb.c
1519
gffb_allocattr(void *cookie, int fg0, int bg0, int flg, long *attr)
sys/dev/pci/gffb.c
1536
*attr = (bg << 16) | (fg << 24) | flg;
sys/dev/pci/hdaudio_pci.c
331
#define CFDRIVER_DECL(name, class, attr) /* nothing */
sys/dev/pci/icp_pci.c
588
icp_pci_rescan(device_t self, const char *attr, const int *flags)
sys/dev/pci/ips.c
1500
dcdb->device, dcdb->attr, htole16(dcdb->datalen),
sys/dev/pci/ips.c
216
u_int8_t attr;
sys/dev/pci/ld_amr.c
220
#define CFDRIVER_DECL(name, class, attr)
sys/dev/pci/ld_twa.c
339
#define CFDRIVER_DECL(name, class, attr)
sys/dev/pci/ld_twe.c
358
#define CFDRIVER_DECL(name, class, attr)
sys/dev/pci/lynxfb.c
709
lynxfb_erasecols1(struct rasops_info *ri, int row, int col, int num, long attr,
sys/dev/pci/lynxfb.c
718
rasops_unpack_attr(attr, &fg, &bg, &ul);
sys/dev/pci/lynxfb.c
725
lynxfb_eraserows1(struct rasops_info *ri, int row, int num, long attr,
sys/dev/pci/lynxfb.c
742
rasops_unpack_attr(attr, &fg, &bg, &ul);
sys/dev/pci/lynxfb.c
765
lynxfb_erasecols(void *cookie, int row, int col, int num, long attr)
sys/dev/pci/lynxfb.c
770
lynxfb_erasecols1(ri, row, col, num, attr, fb);
sys/dev/pci/lynxfb.c
774
lynxfb_eraserows(void *cookie, int row, int num, long attr)
sys/dev/pci/lynxfb.c
779
lynxfb_eraserows1(ri, row, num, attr, fb);
sys/dev/pci/lynxfb.c
805
lynxfb_vcons_erasecols(void *cookie, int row, int col, int num, long attr)
sys/dev/pci/lynxfb.c
812
lynxfb_erasecols1(ri, row, col, num, attr, fb);
sys/dev/pci/lynxfb.c
816
lynxfb_vcons_eraserows(void *cookie, int row, int num, long attr)
sys/dev/pci/lynxfb.c
823
lynxfb_eraserows1(ri, row, num, attr, fb);
sys/dev/pci/machfb.c
1592
mach64_putchar_mono(void *cookie, int row, int col, u_int c, long attr)
sys/dev/pci/machfb.c
1608
bg = ri->ri_devcmap[(attr >> 16) & 0x0f];
sys/dev/pci/machfb.c
1609
fg = ri->ri_devcmap[(attr >> 24) & 0x0f];
sys/dev/pci/machfb.c
1622
if (attr & WSATTR_UNDERLINE)
sys/dev/pci/machfb.c
1628
mach64_putchar_aa8(void *cookie, int row, int col, u_int c, long attr)
sys/dev/pci/machfb.c
1648
bg = (u_char)ri->ri_devcmap[(attr >> 16) & 0x0f];
sys/dev/pci/machfb.c
1649
fg = (u_char)ri->ri_devcmap[(attr >> 24) & 0x0f];
sys/dev/pci/machfb.c
1655
if (attr & WSATTR_UNDERLINE)
sys/dev/pci/machfb.c
1660
rv = glyphcache_try(&sc->sc_gc, c, x, y, attr);
sys/dev/pci/machfb.c
1682
fgo = ((attr >> 24) & 0xf) * 3;
sys/dev/pci/machfb.c
1683
bgo = ((attr >> 16) & 0xf) * 3;
sys/dev/pci/machfb.c
1736
} else if (attr & WSATTR_UNDERLINE) {
sys/dev/pci/mgafb.c
1872
mgafb_putchar(void *cookie, int row, int col, u_int uc, long attr)
sys/dev/pci/mgafb.c
1885
rasops_unpack_attr(attr, &fg, &bg, &ul);
sys/dev/pci/mgafb.c
1905
rv = glyphcache_try(&sc->sc_gc, (int)uc, x, y, attr);
sys/dev/pci/mgafb.c
1971
mgafb_putchar_aa(void *cookie, int row, int col, u_int uc, long attr)
sys/dev/pci/mgafb.c
1987
rasops_unpack_attr(attr, &fg, &bg, &ul);
sys/dev/pci/mgafb.c
2014
rv = glyphcache_try(&sc->sc_gc, (int)uc, x, y, attr);
sys/dev/pci/mgafb.c
2027
fgo = ((attr >> 24) & 0xf) * 3;
sys/dev/pci/mgafb.c
2028
bgo = ((attr >> 16) & 0xf) * 3;
sys/dev/pci/mgafb.c
2114
mgafb_eraserows(void *cookie, int row, int nrows, long attr)
sys/dev/pci/mgafb.c
2122
rasops_unpack_attr(attr, &fg, &bg, &ul);
sys/dev/pci/mgafb.c
2149
mgafb_erasecols(void *cookie, int row, int col, int ncols, long attr)
sys/dev/pci/mgafb.c
2157
rasops_unpack_attr(attr, &fg, &bg, &ul);
sys/dev/pci/mlx_pci.c
694
#define CFDRIVER_DECL(name, class, attr)
sys/dev/pci/nvme_pci.c
255
nvme_pci_rescan(device_t self, const char *attr, const int *flags)
sys/dev/pci/nvme_pci.c
258
return nvme_rescan(self, attr, flags);
sys/dev/pci/pm2fb.c
1027
pm2fb_putchar(void *cookie, int row, int col, u_int c, long attr)
sys/dev/pci/pm2fb.c
1046
bg = ri->ri_devcmap[(attr >> 16) & 0xf];
sys/dev/pci/pm2fb.c
1047
fg = ri->ri_devcmap[(attr >> 24) & 0xf];
sys/dev/pci/pm2fb.c
1127
if (attr & WSATTR_UNDERLINE)
sys/dev/pci/pm2fb.c
1133
pm2fb_putchar_aa(void *cookie, int row, int col, u_int c, long attr)
sys/dev/pci/pm2fb.c
1154
bg = ri->ri_devcmap[(attr >> 16) & 0xf];
sys/dev/pci/pm2fb.c
1155
fg = ri->ri_devcmap[(attr >> 24) & 0xf];
sys/dev/pci/pm2fb.c
1164
if (attr & WSATTR_UNDERLINE)
sys/dev/pci/pm2fb.c
1172
rv = glyphcache_try(&sc->sc_gc, c, x, y, attr);
sys/dev/pci/pm2fb.c
1203
fgo = ((attr >> 24) & 0xf) * 3;
sys/dev/pci/pm2fb.c
1245
if (attr & WSATTR_UNDERLINE)
sys/dev/pci/pm2fb.c
902
pm2fb_rectfill_a(void *cookie, int x, int y, int wi, int he, long attr)
sys/dev/pci/pm2fb.c
907
sc->vd.active->scr_ri.ri_devcmap[(attr >> 24 & 0xf)]);
sys/dev/pci/pm3fb.c
1017
fgo = ((attr >> 24) & 0xf) * 3;
sys/dev/pci/pm3fb.c
1018
bgo = ((attr >> 16) & 0xf) * 3;
sys/dev/pci/pm3fb.c
1073
if (attr & WSATTR_UNDERLINE)
sys/dev/pci/pm3fb.c
749
pm3fb_rectfill_a(void *cookie, int x, int y, int wi, int he, long attr)
sys/dev/pci/pm3fb.c
754
sc->vd.active->scr_ri.ri_devcmap[(attr >> 24 & 0xf)]);
sys/dev/pci/pm3fb.c
846
pm3fb_putchar(void *cookie, int row, int col, u_int c, long attr)
sys/dev/pci/pm3fb.c
866
bg = ri->ri_devcmap[(attr >> 16) & 0xf];
sys/dev/pci/pm3fb.c
867
fg = ri->ri_devcmap[(attr >> 24) & 0xf];
sys/dev/pci/pm3fb.c
952
if (attr & WSATTR_UNDERLINE)
sys/dev/pci/pm3fb.c
959
pm3fb_putchar_aa(void *cookie, int row, int col, u_int c, long attr)
sys/dev/pci/pm3fb.c
980
bg = ri->ri_devcmap[(attr >> 16) & 0xf] & 0xff;
sys/dev/pci/pm3fb.c
981
fg = ri->ri_devcmap[(attr >> 24) & 0xf] & 0xff;
sys/dev/pci/pm3fb.c
988
if (attr & WSATTR_UNDERLINE)
sys/dev/pci/pm3fb.c
993
rv = glyphcache_try(&sc->sc_gc, c, x, y, attr);
sys/dev/pci/r128fb.c
832
r128fb_putchar(void *cookie, int row, int col, u_int c, long attr)
sys/dev/pci/r128fb.c
851
bg = ri->ri_devcmap[(attr >> 16) & 0xf];
sys/dev/pci/r128fb.c
852
fg = ri->ri_devcmap[(attr >> 24) & 0xf];
sys/dev/pci/r128fb.c
932
r128fb_putchar_aa(void *cookie, int row, int col, u_int c, long attr)
sys/dev/pci/r128fb.c
953
bg = ri->ri_devcmap[(attr >> 16) & 0xf];
sys/dev/pci/r128fb.c
961
rv = glyphcache_try(&sc->sc_gc, c, x, y, attr);
sys/dev/pci/r128fb.c
991
fgo = ((attr >> 24) & 0xf) * 3;
sys/dev/pci/r128fb.c
992
bgo = ((attr >> 16) & 0xf) * 3;
sys/dev/pci/radeonfb.c
3137
radeonfb_putchar(void *cookie, int row, int col, u_int c, long attr)
sys/dev/pci/radeonfb.c
3162
bg = ri->ri_devcmap[(attr >> 16) & 0xf];
sys/dev/pci/radeonfb.c
3163
fg = ri->ri_devcmap[(attr >> 24) & 0xf];
sys/dev/pci/radeonfb.c
3170
if (attr & WSATTR_UNDERLINE)
sys/dev/pci/radeonfb.c
3204
if (attr & WSATTR_HILIT) {
sys/dev/pci/radeonfb.c
3286
if (attr & WSATTR_UNDERLINE)
sys/dev/pci/radeonfb.c
3292
radeonfb_putchar_aa32(void *cookie, int row, int col, u_int c, long attr)
sys/dev/pci/radeonfb.c
3316
bg = ri->ri_devcmap[(attr >> 16) & 0xf];
sys/dev/pci/radeonfb.c
3317
fg = ri->ri_devcmap[(attr >> 24) & 0xf];
sys/dev/pci/radeonfb.c
3324
if (attr & WSATTR_UNDERLINE)
sys/dev/pci/radeonfb.c
3328
rv = glyphcache_try(&dp->rd_gc, c, xd, yd, attr);
sys/dev/pci/radeonfb.c
3392
} else if (attr & WSATTR_UNDERLINE)
sys/dev/pci/radeonfb.c
3397
radeonfb_putchar_aa8(void *cookie, int row, int col, u_int c, long attr)
sys/dev/pci/radeonfb.c
3419
bg = ri->ri_devcmap[(attr >> 16) & 0xf];
sys/dev/pci/radeonfb.c
3420
fg = ri->ri_devcmap[(attr >> 24) & 0xf];
sys/dev/pci/radeonfb.c
3427
if (attr & WSATTR_UNDERLINE)
sys/dev/pci/radeonfb.c
3431
rv = glyphcache_try(&dp->rd_gc, c, x, y, attr);
sys/dev/pci/radeonfb.c
3461
fgo = ((attr >> 24) & 0xf) * 3;
sys/dev/pci/radeonfb.c
3462
bgo = ((attr >> 16) & 0xf) * 3;
sys/dev/pci/radeonfb.c
3519
if (attr & WSATTR_UNDERLINE)
sys/dev/pci/radeonfb.c
3530
radeonfb_putchar_wrapper(void *cookie, int row, int col, u_int c, long attr)
sys/dev/pci/radeonfb.c
3537
dp->rd_putchar(ri, row, col, c, attr);
sys/dev/pci/radeonfb.c
3542
radeonfb_allocattr(void *cookie, int fg0, int bg0, int flg, long *attr)
sys/dev/pci/radeonfb.c
3559
*attr = (bg << 16) | (fg << 24) | flg;
sys/dev/pci/radeonfb.c
3716
int width, int height, long attr)
sys/dev/pci/radeonfb.c
3721
dp->rd_vscreen.scr_ri.ri_devcmap[(attr >> 24 & 0xf)]);
sys/dev/pci/tga.c
1215
tga_putchar(void *c, int row, int col, u_int uc, long attr)
sys/dev/pci/tga.c
1237
TGAWREG(dc, TGA_REG_GFGR, ri->ri_devcmap[(attr >> 24) & 15]);
sys/dev/pci/tga.c
1238
TGAWREG(dc, TGA_REG_GBGR, ri->ri_devcmap[(attr >> 16) & 15]);
sys/dev/pci/tga.c
1265
if ((attr & 1) != 0) {
sys/dev/pci/tga.c
1276
tga_eraserows(void *c, int row, int num, long attr)
sys/dev/pci/tga.c
1283
color = ri->ri_devcmap[(attr >> 16) & 15];
sys/dev/pci/tga.c
1326
tga_erasecols (void *c, int row, int col, int num, long attr)
sys/dev/pci/tga.c
1333
color = ri->ri_devcmap[(attr >> 16) & 15];
sys/dev/pci/tga.c
90
static void tga_putchar(void *c, int row, int col, u_int uc, long attr);
sys/dev/pci/twa.c
1014
.iattr = attr,
sys/dev/pci/twa.c
974
twa_request_bus_scan(device_t self, const char *attr, const int *flags)
sys/dev/pci/unichromefb.c
1545
uni_putchar(void *opaque, int row, int col, u_int c, long attr)
sys/dev/pci/unichromefb.c
1566
rasops_unpack_attr(attr, &fg, &bg, &ul);
sys/dev/pci/veritefb.c
3449
veritefb_putchar(void *cookie, int row, int col, u_int c, long attr)
sys/dev/pci/veritefb.c
3462
sc->sc_orig_putchar(cookie, row, col, c, attr);
sys/dev/pci/veritefb.c
3474
fg = ri->ri_devcmap[(attr >> 24) & 0xf];
sys/dev/pci/veritefb.c
3475
bg = ri->ri_devcmap[(attr >> 16) & 0xf];
sys/dev/pci/veritefb.c
3479
sc->sc_orig_putchar(cookie, row, col, c, attr);
sys/dev/pci/veritefb.c
3482
if (attr & WSATTR_UNDERLINE)
sys/dev/pci/veritefb.c
3489
rv = glyphcache_try(&sc->sc_gc, c, x, y, attr);
sys/dev/pci/veritefb.c
3499
sc->sc_orig_putchar(cookie, row, col, c, attr &
sys/dev/pci/veritefb.c
3505
} else if (attr & WSATTR_UNDERLINE)
sys/dev/pci/viogpu.c
871
viogpu_putchar(void *c, int row, int col, u_int uc, long attr)
sys/dev/pci/viogpu.c
877
sc->ri_putchar(c, row, col, uc, attr);
sys/dev/pci/viogpu.c
895
viogpu_erasecols(void *c, int row, int startcol, int ncols, long attr)
sys/dev/pci/viogpu.c
901
sc->ri_erasecols(c, row, startcol, ncols, attr);
sys/dev/pci/viogpu.c
919
viogpu_eraserows(void *c, int row, int nrows, long attr)
sys/dev/pci/viogpu.c
925
sc->ri_eraserows(c, row, nrows, attr);
sys/dev/pci/voodoofb.c
757
voodoofb_putchar(void *cookie, int row, int col, u_int c, long attr)
sys/dev/pci/voodoofb.c
774
bg = (u_char)ri->ri_devcmap[(attr >> 16) & 0xf];
sys/dev/pci/voodoofb.c
775
fg = (u_char)ri->ri_devcmap[(attr >> 24) & 0xf];
sys/dev/pci/voodoofb.c
794
voodoofb_putchar_aa(void *cookie, int row, int col, u_int c, long attr)
sys/dev/pci/voodoofb.c
814
bg = ri->ri_devcmap[(attr >> 16) & 0xf];
sys/dev/pci/voodoofb.c
823
if ((attr == sc->sc_defattr) && (c < 256)) {
sys/dev/pci/voodoofb.c
860
fgo = ((attr >> 24) & 0xf) * 3;
sys/dev/pci/voodoofb.c
861
bgo = ((attr >> 16) & 0xf) * 3;
sys/dev/pci/voyager/voyagerfb.c
1359
voyagerfb_putchar_mono(void *cookie, int row, int col, u_int c, long attr)
sys/dev/pci/voyager/voyagerfb.c
1379
bg = ri->ri_devcmap[(attr >> 16) & 0x0f];
sys/dev/pci/voyager/voyagerfb.c
1380
fg = ri->ri_devcmap[(attr >> 24) & 0x0f];
sys/dev/pci/voyager/voyagerfb.c
1417
voyagerfb_putchar_aa32(void *cookie, int row, int col, u_int c, long attr)
sys/dev/pci/voyager/voyagerfb.c
1441
bg = ri->ri_devcmap[(attr >> 16) & 0x0f];
sys/dev/pci/voyager/voyagerfb.c
1442
fg = ri->ri_devcmap[(attr >> 24) & 0x0f];
sys/dev/pci/voyager/voyagerfb.c
1457
rv = glyphcache_try(&sc->sc_gc, c, x, y, attr);
sys/dev/pci/voyager/voyagerfb.c
1507
voyagerfb_putchar_aa8(void *cookie, int row, int col, u_int c, long attr)
sys/dev/pci/voyager/voyagerfb.c
1531
bg = ri->ri_devcmap[(attr >> 16) & 0x0f];
sys/dev/pci/voyager/voyagerfb.c
1546
rv = glyphcache_try(&sc->sc_gc, c, x, y, attr);
sys/dev/pci/voyager/voyagerfb.c
1564
fgo = ((attr >> 24) & 0xf) * 3;
sys/dev/pci/voyager/voyagerfb.c
1565
bgo = ((attr >> 16) & 0xf) * 3;
sys/dev/pci/wcfb.c
546
wcfb_putchar(void *cookie, int row, int col, u_int c, long attr)
sys/dev/pci/wcfb.c
556
sc->putchar(ri, row, col, c, attr);
sys/dev/pci/wcfb.c
601
long attr, revattr;
sys/dev/pci/wcfb.c
606
attr = scr->scr_attrs[coffset];
sys/dev/pci/wcfb.c
607
revattr = attr ^ 0xffff0000;
sys/dev/pci/wcfb.c
843
wcfb_acc_putchar(void *cookie, int row, int col, u_int c, long attr)
sys/dev/pci/wcfb.c
856
bg = ri->ri_devcmap[(attr >> 16) & 0xf];
sys/dev/pci/wcfb.c
864
sc->putchar(ri, row, col, c, attr);
sys/dev/rasops/rasops.c
1036
rasops_unpack_attr(long attr, int *fg, int *bg, int *underline)
sys/dev/rasops/rasops.c
1039
*fg = ((uint32_t)attr >> 24) & 0xff;
sys/dev/rasops/rasops.c
1040
*bg = ((uint32_t)attr >> 16) & 0xff;
sys/dev/rasops/rasops.c
1042
*underline = (uint32_t)attr & WSATTR_UNDERLINE;
sys/dev/rasops/rasops.c
1049
rasops_eraserows(void *cookie, int row, int num, long attr)
sys/dev/rasops/rasops.c
1090
bg = ATTR_BG(ri, attr);
sys/dev/rasops/rasops.c
1206
rasops_erasecols(void *cookie, int row, int col, int num, long attr)
sys/dev/rasops/rasops.c
1237
bg = ATTR_BG(ri, attr);
sys/dev/rasops/rasops.c
1539
rasops_putchar_rotated_cw(void *cookie, int row, int col, u_int uc, long attr)
sys/dev/rasops/rasops.c
1555
attr & ~WSATTR_UNDERLINE);
sys/dev/rasops/rasops.c
1561
if ((attr & WSATTR_UNDERLINE) != 0) {
sys/dev/rasops/rasops.c
1567
fg = (uint16_t)ATTR_FG(ri, attr);
sys/dev/rasops/rasops.c
1577
rasops_erasecols_rotated_cw(void *cookie, int row, int col, int num, long attr)
sys/dev/rasops/rasops.c
1583
ri->ri_ops.putchar(cookie, row, i, ' ', attr);
sys/dev/rasops/rasops.c
1621
rasops_eraserows_rotated_cw(void *cookie, int row, int num, long attr)
sys/dev/rasops/rasops.c
1628
ri->ri_ops.putchar(cookie, rn, col, ' ', attr);
sys/dev/rasops/rasops.c
1663
rasops_putchar_rotated_ccw(void *cookie, int row, int col, u_int uc, long attr)
sys/dev/rasops/rasops.c
1679
attr & ~WSATTR_UNDERLINE);
sys/dev/rasops/rasops.c
1685
if ((attr & WSATTR_UNDERLINE) != 0) {
sys/dev/rasops/rasops.c
1693
fg = (uint16_t)ATTR_FG(ri, attr);
sys/dev/rasops/rasops.c
648
rasops_allocattr_color(void *cookie, int fg0, int bg0, int flg, long *attr)
sys/dev/rasops/rasops.c
694
*attr = (bg << 16) | (fg << 24) | flg;
sys/dev/rasops/rasops.c
702
rasops_allocattr_mono(void *cookie, int fg0, int bg0, int flg, long *attr)
sys/dev/rasops/rasops.c
718
*attr = (bg << 16) | (fg << 24) | flg;
sys/dev/rasops/rasops.h
207
#define ATTR_BG(ri, attr) ((ri)->ri_devcmap[((uint32_t)(attr) >> 16) & 0xff])
sys/dev/rasops/rasops.h
208
#define ATTR_FG(ri, attr) ((ri)->ri_devcmap[((uint32_t)(attr) >> 24) & 0xff])
sys/dev/rasops/rasops1-4_putchar.h
123
bg = ATTR_BG(ri, attr);
sys/dev/rasops/rasops1-4_putchar.h
124
fg = ATTR_FG(ri, attr);
sys/dev/rasops/rasops1-4_putchar.h
178
if ((attr & WSATTR_UNDERLINE) != 0) {
sys/dev/rasops/rasops1-4_putchar.h
279
if ((attr & WSATTR_UNDERLINE) != 0) {
sys/dev/rasops/rasops1-4_putchar.h
87
NAME(RASOPS_DEPTH)(void *cookie, int row, int col, u_int uc, long attr)
sys/dev/rasops/rasops1.c
128
bg = ATTR_BG(ri, attr);
sys/dev/rasops/rasops1.c
129
fg = ATTR_FG(ri, attr);
sys/dev/rasops/rasops1.c
177
if ((attr & WSATTR_UNDERLINE) != 0) {
sys/dev/rasops/rasops1.c
246
if ((attr & WSATTR_UNDERLINE) != 0) {
sys/dev/rasops/rasops1.c
92
rasops1_putchar(void *cookie, int row, int col, u_int uc, long attr)
sys/dev/rasops/rasops15.c
131
rasops15_makestamp(struct rasops_info *ri, long attr)
sys/dev/rasops/rasops15.c
136
stamp_attr = attr;
sys/dev/rasops/rasops15.c
139
bg = ATTR_BG(ri, attr) & 0xffff;
sys/dev/rasops/rasops15.c
140
fg = ATTR_FG(ri, attr) & 0xffff;
sys/dev/rasops/rasops1_putchar_width.h
127
if ((attr & WSATTR_UNDERLINE) != 0) {
sys/dev/rasops/rasops1_putchar_width.h
62
NAME(RASOPS_WIDTH)(void *cookie, int row, int col, u_int uc, long attr)
sys/dev/rasops/rasops1_putchar_width.h
93
bg = ATTR_BG(ri, attr);
sys/dev/rasops/rasops1_putchar_width.h
94
fg = ATTR_FG(ri, attr);
sys/dev/rasops/rasops2.c
124
rasops2_makestamp(struct rasops_info *ri, long attr)
sys/dev/rasops/rasops2.c
129
stamp_attr = attr;
sys/dev/rasops/rasops2.c
132
bg = ATTR_BG(ri, attr) & 3;
sys/dev/rasops/rasops2.c
133
fg = ATTR_FG(ri, attr) & 3;
sys/dev/rasops/rasops24.c
163
rasops24_makestamp(struct rasops_info *ri, long attr)
sys/dev/rasops/rasops24.c
168
stamp_attr = attr;
sys/dev/rasops/rasops24.c
171
bg = ATTR_BG(ri, attr) & 0xffffff;
sys/dev/rasops/rasops24.c
172
fg = ATTR_FG(ri, attr) & 0xffffff;
sys/dev/rasops/rasops24.c
211
rasops24_eraserows(void *cookie, int row, int num, long attr)
sys/dev/rasops/rasops24.c
224
if ((attr & WSATTR_PRIVATE2) != 0) {
sys/dev/rasops/rasops24.c
225
rasops_eraserows(cookie, row, num, attr);
sys/dev/rasops/rasops24.c
242
bg = ATTR_BG(ri, attr) & 0xffffff;
sys/dev/rasops/rasops24.c
294
rasops24_erasecols(void *cookie, int row, int col, int num, long attr)
sys/dev/rasops/rasops24.c
308
if ((attr & WSATTR_PRIVATE2) != 0) {
sys/dev/rasops/rasops24.c
309
rasops_erasecols(cookie, row, col, num, attr);
sys/dev/rasops/rasops24.c
337
bg = ATTR_BG(ri, attr) & 0xffffff;
sys/dev/rasops/rasops32.c
132
rasops32_makestamp(struct rasops_info *ri, long attr)
sys/dev/rasops/rasops32.c
137
stamp_attr = attr;
sys/dev/rasops/rasops32.c
140
bg = ATTR_BG(ri, attr);
sys/dev/rasops/rasops32.c
141
fg = ATTR_FG(ri, attr);
sys/dev/rasops/rasops4.c
118
rasops4_makestamp(struct rasops_info *ri, long attr)
sys/dev/rasops/rasops4.c
123
stamp_attr = attr;
sys/dev/rasops/rasops4.c
126
bg = ATTR_BG(ri, attr) & 0xf;
sys/dev/rasops/rasops4.c
127
fg = ATTR_FG(ri, attr) & 0xf;
sys/dev/rasops/rasops8.c
130
rasops8_makestamp(struct rasops_info *ri, long attr)
sys/dev/rasops/rasops8.c
135
stamp_attr = attr;
sys/dev/rasops/rasops8.c
138
bg = ATTR_BG(ri, attr) & 0xff;
sys/dev/rasops/rasops8.c
139
fg = ATTR_FG(ri, attr) & 0xff;
sys/dev/rasops/rasops_bitops.h
53
NAME(erasecols)(void *cookie, int row, int col, int num, long attr)
sys/dev/rasops/rasops_bitops.h
89
bg = ATTR_BG(ri, attr);
sys/dev/rasops/rasops_putchar.h
128
clr[0] = (COLOR_TYPE)ATTR_BG(ri, attr);
sys/dev/rasops/rasops_putchar.h
129
clr[1] = (COLOR_TYPE)ATTR_FG(ri, attr);
sys/dev/rasops/rasops_putchar.h
154
off[0] = (((uint32_t)attr >> 16) & 0xff) * 3;
sys/dev/rasops/rasops_putchar.h
155
off[1] = (((uint32_t)attr >> 24) & 0xff) * 3;
sys/dev/rasops/rasops_putchar.h
208
if ((attr & WSATTR_UNDERLINE) != 0) {
sys/dev/rasops/rasops_putchar.h
98
NAME(RASOPS_DEPTH)(void *cookie, int row, int col, u_int uc, long attr)
sys/dev/rasops/rasops_putchar_width.h
207
long attr)
sys/dev/rasops/rasops_putchar_width.h
235
do_ul = (attr & WSATTR_UNDERLINE) != 0;
sys/dev/rasops/rasops_putchar_width.h
236
attr &= (ATTR_MASK_BG | ATTR_MASK_FG);
sys/dev/rasops/rasops_putchar_width.h
239
if (attr != stamp_attr || __predict_false(ri != stamp_ri))
sys/dev/rasops/rasops_putchar_width.h
240
MAKESTAMP(RASOPS_DEPTH)(ri, attr);
sys/dev/rcons/rcons_kern.c
66
long attr;
sys/dev/rcons/rcons_kern.c
69
attr = mydevicep->rc_attr;
sys/dev/rcons/rcons_kern.c
80
mydevicep->rc_attr = attr;
sys/dev/sbus/agten.c
769
agten_putchar(void *cookie, int row, int col, u_int c, long attr)
sys/dev/sbus/agten.c
781
bg = ri->ri_devcmap[(attr >> 16) & 0xf];
sys/dev/sbus/agten.c
782
fg = ri->ri_devcmap[(attr >> 24) & 0xf];
sys/dev/sbus/agten.c
790
if (attr & 1)
sys/dev/sbus/agten.c
795
rv = glyphcache_try(&sc->sc_gc, c, x, y, attr);
sys/dev/sbus/agten.c
799
sc->sc_putchar(cookie, row, col, c, attr & ~1);
sys/dev/sbus/agten.c
804
if (attr & 1)
sys/dev/sbus/mgx.c
698
mgx_putchar_aa(void *cookie, int row, int col, u_int c, long attr)
sys/dev/sbus/mgx.c
710
bg = (attr >> 16) & 0xf;
sys/dev/sbus/mgx.c
711
fg = (attr >> 24) & 0xf;
sys/dev/sbus/mgx.c
718
if (attr & 1)
sys/dev/sbus/mgx.c
723
rv = glyphcache_try(&sc->sc_gc, c, x, y, attr);
sys/dev/sbus/mgx.c
728
sc->sc_putchar(cookie, row, col, c, attr & ~1);
sys/dev/sbus/mgx.c
739
if (attr & 1)
sys/dev/sbus/mgx.c
744
mgx_putchar_mono(void *cookie, int row, int col, u_int c, long attr)
sys/dev/sbus/mgx.c
757
bg = (attr >> 16) & 0xf;
sys/dev/sbus/mgx.c
758
fg = (attr >> 24) & 0xf;
sys/dev/sbus/mgx.c
771
if (attr & 1)
sys/dev/sbus/mgx.c
820
if (attr & 1)
sys/dev/sbus/p9100.c
1121
p9100_putchar(void *cookie, int row, int col, u_int c, long attr)
sys/dev/sbus/p9100.c
1138
bg = (u_char)ri->ri_devcmap[(attr >> 16) & 0xff];
sys/dev/sbus/p9100.c
1139
fg = (u_char)ri->ri_devcmap[(attr >> 24) & 0xff];
sys/dev/sbus/p9100.c
1158
p9100_putchar_aa(void *cookie, int row, int col, u_int c, long attr)
sys/dev/sbus/p9100.c
1180
bg = ri->ri_devcmap[(attr >> 16) & 0xf];
sys/dev/sbus/p9100.c
1189
rv = glyphcache_try(&sc->sc_gc, c, x, y, attr);
sys/dev/sbus/p9100.c
1207
fgo = ((attr >> 24) & 0xf) * 3;
sys/dev/sbus/p9100.c
1208
bgo = ((attr >> 16) & 0xf) * 3;
sys/dev/sbus/tcx.c
1041
tcx_eraserows(void *cookie, int start, int nrows, long attr)
sys/dev/sbus/tcx.c
1059
((uint64_t)((ri->ri_devcmap[(attr >> 16) & 0xff]) & 0xff) << 32);
sys/dev/sbus/tcx.c
1071
tcx_erasecols(void *cookie, int row, int startcol, int ncols, long attr)
sys/dev/sbus/tcx.c
1083
((uint64_t)((ri->ri_devcmap[(attr >> 16) & 0xff]) & 0xff) << 32),
sys/dev/sbus/tcx.c
1125
tcx_putchar(void *cookie, int row, int col, u_int c, long attr)
sys/dev/sbus/tcx.c
1136
int bold = (attr & WSATTR_HILIT) != 0;
sys/dev/sbus/tcx.c
1151
((uint64_t)ri->ri_devcmap[(attr >> 16) & 0xff] &
sys/dev/sbus/tcx.c
1155
((uint64_t)ri->ri_devcmap[(attr >> 24) & 0xff] & 0xff) <<
sys/dev/sbus/tcx.c
1179
if (attr & WSATTR_UNDERLINE) {
sys/dev/sbus/tcx.c
1214
if (attr & WSATTR_UNDERLINE) {
sys/dev/sbus/tcx.c
1243
((uint64_t)ri->ri_devcmap[(attr >> 16) & 0xff] &
sys/dev/sbus/tcx.c
1248
((uint64_t)ri->ri_devcmap[(attr >> 24) & 0xff] & 0xff) <<
sys/dev/sbus/tcx.c
1270
if (attr & WSATTR_UNDERLINE) {
sys/dev/sbus/tcx.c
1302
if (attr & WSATTR_UNDERLINE) {
sys/dev/sbus/zx.c
917
zx_erasecols(void *cookie, int row, int startcol, int ncols, long attr)
sys/dev/sbus/zx.c
928
bg = ((uint32_t)ri->ri_devcmap[(attr >> 16) & 0xff]) << 24;
sys/dev/sbus/zx.c
933
zx_eraserows(void *cookie, int row, int nrows, long attr)
sys/dev/sbus/zx.c
950
bg = ((uint32_t)ri->ri_devcmap[(attr >> 16) & 0xff]) << 24;
sys/dev/sbus/zx.c
987
zx_putchar(void *cookie, int row, int col, u_int uc, long attr)
sys/dev/sbus/zx.c
998
rasops_unpack_attr(attr, &fg, &bg, &ul);
sys/dev/sdmmc/ld_sdmmc.c
682
#define CFDRIVER_DECL(name, class, attr)
sys/dev/sdmmc/sdhc.c
1822
uint16_t attr =
sys/dev/sdmmc/sdhc.c
1825
attr |= SDHC_ADMA2_END;
sys/dev/sdmmc/sdhc.c
1830
desc[seg].attribute = htole16(attr);
sys/dev/sdmmc/sdhc.c
1836
desc[seg].attribute = htole16(attr);
sys/dev/sun/cgsix.c
1357
cgsix_putchar(void *cookie, int row, int col, u_int c, long attr)
sys/dev/sun/cgsix.c
1382
inv = ((attr >> 8) & WSATTR_REVERSE);
sys/dev/sun/cgsix.c
1384
fg = (u_char)ri->ri_devcmap[(attr >> 16) & 0xff];
sys/dev/sun/cgsix.c
1385
bg = (u_char)ri->ri_devcmap[(attr >> 24) & 0xff];
sys/dev/sun/cgsix.c
1387
bg = (u_char)ri->ri_devcmap[(attr >> 16) & 0xff];
sys/dev/sun/cgsix.c
1388
fg = (u_char)ri->ri_devcmap[(attr >> 24) & 0xff];
sys/dev/sun/cgsix.c
1411
cgsix_putchar_aa(void *cookie, int row, int col, u_int c, long attr)
sys/dev/sun/cgsix.c
1438
bg = ri->ri_devcmap[(attr >> 16) & 0xf];
sys/dev/sun/cgsix.c
1446
rv = glyphcache_try(&sc->sc_gc, c, x, y, attr);
sys/dev/sun/cgsix.c
1462
fgo = ((attr >> 24) & 0xf) * 3;
sys/dev/sun/cgsix.c
1463
bgo = ((attr >> 16) & 0xf) * 3;
sys/dev/sun/cgsix.c
444
cg6_ras_erasecols(void *cookie, int row, int col, int n, long int attr)
sys/dev/sun/cgsix.c
463
fbc->fbc_fg = ri->ri_devcmap[(attr >> 16) & 0xff];
sys/dev/sun/cgsix.c
473
cg6_ras_eraserows(void *cookie, int row, int n, long int attr)
sys/dev/sun/cgsix.c
487
fbc->fbc_fg = ri->ri_devcmap[(attr >> 16) & 0xff];
sys/dev/tc/sfb.c
1124
sfb_erasecols(void *id, int row, int startcol, int ncols, long attr)
sys/dev/tc/sfb.c
1147
SFBFG(sfb, ri->ri_devcmap[(attr >> 16) & 15]); /* fill with bg */
sys/dev/tc/sfb.c
1242
sfb_eraserows(void *id, int startrow, int nrows, long attr)
sys/dev/tc/sfb.c
1264
SFBFG(sfb, ri->ri_devcmap[(attr >> 16) & 15]); /* fill with bg */
sys/dev/tc/sfb.c
942
sfb_putchar(void *id, int row, int col, u_int uc, long attr)
sys/dev/tc/sfb.c
967
SFBFG(sfb, ri->ri_devcmap[(attr >> 24) & 15]);
sys/dev/tc/sfb.c
968
SFBBG(sfb, ri->ri_devcmap[(attr >> 16) & 15]);
sys/dev/tc/sfb.c
981
if (attr & 1 /* UNDERLINE */) {
sys/dev/tc/sfbplus.c
1049
sfbp_putchar(void *id, int row, int col, u_int uc, long attr)
sys/dev/tc/sfbplus.c
1075
SFBFG(sfb, ri->ri_devcmap[(attr >> 24) & 15]);
sys/dev/tc/sfbplus.c
1076
SFBBG(sfb, ri->ri_devcmap[(attr >> 16) & 15]);
sys/dev/tc/sfbplus.c
1103
sfbp_erasecols(void *id, int row, int startcol, int ncols, long attr)
sys/dev/tc/sfbplus.c
1127
SFBFG(sfb, ri->ri_devcmap[(attr >> 16) & 15]); /* fill with bg */
sys/dev/tc/sfbplus.c
1292
sfbp_eraserows(void *id, int startrow, int nrows, long attr)
sys/dev/tc/sfbplus.c
1315
SFBFG(sfb, ri->ri_devcmap[(attr >> 16) & 15]);
sys/dev/tc/stic.c
1018
bgcolor = DUPBYTE0((attr & 0xf0) >> 4);
sys/dev/tc/stic.c
1019
fgcolor = DUPBYTE0(attr & 0x0f);
sys/dev/tc/stic.c
761
stic_allocattr(void *cookie, int fg, int bg, int flags, long *attr)
sys/dev/tc/stic.c
777
*attr = tmp | (tmp << 16);
sys/dev/tc/stic.c
782
stic_erasecols(void *cookie, int row, int col, int num, long attr)
sys/dev/tc/stic.c
796
*p++ = (uint16_t)attr;
sys/dev/tc/stic.c
804
attr = (attr & 0xf0) >> 4;
sys/dev/tc/stic.c
815
pb[5] = DUPBYTE0(attr);
sys/dev/tc/stic.c
823
stic_eraserows(void *cookie, int row, int num, long attr)
sys/dev/tc/stic.c
836
*pb++ = (uint32_t)attr;
sys/dev/tc/stic.c
843
attr = (attr & 0xf0) >> 4;
sys/dev/tc/stic.c
854
pb[5] = DUPBYTE0(attr);
sys/dev/tc/stic.c
974
stic_putchar(void *cookie, int r, int c, u_int uc, long attr)
sys/dev/tc/stic.c
988
stic_erasecols(cookie, r, c, 1, attr);
sys/dev/tc/stic.c
994
(u_short)((attr & 0xff) | (uc << 8));
sys/dev/usb/if_run.c
2048
uint32_t attr;
sys/dev/usb/if_run.c
2124
run_read(sc, RT2860_SKEY_MODE_0_7, &attr);
sys/dev/usb/if_run.c
2125
attr &= ~(0xf << (k->wk_keyix * 4));
sys/dev/usb/if_run.c
2126
attr |= mode << (k->wk_keyix * 4);
sys/dev/usb/if_run.c
2127
run_write(sc, RT2860_SKEY_MODE_0_7, attr);
sys/dev/usb/if_run.c
2130
run_read(sc, RT2860_WCID_ATTR(wcid), &attr);
sys/dev/usb/if_run.c
2131
attr = (attr & ~0xf) | (mode << 1) | RT2860_RX_PKEY_EN;
sys/dev/usb/if_run.c
2132
run_write(sc, RT2860_WCID_ATTR(wcid), attr);
sys/dev/usb/if_run.c
2155
uint32_t attr;
sys/dev/usb/if_run.c
2163
run_read(sc, RT2860_SKEY_MODE_0_7, &attr);
sys/dev/usb/if_run.c
2164
attr &= ~(0xf << (k->wk_keyix * 4));
sys/dev/usb/if_run.c
2165
run_write(sc, RT2860_SKEY_MODE_0_7, attr);
sys/dev/usb/if_run.c
2170
run_read(sc, RT2860_WCID_ATTR(wcid), &attr);
sys/dev/usb/if_run.c
2171
attr &= ~0xf;
sys/dev/usb/if_run.c
2172
run_write(sc, RT2860_WCID_ATTR(wcid), attr);
sys/dev/usb/uaudio.c
1428
const char *mixername, *attr = NULL;
sys/dev/usb/uaudio.c
1438
attr = AudioNmute;
sys/dev/usb/uaudio.c
1443
attr = NULL;
sys/dev/usb/uaudio.c
1448
attr = AudioNbass;
sys/dev/usb/uaudio.c
1453
attr = AudioNmid;
sys/dev/usb/uaudio.c
1458
attr = AudioNtreble;
sys/dev/usb/uaudio.c
1466
attr = AudioNagc;
sys/dev/usb/uaudio.c
1471
attr = AudioNdelay;
sys/dev/usb/uaudio.c
1476
attr = AudioNbassboost;
sys/dev/usb/uaudio.c
1481
attr = AudioNloudness;
sys/dev/usb/uaudio.c
1486
attr = "gain";;
sys/dev/usb/uaudio.c
1491
attr = "gainpad";;
sys/dev/usb/uaudio.c
1496
attr = "phaseinv";;
sys/dev/usb/uaudio.c
1501
attr = "underflow";;
sys/dev/usb/uaudio.c
1506
attr = "overflow";;
sys/dev/usb/uaudio.c
1513
if (attr != NULL) {
sys/dev/usb/uaudio.c
1515
"%s.%s", mixername, attr);
sys/dev/usb/uaudio.c
3427
uaudio_clockname(u_int attr)
sys/dev/usb/uaudio.c
3436
return names[attr & 3];
sys/dev/usb/udl.c
1008
udl_putchar(void *cookie, int row, int col, u_int uc, long attr)
sys/dev/usb/udl.c
1015
rasops_unpack_attr(attr, &fg, &bg, &underline);
sys/dev/usb/udl.c
1067
udl_erasecols(void *cookie, int row, int col, int num, long attr)
sys/dev/usb/udl.c
1074
rasops_unpack_attr(attr, &fg, &bg, NULL);
sys/dev/usb/udl.c
1125
udl_eraserows(void *cookie, int row, int num, long attr)
sys/dev/usb/udl.c
1132
rasops_unpack_attr(attr, &fg, &bg, NULL);
sys/dev/usb/uftdi.c
390
int addr, dir, attr;
sys/dev/usb/uftdi.c
400
attr = ed->bmAttributes & UE_XFERTYPE;
sys/dev/usb/uftdi.c
401
if (dir == UE_DIR_IN && attr == UE_BULK) {
sys/dev/usb/uftdi.c
406
} else if (dir == UE_DIR_OUT && attr == UE_BULK) {
sys/dev/usb/ugensa.c
199
int addr, dir, attr;
sys/dev/usb/ugensa.c
211
attr = ed->bmAttributes & UE_XFERTYPE;
sys/dev/usb/ugensa.c
212
if (attr == UE_BULK) {
sys/dev/usb/uslsa.c
212
int addr, dir, attr;
sys/dev/usb/uslsa.c
223
attr = ed->bmAttributes & UE_XFERTYPE;
sys/dev/usb/uslsa.c
224
if (dir == UE_DIR_IN && attr == UE_BULK) {
sys/dev/usb/uslsa.c
226
} else if (dir == UE_DIR_OUT && attr == UE_BULK) {
sys/dev/wscons/wscons_rops.c
110
rcons_putchar(void *id, int row, int col, u_int uc, long attr)
sys/dev/wscons/wscons_rops.c
120
if ((attr != 0) ^ ((rc->rc_bits & RC_INVERT) != 0))
sys/dev/wscons/wsdisplay_glyphcache.c
111
return glyphcache_reconfig(gc, cellwidth, cellheight, attr);
sys/dev/wscons/wsdisplay_glyphcache.c
116
glyphcache_reconfig(glyphcache *gc, int cellwidth, int cellheight, long attr)
sys/dev/wscons/wsdisplay_glyphcache.c
125
(gc->gc_buckets[0].gb_index == attr2idx(attr)))) {
sys/dev/wscons/wsdisplay_glyphcache.c
175
idx = attr2idx(attr);
sys/dev/wscons/wsdisplay_glyphcache.c
263
glyphcache_underline(glyphcache *gc, int x, int y, long attr)
sys/dev/wscons/wsdisplay_glyphcache.c
269
gc->gc_cellwidth, 1, attr);
sys/dev/wscons/wsdisplay_glyphcache.c
279
glyphcache_try(glyphcache *gc, int c, int x, int y, long attr)
sys/dev/wscons/wsdisplay_glyphcache.c
284
idx = attr2idx(attr);
sys/dev/wscons/wsdisplay_glyphcache.c
344
gc->gc_underline = attr;
sys/dev/wscons/wsdisplay_glyphcache.c
354
if (attr & WSATTR_UNDERLINE)
sys/dev/wscons/wsdisplay_glyphcache.c
355
glyphcache_underline(gc, x, y, attr);
sys/dev/wscons/wsdisplay_glyphcache.c
54
attr2idx(long attr)
sys/dev/wscons/wsdisplay_glyphcache.c
56
return (((attr >> 16) & 0x0f) | ((attr >> 20) & 0xf0));
sys/dev/wscons/wsdisplay_glyphcache.c
61
int cellwidth, int cellheight, long attr)
sys/dev/wscons/wsdisplay_glyphcache.c
64
attr, 0);
sys/dev/wscons/wsdisplay_glyphcache.c
69
int cellwidth, int cellheight, long attr, int alignment)
sys/dev/wscons/wsdisplay_glyphcache.c
87
return glyphcache_reconfig(gc, cellwidth, cellheight, attr);
sys/dev/wscons/wsdisplay_glyphcache.c
93
int cellwidth, int cellheight, long attr)
sys/dev/wscons/wsdisplay_vcons.c
1277
vcons_putchar_buffer(void *cookie, int row, int col, u_int c, long attr)
sys/dev/wscons/wsdisplay_vcons.c
1287
ret = (scr->scr_attrs[pos + offset] != attr) ||
sys/dev/wscons/wsdisplay_vcons.c
1289
scr->scr_attrs[pos + offset] = attr;
sys/dev/wscons/wsdisplay_vcons.c
1300
vcons_putchar_cached(void *cookie, int row, int col, u_int c, long attr)
sys/dev/wscons/wsdisplay_vcons.c
1309
scr->putchar(cookie, row, col, c, attr);
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
1315
scr->putchar(cookie, row, col, c, attr);
sys/dev/wscons/wsdisplay_vcons.c
1321
vcons_putchar(void *cookie, int row, int col, u_int c, long attr)
sys/dev/wscons/wsdisplay_vcons.c
1327
need_draw = vcons_putchar_buffer(cookie, row, col, c, attr);
sys/dev/wscons/wsdisplay_vcons.c
1336
vcons_putchar_cached(cookie, row, col, c, attr);
sys/dev/wscons/wsdisplay_vcons.c
1340
scr->putchar(cookie, row, col, c, attr);
sys/dev/wscons/wsdisplay_vcons.c
1342
scr->putchar(cookie, row, col, c, attr);
sys/dev/wscons/wsdisplay_vcons.c
1415
long attr;
sys/dev/wscons/wsdisplay_vcons.c
1442
wsc->background, wsc->flags, &attr);
sys/dev/wscons/wsdisplay_vcons.c
1445
vcons_putchar(ri, wsc->row, wsc->col, wsc->letter, attr);
sys/dev/wscons/wsdisplay_vcons.c
1447
wsc->letter, attr);
sys/dev/wscons/wsdisplay_vcons.c
1455
long attr;
sys/dev/wscons/wsdisplay_vcons.c
1484
attr = scr->scr_attrs[offset];
sys/dev/wscons/wsdisplay_vcons.c
1487
wsc->col, wsc->letter, attr);
sys/dev/wscons/wsdisplay_vcons.c
1497
fg = (attr >> 24) & 0xf;
sys/dev/wscons/wsdisplay_vcons.c
1498
bg = (attr >> 16) & 0xf;
sys/dev/wscons/wsdisplay_vcons.c
1499
ul = (attr & 1);
sys/dev/wscons/wsdisplay_vcons.c
1505
attr &= ~(WSATTR_HILIT | WSATTR_BLINK | WSATTR_UNDERLINE);
sys/dev/wscons/wsdisplay_vcons.c
1507
attr |= WSATTR_UNDERLINE;
sys/dev/wscons/wsdisplay_vcons.c
1510
if (attr & WSATTR_HILIT)
sys/dev/wscons/wsdisplay_vcons.c
1515
attr |= WSATTR_WSCOLORS;
sys/dev/wscons/wsemul_vt100_subr.c
192
long attr, bkgdattr;
sys/dev/wscons/wsemul_vt100_subr.c
633
if (vt100_selectattribute(vd, flags, fgcol, bgcol, &attr,
sys/dev/wscons/wsemul_vt100_subr.c
640
vd->curattr = attr;
sys/dev/wscons/wsemul_vt100_subr.c
737
int flags, int fgcol, int bgcol, long *attr, long *bkgdattr)
sys/dev/wscons/wsemul_vt100_subr.c
814
flags, attr);
sys/dev/wsfb/genfb.c
1040
attr2idx(long attr)
sys/dev/wsfb/genfb.c
1042
if ((attr & 0xf0f00ff8) != 0)
sys/dev/wsfb/genfb.c
1045
return (((attr >> 16) & 0x0f) | ((attr >> 20) & 0xf0));
sys/dev/wsfb/genfb.c
1113
genfb_putchar(void *cookie, int row, int col, u_int c, long attr)
sys/dev/wsfb/genfb.c
1123
attr &= ~WSATTR_USERMASK;
sys/dev/wsfb/genfb.c
1125
idx = attr2idx(attr);
sys/dev/wsfb/genfb.c
1187
scp->sc_putchar(&scp->sc_cache_ri, cell, 0, c, attr);
sys/dev/wsfb/genfb.c
1211
scp->sc_putchar(cookie, row, col, c, attr);
sys/fs/filecorefs/filecore.h
130
unsigned attr:8;
sys/fs/filecorefs/filecore_node.c
159
ip->i_dirent.attr = FILECORE_ATTR_DIR | FILECORE_ATTR_READ;
sys/fs/filecorefs/filecore_node.c
190
if (ip->i_dirent.attr & FILECORE_ATTR_DIR)
sys/fs/filecorefs/filecore_utils.c
199
if ((ip->i_dirent.attr & FILECORE_ATTR_READ) ||
sys/fs/filecorefs/filecore_utils.c
201
(ip->i_dirent.attr & FILECORE_ATTR_DIR))
sys/fs/filecorefs/filecore_utils.c
205
if (rf || (ip->i_dirent.attr & FILECORE_ATTR_OREAD))
sys/fs/filecorefs/filecore_utils.c
209
if (ip->i_dirent.attr & FILECORE_ATTR_OREAD)
sys/fs/filecorefs/filecore_utils.c
214
if (ip->i_dirent.attr & FILECORE_ATTR_OREAD)
sys/fs/filecorefs/filecore_utils.c
217
if (ip->i_dirent.attr & FILECORE_ATTR_DIR) {
sys/fs/filecorefs/filecore_vnops.c
251
if (ip->i_dirent.attr & FILECORE_ATTR_DIR) {
sys/fs/filecorefs/filecore_vnops.c
307
if ((dp->i_dirent.attr & FILECORE_ATTR_DIR) == 0)
sys/fs/filecorefs/filecore_vnops.c
352
if (dep->attr & FILECORE_ATTR_DIR)
sys/fs/ntfs/ntfs_subr.c
262
struct attr *ap;
sys/fs/ntfs/ntfs_subr.c
332
ap = (struct attr *) ((char *)mfrp + off);
sys/fs/ntfs/ntfs_subr.c
345
ap = (struct attr *) ((char *)mfrp + off);
sys/fs/ntfs/ntfs_subr.c
545
struct attr *rap)
sys/fs/ntfs/ntfs_subr.h
89
int ntfs_attrtontvattr(struct ntfsmount *, struct ntvattr **, struct attr *);
sys/fs/sysvbfs/bfs.c
277
struct bfs_fileattr attr;
sys/fs/sysvbfs/bfs.c
292
attr = inode->attr; /* copy old attribute */
sys/fs/sysvbfs/bfs.c
294
if ((err = bfs_file_create(bfs, name, buf, bufsz, &attr)) != 0)
sys/fs/sysvbfs/bfs.c
297
memset(&attr, 0xff, sizeof attr); /* Set VNOVAL all */
sys/fs/sysvbfs/bfs.c
299
attr.atime = time_second;
sys/fs/sysvbfs/bfs.c
300
attr.ctime = time_second;
sys/fs/sysvbfs/bfs.c
301
attr.mtime = time_second;
sys/fs/sysvbfs/bfs.c
303
if ((err = bfs_file_create(bfs, name, buf, bufsz, &attr)) != 0)
sys/fs/sysvbfs/bfs.c
359
const struct bfs_fileattr *attr)
sys/fs/sysvbfs/bfs.c
397
inode->attr.type = 1;
sys/fs/sysvbfs/bfs.c
398
inode->attr.mode = 0;
sys/fs/sysvbfs/bfs.c
399
inode->attr.nlink = 1;
sys/fs/sysvbfs/bfs.c
400
bfs_inode_set_attr(bfs, inode, attr);
sys/fs/sysvbfs/bfs.c
646
struct bfs_fileattr *to = &inode->attr;
sys/fs/sysvbfs/bfs.c
706
const struct bfs_fileattr *attr = &inode->attr;
sys/fs/sysvbfs/bfs.c
715
attr->type, attr->mode, attr->uid, attr->gid,
sys/fs/sysvbfs/bfs.c
716
attr->nlink, attr->atime, attr->mtime, attr->ctime);
sys/fs/sysvbfs/bfs.h
171
const struct bfs_fileattr *attr);
sys/fs/sysvbfs/bfs.h
92
struct bfs_fileattr attr; /* 16 */
sys/fs/sysvbfs/sysvbfs_vnops.c
144
struct bfs_fileattr attr;
sys/fs/sysvbfs/sysvbfs_vnops.c
151
attr.uid = kauth_cred_geteuid(cr);
sys/fs/sysvbfs/sysvbfs_vnops.c
152
attr.gid = kauth_cred_getegid(cr);
sys/fs/sysvbfs/sysvbfs_vnops.c
153
attr.mode = va->va_mode;
sys/fs/sysvbfs/sysvbfs_vnops.c
155
if ((err = bfs_file_create(bfs, a->a_cnp->cn_nameptr, 0, 0, &attr))
sys/fs/sysvbfs/sysvbfs_vnops.c
215
struct bfs_fileattr attr;
sys/fs/sysvbfs/sysvbfs_vnops.c
224
memset(&attr, 0xff, sizeof attr); /* Set VNOVAL all */
sys/fs/sysvbfs/sysvbfs_vnops.c
226
attr.atime = time_second;
sys/fs/sysvbfs/sysvbfs_vnops.c
228
attr.ctime = time_second;
sys/fs/sysvbfs/sysvbfs_vnops.c
230
attr.mtime = time_second;
sys/fs/sysvbfs/sysvbfs_vnops.c
231
bfs_inode_set_attr(bnode->bmp->bfs, bnode->inode, &attr);
sys/fs/sysvbfs/sysvbfs_vnops.c
254
struct bfs_fileattr *attr = &bnode->inode->attr;
sys/fs/sysvbfs/sysvbfs_vnops.c
257
vp->v_type, attr->mode), vp, NULL, genfs_can_access(vp, cred,
sys/fs/sysvbfs/sysvbfs_vnops.c
258
attr->uid, attr->gid, attr->mode, NULL, accmode));
sys/fs/sysvbfs/sysvbfs_vnops.c
295
struct bfs_fileattr *attr = &inode->attr;
sys/fs/sysvbfs/sysvbfs_vnops.c
302
vap->va_mode = attr->mode;
sys/fs/sysvbfs/sysvbfs_vnops.c
303
vap->va_nlink = attr->nlink;
sys/fs/sysvbfs/sysvbfs_vnops.c
304
vap->va_uid = attr->uid;
sys/fs/sysvbfs/sysvbfs_vnops.c
305
vap->va_gid = attr->gid;
sys/fs/sysvbfs/sysvbfs_vnops.c
310
vap->va_atime.tv_sec = attr->atime;
sys/fs/sysvbfs/sysvbfs_vnops.c
311
vap->va_mtime.tv_sec = attr->mtime;
sys/fs/sysvbfs/sysvbfs_vnops.c
312
vap->va_ctime.tv_sec = attr->ctime;
sys/fs/sysvbfs/sysvbfs_vnops.c
337
struct bfs_fileattr *attr = &inode->attr;
sys/fs/sysvbfs/sysvbfs_vnops.c
357
(vap->va_uid != (uid_t)VNOVAL) ? vap->va_uid : attr->uid;
sys/fs/sysvbfs/sysvbfs_vnops.c
359
(vap->va_gid != (gid_t)VNOVAL) ? vap->va_gid : attr->gid;
sys/fs/sysvbfs/sysvbfs_vnops.c
362
genfs_can_chown(vp, cred, attr->uid, attr->gid, uid, gid));
sys/fs/sysvbfs/sysvbfs_vnops.c
365
attr->uid = uid;
sys/fs/sysvbfs/sysvbfs_vnops.c
366
attr->gid = gid;
sys/fs/sysvbfs/sysvbfs_vnops.c
389
vp, NULL, genfs_can_chmod(vp, cred, attr->uid,
sys/fs/sysvbfs/sysvbfs_vnops.c
390
attr->gid, mode));
sys/fs/sysvbfs/sysvbfs_vnops.c
393
attr->mode = mode;
sys/fs/sysvbfs/sysvbfs_vnops.c
400
NULL, genfs_can_chtimes(vp, cred, attr->uid,
sys/fs/sysvbfs/sysvbfs_vnops.c
406
attr->atime = vap->va_atime.tv_sec;
sys/fs/sysvbfs/sysvbfs_vnops.c
408
attr->mtime = vap->va_mtime.tv_sec;
sys/fs/sysvbfs/sysvbfs_vnops.c
410
attr->ctime = vap->va_ctime.tv_sec;
sys/fs/sysvbfs/sysvbfs_vnops.c
413
bfs_inode_set_attr(bfs, inode, attr);
sys/fs/sysvbfs/sysvbfs_vnops.c
888
struct bfs_fileattr attr;
sys/fs/sysvbfs/sysvbfs_vnops.c
894
memset(&attr, 0xff, sizeof attr); /* Set VNOVAL all */
sys/fs/sysvbfs/sysvbfs_vnops.c
896
attr.atime = acc ? acc->tv_sec : time_second;
sys/fs/sysvbfs/sysvbfs_vnops.c
900
attr.ctime = time_second;
sys/fs/sysvbfs/sysvbfs_vnops.c
904
attr.mtime = mod ? mod->tv_sec : time_second;
sys/fs/sysvbfs/sysvbfs_vnops.c
907
bfs_inode_set_attr(bnode->bmp->bfs, bnode->inode, &attr);
sys/fs/v7fs/v7fs_file.c
130
const char *srcname, size_t srclen, struct v7fs_fileattr *attr,
sys/fs/v7fs/v7fs_file.c
151
inode.mode = attr->mode;
sys/fs/v7fs/v7fs_file.c
152
inode.uid = attr->uid;
sys/fs/v7fs/v7fs_file.c
153
inode.gid = attr->gid;
sys/fs/v7fs/v7fs_file.c
154
if (attr->ctime)
sys/fs/v7fs/v7fs_file.c
155
inode.ctime = attr->ctime;
sys/fs/v7fs/v7fs_file.c
156
if (attr->mtime)
sys/fs/v7fs/v7fs_file.c
157
inode.mtime = attr->mtime;
sys/fs/v7fs/v7fs_file.c
158
if (attr->atime)
sys/fs/v7fs/v7fs_file.c
159
inode.atime = attr->atime;
sys/fs/v7fs/v7fs_file.c
170
inode.device = attr->device;
sys/fs/v7fs/v7fs_vnops.c
1281
struct v7fs_fileattr attr;
sys/fs/v7fs/v7fs_vnops.c
1294
memset(&attr, 0, sizeof(attr));
sys/fs/v7fs/v7fs_vnops.c
1295
attr.uid = kauth_cred_geteuid(cr);
sys/fs/v7fs/v7fs_vnops.c
1296
attr.gid = kauth_cred_getegid(cr);
sys/fs/v7fs/v7fs_vnops.c
1297
attr.mode = va->va_mode | vtype_to_v7fs_mode(va->va_type);
sys/fs/v7fs/v7fs_vnops.c
1300
(fs, &parent_node->inode, to, tolen, &attr, &ino))) {
sys/fs/v7fs/v7fs_vnops.c
210
struct v7fs_fileattr attr;
sys/fs/v7fs/v7fs_vnops.c
220
memset(&attr, 0, sizeof(attr));
sys/fs/v7fs/v7fs_vnops.c
221
attr.uid = kauth_cred_geteuid(cr);
sys/fs/v7fs/v7fs_vnops.c
222
attr.gid = kauth_cred_getegid(cr);
sys/fs/v7fs/v7fs_vnops.c
223
attr.mode = va->va_mode | vtype_to_v7fs_mode (va->va_type);
sys/fs/v7fs/v7fs_vnops.c
224
attr.device = 0;
sys/fs/v7fs/v7fs_vnops.c
228
a->a_cnp->cn_nameptr, a->a_cnp->cn_namelen, &attr, &ino))) {
sys/fs/v7fs/v7fs_vnops.c
273
struct v7fs_fileattr attr;
sys/fs/v7fs/v7fs_vnops.c
280
memset(&attr, 0, sizeof(attr));
sys/fs/v7fs/v7fs_vnops.c
281
attr.uid = kauth_cred_geteuid(cr);
sys/fs/v7fs/v7fs_vnops.c
282
attr.gid = kauth_cred_getegid(cr);
sys/fs/v7fs/v7fs_vnops.c
283
attr.mode = va->va_mode | vtype_to_v7fs_mode(va->va_type);
sys/fs/v7fs/v7fs_vnops.c
284
attr.device = va->va_rdev;
sys/fs/v7fs/v7fs_vnops.c
287
cnp->cn_nameptr, cnp->cn_namelen, &attr, &ino)))
sys/fs/v7fs/v7fs_vnops.c
850
struct v7fs_fileattr attr;
sys/fs/v7fs/v7fs_vnops.c
856
memset(&attr, 0, sizeof(attr));
sys/fs/v7fs/v7fs_vnops.c
857
attr.uid = kauth_cred_geteuid(cr);
sys/fs/v7fs/v7fs_vnops.c
858
attr.gid = kauth_cred_getegid(cr);
sys/fs/v7fs/v7fs_vnops.c
859
attr.mode = va->va_mode | vtype_to_v7fs_mode(va->va_type);
sys/fs/v7fs/v7fs_vnops.c
862
cnp->cn_nameptr, cnp->cn_namelen, &attr, &ino)))
sys/kern/kern_exec.c
1055
struct vattr *attr = &data->ed_attr;
sys/kern/kern_exec.c
1065
(((attr->va_mode & S_ISUID) != 0 &&
sys/kern/kern_exec.c
1066
kauth_cred_geteuid(l->l_cred) != attr->va_uid) ||
sys/kern/kern_exec.c
1068
((attr->va_mode & S_ISGID) != 0 &&
sys/kern/kern_exec.c
1069
kauth_cred_getegid(l->l_cred) != attr->va_gid))) {
sys/kern/kern_exec.c
1106
if (attr->va_mode & S_ISUID)
sys/kern/kern_exec.c
1107
kauth_cred_seteuid(l->l_cred, attr->va_uid);
sys/kern/kern_exec.c
1108
if (attr->va_mode & S_ISGID)
sys/kern/kern_exec.c
1109
kauth_cred_setegid(l->l_cred, attr->va_gid);
sys/kern/sys_mqueue.c
1007
struct mq_attr attr;
sys/kern/sys_mqueue.c
1014
memcpy(&attr, &mq->mq_attrib, sizeof(struct mq_attr));
sys/kern/sys_mqueue.c
1018
return copyout(&attr, SCARG(uap, mqstat), sizeof(struct mq_attr));
sys/kern/sys_mqueue.c
1031
struct mq_attr attr;
sys/kern/sys_mqueue.c
1034
error = copyin(SCARG(uap, mqstat), &attr, sizeof(struct mq_attr));
sys/kern/sys_mqueue.c
1037
nonblock = (attr.mq_flags & O_NONBLOCK);
sys/kern/sys_mqueue.c
1046
memcpy(&attr, &mq->mq_attrib, sizeof(struct mq_attr));
sys/kern/sys_mqueue.c
1064
error = copyout(&attr, SCARG(uap, omqstat),
sys/kern/sys_mqueue.c
413
mqueue_create(lwp_t *l, char *name, struct mq_attr *attr, mode_t mode,
sys/kern/sys_mqueue.c
427
if (attr) {
sys/kern/sys_mqueue.c
428
if (attr->mq_maxmsg <= 0 || attr->mq_maxmsg > mq_max_maxmsg ||
sys/kern/sys_mqueue.c
429
attr->mq_msgsize <= 0 ||
sys/kern/sys_mqueue.c
430
attr->mq_msgsize > mq_max_msgsize) {
sys/kern/sys_mqueue.c
433
attr->mq_curmsgs = 0;
sys/kern/sys_mqueue.c
453
if (attr != NULL) {
sys/kern/sys_mqueue.c
454
memcpy(&mq->mq_attrib, attr, sizeof(struct mq_attr));
sys/kern/sys_mqueue.c
479
struct mq_attr *attr, register_t *retval)
sys/kern/sys_mqueue.c
515
error = mqueue_create(l, name, attr, mode, oflag, &mq_new);
sys/kern/sys_mqueue.c
601
struct mq_attr *attr = NULL, a;
sys/kern/sys_mqueue.c
607
if ((SCARG(uap, oflag) & O_CREAT) != 0 && SCARG(uap, attr) != NULL) {
sys/kern/sys_mqueue.c
608
error = copyin(SCARG(uap, attr), &a, sizeof(a));
sys/kern/sys_mqueue.c
611
attr = &a;
sys/kern/sys_mqueue.c
615
SCARG(uap, mode), attr, retval);
sys/kern/systrace_args.c
1908
uarg[3] = (intptr_t) SCARG(p, attr); /* struct mq_attr * */
sys/net/npf/npf_ruleset.c
137
#define NPF_DYNAMIC_GROUP_P(attr) \
sys/net/npf/npf_ruleset.c
138
(((attr) & NPF_DYNAMIC_GROUP) == NPF_DYNAMIC_GROUP)
sys/net/npf/npf_ruleset.c
140
#define NPF_DYNAMIC_RULE_P(attr) \
sys/net/npf/npf_ruleset.c
141
(((attr) & NPF_DYNAMIC_GROUP) == NPF_RULE_DYNAMIC)
sys/net/npf/npf_ruleset.c
926
const uint32_t attr = rl->r_attr;
sys/net/npf/npf_ruleset.c
934
if (!(((layer == NPF_RULE_LAYER_3 && ((attr & (NPF_RULE_LAYER_2 | NPF_RULE_LAYER_3)) == 0)) ||
sys/net/npf/npf_ruleset.c
935
(attr & layer)))) {
sys/net/npf/npf_ruleset.c
944
if ((attr & NPF_DYNAMIC_GROUP) == NPF_RULE_GROUP && final_rl) {
sys/net/npf/npf_ruleset.c
954
if (NPF_DYNAMIC_GROUP_P(attr)) {
sys/net/npf/npf_ruleset.c
964
} else if ((attr & NPF_RULE_GROUP) == 0) {
sys/net/npf/npf_ruleset.c
972
if (attr & NPF_RULE_FINAL) {
sys/nfs/nfs_kq.c
117
struct vattr attr;
sys/nfs/nfs_kq.c
125
if (nfs_getattrcache(ke->vp, &attr) != ENOENT)
sys/nfs/nfs_kq.c
138
memset(&attr, 0, sizeof(attr));
sys/nfs/nfs_kq.c
140
(void) VOP_GETATTR(ke->vp, &attr, l->l_cred);
sys/nfs/nfs_kq.c
145
if (attr.va_size != osize) {
sys/nfs/nfs_kq.c
146
int extended = (attr.va_size > osize);
sys/nfs/nfs_kq.c
149
ke->omtime = attr.va_mtime;
sys/nfs/nfs_kq.c
150
} else if (attr.va_mtime.tv_sec != ke->omtime.tv_sec
sys/nfs/nfs_kq.c
151
|| attr.va_mtime.tv_nsec != ke->omtime.tv_nsec) {
sys/nfs/nfs_kq.c
153
ke->omtime = attr.va_mtime;
sys/nfs/nfs_kq.c
156
if (attr.va_ctime.tv_sec != ke->octime.tv_sec
sys/nfs/nfs_kq.c
157
|| attr.va_ctime.tv_nsec != ke->octime.tv_nsec) {
sys/nfs/nfs_kq.c
159
ke->octime = attr.va_ctime;
sys/nfs/nfs_kq.c
162
if (attr.va_nlink != ke->onlink) {
sys/nfs/nfs_kq.c
164
ke->onlink = attr.va_nlink;
sys/nfs/nfs_kq.c
302
struct vattr attr;
sys/nfs/nfs_kq.c
327
memset(&attr, 0, sizeof(attr));
sys/nfs/nfs_kq.c
329
(void) VOP_GETATTR(vp, &attr, l->l_cred);
sys/nfs/nfs_kq.c
358
ke->omtime = attr.va_mtime;
sys/nfs/nfs_kq.c
359
ke->octime = attr.va_ctime;
sys/nfs/nfs_kq.c
360
ke->onlink = attr.va_nlink;
sys/nfs/nfs_serv.c
542
struct vattr attr;
sys/nfs/nfs_serv.c
595
getret = VOP_GETATTR(vp, &attr, cred);
sys/nfs/nfs_serv.c
601
nfsm_srvpostop_attr(getret, &attr);
sys/nfs/nfs_vfsops.c
322
struct vattr attr;
sys/nfs/nfs_vfsops.c
375
error = VOP_GETATTR(vp, &attr, l->l_cred);
sys/nfs/nfs_vfsops.c
379
n = attr.va_atime.tv_sec;
sys/rump/dev/lib/libpci/rumpdev_pci.c
152
int attr, uint64_t data)
sys/rump/dev/lib/libpci/rumpdev_pci.c
155
switch (attr) {
sys/rump/librump/rumpvfs/rumpfs.c
848
struct vattr *attr = &rnode->rn_va;
sys/rump/librump/rumpvfs/rumpfs.c
851
vp->v_type, attr->va_mode), vp, NULL, genfs_can_access(vp, cred,
sys/rump/librump/rumpvfs/rumpfs.c
852
attr->va_uid, attr->va_gid, attr->va_mode, NULL, accmode));
sys/rump/librump/rumpvfs/rumpfs.c
905
struct vattr *attr = &rn->rn_va;
sys/rump/librump/rumpvfs/rumpfs.c
921
NULL, genfs_can_chtimes(vp, cred, attr->va_uid,
sys/rump/librump/rumpvfs/rumpfs.c
950
NULL, genfs_can_chflags(vp, cred, attr->va_uid, false));
sys/rump/librump/rumpvfs/rumpfs.c
961
(vap->va_uid != (uid_t)VNOVAL) ? vap->va_uid : attr->va_uid;
sys/rump/librump/rumpvfs/rumpfs.c
963
(vap->va_gid != (gid_t)VNOVAL) ? vap->va_gid : attr->va_gid;
sys/rump/librump/rumpvfs/rumpfs.c
966
genfs_can_chown(vp, cred, attr->va_uid, attr->va_gid, uid,
sys/rump/librump/rumpvfs/rumpfs.c
970
attr->va_uid = uid;
sys/rump/librump/rumpvfs/rumpfs.c
971
attr->va_gid = gid;
sys/rump/librump/rumpvfs/rumpfs.c
977
vp, NULL, genfs_can_chmod(vp, cred, attr->va_uid,
sys/rump/librump/rumpvfs/rumpfs.c
978
attr->va_gid, mode));
sys/rump/librump/rumpvfs/rumpfs.c
981
attr->va_mode = mode;
sys/sys/syscallargs.h
1653
syscallarg(struct mq_attr *) attr;
sys/sys/tree.h
381
#define RB_PROTOTYPE_INTERNAL(name, type, field, cmp, attr) \
sys/sys/tree.h
382
attr void name##_RB_INSERT_COLOR(struct name *, struct type *); \
sys/sys/tree.h
383
attr void name##_RB_REMOVE_COLOR(struct name *, struct type *, struct type *);\
sys/sys/tree.h
384
attr struct type *name##_RB_REMOVE(struct name *, struct type *); \
sys/sys/tree.h
385
attr struct type *name##_RB_INSERT(struct name *, struct type *); \
sys/sys/tree.h
386
attr struct type *name##_RB_FIND(struct name *, struct type *); \
sys/sys/tree.h
387
attr struct type *name##_RB_NFIND(struct name *, struct type *); \
sys/sys/tree.h
388
attr struct type *name##_RB_NEXT(struct type *); \
sys/sys/tree.h
389
attr struct type *name##_RB_PREV(struct type *); \
sys/sys/tree.h
390
attr struct type *name##_RB_MINMAX(struct name *, int); \
sys/sys/tree.h
400
#define RB_GENERATE_INTERNAL(name, type, field, cmp, attr) \
sys/sys/tree.h
401
attr void \
sys/sys/tree.h
445
attr void \
sys/sys/tree.h
523
attr struct type * \
sys/sys/tree.h
591
attr struct type * \
sys/sys/tree.h
622
attr struct type * \
sys/sys/tree.h
640
attr struct type * \
sys/sys/tree.h
661
attr struct type * \
sys/sys/tree.h
683
attr struct type * \
sys/sys/tree.h
704
attr struct type * \
tests/kernel/arch/aarch64/execregs.c
167
posix_spawnattr_t attr;
tests/kernel/arch/aarch64/execregs.c
177
error = posix_spawnattr_init(&attr);
tests/kernel/arch/aarch64/execregs.c
215
error = posix_spawn(&pid, path, &fileacts, &attr, argv, envp);
tests/kernel/arch/aarch64/execregs.c
219
out: posix_spawnattr_destroy(&attr);
tests/kernel/arch/hppa/execregs.c
322
posix_spawnattr_t attr;
tests/kernel/arch/hppa/execregs.c
332
error = posix_spawnattr_init(&attr);
tests/kernel/arch/hppa/execregs.c
376
error = posix_spawn(&pid, path, &fileacts, &attr, argv, envp);
tests/kernel/arch/hppa/execregs.c
380
out: posix_spawnattr_destroy(&attr);
tests/kernel/arch/i386/execregs.c
104
error = posix_spawnattr_init(&attr);
tests/kernel/arch/i386/execregs.c
121
error = posix_spawn(&pid, path, &fileacts, &attr, argv, envp);
tests/kernel/arch/i386/execregs.c
125
out: posix_spawnattr_destroy(&attr);
tests/kernel/arch/i386/execregs.c
94
posix_spawnattr_t attr;
tests/kernel/arch/vax/execregs.c
121
posix_spawnattr_t attr;
tests/kernel/arch/vax/execregs.c
131
error = posix_spawnattr_init(&attr);
tests/kernel/arch/vax/execregs.c
155
error = posix_spawn(&pid, path, &fileacts, &attr, argv, envp);
tests/kernel/arch/vax/execregs.c
159
out: posix_spawnattr_destroy(&attr);
tests/kernel/arch/x86_64/execregs.c
116
posix_spawnattr_t attr;
tests/kernel/arch/x86_64/execregs.c
126
error = posix_spawnattr_init(&attr);
tests/kernel/arch/x86_64/execregs.c
145
error = posix_spawn(&pid, path, &fileacts, &attr, argv, envp);
tests/kernel/arch/x86_64/execregs.c
149
out: posix_spawnattr_destroy(&attr);
tests/kernel/t_signal_and_sp.c
512
pthread_attr_t attr;
tests/kernel/t_signal_and_sp.c
514
RZ(pthread_attr_init(&attr));
tests/kernel/t_signal_and_sp.c
515
RZ(pthread_attr_setstack(&attr, stack, SIGSTKSZ + i));
tests/kernel/t_signal_and_sp.c
516
RZ(pthread_create(&t, &attr, &threadspfunc, NULL));
tests/kernel/t_signal_and_sp.c
517
RZ(pthread_attr_destroy(&attr));
tests/kernel/t_signal_and_sp.c
532
pthread_attr_t attr;
tests/kernel/t_signal_and_sp.c
534
RZ(pthread_attr_init(&attr));
tests/kernel/t_signal_and_sp.c
535
RZ(pthread_attr_setstack(&attr, stack + i, SIGSTKSZ));
tests/kernel/t_signal_and_sp.c
536
RZ(pthread_create(&t, &attr, &threadspfunc, NULL));
tests/kernel/t_signal_and_sp.c
537
RZ(pthread_attr_destroy(&attr));
tests/lib/libbluetooth/t_sdp_get.c
107
uint16_t attr;
tests/lib/libbluetooth/t_sdp_get.c
113
ATF_REQUIRE(sdp_get_attr(&test, &attr, &value));
tests/lib/libbluetooth/t_sdp_get.c
114
ATF_CHECK_EQ(attr, 0x0000);
tests/lib/libbluetooth/t_sdp_get.c
118
ATF_REQUIRE_EQ(sdp_get_attr(&test, &attr, &value), false);
tests/lib/libbluetooth/t_sdp_get.c
123
ATF_REQUIRE(sdp_get_attr(&test, &attr, &value));
tests/lib/libbluetooth/t_sdp_get.c
124
ATF_CHECK_EQ(attr, 0x0001);
tests/lib/libc/gen/posix_spawn/t_fileactions.c
248
posix_spawnattr_t attr;
tests/lib/libc/gen/posix_spawn/t_fileactions.c
251
RZ(posix_spawnattr_init(&attr));
tests/lib/libc/gen/posix_spawn/t_fileactions.c
259
RZ(posix_spawnattr_setflags(&attr, POSIX_SPAWN_RETURNERROR));
tests/lib/libc/gen/posix_spawn/t_fileactions.c
263
err = posix_spawn(&pid, "/bin/cat", &fa, &attr, args, NULL);
tests/lib/libc/gen/posix_spawn/t_fileactions.c
266
RZ(posix_spawnattr_destroy(&attr));
tests/lib/libc/gen/posix_spawn/t_fileactions.c
368
posix_spawnattr_t attr;
tests/lib/libc/gen/posix_spawn/t_fileactions.c
387
RZ(posix_spawnattr_init(&attr));
tests/lib/libc/gen/posix_spawn/t_fileactions.c
388
RZ(posix_spawnattr_setflags(&attr, POSIX_SPAWN_SETPGROUP));
tests/lib/libc/gen/posix_spawn/t_fileactions.c
390
RZ(posix_spawn(&pid, "/bin/ls", &fa, &attr, args, NULL));
tests/lib/libc/gen/posix_spawn/t_spawn.c
211
posix_spawnattr_t attr, *attr_p;
tests/lib/libc/gen/posix_spawn/t_spawn.c
239
RZ(posix_spawnattr_init(&attr));
tests/lib/libc/gen/posix_spawn/t_spawn.c
248
RZ(posix_spawnattr_setflags(&attr, POSIX_SPAWN_RETURNERROR));
tests/lib/libc/gen/posix_spawn/t_spawn.c
249
attr_p = &attr;
tests/lib/libc/gen/posix_spawn/t_spawn.c
258
RZ(posix_spawnattr_destroy(&attr));
tests/lib/libc/gen/posix_spawn/t_spawn.c
493
posix_spawnattr_t attr;
tests/lib/libc/gen/posix_spawn/t_spawn.c
497
RZ(posix_spawnattr_init(&attr));
tests/lib/libc/gen/posix_spawn/t_spawn.c
505
RZ(posix_spawnattr_setflags(&attr, POSIX_SPAWN_RETURNERROR));
tests/lib/libc/gen/posix_spawn/t_spawn.c
509
error = posix_spawn(&pid, "/bin/pwd", &fa, &attr, args, NULL);
tests/lib/libc/gen/posix_spawn/t_spawn.c
513
RZ(posix_spawnattr_destroy(&attr));
tests/lib/libc/gen/posix_spawn/t_spawnattr.c
113
posix_spawnattr_t attr;
tests/lib/libc/gen/posix_spawn/t_spawnattr.c
122
RZ(posix_spawnattr_init(&attr));
tests/lib/libc/gen/posix_spawn/t_spawnattr.c
132
RZ(posix_spawnattr_setflags(&attr, POSIX_SPAWN_SETSCHEDULER |
tests/lib/libc/gen/posix_spawn/t_spawnattr.c
136
RZ(posix_spawnattr_setpgroup(&attr, 0));
tests/lib/libc/gen/posix_spawn/t_spawnattr.c
137
RZ(posix_spawnattr_setschedparam(&attr, &sp));
tests/lib/libc/gen/posix_spawn/t_spawnattr.c
138
RZ(posix_spawnattr_setschedpolicy(&attr, scheduler));
tests/lib/libc/gen/posix_spawn/t_spawnattr.c
139
RZ(posix_spawnattr_setsigmask(&attr, &sig));
tests/lib/libc/gen/posix_spawn/t_spawnattr.c
140
RZ(posix_spawnattr_setsigdefault(&attr, &sig));
tests/lib/libc/gen/posix_spawn/t_spawnattr.c
144
RZ(posix_spawn(&pid, helper, NULL, &attr, args, NULL));
tests/lib/libc/gen/posix_spawn/t_spawnattr.c
169
RZ(posix_spawnattr_destroy(&attr));
tests/lib/libc/gen/posix_spawn/t_spawnattr.c
186
posix_spawnattr_t attr;
tests/lib/libc/gen/posix_spawn/t_spawnattr.c
190
RZ(posix_spawnattr_init(&attr));
tests/lib/libc/gen/posix_spawn/t_spawnattr.c
191
RZ(posix_spawnattr_setflags(&attr, POSIX_SPAWN_RESETIDS));
tests/lib/libc/gen/posix_spawn/t_spawnattr.c
196
RZ(posix_spawn(&pid, buf, NULL, &attr, args, NULL));
tests/lib/libc/gen/posix_spawn/t_spawnattr.c
202
RZ(posix_spawnattr_destroy(&attr));
tests/lib/libcurses/slave/curses_commands.c
2864
int attr;
tests/lib/libcurses/slave/curses_commands.c
2871
report_return(wattr_get(win, &attr, &pair, NULL));
tests/lib/libcurses/slave/curses_commands.c
2872
report_int(attr);
tests/lib/libcurses/slave/curses_commands.c
2882
ARG_INT(attr);
tests/lib/libcurses/slave/curses_commands.c
2885
report_return(wattr_off(win, attr, NULL));
tests/lib/libcurses/slave/curses_commands.c
2894
ARG_INT(attr);
tests/lib/libcurses/slave/curses_commands.c
2897
report_return(wattr_on(win, attr, NULL));
tests/lib/libcurses/slave/curses_commands.c
2906
ARG_INT(attr);
tests/lib/libcurses/slave/curses_commands.c
2910
report_return(wattr_set(win, attr, pair, NULL));
tests/lib/libcurses/slave/curses_commands.c
2919
ARG_INT(attr);
tests/lib/libcurses/slave/curses_commands.c
2922
report_return(wattroff(win, attr));
tests/lib/libcurses/slave/curses_commands.c
2931
ARG_INT(attr);
tests/lib/libcurses/slave/curses_commands.c
2934
report_return(wattron(win, attr));
tests/lib/libcurses/slave/curses_commands.c
2943
ARG_INT(attr);
tests/lib/libcurses/slave/curses_commands.c
2946
report_return(wattrset(win, attr));
tests/lib/libcurses/slave/curses_commands.c
3554
ARG_INT(attr);
tests/lib/libcurses/slave/curses_commands.c
3559
report_return(chgat(n, attr, colour, NULL));
tests/lib/libcurses/slave/curses_commands.c
3569
ARG_INT(attr);
tests/lib/libcurses/slave/curses_commands.c
3574
report_return(wchgat(win, n, attr, colour, NULL));
tests/lib/libcurses/slave/curses_commands.c
3585
ARG_INT(attr);
tests/lib/libcurses/slave/curses_commands.c
3590
report_return(mvchgat(y, x, n, attr, colour, NULL));
tests/lib/libcurses/slave/curses_commands.c
3602
ARG_INT(attr);
tests/lib/libcurses/slave/curses_commands.c
3607
report_return(mvwchgat(win, y, x, n, attr, colour, NULL));
tests/lib/libpthread/dlopen/dso/h_pthread_dlopen.c
77
testf_dso_pthread_create(pthread_t *thread, const pthread_attr_t *attr,
tests/lib/libpthread/dlopen/dso/h_pthread_dlopen.c
82
ret = pthread_create(thread, attr, routine, arg);
tests/lib/libpthread/t_condwait.c
55
pthread_condattr_t attr;
tests/lib/libpthread/t_condwait.c
62
PTHREAD_REQUIRE(pthread_condattr_init(&attr));
tests/lib/libpthread/t_condwait.c
63
PTHREAD_REQUIRE(pthread_condattr_setclock(&attr, clck));
tests/lib/libpthread/t_condwait.c
64
pthread_cond_init(&cond, &attr);
tests/lib/libpthread/t_detach.c
60
pthread_attr_t attr;
tests/lib/libpthread/t_detach.c
67
PTHREAD_REQUIRE(pthread_attr_init(&attr));
tests/lib/libpthread/t_detach.c
68
PTHREAD_REQUIRE(pthread_attr_setdetachstate(&attr, state));
tests/lib/libpthread/t_detach.c
69
PTHREAD_REQUIRE(pthread_create(&t, &attr, func, NULL));
tests/lib/libpthread/t_join.c
100
ATF_REQUIRE(pthread_attr_init(&attr) == 0);
tests/lib/libpthread/t_join.c
106
ATF_REQUIRE(pthread_attr_setstacksize(&attr, STACKSIZE * (i + 1)) == 0);
tests/lib/libpthread/t_join.c
107
ATF_REQUIRE(pthread_attr_setguardsize(&attr, STACKSIZE * (i + 2)) == 0);
tests/lib/libpthread/t_join.c
109
rv = pthread_create(&thread[i], &attr, threadfunc2, (void *)i);
tests/lib/libpthread/t_join.c
139
ATF_REQUIRE(pthread_attr_destroy(&attr) == 0);
tests/lib/libpthread/t_join.c
151
pthread_attr_t attr;
tests/lib/libpthread/t_join.c
156
ATF_REQUIRE(pthread_getattr_np(pthread_self(), &attr) == 0);
tests/lib/libpthread/t_join.c
157
ATF_REQUIRE(pthread_attr_getstacksize(&attr, &stacksize) == 0);
tests/lib/libpthread/t_join.c
159
ATF_REQUIRE(pthread_attr_getguardsize(&attr, &guardsize) == 0);
tests/lib/libpthread/t_join.c
161
ATF_REQUIRE(pthread_attr_destroy(&attr) == 0);
tests/lib/libpthread/t_join.c
77
pthread_attr_t attr;
tests/lib/libpthread/t_name.c
77
pthread_attr_t attr;
tests/lib/libpthread/t_name.c
80
PTHREAD_REQUIRE(pthread_attr_init(&attr));
tests/lib/libpthread/t_name.c
81
PTHREAD_REQUIRE(pthread_attr_getname_np(&attr, retname,
tests/lib/libpthread/t_name.c
84
ATF_REQUIRE_EQ(pthread_attr_setname_np(&attr, NAME_TOO_LONG, NULL), EINVAL);
tests/lib/libpthread/t_name.c
85
PTHREAD_REQUIRE(pthread_attr_setname_np(&attr, "%s",
tests/lib/libpthread/t_name.c
92
PTHREAD_REQUIRE(pthread_create(&thr, &attr, threadfunc, NULL));
tests/lib/libpthread/t_stack.c
281
pthread_attr_t attr;
tests/lib/libpthread/t_stack.c
288
RZ(pthread_getattr_np(t, &attr));
tests/lib/libpthread/t_stack.c
289
RZ(pthread_attr_getstack(&attr, &addr, &size));
tests/lib/libpthread/t_stack.c
290
RZ(pthread_attr_getguardsize(&attr, &guardsize));
tests/lib/libpthread/t_stack.c
329
pthread_attr_t attr;
tests/lib/libpthread/t_stack.c
365
RZ(pthread_getattr_np(t, &attr));
tests/lib/libpthread/t_stack.c
366
RZ(pthread_attr_getstack(&attr, &addr, &size));
tests/lib/libpthread/t_stack.c
367
RZ(pthread_attr_getstacksize(&attr, &size0));
tests/lib/libpthread/t_stack.c
393
pthread_attr_t attr;
tests/lib/libpthread/t_stack.c
406
RZ(pthread_attr_init(&attr));
tests/lib/libpthread/t_stack.c
407
RZ(pthread_attr_setstack(&attr, C->addr, C->size));
tests/lib/libpthread/t_stack.c
408
RZ(pthread_create(&t, &attr, &checkaddraccessthread, C));
tests/lib/libpthread/t_stack.c
415
RZ(pthread_create(&t2, &attr, &checkaddraccessthread, C));
tests/lib/libpthread/t_stack.c
428
pthread_attr_t attr, attr2;
tests/lib/libpthread/t_stack.c
448
RZ(pthread_getattr_np(t, &attr));
tests/lib/libpthread/t_stack.c
479
RZ(pthread_attr_getstacksize(&attr, &size));
tests/lib/libpthread/t_stack.c
73
pthread_attr_t attr;
tests/lib/libpthread/t_stack.c
80
RZ(pthread_getattr_np(pthread_self(), &attr));
tests/lib/libpthread/t_stack.c
81
RZ(pthread_attr_getstacksize(&attr, &stacksize));
tests/lib/libpthread/t_stack.c
82
RZ(pthread_attr_destroy(&attr));
tests/lib/libpthread/weak/lib/h_pthread_weak.c
62
pthread_attr_t attr;
tests/lib/libpthread/weak/lib/h_pthread_weak.c
66
RZ(pthread_attr_init(&attr));
tests/lib/libpthread/weak/lib/h_pthread_weak.c
67
RZ(pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_JOINABLE));
tests/lib/libpthread/weak/lib/h_pthread_weak.c
69
RZ(pthread_attr_destroy(&attr));
usr.bin/config/defs.h
219
struct attr *al_this;
usr.bin/config/defs.h
243
struct attr *p_iattr; /* interface attribute of parent */
usr.bin/config/defs.h
289
struct attr *d_classattr; /* device class attribute (if any) */
usr.bin/config/defs.h
369
struct attr *fi_attr; /* owner attr */
usr.bin/config/defs.h
521
extern struct attr allattr;
usr.bin/config/defs.h
679
struct attrlist *attrlist_cons(struct attrlist *, struct attr *);
usr.bin/config/files.c
223
struct attr *a;
usr.bin/config/gram.y
1272
mk_attrlist(struct attrlist *next, struct attr *a)
usr.bin/config/gram.y
135
static struct attrlist *mk_attrlist(struct attrlist *, struct attr *);
usr.bin/config/gram.y
156
struct attr *attr;
usr.bin/config/gram.y
201
%type <attr> depend
usr.bin/config/lint.c
127
do_emit_instances(struct devbase *d, struct attr *at)
usr.bin/config/lint.c
132
struct attr *a;
usr.bin/config/main.c
1234
struct attr *a;
usr.bin/config/main.c
1948
struct attr *at;
usr.bin/config/main.c
2006
do_kill_orphans(struct devbase *d, struct attr *at, struct devbase *parent,
usr.bin/config/main.c
2011
struct attr *a;
usr.bin/config/main.c
207
static void do_kill_orphans(struct devbase *, struct attr *,
usr.bin/config/main.c
656
struct attr *a;
usr.bin/config/main.c
814
struct attr *a;
usr.bin/config/mkheaders.c
308
struct attr *a;
usr.bin/config/mkioconf.c
182
struct attr *a;
usr.bin/config/mkioconf.c
218
struct attr *a;
usr.bin/config/mkioconf.c
453
struct attr *a;
usr.bin/config/mkmakefile.c
382
static void weighattr(struct attr *a);
usr.bin/config/mkmakefile.c
385
struct attr **attrbuf;
usr.bin/config/mkmakefile.c
397
qsort(attrbuf, attridx, sizeof(struct attr *), attrcmp);
usr.bin/config/mkmakefile.c
410
struct attr *a = v;
usr.bin/config/mkmakefile.c
429
struct attr *a = v;
usr.bin/config/mkmakefile.c
436
weighattr(struct attr *a)
usr.bin/config/mkmakefile.c
449
const struct attr * const *a = l, * const *b = r;
usr.bin/config/mkmakefile.c
479
struct attr *a = v;
usr.bin/config/sem.c
102
struct attr *attr;
usr.bin/config/sem.c
1192
static struct attr *
usr.bin/config/sem.c
1199
struct attr *attr;
usr.bin/config/sem.c
1237
attr = ht_lookup(attrtab, cp);
usr.bin/config/sem.c
1240
if (attr != NULL && onlist(attr->a_devs, ib))
usr.bin/config/sem.c
1241
return attr;
usr.bin/config/sem.c
1261
attr = al->al_this;
usr.bin/config/sem.c
1262
if (onlist(attr->a_devs, ib))
usr.bin/config/sem.c
1263
return attr;
usr.bin/config/sem.c
1278
struct attr *attr; /* attribute that allows attach */
usr.bin/config/sem.c
128
addvalue(int type, struct attr *a, void *value)
usr.bin/config/sem.c
1289
attr = finddevattr(name, at, ib, &ab, &atunit);
usr.bin/config/sem.c
1290
if (attr == NULL) {
usr.bin/config/sem.c
1298
attr == &errattr ? NULL : attr))
usr.bin/config/sem.c
1305
if (attr != &errattr) {
usr.bin/config/sem.c
1318
if (attr != &errattr) {
usr.bin/config/sem.c
132
vt->attr = a;
usr.bin/config/sem.c
1326
p = getpspec(attr, ab, atunit, first);
usr.bin/config/sem.c
1331
if ((i->i_locs = fixloc(name, attr, loclist)) == NULL) {
usr.bin/config/sem.c
1569
struct attr *a;
usr.bin/config/sem.c
1712
struct attr *attr;
usr.bin/config/sem.c
1735
attr = ht_lookup(attrtab, intern(buf));
usr.bin/config/sem.c
1736
if (!(attr && attr->a_iattr)) {
usr.bin/config/sem.c
175
static struct attr *
usr.bin/config/sem.c
1753
fakedev->d_attrs = attrlist_cons(NULL, attr);
usr.bin/config/sem.c
176
finddep(struct attr *a, const char *name)
usr.bin/config/sem.c
181
struct attr *this = al->al_this;
usr.bin/config/sem.c
191
struct attr *a, *newa;
usr.bin/config/sem.c
1938
getpspec(struct attr *attr, struct devbase *ab, int atunit, int first)
usr.bin/config/sem.c
1945
if (p->p_iattr == attr && p->p_atdev == ab &&
usr.bin/config/sem.c
1960
p->p_iattr = attr;
usr.bin/config/sem.c
207
struct attr *devattr, *a;
usr.bin/config/sem.c
2083
struct attr *a;
usr.bin/config/sem.c
2092
struct attr *a;
usr.bin/config/sem.c
2099
selectattr(struct attr *a)
usr.bin/config/sem.c
2102
struct attr *dep;
usr.bin/config/sem.c
2117
struct attr *a = arg;
usr.bin/config/sem.c
2126
if (!vt->attr->a_deselected)
usr.bin/config/sem.c
2148
deselectattr(struct attr *a)
usr.bin/config/sem.c
2180
struct attr *a;
usr.bin/config/sem.c
2191
struct attr *devattr;
usr.bin/config/sem.c
2237
fixloc(const char *name, struct attr *attr, struct loclist *got)
usr.bin/config/sem.c
2252
if (attr->a_loclen == 0) /* e.g., "at root" */
usr.bin/config/sem.c
2255
lp = emalloc((size_t)(attr->a_loclen + 1) * sizeof(const char *));
usr.bin/config/sem.c
2261
for (ord = 0, m = attr->a_locs; m != NULL; m = m->ll_next, ord++) {
usr.bin/config/sem.c
2274
if (ord != attr->a_loclen)
usr.bin/config/sem.c
344
struct attr *a, *dep;
usr.bin/config/sem.c
380
struct attr *
usr.bin/config/sem.c
383
struct attr *a;
usr.bin/config/sem.c
404
struct attr *a;
usr.bin/config/sem.c
434
struct attr *a;
usr.bin/config/sem.c
467
has_errobj(struct attrlist *al, struct attr *obj)
usr.bin/config/sem.c
481
has_attr(struct attrlist *al, const char *attr)
usr.bin/config/sem.c
483
struct attr *a;
usr.bin/config/sem.c
485
if ((a = getattr(attr)) == NULL)
usr.bin/config/sem.c
658
struct attr *a;
usr.bin/config/sem.c
71
struct attr allattr;
usr.bin/config/sem.c
74
static struct attr errattr;
usr.bin/config/sem.c
78
static int has_errobj(struct attrlist *, struct attr *);
usr.bin/config/sem.c
798
struct attr *
usr.bin/config/sem.c
801
struct attr *a;
usr.bin/config/sem.c
813
struct attr *
usr.bin/config/sem.c
816
struct attr *a;
usr.bin/config/sem.c
82
static struct pspec *getpspec(struct attr *, struct devbase *, int, int);
usr.bin/config/sem.c
824
getrefattr(const char *name, struct attr **ra)
usr.bin/config/sem.c
826
struct attr *a;
usr.bin/config/sem.c
850
expandattr(struct attr *a, void (*callback)(struct attr *))
usr.bin/config/sem.c
853
struct attr *dep;
usr.bin/config/sem.c
90
static const char **fixloc(const char *, struct attr *, struct loclist *);
usr.bin/config/sem.h
58
struct attr *mkattr(const char *);
usr.bin/config/sem.h
59
struct attr *getattr(const char *);
usr.bin/config/sem.h
60
struct attr *refattr(const char *);
usr.bin/config/sem.h
61
int getrefattr(const char *, struct attr **);
usr.bin/config/sem.h
62
void expandattr(struct attr *, void (*)(struct attr *));
usr.bin/config/sem.h
65
void selectattr(struct attr *);
usr.bin/config/sem.h
66
void deselectattr(struct attr *);
usr.bin/config/util.c
346
attrlist_cons(struct attrlist *next, struct attr *a)
usr.bin/rfcomm_sppd/rfcomm_sppd.c
573
uint16_t attr;
usr.bin/rfcomm_sppd/rfcomm_sppd.c
651
if (!sdp_get_attr(&rec, &attr, &value)
usr.bin/rfcomm_sppd/rfcomm_sppd.c
652
|| attr != SDP_ATTR_PROTOCOL_DESCRIPTOR_LIST)
usr.bin/sdpquery/print.c
670
print_attribute(uint16_t id, sdp_data_t *value, attr_t *attr, size_t count)
usr.bin/sdpquery/print.c
675
if (id == attr[i].id) {
usr.bin/sdpquery/print.c
676
printf("%s", attr[i].desc);
usr.bin/sdpquery/print.c
689
if (attr[i].print == NULL) {
usr.bin/sdpquery/print.c
694
(attr[i].print)(value);
usr.bin/xlint/lint1/cgram.y
115
attribute_list_add(attribute_list *list, attribute attr)
usr.bin/xlint/lint1/cgram.y
126
list->attrs[list->len++] = attr;
usr.bin/xlint/lint1/cgram.y
140
attribute attr = { .name = xstrdup(name->sb_name) };
usr.bin/xlint/lint1/cgram.y
142
attr.prefix = xstrdup(prefix->sb_name);
usr.bin/xlint/lint1/cgram.y
144
attr.arg = block_zero_alloc(sizeof(*attr.arg),
usr.bin/xlint/lint1/cgram.y
146
*attr.arg = *arg;
usr.bin/xlint/lint1/cgram.y
148
return attr;
usr.bin/xlint/lint1/debug.c
607
const attribute *attr = list->attrs + i;
usr.bin/xlint/lint1/debug.c
609
if (attr->prefix != NULL)
usr.bin/xlint/lint1/debug.c
610
debug_printf("%s::", attr->prefix);
usr.bin/xlint/lint1/debug.c
611
debug_printf("%s", attr->name);
usr.bin/xlint/lint1/debug.c
612
if (attr->arg != NULL) {
usr.bin/xlint/lint1/debug.c
614
debug_balanced_token_sequence(attr->arg);
usr.bin/xlint/lint1/tree.c
721
const attribute *attr = attrs->attrs + i;
usr.bin/xlint/lint1/tree.c
722
if (attr->prefix == NULL && strcmp(attr->name, str) == 0)
usr.sbin/bta2dpd/bta2dpd/bta2dpd.c
1089
uint16_t attr;
usr.sbin/bta2dpd/bta2dpd/bta2dpd.c
1140
if (!sdp_get_attr(&rec, &attr, &value)
usr.sbin/bta2dpd/bta2dpd/bta2dpd.c
1141
|| attr != SDP_ATTR_PROTOCOL_DESCRIPTOR_LIST)
usr.sbin/btdevctl/sdp.c
218
uint16_t attr;
usr.sbin/btdevctl/sdp.c
225
while (sdp_get_attr(rec, &attr, &value)) {
usr.sbin/btdevctl/sdp.c
226
switch (attr) {
usr.sbin/btdevctl/sdp.c
280
uint16_t attr;
usr.sbin/btdevctl/sdp.c
288
while (sdp_get_attr(rec, &attr, &value)) {
usr.sbin/btdevctl/sdp.c
289
switch (attr) {
usr.sbin/btdevctl/sdp.c
355
uint16_t attr;
usr.sbin/btdevctl/sdp.c
359
while (sdp_get_attr(rec, &attr, &value)) {
usr.sbin/btdevctl/sdp.c
360
switch (attr) {
usr.sbin/btdevctl/sdp.c
390
uint16_t attr;
usr.sbin/btdevctl/sdp.c
394
while (sdp_get_attr(rec, &attr, &value)) {
usr.sbin/btdevctl/sdp.c
395
switch (attr) {
usr.sbin/btpand/client.c
182
uint16_t attr;
usr.sbin/btpand/client.c
233
if (!sdp_get_attr(&rec, &attr, &value)
usr.sbin/btpand/client.c
234
|| attr != SDP_ATTR_PROTOCOL_DESCRIPTOR_LIST)
usr.sbin/makefs/cd9660/cd9660_debug.c
87
printf("%c%c: L:%i",t->attr.su_entry.SP.h.type[0],
usr.sbin/makefs/cd9660/cd9660_debug.c
88
t->attr.su_entry.SP.h.type[1],
usr.sbin/makefs/cd9660/cd9660_debug.c
89
(int)t->attr.su_entry.SP.h.length[0]);
usr.sbin/makefs/cd9660/cd9660_write.c
481
fwrite(&(myattr->attr), CD9660_SUSP_ENTRY_SIZE(myattr), 1, fd);
usr.sbin/makefs/cd9660/iso9660_rrip.c
156
t->attr.su_entry.CE.ca_sector);
usr.sbin/makefs/cd9660/iso9660_rrip.c
161
t->attr.su_entry.CE.ca_sector);
usr.sbin/makefs/cd9660/iso9660_rrip.c
163
t->attr.su_entry.CE.offset);
usr.sbin/makefs/cd9660/iso9660_rrip.c
165
t->attr.su_entry.CE.length);
usr.sbin/makefs/cd9660/iso9660_rrip.c
187
t->attr.rr_entry.CL.dir_loc);
usr.sbin/makefs/cd9660/iso9660_rrip.c
197
t->attr.rr_entry.PL.dir_loc);
usr.sbin/makefs/cd9660/iso9660_rrip.c
329
struct ISO_SUSP_ATTRIBUTES *attr;
usr.sbin/makefs/cd9660/iso9660_rrip.c
339
attr = cd9660node_susp_create_node(SUSP_TYPE_RRIP,
usr.sbin/makefs/cd9660/iso9660_rrip.c
341
cd9660node_rrip_px(attr, node->node);
usr.sbin/makefs/cd9660/iso9660_rrip.c
343
TAILQ_INSERT_TAIL(&node->head, attr, rr_ll);
usr.sbin/makefs/cd9660/iso9660_rrip.c
346
attr = cd9660node_susp_create_node(SUSP_TYPE_RRIP,
usr.sbin/makefs/cd9660/iso9660_rrip.c
348
cd9660node_rrip_tf(attr, node->node);
usr.sbin/makefs/cd9660/iso9660_rrip.c
349
TAILQ_INSERT_TAIL(&node->head, attr, rr_ll);
usr.sbin/makefs/cd9660/iso9660_rrip.c
362
attr =
usr.sbin/makefs/cd9660/iso9660_rrip.c
366
cd9660node_rrip_pn(attr, node->node);
usr.sbin/makefs/cd9660/iso9660_rrip.c
367
TAILQ_INSERT_TAIL(&node->head, attr, rr_ll);
usr.sbin/makefs/cd9660/iso9660_rrip.c
463
temp->attr.su_entry.SP.h.type[0] = type_id[0];
usr.sbin/makefs/cd9660/iso9660_rrip.c
464
temp->attr.su_entry.SP.h.type[1] = type_id[1];
usr.sbin/makefs/cd9660/iso9660_rrip.c
471
p->attr.rr_entry.PL.h.length[0] = 12;
usr.sbin/makefs/cd9660/iso9660_rrip.c
472
p->attr.rr_entry.PL.h.version[0] = 1;
usr.sbin/makefs/cd9660/iso9660_rrip.c
479
p->attr.rr_entry.CL.h.length[0] = 12;
usr.sbin/makefs/cd9660/iso9660_rrip.c
480
p->attr.rr_entry.CL.h.version[0] = 1;
usr.sbin/makefs/cd9660/iso9660_rrip.c
487
p->attr.rr_entry.RE.h.length[0] = 4;
usr.sbin/makefs/cd9660/iso9660_rrip.c
488
p->attr.rr_entry.RE.h.version[0] = 1;
usr.sbin/makefs/cd9660/iso9660_rrip.c
510
current->attr.rr_entry.SL.h.version[0] = 1;
usr.sbin/makefs/cd9660/iso9660_rrip.c
511
current->attr.rr_entry.SL.flags[0] = SL_FLAGS_NONE;
usr.sbin/makefs/cd9660/iso9660_rrip.c
516
memcpy(current->attr.rr_entry.SL.component + path_count,
usr.sbin/makefs/cd9660/iso9660_rrip.c
552
current->attr.rr_entry.SL.flags[0] |= SL_FLAGS_CONTINUE;
usr.sbin/makefs/cd9660/iso9660_rrip.c
564
current->attr.rr_entry.SL.component +
usr.sbin/makefs/cd9660/iso9660_rrip.c
570
current->attr.rr_entry.SL.h.length[0] = path_count + 5;
usr.sbin/makefs/cd9660/iso9660_rrip.c
574
current->attr.rr_entry.SL.h.version[0] = 1;
usr.sbin/makefs/cd9660/iso9660_rrip.c
575
current->attr.rr_entry.SL.flags[0] = SL_FLAGS_NONE;
usr.sbin/makefs/cd9660/iso9660_rrip.c
581
current->attr.rr_entry.SL.component[
usr.sbin/makefs/cd9660/iso9660_rrip.c
586
current->attr.rr_entry.SL.component[1]
usr.sbin/makefs/cd9660/iso9660_rrip.c
591
current->attr.rr_entry.SL.component[
usr.sbin/makefs/cd9660/iso9660_rrip.c
600
memcpy(current->attr.rr_entry.SL.component +
usr.sbin/makefs/cd9660/iso9660_rrip.c
609
current->attr.rr_entry.SL.h.length[0] = path_count + 5;
usr.sbin/makefs/cd9660/iso9660_rrip.c
625
v->attr.rr_entry.PX.h.length[0] = 36;
usr.sbin/makefs/cd9660/iso9660_rrip.c
626
v->attr.rr_entry.PX.h.version[0] = 1;
usr.sbin/makefs/cd9660/iso9660_rrip.c
628
v->attr.rr_entry.PX.mode);
usr.sbin/makefs/cd9660/iso9660_rrip.c
630
v->attr.rr_entry.PX.links);
usr.sbin/makefs/cd9660/iso9660_rrip.c
632
v->attr.rr_entry.PX.uid);
usr.sbin/makefs/cd9660/iso9660_rrip.c
634
v->attr.rr_entry.PX.gid);
usr.sbin/makefs/cd9660/iso9660_rrip.c
643
pn_field->attr.rr_entry.PN.h.length[0] = 20;
usr.sbin/makefs/cd9660/iso9660_rrip.c
644
pn_field->attr.rr_entry.PN.h.version[0] = 1;
usr.sbin/makefs/cd9660/iso9660_rrip.c
649
pn_field->attr.rr_entry.PN.high);
usr.sbin/makefs/cd9660/iso9660_rrip.c
651
cd9660_bothendian_dword(0, pn_field->attr.rr_entry.PN.high);
usr.sbin/makefs/cd9660/iso9660_rrip.c
654
pn_field->attr.rr_entry.PN.low);
usr.sbin/makefs/cd9660/iso9660_rrip.c
663
p->attr.rr_entry.NM.h.type[0] = 'N';
usr.sbin/makefs/cd9660/iso9660_rrip.c
664
p->attr.rr_entry.NM.h.type[1] = 'M';
usr.sbin/makefs/cd9660/iso9660_rrip.c
665
sprintf(p->attr.rr_entry.NM.altname, "%s", file_node->isoDirRecord->name);
usr.sbin/makefs/cd9660/iso9660_rrip.c
666
p->attr.rr_entry.NM.h.length[0] = (unsigned char)nm_length;
usr.sbin/makefs/cd9660/iso9660_rrip.c
667
p->attr.rr_entry.NM.h.version[0] = (unsigned char)1;
usr.sbin/makefs/cd9660/iso9660_rrip.c
668
p->attr.rr_entry.NM.flags[0] = (unsigned char) NM_PARENT;
usr.sbin/makefs/cd9660/iso9660_rrip.c
676
p->attr.rr_entry.TF.flags[0] = TF_MODIFY | TF_ACCESS | TF_ATTRIBUTES;
usr.sbin/makefs/cd9660/iso9660_rrip.c
677
p->attr.rr_entry.TF.h.length[0] = 5;
usr.sbin/makefs/cd9660/iso9660_rrip.c
678
p->attr.rr_entry.TF.h.version[0] = 1;
usr.sbin/makefs/cd9660/iso9660_rrip.c
685
cd9660_time_915(p->attr.rr_entry.TF.timestamp,
usr.sbin/makefs/cd9660/iso9660_rrip.c
687
p->attr.rr_entry.TF.h.length[0] += 7;
usr.sbin/makefs/cd9660/iso9660_rrip.c
689
cd9660_time_915(p->attr.rr_entry.TF.timestamp + 7,
usr.sbin/makefs/cd9660/iso9660_rrip.c
691
p->attr.rr_entry.TF.h.length[0] += 7;
usr.sbin/makefs/cd9660/iso9660_rrip.c
693
cd9660_time_915(p->attr.rr_entry.TF.timestamp + 14,
usr.sbin/makefs/cd9660/iso9660_rrip.c
695
p->attr.rr_entry.TF.h.length[0] += 7;
usr.sbin/makefs/cd9660/iso9660_rrip.c
702
p->attr.su_entry.SP.h.length[0] = 7;
usr.sbin/makefs/cd9660/iso9660_rrip.c
703
p->attr.su_entry.SP.h.version[0] = 1;
usr.sbin/makefs/cd9660/iso9660_rrip.c
704
p->attr.su_entry.SP.check[0] = 0xBE;
usr.sbin/makefs/cd9660/iso9660_rrip.c
705
p->attr.su_entry.SP.check[1] = 0xEF;
usr.sbin/makefs/cd9660/iso9660_rrip.c
706
p->attr.su_entry.SP.len_skp[0] = 0;
usr.sbin/makefs/cd9660/iso9660_rrip.c
713
p->attr.su_entry.ST.h.type[0] = 'S';
usr.sbin/makefs/cd9660/iso9660_rrip.c
714
p->attr.su_entry.ST.h.type[1] = 'T';
usr.sbin/makefs/cd9660/iso9660_rrip.c
715
p->attr.su_entry.ST.h.length[0] = 4;
usr.sbin/makefs/cd9660/iso9660_rrip.c
716
p->attr.su_entry.ST.h.version[0] = 1;
usr.sbin/makefs/cd9660/iso9660_rrip.c
723
p->attr.su_entry.CE.h.length[0] = 28;
usr.sbin/makefs/cd9660/iso9660_rrip.c
724
p->attr.su_entry.CE.h.version[0] = 1;
usr.sbin/makefs/cd9660/iso9660_rrip.c
752
r->attr.rr_entry.NM.h.version[0] = 1;
usr.sbin/makefs/cd9660/iso9660_rrip.c
753
r->attr.rr_entry.NM.flags[0] = RRIP_NM_FLAGS_NONE;
usr.sbin/makefs/cd9660/iso9660_rrip.c
758
r->attr.rr_entry.NM.flags[0] = RRIP_NM_FLAGS_CONTINUE;
usr.sbin/makefs/cd9660/iso9660_rrip.c
762
memcpy(r->attr.rr_entry.NM.altname, p, len);
usr.sbin/makefs/cd9660/iso9660_rrip.c
763
r->attr.rr_entry.NM.h.length[0] = 5 + len;
usr.sbin/makefs/cd9660/iso9660_rrip.c
789
r->attr.su_entry.ER.h.length[0] = 8;
usr.sbin/makefs/cd9660/iso9660_rrip.c
790
r->attr.su_entry.ER.h.version[0] = 1;
usr.sbin/makefs/cd9660/iso9660_rrip.c
792
r->attr.su_entry.ER.len_id[0] = (u_char)strlen(ext_id);
usr.sbin/makefs/cd9660/iso9660_rrip.c
793
r->attr.su_entry.ER.len_des[0] = (u_char)strlen(ext_des);
usr.sbin/makefs/cd9660/iso9660_rrip.c
794
r->attr.su_entry.ER.len_src[0] = (u_char)strlen(ext_src);
usr.sbin/makefs/cd9660/iso9660_rrip.c
796
l = r->attr.su_entry.ER.len_id[0] +
usr.sbin/makefs/cd9660/iso9660_rrip.c
797
r->attr.su_entry.ER.len_src[0] +
usr.sbin/makefs/cd9660/iso9660_rrip.c
798
r->attr.su_entry.ER.len_des[0];
usr.sbin/makefs/cd9660/iso9660_rrip.c
801
assert(l + r->attr.su_entry.ER.h.length[0] <= 254);
usr.sbin/makefs/cd9660/iso9660_rrip.c
803
r->attr.su_entry.ER.h.length[0] += (u_char)l;
usr.sbin/makefs/cd9660/iso9660_rrip.c
806
r->attr.su_entry.ER.ext_ver[0] = ext_version;
usr.sbin/makefs/cd9660/iso9660_rrip.c
807
memcpy(r->attr.su_entry.ER.ext_data, ext_id,
usr.sbin/makefs/cd9660/iso9660_rrip.c
808
(int)r->attr.su_entry.ER.len_id[0]);
usr.sbin/makefs/cd9660/iso9660_rrip.c
809
l = (int) r->attr.su_entry.ER.len_id[0];
usr.sbin/makefs/cd9660/iso9660_rrip.c
810
memcpy(r->attr.su_entry.ER.ext_data + l,ext_des,
usr.sbin/makefs/cd9660/iso9660_rrip.c
811
(int)r->attr.su_entry.ER.len_des[0]);
usr.sbin/makefs/cd9660/iso9660_rrip.c
813
l += (int)r->attr.su_entry.ER.len_des[0];
usr.sbin/makefs/cd9660/iso9660_rrip.c
814
memcpy(r->attr.su_entry.ER.ext_data + l,ext_src,
usr.sbin/makefs/cd9660/iso9660_rrip.c
815
(int)r->attr.su_entry.ER.len_src[0]);
usr.sbin/makefs/cd9660/iso9660_rrip.h
205
SUSP_ENTRIES attr;
usr.sbin/makefs/cd9660/iso9660_rrip.h
217
((int) ((entry)->attr.su_entry.SP.h.length[0]))
usr.sbin/makefs/v7fs/v7fs_populate.c
67
attr_setup(fsnode *node, struct v7fs_fileattr *attr)
usr.sbin/makefs/v7fs/v7fs_populate.c
71
attr->mode = node->type | st->st_mode;
usr.sbin/makefs/v7fs/v7fs_populate.c
72
attr->uid = st->st_uid;
usr.sbin/makefs/v7fs/v7fs_populate.c
73
attr->gid = st->st_gid;
usr.sbin/makefs/v7fs/v7fs_populate.c
74
attr->device = 0;
usr.sbin/makefs/v7fs/v7fs_populate.c
75
attr->ctime = st->st_ctime;
usr.sbin/makefs/v7fs/v7fs_populate.c
76
attr->atime = st->st_atime;
usr.sbin/makefs/v7fs/v7fs_populate.c
77
attr->mtime = st->st_mtime;
usr.sbin/makefs/v7fs/v7fs_populate.c
86
struct v7fs_fileattr attr;
usr.sbin/makefs/v7fs/v7fs_populate.c
90
attr_setup(node, &attr);
usr.sbin/makefs/v7fs/v7fs_populate.c
91
attr.device = dev;
usr.sbin/makefs/v7fs/v7fs_populate.c
93
strlen(node->name), &attr, &ino))) {
usr.sbin/npf/npfctl/npf_build.c
691
npfctl_build_maprset(const char *name, int attr, const char *ifname)
usr.sbin/npf/npfctl/npf_build.c
709
if ((attr & attr_di) == 0) {
usr.sbin/npf/npfctl/npf_build.c
710
attr |= attr_di;
usr.sbin/npf/npfctl/npf_build.c
714
attr = NPF_RULE_GROUP | NPF_RULE_DYNAMIC | (attr & attr_di);
usr.sbin/npf/npfctl/npf_build.c
715
rl = npf_rule_create(name, attr, ifname);
usr.sbin/npf/npfctl/npf_build.c
732
set_defgroup(nl_rule_t *rl, nl_rule_t *def_group, int attr)
usr.sbin/npf/npfctl/npf_build.c
736
npf_check_layer(&str, attr, __func__);
usr.sbin/npf/npfctl/npf_build.c
751
npfctl_build_group(const char *name, int attr, const char *ifname, bool def)
usr.sbin/npf/npfctl/npf_build.c
756
if (def || (attr & attr_di) == 0) {
usr.sbin/npf/npfctl/npf_build.c
757
attr |= attr_di;
usr.sbin/npf/npfctl/npf_build.c
760
rl = npf_rule_create(name, attr | NPF_RULE_GROUP, ifname);
usr.sbin/npf/npfctl/npf_build.c
763
if (attr & NPF_RULE_LAYER_3) {
usr.sbin/npf/npfctl/npf_build.c
764
defgroup_l3 = set_defgroup(rl, defgroup_l3, attr);
usr.sbin/npf/npfctl/npf_build.c
766
else if (attr & NPF_RULE_LAYER_2) {
usr.sbin/npf/npfctl/npf_build.c
767
defgroup_l2 = set_defgroup(rl, defgroup_l2, attr);
usr.sbin/npf/npfctl/npf_build.c
773
if (attr & NPF_RULE_LAYER_2)
usr.sbin/npf/npfctl/npf_build.c
815
uint32_t attr = attr = npf_rule_getattr(cg);
usr.sbin/npf/npfctl/npf_build.c
817
if ((attr & layer) == 0) {
usr.sbin/npf/npfctl/npf_build.c
833
npfctl_build_rule(uint32_t attr, const char *ifname, sa_family_t family,
usr.sbin/npf/npfctl/npf_build.c
849
attr |= (npf_conf ? 0 : NPF_RULE_DYNAMIC);
usr.sbin/npf/npfctl/npf_build.c
858
attr |= npf_rule_layer_compat(cg, fopts->layer);
usr.sbin/npf/npfctl/npf_build.c
861
attr |= fopts->layer;
usr.sbin/npf/npfctl/npf_build.c
864
if (attr & NPF_RULE_LAYER_2 && attr & (NPF_RULE_RETRST | NPF_RULE_RETICMP))
usr.sbin/npf/npfctl/npf_build.c
867
rl = npf_rule_create(NULL, attr, ifname);
usr.sbin/npf/npfctl/npf_show.c
557
npfctl_print_filter(npf_conf_info_t *ctx, nl_rule_t *rl, uint32_t attr)
usr.sbin/npf/npfctl/npf_show.c
582
if (attr & NPF_RULE_LAYER_2) {
usr.sbin/npf/npfctl/npf_show.c
590
} else if (attr & NPF_RULE_LAYER_3) {
usr.sbin/npf/npfctl/npf_show.c
632
const uint32_t attr = npf_rule_getattr(rl);
usr.sbin/npf/npfctl/npf_show.c
645
if ((attr & ak->mask) == ak->flags) {
usr.sbin/npf/npfctl/npf_show.c
652
if (attr == (NPF_RULE_GROUP | NPF_RULE_IN | NPF_RULE_OUT | NPF_RULE_LAYER_3) && !ifname) {
usr.sbin/npf/npfctl/npf_show.c
656
if (attr == (NPF_RULE_GROUP | NPF_RULE_IN | NPF_RULE_OUT | NPF_RULE_LAYER_2) && !ifname) {
usr.sbin/npf/npfctl/npf_show.c
660
if (attr == (NPF_RULE_GROUP | NPF_RULE_IN | NPF_RULE_LAYER_2)) {
usr.sbin/npf/npfctl/npf_show.c
663
if (attr == (NPF_RULE_GROUP | NPF_RULE_OUT | NPF_RULE_LAYER_2)) {
usr.sbin/npf/npfctl/npf_show.c
666
if ((attr & NPF_DYNAMIC_GROUP) == NPF_RULE_GROUP) {
usr.sbin/npf/npfctl/npf_show.c
674
dyn_ruleset = (attr & NPF_DYNAMIC_GROUP) == NPF_DYNAMIC_GROUP;
usr.sbin/npf/npfctl/npf_show.c
675
if (!npfctl_print_filter(ctx, rl, attr) && !dyn_ruleset) {
usr.sbin/npf/npfctl/npf_show.c
708
uint32_t attr = npf_rule_getattr(rl);
usr.sbin/npf/npfctl/npf_show.c
715
if ((attr & dynamic_natset) == dynamic_natset) {
usr.sbin/npf/npfctl/npf_show.c
782
npfctl_print_filter(ctx, rl, attr);
usr.sbin/sdpd/service.c
539
sdpd_put_attr(sdpd_data_t *buf, uint16_t attr, sdp_data_t *data)
usr.sbin/sdpd/service.c
544
sdpd_put_byte(buf, (uint8_t)(attr >> 8));
usr.sbin/sdpd/service.c
545
sdpd_put_byte(buf, (uint8_t)(attr));