lib/libexpat/lib/xmlparse.c
5220
int role;
lib/libexpat/lib/xmlparse.c
5267
role = XmlTokenRole(&parser->m_prologState, tok, s, next, enc);
lib/libexpat/lib/xmlparse.c
5269
switch (role) {
lib/libexpat/lib/xmlparse.c
5283
switch (role) {
lib/libexpat/lib/xmlparse.c
5365
if (parser->m_entityDeclHandler && role == XML_ROLE_ENTITY_PUBLIC_ID)
lib/libexpat/lib/xmlparse.c
5534
prefix = (role == XML_ROLE_ATTRIBUTE_NOTATION_VALUE ? notationPrefix
lib/libexpat/lib/xmlparse.c
5569
role == XML_ROLE_REQUIRED_ATTRIBUTE_VALUE);
lib/libexpat/lib/xmlparse.c
5609
attVal, role == XML_ROLE_FIXED_ATTRIBUTE_VALUE);
lib/libexpat/lib/xmlparse.c
5725
if (parser->m_entityDeclHandler && role == XML_ROLE_ENTITY_SYSTEM_ID)
lib/libexpat/lib/xmlparse.c
6051
if ((role == XML_ROLE_PARAM_ENTITY_REF)
lib/libexpat/lib/xmlparse.c
6065
= (role == XML_ROLE_PARAM_ENTITY_REF ? XML_TRUE : XML_FALSE);
lib/libexpat/lib/xmlparse.c
6137
content->type = ((role == XML_ROLE_CONTENT_ANY) ? XML_CTYPE_ANY
regress/usr.sbin/bgpd/unittests/rde_aspa_test.c
393
vstate_for_role(struct rde_aspa_state *vstate, enum role role)
regress/usr.sbin/bgpd/unittests/rde_aspa_test.c
395
if (role != ROLE_CUSTOMER) {
regress/usr.sbin/bgpd/unittests/rde_aspa_test.c
502
rv = vstate_for_role(&vstate, aspa_testset[i].role);
regress/usr.sbin/bgpd/unittests/rde_aspa_test.c
509
aspa_testset[i].role,
regress/usr.sbin/bgpd/unittests/rde_aspa_test.c
54
enum role role;
sys/dev/fdt/fusbtc.c
265
char *role;
sys/dev/fdt/fusbtc.c
280
role = malloc(len, M_TEMP, M_WAITOK);
sys/dev/fdt/fusbtc.c
281
OF_getprop(child, "power-role", role, len);
sys/dev/fdt/fusbtc.c
282
if (!strcmp(role, "dual"))
sys/dev/fdt/fusbtc.c
284
if (!strcmp(role, "sink"))
sys/dev/fdt/fusbtc.c
286
if (!strcmp(role, "source"))
sys/dev/fdt/fusbtc.c
288
free(role, M_TEMP, len);
sys/dev/ic/aic79xx.c
1248
if (devinfo.role == ROLE_INITIATOR) {
sys/dev/ic/aic79xx.c
156
role_t role);
sys/dev/ic/aic79xx.c
222
role_t role, uint32_t status,
sys/dev/ic/aic79xx.c
2862
u_int *period, u_int *ppr_options, role_t role)
sys/dev/ic/aic79xx.c
2885
if (role == ROLE_TARGET)
sys/dev/ic/aic79xx.c
2951
role_t role)
sys/dev/ic/aic79xx.c
2967
if (role == ROLE_TARGET)
sys/dev/ic/aic79xx.c
2980
u_int *bus_width, role_t role)
sys/dev/ic/aic79xx.c
2995
if (role == ROLE_TARGET)
sys/dev/ic/aic79xx.c
3464
role_t role;
sys/dev/ic/aic79xx.c
3471
role = ROLE_TARGET;
sys/dev/ic/aic79xx.c
3473
role = ROLE_INITIATOR;
sys/dev/ic/aic79xx.c
3475
if (role == ROLE_TARGET
sys/dev/ic/aic79xx.c
3479
} else if (role == ROLE_TARGET)
sys/dev/ic/aic79xx.c
3490
role);
sys/dev/ic/aic79xx.c
3521
u_int lun, char channel, role_t role)
sys/dev/ic/aic79xx.c
3528
devinfo->role = role;
sys/dev/ic/aic79xx.c
3538
role_t role;
sys/dev/ic/aic79xx.c
3542
role = ROLE_INITIATOR;
sys/dev/ic/aic79xx.c
3544
role = ROLE_TARGET;
sys/dev/ic/aic79xx.c
3546
SCB_GET_LUN(scb), SCB_GET_CHANNEL(ahd, scb), role);
sys/dev/ic/aic79xx.c
3707
if (devinfo->role == ROLE_TARGET)
sys/dev/ic/aic79xx.c
3710
&ppr_options, devinfo->role);
sys/dev/ic/aic79xx.c
3741
if (devinfo->role == ROLE_TARGET)
sys/dev/ic/aic79xx.c
3758
devinfo->role);
sys/dev/ic/aic79xx.c
4344
&ppr_options, devinfo->role);
sys/dev/ic/aic79xx.c
4346
tinfo->curr.width, devinfo->role);
sys/dev/ic/aic79xx.c
4377
&& devinfo->role == ROLE_INITIATOR) {
sys/dev/ic/aic79xx.c
4418
devinfo->role);
sys/dev/ic/aic79xx.c
4448
&& devinfo->role == ROLE_INITIATOR) {
sys/dev/ic/aic79xx.c
4538
devinfo->role);
sys/dev/ic/aic79xx.c
4540
&ppr_options, devinfo->role);
sys/dev/ic/aic79xx.c
4542
bus_width, devinfo->role);
sys/dev/ic/aic79xx.c
4560
if (devinfo->role != ROLE_TARGET)
sys/dev/ic/aic79xx.c
4622
if (devinfo->role != ROLE_TARGET) {
sys/dev/ic/aic79xx.c
5100
lun, SCB_LIST_NULL, devinfo->role,
sys/dev/ic/aic79xx.c
6945
char channel, int lun, u_int tag, role_t role)
sys/dev/ic/aic79xx.c
6962
if (role == ROLE_INITIATOR) {
sys/dev/ic/aic79xx.c
6966
} else if (role == ROLE_TARGET) {
sys/dev/ic/aic79xx.c
7097
int lun, u_int tag, role_t role, uint32_t status,
sys/dev/ic/aic79xx.c
7159
if (ahd_match_scb(ahd, scb, target, channel, lun, tag, role)) {
sys/dev/ic/aic79xx.c
7245
lun, tag, role, status,
sys/dev/ic/aic79xx.c
7254
lun, tag, role)) {
sys/dev/ic/aic79xx.c
7327
int lun, u_int tag, role_t role, uint32_t status,
sys/dev/ic/aic79xx.c
7360
lun, SCB_LIST_NULL, role) == 0) {
sys/dev/ic/aic79xx.c
7483
int lun, u_int tag, role_t role, uint32_t status)
sys/dev/ic/aic79xx.c
7499
role, CAM_REQUEUE_REQ, SEARCH_COMPLETE);
sys/dev/ic/aic79xx.c
7523
if (role != ROLE_TARGET) {
sys/dev/ic/aic79xx.c
7534
lun, tag, role) == 0)
sys/dev/ic/aic79xx.c
7557
if (ahd_match_scb(ahd, scbp, target, channel, lun, tag, role)) {
sys/dev/ic/aic79xx.h
1300
role_t role; /*
sys/dev/ic/aic79xx.h
1339
u_int tag, role_t role);
sys/dev/ic/aic79xx.h
1403
role_t role, uint32_t status,
sys/dev/ic/aic79xx.h
1410
role_t role, uint32_t status);
sys/dev/ic/aic79xx.h
1426
role_t role);
sys/dev/ic/aic79xx.h
1433
int wide, role_t role);
sys/dev/ic/aic79xx.h
1437
role_t role);
sys/dev/ic/aic7xxx.c
163
role_t role);
sys/dev/ic/aic7xxx.c
1677
u_int *period, u_int *ppr_options, role_t role)
sys/dev/ic/aic7xxx.c
1706
if (role == ROLE_TARGET)
sys/dev/ic/aic7xxx.c
1830
u_int *offset, int wide, role_t role)
sys/dev/ic/aic7xxx.c
1847
if (role == ROLE_TARGET)
sys/dev/ic/aic7xxx.c
1860
u_int *bus_width, role_t role)
sys/dev/ic/aic7xxx.c
1875
if (role == ROLE_TARGET)
sys/dev/ic/aic7xxx.c
2210
role_t role;
sys/dev/ic/aic7xxx.c
2214
role = ROLE_TARGET;
sys/dev/ic/aic7xxx.c
2216
role = ROLE_INITIATOR;
sys/dev/ic/aic7xxx.c
2218
if (role == ROLE_TARGET
sys/dev/ic/aic7xxx.c
2235
role);
sys/dev/ic/aic7xxx.c
2258
u_int lun, char channel, role_t role)
sys/dev/ic/aic7xxx.c
2265
devinfo->role = role;
sys/dev/ic/aic7xxx.c
2282
role_t role;
sys/dev/ic/aic7xxx.c
2286
role = ROLE_INITIATOR;
sys/dev/ic/aic7xxx.c
2288
role = ROLE_TARGET;
sys/dev/ic/aic7xxx.c
2290
SCB_GET_LUN(scb), SCB_GET_CHANNEL(ahc, scb), role);
sys/dev/ic/aic7xxx.c
2428
if (devinfo->role == ROLE_TARGET)
sys/dev/ic/aic7xxx.c
2431
&ppr_options, devinfo->role);
sys/dev/ic/aic7xxx.c
2463
if (devinfo->role == ROLE_TARGET)
sys/dev/ic/aic7xxx.c
2480
devinfo->role);
sys/dev/ic/aic7xxx.c
3110
devinfo->role);
sys/dev/ic/aic7xxx.c
3113
devinfo->role);
sys/dev/ic/aic7xxx.c
3145
&& devinfo->role == ROLE_INITIATOR) {
sys/dev/ic/aic7xxx.c
3186
devinfo->role);
sys/dev/ic/aic7xxx.c
3216
&& devinfo->role == ROLE_INITIATOR) {
sys/dev/ic/aic7xxx.c
3309
devinfo->role);
sys/dev/ic/aic7xxx.c
3312
devinfo->role);
sys/dev/ic/aic7xxx.c
3315
devinfo->role);
sys/dev/ic/aic7xxx.c
3334
if (devinfo->role != ROLE_TARGET)
sys/dev/ic/aic7xxx.c
3396
if (devinfo->role != ROLE_TARGET) {
sys/dev/ic/aic7xxx.c
3779
CAM_LUN_WILDCARD, SCB_LIST_NULL, devinfo->role,
sys/dev/ic/aic7xxx.c
5004
char channel, int lun, u_int tag, role_t role)
sys/dev/ic/aic7xxx.c
5026
if (role == ROLE_INITIATOR) {
sys/dev/ic/aic7xxx.c
5030
} else if (role == ROLE_TARGET) {
sys/dev/ic/aic7xxx.c
5118
int lun, u_int tag, role_t role, uint32_t status,
sys/dev/ic/aic7xxx.c
5166
if (ahc_match_scb(ahc, scb, target, channel, lun, tag, role)) {
sys/dev/ic/aic7xxx.c
5278
lun, SCB_LIST_NULL, role)) {
sys/dev/ic/aic7xxx.c
5585
int lun, u_int tag, role_t role, uint32_t status)
sys/dev/ic/aic7xxx.c
5607
role, CAM_REQUEUE_REQ, SEARCH_COMPLETE);
sys/dev/ic/aic7xxx.c
5638
if (role != ROLE_TARGET) {
sys/dev/ic/aic7xxx.c
5649
lun, tag, role) == 0)
sys/dev/ic/aic7xxx.c
5681
&& ahc_match_scb(ahc, scbp, target, channel, lun, tag, role)))
sys/dev/ic/aic7xxx.c
5695
if (ahc_match_scb(ahc, scbp, target, channel, lun, tag, role)) {
sys/dev/ic/aic7xxx.c
737
if (devinfo.role == ROLE_INITIATOR) {
sys/dev/ic/aic7xxxvar.h
1150
role_t role; /*
sys/dev/ic/aic7xxxvar.h
1189
u_int tag, role_t role);
sys/dev/ic/aic7xxxvar.h
1245
role_t role);
sys/dev/ic/aic7xxxvar.h
1255
role_t role);
sys/dev/ic/aic7xxxvar.h
1259
role_t role);
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c
2773
char *role = NULL;
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c
2778
role = "root";
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c
2782
role = "end";
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c
2790
role = "branch";
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c
2794
role = "no";
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c
2797
seq_printf(m, "%s\n", role);
sys/net/bridgestp.c
1337
bstp_set_port_role(struct bstp_port *bp, int role)
sys/net/bridgestp.c
1341
if (bp->bp_role == role)
sys/net/bridgestp.c
1369
bp->bp_role = role;
usr.sbin/bgpctl/output.c
297
if (p->conf.ebgp && p->conf.role != ROLE_NONE)
usr.sbin/bgpctl/output.c
298
printf(" Role: %s\n", log_policy(p->conf.role));
usr.sbin/bgpctl/output.c
368
log_policy(p->conf.role));
usr.sbin/bgpctl/output.c
401
log_policy(p->conf.role));
usr.sbin/bgpctl/output_json.c
267
if (p->conf.ebgp && p->conf.role != ROLE_NONE)
usr.sbin/bgpctl/output_json.c
268
json_do_string("role", log_policy(p->conf.role));
usr.sbin/bgpctl/output_json.c
316
if (p->conf.ebgp && p->conf.role != ROLE_NONE) {
usr.sbin/bgpctl/output_json.c
320
log_policy(p->conf.role));
usr.sbin/bgpd/bgpd.h
1761
const char *log_policy(enum role);
usr.sbin/bgpd/bgpd.h
515
enum role role;
usr.sbin/bgpd/bgpd.h
639
enum role remote_role;
usr.sbin/bgpd/parse.y
2092
curpeer->conf.role = ROLE_PROVIDER;
usr.sbin/bgpd/parse.y
2094
curpeer->conf.role = ROLE_RS;
usr.sbin/bgpd/parse.y
2096
curpeer->conf.role = ROLE_RS_CLIENT;
usr.sbin/bgpd/parse.y
2098
curpeer->conf.role = ROLE_CUSTOMER;
usr.sbin/bgpd/parse.y
2100
curpeer->conf.role = ROLE_PEER;
usr.sbin/bgpd/parse.y
2110
curpeer->conf.role = ROLE_NONE;
usr.sbin/bgpd/parse.y
5190
p->conf.role = ROLE_NONE;
usr.sbin/bgpd/parse.y
5192
} else if (p->conf.role == ROLE_NONE) {
usr.sbin/bgpd/printconf.c
794
if (p->role != ROLE_NONE)
usr.sbin/bgpd/printconf.c
795
printf("%s\trole %s\n", c, log_policy(p->role));
usr.sbin/bgpd/rde.c
1730
switch (peer->role) {
usr.sbin/bgpd/rde.c
1797
switch (peer->role) {
usr.sbin/bgpd/rde.c
2418
switch (peer->role) {
usr.sbin/bgpd/rde.c
2831
if (peer->role != ROLE_RS_CLIENT &&
usr.sbin/bgpd/rde.c
2842
if (peer->role == ROLE_NONE)
usr.sbin/bgpd/rde.c
2845
if (peer->role == ROLE_CUSTOMER)
usr.sbin/bgpd/rde.c
4026
if (peer->role != peer->conf.role) {
usr.sbin/bgpd/rde.c
4030
peer->role = peer->conf.role;
usr.sbin/bgpd/rde.h
112
enum role role;
usr.sbin/bgpd/rde_peer.c
172
peer->role = peer->conf.role;
usr.sbin/bgpd/rde_update.c
126
if (peer->role == ROLE_PEER || peer->role == ROLE_CUSTOMER ||
usr.sbin/bgpd/rde_update.c
127
peer->role == ROLE_RS_CLIENT)
usr.sbin/bgpd/rde_update.c
135
if (peer->role == ROLE_PEER || peer->role == ROLE_PROVIDER ||
usr.sbin/bgpd/rde_update.c
136
peer->role == ROLE_RS)
usr.sbin/bgpd/session.h
150
enum role remote_role;
usr.sbin/bgpd/session_bgp.c
1393
switch (p->conf.role) {
usr.sbin/bgpd/session_bgp.c
1418
log_policy(p->conf.role),
usr.sbin/bgpd/session_bgp.c
229
p->conf.role != ROLE_NONE &&
usr.sbin/bgpd/session_bgp.c
233
errs += ibuf_add_n8(opb, role2capa(p->conf.role));
usr.sbin/bgpd/session_bgp.c
679
uint8_t safi, aid, role, flags;
usr.sbin/bgpd/session_bgp.c
758
ibuf_get_n8(&capabuf, &role) == -1) {
usr.sbin/bgpd/session_bgp.c
76
role2capa(enum role role)
usr.sbin/bgpd/session_bgp.c
769
peer->remote_role = capa2role(role);
usr.sbin/bgpd/session_bgp.c
78
switch (role) {
usr.sbin/bgpd/session_bgp.c
94
static enum role
usr.sbin/bgpd/util.c
364
log_policy(enum role role)
usr.sbin/bgpd/util.c
366
switch (role) {
usr.sbin/bgplgd/slowcgi.c
1244
ldebug("%srole %d", p, ntohs(b->role));
usr.sbin/bgplgd/slowcgi.c
135
uint16_t role;
usr.sbin/httpd/server_fcgi.c
154
begin->role = htons(FCGI_RESPONDER);
usr.sbin/httpd/server_fcgi.c
70
uint16_t role;
usr.sbin/nsd/configparser.y
1468
parse_catalog_role(const char *str, int *role)
usr.sbin/nsd/configparser.y
1471
*role = CATALOG_ROLE_CONSUMER;
usr.sbin/nsd/configparser.y
1473
*role = CATALOG_ROLE_PRODUCER;
usr.sbin/nsd/configparser.y
36
static int parse_catalog_role(const char *str, int *role);
usr.sbin/nsd/configparser.y
57
int role;
usr.sbin/nsd/configparser.y
68
%type <role> catalog_role
usr.sbin/nsd/util.h
52
void log_set_process_role(const char* role);
usr.sbin/nsd/util.h
54
#define log_set_process_role(role) /* empty */
usr.sbin/slowcgi/slowcgi.c
1204
ldebug("%srole %d", p, ntohs(b->role));
usr.sbin/slowcgi/slowcgi.c
152
uint16_t role;
usr.sbin/tcpdump/print-stp.c
160
u_int8_t flags, role;
usr.sbin/tcpdump/print-stp.c
175
role = STP_FLAGS_ROLE_DESG;
usr.sbin/tcpdump/print-stp.c
180
role = (flags & STP_FLAGS_ROLE) >> STP_FLAGS_ROLE_S;
usr.sbin/tcpdump/print-stp.c
185
switch (role) {