Home
last modified time | relevance | path

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

12345678910>>...69

/titanic_41/usr/src/uts/common/avs/ns/nsctl/
H A Dnsc_resv.c97 nsc_attach(fd, flag) in nsc_attach() argument
99 int flag;
103 rc = nsc_reserve(fd, flag);
144 nsc_reserve(fd, flag) in nsc_reserve() argument
146 int flag;
151 if ((flag & NSC_READ) == 0)
152 flag |= (fd->sf_flag & NSC_RDWR);
154 rw = (flag & NSC_RDWR);
160 while ((rc = _nsc_attach_fd(fd, flag)) != 0)
166 fd->sf_mode = (flag & NSC_MULTI);
[all …]
/titanic_41/usr/src/cmd/rcm_daemon/common/
H A Drcm_impl.c59 common_resource_op(int cmd, char *rsrcname, pid_t pid, uint_t flag, int seq_num, in common_resource_op() argument
77 arg.flag = flag; in common_resource_op()
91 } else if ((error == RCM_SUCCESS) && (flag & RCM_RETIRE_REQUEST)) { in common_resource_op()
110 notify_resource_remove(char **rsrcnames, pid_t pid, uint_t flag, int seq_num, in notify_resource_remove() argument
121 pid, flag, seq_num); in notify_resource_remove()
127 error = dr_req_update(rsrcnames[i], pid, flag, in notify_resource_remove()
134 error = common_resource_op(CMD_REMOVE, rsrcnames[i], pid, flag, in notify_resource_remove()
140 dr_req_remove(rsrcnames[i], flag); in notify_resource_remove()
153 notify_resource_resume(char **rsrcnames, pid_t pid, uint_t flag, int seq_num, in notify_resource_resume() argument
171 flag |= RCM_SUSPENDED; in notify_resource_resume()
[all …]
H A Drcm_subr.c514 rsrc_client_alloc(char *alias, char *modname, pid_t pid, uint_t flag) in rsrc_client_alloc() argument
534 client->flag = flag; in rsrc_client_alloc()
645 client->module->name, cmd, targ->flag); in rsrc_client_action()
663 if ((client->flag & RCM_REGISTER_DR) == 0) { in rsrc_client_action()
670 if ((client->flag & RCM_REGISTER_CAPACITY) == 0) { in rsrc_client_action()
676 if ((client->flag & RCM_REGISTER_EVENT) == 0) { in rsrc_client_action()
699 targ->flag, &info, &error, client_props, &depend_info); in rsrc_client_action()
703 if (((targ->flag & RCM_QUERY_CANCEL) == 0) && in rsrc_client_action()
708 if ((targ->flag & RCM_QUERY) == 0) { in rsrc_client_action()
711 } else if ((targ->flag & RCM_QUERY_CANCEL) == 0) { in rsrc_client_action()
[all …]
/titanic_41/usr/src/cmd/praudit/
H A Dpraudit.h191 extern int pa_print(pr_context_t *context, uval_t *uval, int flag);
193 extern int pa_file_string(pr_context_t *context, int status, int flag);
194 extern int pa_adr_int32(pr_context_t *context, int status, int flag);
195 extern int pa_adr_int64(pr_context_t *context, int status, int flag);
196 extern int pa_utime32(pr_context_t *context, int status, int flag);
197 extern int pa_ntime32(pr_context_t *context, int status, int flag);
198 extern int pa_utime64(pr_context_t *context, int status, int flag);
199 extern int pa_ntime64(pr_context_t *context, int status, int flag);
200 extern int pa_adr_string(pr_context_t *context, int status, int flag);
201 extern int pa_adr_u_int32(pr_context_t *context, int status, int flag);
[all …]
H A Dformat.c61 static int do_mtime32(pr_context_t *context, int status, int flag,
63 static int do_mtime64(pr_context_t *context, int status, int flag,
120 do_newline(pr_context_t *context, int flag) in do_newline() argument
124 if (!(context->format & PRF_ONELINE) && (flag == 1)) in do_newline()
293 process_tag(pr_context_t *context, int tagnum, int status, int flag) in process_tag() argument
307 flag); in process_tag()
353 pa_hostname(pr_context_t *context, int status, int flag) in pa_hostname() argument
372 returnstat = pa_print(context, &uval, flag); in pa_hostname()
377 returnstat = pa_print(context, &uval, flag); in pa_hostname()
383 pa_hostname_ex(pr_context_t *context, int status, int flag) in pa_hostname_ex() argument
[all …]
/titanic_41/usr/src/lib/libshell/common/bltins/
H A Dtypeset.c86 register int flag; in b_readonly() local
93 while((flag = optget(argv,*command=='e'?sh_optexport:sh_optreadonly))) switch(flag) in b_readonly()
109 flag = (NV_ASSIGN|NV_RDONLY|NV_VARNAME); in b_readonly()
125 flag = (NV_ASSIGN|NV_EXPORT|NV_IDENT); in b_readonly()
129 return(b_common(argv,flag,tdata.sh->var_tree, &tdata)); in b_readonly()
135 register unsigned flag = NV_NOARRAY|NV_NOSCOPE|NV_ASSIGN; in b_alias() local
144 flag = NV_TAGGED; in b_alias()
158 flag |= NV_TAGGED; in b_alias()
161 flag |= NV_EXPORT; in b_alias()
173 if(flag&NV_TAGGED) in b_alias()
[all …]
H A Dhist.c46 register int flag,fdo; in b_hist() local
62 while((flag = optget(argv,sh_opthist))) switch(flag) in b_hist()
87 if((flag = hist_max(hp) - opt_info.num-1) < 0) in b_hist()
88 flag = 1; in b_hist()
89 range[++indx] = flag; in b_hist()
109 flag = hist_expand(arg,&replace); in b_hist()
110 if(!(flag & HIST_ERROR)) in b_hist()
121 flag = indx; in b_hist()
122 while(flag<1 && (arg=argv[1])) in b_hist()
139 range[++flag] = (int)strtol(arg, (char**)0, 10); in b_hist()
[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()
/titanic_41/usr/src/uts/sun4u/starcat/sys/
H A Dsc_cvc.h56 #define CVC_DBG0(flag, fmt) \ argument
57 cvc_dbg(flag, fmt, 0, 0, 0, 0, 0);
58 #define CVC_DBG1(flag, fmt, a1) \ argument
59 cvc_dbg(flag, fmt, (uintptr_t)(a1), 0, 0, 0, 0);
60 #define CVC_DBG2(flag, fmt, a1, a2) \ argument
61 cvc_dbg(flag, fmt, (uintptr_t)(a1), (uintptr_t)(a2), 0, 0, 0);
62 #define CVC_DBG3(flag, fmt, a1, a2, a3) \ argument
63 cvc_dbg(flag, fmt, (uintptr_t)(a1), (uintptr_t)(a2), \
65 #define CVC_DBG4(flag, fmt, a1, a2, a3, a4) \ argument
66 cvc_dbg(flag, fmt, (uintptr_t)(a1), (uintptr_t)(a2), \
[all …]
/titanic_41/usr/src/cmd/msgfmt/
H A Doption.c32 parse_option(int *pargc, char ***pargv, struct flags *flag) in parse_option() argument
65 flag->idir = ++arg; in parse_option()
70 if (!flag->idir) in parse_option()
71 flag->idir = *++argv; in parse_option()
84 flag->fuzzy = 1; in parse_option()
96 flag->ofile = ++arg; in parse_option()
101 flag->ofile = *++argv; 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()
[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()
/titanic_41/usr/src/lib/libshell/common/edit/
H A Dhexpand.c47 #define DONE() {flag |= HIST_ERROR; cp = 0; stakseek(0); goto done;}
142 flag=0; /* HIST_* flags */
214 flag &= HIST_EVENT; /* save event flag for returning later */
220 flag |= HIST_QUICKSUBST;
240 flag |= HIST_HASH;
275 flag |= HIST_QUESTION;
283 if((!(flag&HIST_QUESTION) &&
289 || ((flag&HIST_QUESTION) && (*cp == '?' || *cp == '\n')))
299 flag |= HIST_EVENT;
306 flag&HIST_QUESTION, -1);
[all …]
/titanic_41/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
96 pci_debug(flag, dip, fmt, (uintptr_t)(a1), 0, 0, 0, 0);
97 #define DEBUG2(flag, dip, fmt, a1, a2) \ argument
98 pci_debug(flag, dip, fmt, (uintptr_t)(a1), (uintptr_t)(a2), 0, 0, 0);
99 #define DEBUG3(flag, dip, fmt, a1, a2, a3) \ argument
100 pci_debug(flag, dip, fmt, (uintptr_t)(a1), \
102 #define DEBUG4(flag, dip, fmt, a1, a2, a3, a4) \ argument
[all …]
/titanic_41/usr/src/lib/libc/port/i18n/
H A Dplural_parser.c96 printf(" flag: %s\n", type_name[GETTYPE(exp->flag)]); in stack_push()
128 type_name[GETTYPE((stk->ptr[stk->index - 1])->flag)]); in stack_pop()
163 struct stack *stk, unsigned int flag) in setop1() argument
184 newitem->flag = flag; in setop1()
264 tmp_flag = exp_op->flag; in reduce()
270 (*nexp)->flag = tmp_flag; in reduce()
281 tmp_flag = exp1->flag; in reduce()
287 (*nexp)->flag = tmp_flag; in reduce()
316 tmp_flag = exp1->flag; in reduce()
320 (*nexp)->flag = tmp_flag; in reduce()
[all …]
/titanic_41/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
87 pcmu_debug(flag, dip, fmt, (uintptr_t)(a1), 0, 0, 0, 0);
89 #define PCMU_DBG2(flag, dip, fmt, a1, a2) \ argument
90 pcmu_debug(flag, dip, fmt, (uintptr_t)(a1), (uintptr_t)(a2), 0, 0, 0);
92 #define PCMU_DBG3(flag, dip, fmt, a1, a2, a3) \ argument
93 pcmu_debug(flag, dip, fmt, (uintptr_t)(a1), \
96 #define PCMU_DBG4(flag, dip, fmt, a1, a2, a3, a4) \ argument
[all …]
/titanic_41/usr/src/lib/librcm/
H A Dlibrcm.c55 rcm_alloc_handle(char *modname, uint_t flag, void *arg, rcm_handle_t **hdp) in rcm_alloc_handle() argument
61 if ((hdp == NULL) || (flag & ~RCM_ALLOC_HDL_MASK)) { in rcm_alloc_handle()
94 if (flag & RCM_NOPID) { in rcm_alloc_handle()
128 rcm_get_info(rcm_handle_t *hd, char *rsrcname, uint_t flag, rcm_info_t **infop) in rcm_get_info() argument
132 if ((flag & ~RCM_GET_INFO_MASK) || (infop == NULL)) { in rcm_get_info()
141 ((flag & RCM_DR_OPERATION|RCM_MOD_INFO) == 0)) { in rcm_get_info()
149 return (rcm_common(CMD_GETINFO, hd, rsrcnames, flag, NULL, infop)); in rcm_get_info()
154 rcm_get_info_list(rcm_handle_t *hd, char **rsrcnames, uint_t flag, in rcm_get_info_list() argument
158 if ((flag & RCM_DR_OPERATION) || (flag & RCM_MOD_INFO)) { in rcm_get_info_list()
163 return (rcm_common(CMD_GETINFO, hd, rsrcnames, flag, NULL, infop)); in rcm_get_info_list()
[all …]
/titanic_41/usr/src/uts/common/kiconv/kiconv_emea/
H A Dkiconv_emea.c894 size_t *outlen, int flag, int *errno) in kiconvstr_to_sb() argument
920 do_not_ignore_null = ((flag & KICONV_IGNORE_NULL) == 0); in kiconvstr_to_sb()
944 if (flag & KICONV_REPLACE_INVALID) { in kiconvstr_to_sb()
975 if (flag & KICONV_REPLACE_INVALID) { in kiconvstr_to_sb()
992 if (flag & KICONV_REPLACE_INVALID) { in kiconvstr_to_sb()
1004 if (flag & KICONV_REPLACE_INVALID) { in kiconvstr_to_sb()
1052 size_t *outlen, int flag, int *errno) in kiconvstr_to_720() argument
1055 inlen, (uchar_t *)outarray, outlen, flag, errno)); in kiconvstr_to_720()
1060 size_t *outlen, int flag, int *errno) in kiconvstr_to_737() argument
1063 inlen, (uchar_t *)outarray, outlen, flag, errno)); in kiconvstr_to_737()
[all …]
/titanic_41/usr/src/uts/common/syscall/
H A Dppriv.c245 setpflags(uint_t flag, uint_t val, cred_t *tcr) in setpflags() argument
252 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()
259 if (flag == __PROC_PROTECT) { 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()
[all …]
/titanic_41/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
170 upa64s_debug(flag, psp, fmt, (uintptr_t)(a1), 0, 0, 0, 0);
171 #define DBG2(flag, psp, fmt, a1, a2) \ argument
172 upa64s_debug(flag, psp, fmt, (uintptr_t)(a1), (uintptr_t)(a2), 0, 0, 0);
173 #define DBG3(flag, psp, fmt, a1, a2, a3) \ argument
174 upa64s_debug(flag, psp, fmt, (uintptr_t)(a1), (uintptr_t)(a2), \
176 #define DBG4(flag, psp, fmt, a1, a2, a3, a4) \ argument
177 upa64s_debug(flag, psp, fmt, (uintptr_t)(a1), (uintptr_t)(a2), \
[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
139 sbbc_dbg(flag, dip, fmt, (uintptr_t)(a1), 0, 0, 0, 0);
140 #define SBBC_DBG2(flag, dip, fmt, a1, a2) \ argument
141 sbbc_dbg(flag, dip, fmt, (uintptr_t)(a1), (uintptr_t)(a2), 0, 0, 0);
142 #define SBBC_DBG3(flag, dip, fmt, a1, a2, a3) \ argument
143 sbbc_dbg(flag, dip, fmt, (uintptr_t)(a1), (uintptr_t)(a2), \
145 #define SBBC_DBG4(flag, dip, fmt, a1, a2, a3, a4) \ argument
146 sbbc_dbg(flag, dip, fmt, (uintptr_t)(a1), (uintptr_t)(a2), \
[all …]
/titanic_41/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
202 ebus_debug(flag, psp, fmt, (uintptr_t)(a1), 0, 0, 0, 0);
203 #define DBG2(flag, psp, fmt, a1, a2) \ argument
204 ebus_debug(flag, psp, fmt, (uintptr_t)(a1), (uintptr_t)(a2), 0, 0, 0);
205 #define DBG3(flag, psp, fmt, a1, a2, a3) \ argument
206 ebus_debug(flag, psp, fmt, (uintptr_t)(a1), (uintptr_t)(a2), \
208 #define DBG4(flag, psp, fmt, a1, a2, a3, a4) \ argument
209 ebus_debug(flag, psp, fmt, (uintptr_t)(a1), (uintptr_t)(a2), \
[all …]
/titanic_41/usr/src/uts/sun4u/montecarlo/sys/
H A Dacebus.h184 #define DBG(flag, psp, fmt) \ argument
185 acebus_debug(flag, psp, fmt, 0, 0, 0, 0, 0);
186 #define DBG1(flag, psp, fmt, a1) \ argument
187 acebus_debug(flag, psp, fmt, (uintptr_t)(a1), 0, 0, 0, 0);
188 #define DBG2(flag, psp, fmt, a1, a2) \ argument
189 acebus_debug(flag, psp, fmt, (uintptr_t)(a1), (uintptr_t)(a2), 0, 0, 0);
190 #define DBG3(flag, psp, fmt, a1, a2, a3) \ argument
191 acebus_debug(flag, psp, fmt, (uintptr_t)(a1), (uintptr_t)(a2), \
193 #define DBG4(flag, psp, fmt, a1, a2, a3, a4) \ argument
194 acebus_debug(flag, psp, fmt, (uintptr_t)(a1), (uintptr_t)(a2), \
[all …]
/titanic_41/usr/src/cmd/nlsadmin/
H A Dnlsadmin.c114 void usage(int flag);
133 int flag = 0; /* bit flag of type of command */ in main() local
149 if ( (flag && (flag != CMDFLAG)) || svcptr || Quietflag in main()
155 if ( (flag && (flag != CMDFLAG)) || cmdptr || Quietflag ) in main()
158 flag |= CMDFLAG; in main()
161 if ( flag || svcptr || Quietflag || comptr || addrptr in main()
165 flag |= DISFLAG; in main()
168 if ( flag || svcptr || Quietflag || comptr || addrptr in main()
172 flag |= ENAFLAG; in main()
175 if ( flag || svcptr || Quietflag || comptr || addrptr in main()
[all …]
/titanic_41/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()
/titanic_41/usr/src/cmd/swap/
H A Dswap.c85 static int doswap(int flag);
87 static int list(int flag);
95 int c, flag = 0; in main() local
120 flag |= LFLAG; in main()
123 flag |= SFLAG; in main()
132 if ((argc - optind) > 1 || flag != 0) { in main()
136 flag |= DFLAG; in main()
159 (flag & ~(P1FLAG | P2FLAG)) != 0) { in main()
169 flag |= AFLAG; in main()
191 flag |= HFLAG; in main()
[all …]

12345678910>>...69