Home
last modified time | relevance | path

Searched refs:flag (Results 1 – 25 of 1528) sorted by relevance

12345678910>>...62

/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Drcm_impl.c77 arg.flag = flag; in common_resource_op()
121 pid, flag, seq_num); in notify_resource_remove()
171 flag |= RCM_SUSPENDED; in notify_resource_resume()
431 ((user->flag & (flag & RCM_REGISTER_MASK)) != 0)) { in add_resource_client()
442 if (flag & RCM_REGISTER_DR) { in add_resource_client()
506 if (flag & RCM_DR_OPERATION) { in get_resource_info()
523 assert(flag == 0); in notify_resource_event()
526 rsrcname, pid, flag); in notify_resource_event()
543 flag, seq_num); in request_capacity_change()
557 if (flag & RCM_QUERY) in request_capacity_change()
[all …]
H A Drcm_subr.c532 client->flag = flag; in rsrc_client_alloc()
1188 uint_t flag) in rsrc_node_add_user() argument
1209 if (user->flag & (flag & RCM_REGISTER_MASK)) { in rsrc_node_add_user()
1218 user->flag |= (flag & RCM_REGISTER_MASK); in rsrc_node_add_user()
1233 if (flag & RCM_FILESYS) in rsrc_node_add_user()
1249 pid, flag); in rsrc_node_remove_user()
1260 user->flag = user->flag & (~(flag & RCM_REGISTER_MASK)); in rsrc_node_remove_user()
1394 uint_t flag = targ->flag; in node_action() local
1404 if (flag & RCM_FILESYS) { in node_action()
1406 targ->flag &= ~RCM_FILESYS; in node_action()
[all …]
/illumos-gate/usr/src/cmd/praudit/
H A Dpraudit.h195 extern int pa_print(pr_context_t *context, uval_t *uval, int flag);
200 extern int pa_utime32(pr_context_t *context, int status, int flag);
212 extern int pa_pw_uid(pr_context_t *context, int status, int flag);
213 extern int pa_gr_uid(pr_context_t *context, int status, int flag);
215 extern int pa_ace(pr_context_t *context, int status, int flag);
220 extern int pa_tid32(pr_context_t *context, int status, int flag);
221 extern int pa_tid64(pr_context_t *context, int status, int flag);
227 extern int pa_mode(pr_context_t *context, int status, int flag);
228 extern int pa_cmd(pr_context_t *context, int status, int flag);
229 extern int pa_string(pr_context_t *context, int status, int flag);
[all …]
H A Dformat.c271 do_newline(pr_context_t *context, int flag) in do_newline() argument
458 flag); in process_tag()
842 return (pa_print(context, &uval, flag)); in pa_tid32()
853 return (pa_print(context, &uval, flag)); in pa_tid32()
908 return (pa_print(context, &uval, flag)); in pa_tid32_ex()
1034 return (pa_print(context, &uval, flag)); in pa_tid64()
2014 wstat = do_newline(context, flag); in pa_string()
2416 flag); in pa_event_modifier()
2959 if ((flag == 1) || last) in pa_print()
3198 flag); in pa_ace_who()
[all …]
/illumos-gate/usr/src/cmd/msgfmt/
H A Doption.c70 if (!flag->idir) in parse_option()
84 flag->fuzzy = 1; in parse_option()
111 flag->gnu_p = 1; in parse_option()
117 flag->sun_p = 1; in parse_option()
123 flag->verbose = 1; in parse_option()
146 if (flag->idir) { in parse_option()
158 flag->idir = arg; in parse_option()
166 flag->fuzzy = 1; in parse_option()
179 flag->ofile = arg; in parse_option()
187 flag->strict = 1; in parse_option()
[all …]
H A Dgnu_msgfmt.c52 static struct flags flag; in main() local
65 ret = parse_option(&argc, &argv, &flag); in main()
70 if (flag.idir) { in main()
71 inputdir = flag.idir; in main()
73 if (flag.ofile) { in main()
74 outfile = flag.ofile; in main()
77 if (flag.fuzzy) { in main()
80 if (flag.sun_p) { in main()
84 if (flag.verbose) { in main()
87 if (flag.strict) { in main()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/
H A Dhist.c62 while((flag = optget(argv,sh_opthist))) switch(flag) in b_hist()
88 flag = 1; in b_hist()
122 flag = indx; in b_hist()
153 if(flag <0) in b_hist()
159 if(flag<1) in b_hist()
160 flag = 1; in b_hist()
165 flag = 0; in b_hist()
170 if(flag==0) in b_hist()
182 flag = rflag>0; in b_hist()
183 if(range[1-flag] < range[flag]) in b_hist()
[all …]
H A Dtypeset.c371 if((flag&NV_ZFILL) && !(flag&NV_LJUST)) in b_typeset()
373 if((flag&NV_INTEGER) && (flag&(NV_LJUST|NV_RJUST|NV_ZFILL))) in b_typeset()
375 if((flag&NV_BINARY) && (flag&(NV_LJUST|NV_UTOL|NV_LTOU))) in b_typeset()
377 if((flag&NV_MOVE) && (flag&~(NV_MOVE|NV_VARNAME|NV_ASSIGN))) in b_typeset()
379 if((flag&NV_REF) && (flag&~(NV_REF|NV_IDENT|NV_ASSIGN))) in b_typeset()
381 if((flag&NV_TYPE) && (flag&~(NV_TYPE|NV_VARNAME|NV_ASSIGN))) in b_typeset()
732 if(!(flag&NV_INTEGER) && (flag&(NV_LTOU|NV_UTOL))) in setall()
1284 if(flag) in print_namval()
1336 if(flag) in print_namval()
1377 if(!flag) in print_namval()
[all …]
H A Dumask.c44 register int flag = 0, sflag = 0; in b_umask() local
69 flag = (flag<<3) + (c-'0'); in b_umask()
77 flag = umask(0); in b_umask()
78 c = strperm(cp,&cp,~flag&0777); in b_umask()
81 umask(flag); in b_umask()
84 flag = (~c&0777); in b_umask()
86 umask(flag); in b_umask()
90 umask(flag=umask(0)); in b_umask()
92 sfprintf(sfstdout,"%s\n",fmtperm(~flag&0777)); in b_umask()
94 sfprintf(sfstdout,"%0#4o\n",flag); in b_umask()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/edit/
H A Dhexpand.c240 flag |= HIST_HASH;
276 flag |= HIST_QUESTION;
301 flag |= HIST_EVENT;
333 if(flag&HIST_QUESTION)
392 flag |= HIST_WORDDSGN;
397 flag |= HIST_WORDDSGN;
519 flag &= ~HIST_HASH;
663 if(flag & HIST_QUOTE)
670 flag = flag & ~HIST_NEWLINE;
701 if(flag & HIST_QUOTE)
[all …]
/illumos-gate/usr/src/lib/libc/port/i18n/
H A Dplural_parser.c184 newitem->flag = flag; in setop1()
509 flag = op; in plural_expr()
530 flag = op; in plural_expr()
678 exp->flag = flag; in plural_expr()
717 exp->flag = flag; in plural_expr()
731 flag = nexp->flag; in plural_expr()
749 flag = nexp->flag; in plural_expr()
753 exp->flag = flag; in plural_expr()
766 exp->flag = flag; in plural_expr()
781 flag = nexp->flag; in plural_expr()
[all …]
/illumos-gate/usr/src/uts/sun4u/sys/pci/
H A Dpci_debug.h37 uint64_t flag; member
93 #define DEBUG0(flag, dip, fmt) \ argument
94 pci_debug(flag, dip, fmt, 0, 0, 0, 0, 0);
95 #define DEBUG1(flag, dip, fmt, a1) \ argument
97 #define DEBUG2(flag, dip, fmt, a1, a2) \ argument
99 #define DEBUG3(flag, dip, fmt, a1, a2, a3) \ argument
100 pci_debug(flag, dip, fmt, (uintptr_t)(a1), \
114 #define DEBUG0(flag, dip, fmt) argument
115 #define DEBUG1(flag, dip, fmt, a1) argument
116 #define DEBUG2(flag, dip, fmt, a1, a2) argument
[all …]
/illumos-gate/usr/src/lib/librcm/
H A Dlibrcm.c92 if (flag & RCM_NOPID) { in rcm_alloc_handle()
156 if ((flag & RCM_DR_OPERATION) || (flag & RCM_MOD_INFO)) { in rcm_get_info_list()
208 if (flag & ~RCM_NOTIFY_MASK) { in rcm_notify_online_list()
421 flag |= RCM_REGISTER_EVENT; in rcm_register_event()
440 flag |= RCM_REGISTER_EVENT; in rcm_unregister_event()
466 flag |= RCM_REGISTER_DR; in rcm_register_interest()
485 flag |= RCM_REGISTER_DR; in rcm_unregister_interest()
498 int flag = 0; in rcm_get_rsrcstate() local
1077 flag, infop); in rcm_direct_call()
1082 flag); in rcm_direct_call()
[all …]
/illumos-gate/usr/src/uts/sun4u/opl/sys/pcicmu/
H A Dpcmu_util.h59 uint64_t flag; member
83 #define PCMU_DBG0(flag, dip, fmt) \ argument
84 pcmu_debug(flag, dip, fmt, 0, 0, 0, 0, 0);
86 #define PCMU_DBG1(flag, dip, fmt, a1) \ argument
89 #define PCMU_DBG2(flag, dip, fmt, a1, a2) \ argument
93 pcmu_debug(flag, dip, fmt, (uintptr_t)(a1), \
97 pcmu_debug(flag, dip, fmt, (uintptr_t)(a1), \
110 #define PCMU_DBG0(flag, dip, fmt) argument
111 #define PCMU_DBG1(flag, dip, fmt, a1) argument
112 #define PCMU_DBG2(flag, dip, fmt, a1, a2) argument
[all …]
/illumos-gate/usr/src/uts/common/kiconv/kiconv_emea/
H A Dkiconv_emea.c894 size_t *outlen, int flag, int *errno) in kiconvstr_to_sb() argument
1052 size_t *outlen, int flag, int *errno) in kiconvstr_to_720() argument
1060 size_t *outlen, int flag, int *errno) in kiconvstr_to_737() argument
1068 size_t *outlen, int flag, int *errno) in kiconvstr_to_852() argument
1076 size_t *outlen, int flag, int *errno) in kiconvstr_to_857() argument
1084 size_t *outlen, int flag, int *errno) in kiconvstr_to_862() argument
1092 size_t *outlen, int flag, int *errno) in kiconvstr_to_866() argument
1100 size_t *outlen, int flag, int *errno) in kiconvstr_to_1250() argument
1108 size_t *outlen, int flag, int *errno) in kiconvstr_to_1251() argument
1116 size_t *outlen, int flag, int *errno) in kiconvstr_to_1253() argument
[all …]
/illumos-gate/usr/src/uts/common/syscall/
H A Dppriv.c252 if (val > 1 || (flag != PRIV_DEBUG && flag != PRIV_AWARE && in setpflags()
253 flag != NET_MAC_AWARE && flag != NET_MAC_AWARE_INHERIT && in setpflags()
254 flag != __PROC_PROTECT && flag != PRIV_XPOLICY && in setpflags()
255 flag != PRIV_AWARE_RESET && flag != PRIV_PFEXEC)) { in setpflags()
280 if (flag == PRIV_AWARE) in setpflags()
282 newflags |= flag; in setpflags()
284 newflags &= ~flag; in setpflags()
308 if ((flag == NET_MAC_AWARE || flag == NET_MAC_AWARE_INHERIT) && in setpflags()
360 if (flag != PRIV_DEBUG && flag != PRIV_AWARE && in getpflags()
361 flag != NET_MAC_AWARE && flag != NET_MAC_AWARE_INHERIT && in getpflags()
[all …]
/illumos-gate/usr/src/uts/sun4u/sys/
H A Dupa64s.h167 #define DBG(flag, psp, fmt) \ argument
168 upa64s_debug(flag, psp, fmt, 0, 0, 0, 0, 0);
169 #define DBG1(flag, psp, fmt, a1) \ argument
171 #define DBG2(flag, psp, fmt, a1, a2) \ argument
173 #define DBG3(flag, psp, fmt, a1, a2, a3) \ argument
186 #define DBG(flag, psp, fmt) argument
187 #define DBG1(flag, psp, fmt, a1) argument
188 #define DBG2(flag, psp, fmt, a1, a2) argument
189 #define DBG3(flag, psp, fmt, a1, a2, a3) argument
190 #define DBG4(flag, psp, fmt, a1, a2, a3, a4) argument
[all …]
H A Dsbbcvar.h136 #define SBBC_DBG0(flag, dip, fmt) \ argument
137 sbbc_dbg(flag, dip, fmt, 0, 0, 0, 0, 0);
138 #define SBBC_DBG1(flag, dip, fmt, a1) \ argument
140 #define SBBC_DBG2(flag, dip, fmt, a1, a2) \ argument
142 #define SBBC_DBG3(flag, dip, fmt, a1, a2, a3) \ argument
145 #define SBBC_DBG4(flag, dip, fmt, a1, a2, a3, a4) \ argument
154 #define SBBC_DBG0(flag, dip, fmt) argument
155 #define SBBC_DBG1(flag, dip, fmt, a1) argument
156 #define SBBC_DBG2(flag, dip, fmt, a1, a2) argument
157 #define SBBC_DBG3(flag, dip, fmt, a1, a2, a3) argument
[all …]
/illumos-gate/usr/src/uts/sun4/sys/
H A Debus.h199 #define DBG(flag, psp, fmt) \ argument
200 ebus_debug(flag, psp, fmt, 0, 0, 0, 0, 0);
201 #define DBG1(flag, psp, fmt, a1) \ argument
203 #define DBG2(flag, psp, fmt, a1, a2) \ argument
205 #define DBG3(flag, psp, fmt, a1, a2, a3) \ argument
208 #define DBG4(flag, psp, fmt, a1, a2, a3, a4) \ argument
220 #define DBG(flag, psp, fmt) argument
221 #define DBG1(flag, psp, fmt, a1) argument
222 #define DBG2(flag, psp, fmt, a1, a2) argument
223 #define DBG3(flag, psp, fmt, a1, a2, a3) argument
[all …]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dpsecflags.c44 char *flag; in secflags_parse() local
55 while ((flag = strsep(&s, ",")) != NULL) { in secflags_parse()
59 if (strcasecmp(flag, "default") == 0) { in secflags_parse()
68 } else if (strcasecmp(flag, "all") == 0) { in secflags_parse()
71 } else if (strcasecmp(flag, "none") == 0) { in secflags_parse()
74 } else if (strcasecmp(flag, "current") == 0) { in secflags_parse()
79 if ((flag[0] == '-') || (flag[0] == '!')) { in secflags_parse()
80 flag++; in secflags_parse()
82 } else if (flag[0] == '+') { in secflags_parse()
83 flag++; in secflags_parse()
[all …]
/illumos-gate/usr/src/cmd/nlsadmin/
H A Dnlsadmin.c149 if ( (flag && (flag != CMDFLAG)) || svcptr || Quietflag in main()
187 if ( ( flag && (flag != ADRFLAG)) || svcptr || lptr in main()
206 if ( (flag && (flag != CMDFLAG) && (flag != PIPFLAG)) || Quietflag ) in main()
211 if ( (flag && (flag != ZZZFLAG)) || Quietflag || comptr in main()
230 if ( (flag && (flag != ADRFLAG)) || svcptr || tptr in main()
244 if ( (flag && (flag != CMDFLAG)) || Quietflag || idptr in main()
256 if ( (flag && (flag != CMDFLAG)) || Quietflag || comptr in main()
269 if ( (flag && (flag != CMDFLAG) && (flag != PIPFLAG)) in main()
275 if ( (flag && (flag != CMDFLAG) && (flag != PIPFLAG)) in main()
287 if ( (flag && (flag != CMDFLAG) && (flag != PIPFLAG)) in main()
[all …]
/illumos-gate/usr/src/lib/libpkg/common/
H A Dmappath.c41 #define mode(flag, pt) (!flag || ((flag == 1) && islower(pt[1])) || \ argument
42 ((flag == 2) && isupper(pt[1])))
61 mappath(int flag, char *path) in mappath() argument
83 if (mode(flag, pt)) { in mappath()
110 if (flag == 2) { /* install-time. */ in mappath()
117 } else if (flag == 1 && /* build-time */ in mappath()
198 mapvar(int flag, char *varname) in mapvar() argument
206 if (mode(flag, varname)) { in mapvar()
220 if (flag == 2) /* install-time. */ in mapvar()
226 else if (flag == 1 && /* build-time */ in mapvar()
/illumos-gate/usr/src/cmd/swap/
H A Dswap.c98 int c, flag = 0; in main() local
123 flag |= LFLAG; in main()
126 flag |= SFLAG; in main()
139 flag |= DFLAG; in main()
172 flag |= AFLAG; in main()
194 flag |= HFLAG; in main()
198 flag |= KFLAG; in main()
202 flag |= P1FLAG; in main()
206 flag |= P2FLAG; in main()
306 doswap(int flag) in doswap() argument
[all …]
/illumos-gate/usr/src/common/unicode/
H A Duconv.c257 check_endian(int flag, int *in, int *out) in check_endian() argument
259 *in = flag & UCONV_IN_ENDIAN_MASKS; in check_endian()
268 *out = flag & UCONV_OUT_ENDIAN_MASKS; in check_endian()
316 uint32_t *u32s, size_t *utf32len, int flag) in uconv_u16tou32() argument
351 if ((flag & UCONV_IN_ACCEPT_BOM) && in uconv_u16tou32()
426 uchar_t *u8s, size_t *utf8len, int flag) in uconv_u16tou8() argument
449 if ((flag & UCONV_IN_ACCEPT_BOM) && in uconv_u16tou8()
520 uint16_t *u16s, size_t *utf16len, int flag) in uconv_u32tou16() argument
542 if ((flag & UCONV_IN_ACCEPT_BOM) && in uconv_u32tou16()
603 uchar_t *u8s, size_t *utf8len, int flag) in uconv_u32tou8() argument
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/nontrivial/
H A Dzfs_acl_chmod_delete_001_pos.ksh164 typeset flag=$2
176 if [[ $flag == "owner@" || $flag == "everyone@" ]]; then
180 if [[ $flag == "group@" || $flag == "everyone@" ]]; then
184 if [[ $flag == "everyone@" ]]; then
188 if [[ $flag == "user:"* ]]; then
189 typeset user=${flag#user:}
200 typeset flag acl_p acl_t parent
205 for flag in ${a_flag[@]}; do
209 log_must usr_exec chmod A+$flag:$acl $parent
215 log_must usr_exec chmod A+$flag:$acl_t $node
[all …]

12345678910>>...62