Home
last modified time | relevance | path

Searched refs:flags (Results 1 – 25 of 2959) sorted by relevance

12345678910>>...119

/illumos-gate/usr/src/cmd/fm/eversholt/common/
H A Dptree.c94 ptree(int flags, struct node *np, int no_iterators, int fileline) in ptree() argument
103 out(flags|O_NONL, "%s", np->u.name.s); in ptree()
108 out(flags|O_NONL, "%d", num); in ptree()
112 out(flags|O_NONL, "<>"); in ptree()
114 out(flags|O_NONL, "<"); in ptree()
115 ptree(flags, np->u.name.child, in ptree()
117 out(flags|O_NONL, ">"); in ptree()
122 out(flags|O_NONL, "["); in ptree()
123 ptree(flags, np->u.name.child, no_iterators, in ptree()
126 out(flags|O_NONL, "]"); in ptree()
[all …]
H A Dptree.h53 int flags; member
57 void ptree(int flags, struct node *np, int no_iterators, int fileline);
58 void ptree_name(int flags, struct node *np);
59 void ptree_name_iter(int flags, struct node *np);
60 void ptree_all(int flags, const char *pat);
61 void ptree_fault(int flags, const char *pat);
62 void ptree_upset(int flags, const char *pat);
63 void ptree_defect(int flags, const char *pat);
64 void ptree_error(int flags, const char *pat);
65 void ptree_ereport(int flags, const char *pat);
[all …]
H A Dout.c130 vout(int flags, const char *fmt, va_list ap) in vout() argument
143 if ((flags & O_DEBUG) && Debug == 0) in vout()
146 if ((flags & O_VERB) && Verbose == 0) in vout()
149 if ((flags & O_VERB2) && Verbose < 2) in vout()
152 if ((flags & O_VERB3) && Verbose < 3) in vout()
155 if ((flags & O_WARN) && Warn == 0) in vout()
158 if ((flags & O_ALTFP) && Altfp == NULL) in vout()
163 if (flags & O_USAGE) { in vout()
167 if (Myname && flags & (O_DIE|O_ERR|O_WARN|O_PROG)) in vout()
170 if (flags & O_DIE) { in vout()
[all …]
/illumos-gate/usr/src/test/libc-tests/tests/
H A Dfnmatch.c38 int flags; member
184 flags_to_string(int flags) in flags_to_string() argument
199 if (flags & flagvalues[i]) { in flags_to_string()
204 flags &= ~flagvalues[i]; in flags_to_string()
210 else if (flags != 0) in flags_to_string()
211 (void) sprintf(p, "%d", flags); in flags_to_string()
221 int flags, result; in main() local
227 flags = t->flags; in main()
229 result = fnmatch(t->pattern, t->string, flags); in main()
233 !(flags & FNM_NOESCAPE)) { in main()
[all …]
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_wrapper.c32 __s_api_getLDAPconn(int flags) in __s_api_getLDAPconn() argument
41 int _ns_ldap_abandon_ext(char *service, int flags, in _ns_ldap_abandon_ext() argument
45 LDAP *ld = __s_api_getLDAPconn(flags); in _ns_ldap_abandon_ext()
51 int _ns_ldap_abandon(char *service, int flags, in _ns_ldap_abandon() argument
54 LDAP *ld = __s_api_getLDAPconn(flags); in _ns_ldap_abandon()
63 int _ns_ldap_add_ext(char *service, int flags, in _ns_ldap_add_ext() argument
67 LDAP *ld = __s_api_getLDAPconn(flags); in _ns_ldap_add_ext()
74 int _ns_ldap_add_ext_s(char *service, int flags, in _ns_ldap_add_ext_s() argument
78 LDAP *ld = __s_api_getLDAPconn(flags); in _ns_ldap_add_ext_s()
84 int _ns_ldap_add(char *service, int flags, in _ns_ldap_add() argument
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/
H A Dsfset.c30 int sfset(Sfio_t* f, int flags, int set) in sfset() argument
32 int sfset(f,flags,set) in sfset()
34 int flags;
43 if(flags == 0 && set == 0)
44 SFMTXRETURN(f, (f->flags&SF_FLAGS));
48 if(set && (flags & (SF_LINE|SF_WCWIDTH)) && !(f->flags & (SF_LINE|SF_WCWIDTH)))
50 f->flags |= tflags;
55 f->flags &= ~tflags;
59 if(flags == 0)
60 SFMTXRETURN(f, (f->flags&SF_FLAGS));
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Did.c103 getfsids(Sfio_t* sp, const char* name, int flags, register int lastchar) in getfsids() argument
112 if (flags & O_FLAG) flags = 1; in getfsids()
113 else flags = 0; in getfsids()
115 else if (flags & N_FLAG) flags = 1; in getfsids()
116 else flags = -1; in getfsids()
123 if (flags > 0) x = 0; in getfsids()
155 if (flags > 0) sfprintf(sp, "%s", s); in getfsids()
162 if (flags < 0) sfprintf(sp, "%u", fs->fs_id); in getfsids()
178 putid(Sfio_t* sp, int flags, const char* label, const char* name, long number) in putid() argument
181 if (flags & O_FLAG) in putid()
[all …]
/illumos-gate/usr/src/tools/smatch/src/smatch_scripts/implicit_dependencies/without_structs/
H A Dimplicit_dependencies_verbose.pretty447 'copy_file_range': [{'call': 'syncfs', 'reason': set([('fd', 'flags')])},
448 {'call': 'vmsplice', 'reason': set([('fd', 'flags')])},
450 'reason': set([('fd', 'flags')])},
451 {'call': 'pwritev64', 'reason': set([('fd', 'flags')])},
453 'reason': set([('fd', 'flags')])},
454 {'call': 'readahead', 'reason': set([('fd', 'flags')])},
455 {'call': 'getdents', 'reason': set([('fd', 'flags')])},
456 {'call': 'writev', 'reason': set([('fd', 'flags')])},
457 {'call': 'preadv64', 'reason': set([('fd', 'flags')])},
458 {'call': 'fchmod', 'reason': set([('fd', 'flags')])},
[all …]
/illumos-gate/usr/src/uts/common/pcmcia/cis/
H A Dcis_handlers.c77 if (tp->flags & CISTPLF_AM_SPACE) { in cis_get_short()
92 if (tp->flags & CISTPLF_AM_SPACE) { in cis_get_be_short()
150 cis_tuple_handler(cistpl_callout_t *co, cistpl_t *tp, uint32_t flags, in cis_tuple_handler() argument
157 tp->flags |= CISTPLF_VENDOR_SPECIFIC; in cis_tuple_handler()
168 tp->flags &= ~CISTPLF_UNKNOWN; in cis_tuple_handler()
169 if (flags & HANDTPL_RETURN_NAME) { in cis_tuple_handler()
173 return ((*co->handler) (co, tp, flags, arg)); in cis_tuple_handler()
186 if (flags & HANDTPL_RETURN_NAME) { in cis_tuple_handler()
191 tp->flags |= CISTPLF_UNKNOWN; in cis_tuple_handler()
219 uint32_t flags, void *arg) in cis_no_tuple_handler() argument
[all …]
H A Dcis.c192 int flags; in CISParser() local
196 flags = va_arg(arglist, int); in CISParser()
198 retcode = (void *)cis_get_ltuple(tp, type, flags); in CISParser()
205 int flags; in CISParser() local
211 flags = va_arg(arglist, int); in CISParser()
216 flags, arg, subtype); in CISParser()
365 cis_info->flags, CW_CHECK_PRIMARY_CHAIN); in cis_list_lcreate()
371 if (cis_info->flags & CW_CHECK_PRIMARY_CHAIN) { in cis_list_lcreate()
524 if (tp->flags & CISTPLF_COPYOK) { in cis_list_lcreate()
532 if (tp->flags & CISTPLF_COPYOK) in cis_list_lcreate()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libpp/
H A Dppproto.c72 long flags; /* coupled flags */ member
371 if (proto->flags & LINESYNC) in linesync()
391 init(Proto_t* proto, char* op, int flags) in init() argument
395 if (flags & INIT_DEFINE) in init()
516 …efine SYNC() do{SYNCIN();SYNCOUT();proto->flags&=~(EXTERN|INIT|OTHER|VARIADIC|VARIADIC2);proto->f…
575 lex(register Proto_t* proto, register long flags) in lex() argument
616 if (flags & EXTERN) KEEPOUT(); in lex()
669 if ((flags & (EXTERN|MATCH)) == EXTERN) BACKOUT(); in lex()
683 if ((flags & (EXTERN|MATCH)) == EXTERN) BACKOUT(); in lex()
703 if ((flags & (DECLARE|GLOBAL|RECURSIVE)) == GLOBAL && (proto->flags & MORE)) in lex()
[all …]
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dvfscanf.c120 register int flags; /* flags as defined above */ local
184 flags = 0;
205 flags |= SUPPRESS;
208 flags |= SHORT;
214 flags |= QUAD;
218 flags |= LONG;
222 flags |= QUAD;
239 flags |= LONG;
254 flags |= LONG;
270 flags |= PFXOK; /* enable 0x prefixing */
[all …]
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/
H A Dsyminfo.c46 Half flags = sip->si_flags; in Elf_syminfo_entry() local
48 if (flags & SYMINFO_FLG_CAP) { in Elf_syminfo_entry()
51 flags &= ~SYMINFO_FLG_CAP; in Elf_syminfo_entry()
54 if (flags & SYMINFO_FLG_DIRECT) { in Elf_syminfo_entry()
64 flags &= ~SYMINFO_FLG_DIRECT; in Elf_syminfo_entry()
66 } else if (flags & SYMINFO_FLG_FILTER) { in Elf_syminfo_entry()
69 flags &= ~SYMINFO_FLG_FILTER; in Elf_syminfo_entry()
71 } else if (flags & SYMINFO_FLG_AUXILIARY) { in Elf_syminfo_entry()
74 flags &= ~SYMINFO_FLG_AUXILIARY; in Elf_syminfo_entry()
81 if (flags & SYMINFO_FLG_DIRECTBIND) { in Elf_syminfo_entry()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_mip.c286 interpret_mip_cntrlmsg(int flags, uchar_t *msg, int fraglen) { in interpret_mip_cntrlmsg() argument
301 pt = (flags & F_DTAIL ? "registration request ":"reg rqst "); in interpret_mip_cntrlmsg()
310 pt = (flags & F_DTAIL ? "registration reply ":"reg reply "); in interpret_mip_cntrlmsg()
318 pc = ((flags & F_ALLSUM) || (flags & F_DTAIL)) ? in interpret_mip_cntrlmsg()
322 pc = ((flags & F_ALLSUM) || (flags & F_DTAIL))? in interpret_mip_cntrlmsg()
326 pc = ((flags & F_ALLSUM) || (flags & F_DTAIL))? in interpret_mip_cntrlmsg()
330 pc = ((flags & F_ALLSUM) || (flags & F_DTAIL))? in interpret_mip_cntrlmsg()
334 pc = ((flags & F_ALLSUM) || (flags & F_DTAIL))? in interpret_mip_cntrlmsg()
338 pc = ((flags & F_ALLSUM) || (flags & F_DTAIL))? in interpret_mip_cntrlmsg()
342 pc = ((flags & F_ALLSUM) || (flags & F_DTAIL))? in interpret_mip_cntrlmsg()
[all …]
H A Dsnoop_ospf6.c76 interpret_ospf6_hello(int flags, struct ospf6hdr *op, int fraglen) in interpret_ospf6_hello() argument
84 if (flags & F_SUM) { in interpret_ospf6_hello()
108 if (flags & F_DTAIL) { in interpret_ospf6_hello()
149 ospf6_print_ls_type(int flags, uint_t ls6_type, uint32_t ls6_stateid, in ospf6_print_ls_type() argument
154 if (flags & F_SUM) in ospf6_print_ls_type()
173 if (flags & F_DTAIL) { in ospf6_print_ls_type()
179 if (flags & F_DTAIL) { in ospf6_print_ls_type()
187 if (flags & F_DTAIL) { in ospf6_print_ls_type()
195 if (flags & F_DTAIL) { in ospf6_print_ls_type()
203 if (flags & F_DTAIL) { in ospf6_print_ls_type()
[all …]
H A Dsnoop_sctp.c330 parse_asconfok_param(int flags, uint8_t notused, const void *data, int dlen) in parse_asconfok_param() argument
346 parse_asconferr_param(int flags, uint8_t notused, const void *data, int dlen) in parse_asconferr_param() argument
360 err_dispatch_table, A_CNT(err_dispatch_table), flags); in parse_asconferr_param()
365 parse_addiperr_param(int flags, uint8_t notused, const void *data, int dlen) in parse_addiperr_param() argument
369 parm_dispatch_table, A_CNT(parm_dispatch_table), flags); in parse_addiperr_param()
374 parse_addip_param(int flags, uint8_t notused, const void *data, int dlen) in parse_addip_param() argument
389 parm_dispatch_table, A_CNT(parm_dispatch_table), flags); in parse_addip_param()
394 parse_ip4_param(int flags, uint8_t notused, const void *data, int datalen) in parse_ip4_param() argument
415 parse_ip6_param(int flags, uint8_t notused, const void *data, int datalen) in parse_ip6_param() argument
436 parse_int32_param(int flags, uint8_t notused, const void *data, int datalen) in parse_int32_param() argument
[all …]
H A Dsnoop_ospf.c89 static int interpret_ospf_lsa(int flags, struct lsa *lsa, uchar_t *);
129 interpret_ospf_hello(int flags, struct ospfhdr *op, int fraglen) in interpret_ospf_hello() argument
137 if (flags & F_SUM) { in interpret_ospf_hello()
161 if (flags & F_DTAIL) { in interpret_ospf_hello()
201 ospf_print_ls_type(int flags, uint32_t ls_type, struct in_addr ls_stateid, in ospf_print_ls_type() argument
206 if (flags & F_SUM) { in ospf_print_ls_type()
210 if (flags & F_DTAIL) { in ospf_print_ls_type()
216 if (flags & F_SUM) { in ospf_print_ls_type()
222 if (flags & F_DTAIL) { in ospf_print_ls_type()
231 if (flags & F_SUM) { in ospf_print_ls_type()
[all …]
/illumos-gate/usr/src/contrib/zlib/
H A Dzutil.c32 uLong flags; in zlibCompileFlags() local
34 flags = 0; in zlibCompileFlags()
37 case 4: flags += 1; break; in zlibCompileFlags()
38 case 8: flags += 2; break; in zlibCompileFlags()
39 default: flags += 3; in zlibCompileFlags()
43 case 4: flags += 1 << 2; break; in zlibCompileFlags()
44 case 8: flags += 2 << 2; break; in zlibCompileFlags()
45 default: flags += 3 << 2; in zlibCompileFlags()
49 case 4: flags += 1 << 4; break; in zlibCompileFlags()
50 case 8: flags += 2 << 4; break; in zlibCompileFlags()
[all …]
/illumos-gate/usr/src/uts/common/io/usb/usba/
H A Dusba10_calls.c56 usb_flags_t flags) in usba10_usb_register_client() argument
59 dip, version, dev_data, parse_level, flags)); in usba10_usb_register_client()
144 usb_flags_t flags) in usba10_usb_pipe_get_state() argument
146 return (usb_pipe_get_state(pipe_handle, pipe_state, flags)); in usba10_usb_pipe_get_state()
162 usb_flags_t flags, in usba10_usb_pipe_open() argument
165 return (usb_pipe_open(dip, ep, pipe_policy, flags, pipe_handle)); in usba10_usb_pipe_open()
173 usb_flags_t flags, in usba10_usb_pipe_close() argument
178 usb_cb_flags_t flags), in usba10_usb_pipe_close() argument
181 usb_pipe_close(dip, pipe_handle, flags, cb, cb_arg); in usba10_usb_pipe_close()
190 usb_flags_t flags, in usba10_usb_pipe_drain_reqs() argument
[all …]
/illumos-gate/usr/src/cmd/sendmail/db/db/
H A Ddb_iface.c37 __db_cdelchk(dbp, flags, isrdonly, isvalid) in __db_cdelchk() argument
39 u_int32_t flags;
47 switch (flags) {
68 __db_cgetchk(dbp, key, data, flags, isvalid) in __db_cgetchk() argument
71 u_int32_t flags;
80 switch (flags) {
126 return (isvalid || flags != DB_CURRENT ? 0 : EINVAL);
137 __db_cputchk(dbp, key, data, flags, isrdonly, isvalid) in __db_cputchk() argument
141 u_int32_t flags;
153 switch (flags) {
[all …]
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_dump.c55 mdb_dump_header(int flags, int pad, int offset) in mdb_dump_header() argument
57 int nalign = !(flags & MDB_DUMP_ALIGN); in mdb_dump_header()
58 int group = DUMP_GROUP(flags); in mdb_dump_header()
59 int width = DUMP_WIDTH(flags); in mdb_dump_header()
72 if (flags & MDB_DUMP_ASCII) { in mdb_dump_header()
92 mdb_dump_data(uint64_t addr, uchar_t *buf, int flags, int pad, in mdb_dump_data() argument
96 int group = DUMP_GROUP(flags); in mdb_dump_data()
97 int width = DUMP_WIDTH(flags); in mdb_dump_data()
102 if (flags & MDB_DUMP_ENDIAN) in mdb_dump_data()
123 if (flags & MDB_DUMP_ASCII) { in mdb_dump_data()
[all …]
/illumos-gate/usr/src/uts/common/inet/
H A Dcc.h97 uint32_t flags; /* Flags for cc_var (see below) */ member
124 #define IN_FASTRECOVERY(flags) (flags & CCF_FASTRECOVERY) argument
125 #define ENTER_FASTRECOVERY(flags) flags |= CCF_FASTRECOVERY argument
126 #define EXIT_FASTRECOVERY(flags) flags &= ~CCF_FASTRECOVERY argument
128 #define IN_CONGRECOVERY(flags) (flags & CCF_CONGRECOVERY) argument
129 #define ENTER_CONGRECOVERY(flags) flags |= CCF_CONGRECOVERY argument
130 #define EXIT_CONGRECOVERY(flags) flags &= ~CCF_CONGRECOVERY argument
132 #define IN_RECOVERY(flags) (flags & (CCF_CONGRECOVERY | CCF_FASTRECOVERY)) argument
133 #define ENTER_RECOVERY(flags) flags |= (CCF_CONGRECOVERY | CCF_FASTRECOVERY) argument
134 #define EXIT_RECOVERY(flags) flags &= ~(CCF_CONGRECOVERY | CCF_FASTRECOVERY) argument
/illumos-gate/usr/src/uts/common/io/usb/usba10/
H A Dusba10.c83 usb_flags_t flags) in usb_register_client() argument
86 dip, version, dev_data, parse_level, flags)); in usb_register_client()
172 usb_flags_t flags) in usb_pipe_get_state() argument
174 return (usba10_usb_pipe_get_state(pipe_handle, pipe_state, flags)); in usb_pipe_get_state()
190 usb_flags_t flags, in usb_pipe_open() argument
193 return (usba10_usb_pipe_open(dip, ep, pipe_policy, flags, pipe_handle)); in usb_pipe_open()
201 usb_flags_t flags, in usb_pipe_close() argument
206 usb_cb_flags_t flags), in usb_pipe_close() argument
209 usba10_usb_pipe_close(dip, pipe_handle, flags, cb, cb_arg); in usb_pipe_close()
218 usb_flags_t flags, in usb_pipe_drain_reqs() argument
[all …]
/illumos-gate/usr/src/uts/intel/sys/
H A Dddi_isa.h90 size_t repcount, uint_t flags);
93 size_t repcount, uint_t flags);
96 size_t repcount, uint_t flags);
99 size_t repcount, uint_t flags);
103 size_t repcount, uint_t flags);
106 size_t repcount, uint_t flags);
109 size_t repcount, uint_t flags);
112 size_t repcount, uint_t flags);
178 uint8_t *dev_addr, size_t repcount, uint_t flags);
182 uint16_t *dev_addr, size_t repcount, uint_t flags);
[all …]
/illumos-gate/usr/src/cmd/pcitool/
H A Dpcitool_ui.c132 parsed_args->flags = 0; in get_commandline_args()
141 parsed_args->flags = PROBEALL_FLAG | PROBERNG_FLAG; in get_commandline_args()
152 parsed_args->flags = 0; in get_commandline_args()
166 parsed_args->flags &= ~PROBERNG_FLAG; in get_commandline_args()
170 parsed_args->flags |= QUIET_FLAG; in get_commandline_args()
175 parsed_args->flags |= VERBOSE_FLAG; in get_commandline_args()
212 if (parsed_args->flags & (LEAF_FLAG | in get_commandline_args()
219 parsed_args->flags |= NEXUS_FLAG; in get_commandline_args()
220 if (parse_nexus_opts(optarg, &parsed_args->flags, in get_commandline_args()
232 if (parsed_args->flags & (LEAF_FLAG | in get_commandline_args()
[all …]

12345678910>>...119