Searched refs:flags (Results 1 - 25 of 3670) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/tools/smatch/src/validation/
H A Dsm_locking6.c3 int raw_local_irq_restore(flags);
5 #define spin_trylock_irqsave(lock, flags) \
7 (flags) = __raw_local_irq_save(); \
8 _spin_trylock(lock) ? 1 : ({ raw_local_irq_restore(flags); 0; }); \
11 void _spin_unlock_irqrestore(int lock, int flags);
18 int flags = 1; local
20 if (!spin_trylock_irqsave(lock, flags))
22 _spin_unlock_irqrestore(lock, flags);
25 if (spin_trylock_irqsave(lock, flags))
34 sm_locking6.c:27 func() warn: inconsistent returns 'irqsave:flags'
[all...]
H A Dsm_locking7.c4 void arch_local_irq_restore(unsigned long flags);
11 unsigned long flags; local
15 flags = arch_local_irq_save();
18 arch_local_irq_restore(flags);
30 sm_locking7.c:22 func() warn: inconsistent returns 'irqsave:flags'.
/illumos-gate/usr/src/lib/libbc/libc/sys/4.2/
H A Dopen.c36 open(char *path, int flags, int mode) argument
38 return (bc_open(path, flags, mode));
42 bc_open(char *path, int flags, int mode) argument
45 if (flags & FNDELAY) {
46 flags &= ~FNDELAY;
47 flags |= O_NONBLOCK;
49 return (open_com(path, flags, mode));
/illumos-gate/usr/src/lib/libast/common/sfio/
H A Dsfset.c24 /* Set some control flags or file descript for the stream
30 int sfset(Sfio_t* f, int flags, int set) argument
32 int sfset(f,flags,set)
34 int flags;
43 if(flags == 0 && set == 0)
44 SFMTXRETURN(f, (f->flags&SF_FLAGS));
49 if(flags == 0)
50 SFMTXRETURN(f, (f->flags&SF_FLAGS));
55 oflags = f->flags;
56 if(!(f->bits&SF_BOTH) || (flags
[all...]
/illumos-gate/usr/src/cmd/fm/eversholt/common/
H A Dptree.h49 * flags is passed to out()
55 int flags; member in struct:plut_wlk_data
59 void ptree(int flags, struct node *np, int no_iterators, int fileline);
60 void ptree_name(int flags, struct node *np);
61 void ptree_name_iter(int flags, struct node *np);
62 void ptree_all(int flags, const char *pat);
63 void ptree_fault(int flags, const char *pat);
64 void ptree_upset(int flags, const char *pat);
65 void ptree_defect(int flags, const char *pat);
66 void ptree_error(int flags, cons
[all...]
H A Dptree.c96 ptree(int flags, struct node *np, int no_iterators, int fileline) argument
105 out(flags|O_NONL, "%s", np->u.name.s);
110 out(flags|O_NONL, "%d", num);
114 out(flags|O_NONL, "<>");
116 out(flags|O_NONL, "<");
117 ptree(flags, np->u.name.child,
119 out(flags|O_NONL, ">");
124 out(flags|O_NONL, "[");
125 ptree(flags, np->u.name.child, no_iterators,
128 out(flags|O_NON
476 ptree_name(int flags, struct node *np) argument
482 ptree_name_iter(int flags, struct node *np) argument
569 int flags; member in struct:printer_info
680 ptree_type_pattern(int flags, enum nodetype t, const char *pat) argument
736 ptree_all(int flags, const char *pat) argument
742 ptree_fault(int flags, const char *pat) argument
748 ptree_upset(int flags, const char *pat) argument
754 ptree_defect(int flags, const char *pat) argument
760 ptree_error(int flags, const char *pat) argument
766 ptree_ereport(int flags, const char *pat) argument
772 ptree_serd(int flags, const char *pat) argument
778 ptree_stat(int flags, const char *pat) argument
784 ptree_asru(int flags, const char *pat) argument
790 ptree_fru(int flags, const char *pat) argument
796 ptree_prop(int flags, const char *pat) argument
802 ptree_mask(int flags, const char *pat) argument
808 ptree_timeval(int flags, unsigned long long *ullp) argument
[all...]
/illumos-gate/usr/src/head/
H A Ddeflt.h53 #define DC_GETFLAGS 0 /* get current flags */
54 #define DC_SETFLAGS 1 /* set flags */
73 #define TURNON(flags, mask) ((flags) |= (mask))
74 #define TURNOFF(flags, mask) ((flags) &= ~(mask))
75 #define ISON(flags, mask) (((flags) & (mask)) == (mask))
76 #define ISOFF(flags, mask) (((flags)
[all...]
/illumos-gate/usr/src/lib/libast/common/stdio/
H A Dfdopen.c29 int flags; local
31 if (fd < 0 || !(flags = _sftype(mode, NiL, NiL)))
33 return sfnew(NiL, NiL, (size_t)SF_UNBOUND, fd, flags);
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dmlockall.c38 mlockall(int flags) argument
41 return (mctl(0, 0, MC_LOCKAS, flags));
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dmlockall.c41 mlockall(int flags) argument
43 return (memcntl(0, 0, MC_LOCKAS, (caddr_t)(uintptr_t)flags, 0, 0));
/illumos-gate/usr/src/lib/pam_modules/ldap/
H A Dldap_chauthtok.c35 int flags,
33 pam_sm_chauthtok( pam_handle_t *pamh, int flags, int argc, const char **argv) argument
H A Dldap_close_session.c35 int flags,
33 pam_sm_close_session( pam_handle_t *pamh, int flags, int argc, const char **argv) argument
H A Dldap_open_session.c35 int flags,
33 pam_sm_open_session( pam_handle_t *pamh, int flags, int argc, const char **argv) argument
H A Dldap_setcred.c38 int flags,
36 pam_sm_setcred( pam_handle_t *pamh, int flags, int argc, const char **argv) argument
/illumos-gate/usr/src/lib/libbc/libc/sys/sys5/
H A Dopen.c33 open(char *path, int flags, int mode) argument
35 return (bc_open(path, flags, mode));
40 bc_open(char *path, int flags, int mode) argument
46 return (open_com(path, flags, mode));
/illumos-gate/usr/src/lib/libast/common/misc/
H A Dprocrun.c37 procrun(const char* path, char** argv, int flags) argument
40 flags &= argv ? PROC_ARGMOD : PROC_CHECK;
42 if (flags & PROC_CHECK)
48 return procclose(procopen(path, argv, NiL, NiL, flags|PROC_FOREGROUND|PROC_GID|PROC_UID));
/illumos-gate/usr/src/lib/libcmd/common/
H A Dcmdinit.c30 _cmd_init(int argc, char** argv, void* context, const char* catalog, int flags) argument
38 if (flags & ERROR_CALLBACK)
40 flags &= ~ERROR_CALLBACK;
41 flags |= ERROR_NOTIFY;
43 else if (flags & ERROR_NOTIFY)
46 flags &= ~ERROR_NOTIFY;
48 error_info.flags |= flags;
70 cmdinit(char** argv, void* context, const char* catalog, int flags) argument
72 _cmd_init(0, argv, context, catalog, flags);
[all...]
/illumos-gate/usr/src/test/util-tests/tests/grep_xpg4/
H A Dgrep_test.ksh90 echo "$FLAGLIST" > /tmp/flags
95 while read flags; do
96 print -n "test $i: grep $flags: "
97 $XGREP $flags a test0 test1 test2 \
109 done < /tmp/flags
113 echo "$FLAGS2" > /tmp/flags
115 while read flags; do
116 print -n "test $i: grep $flags: "
117 $XGREP $flags ".*" testnl > out
127 done < /tmp/flags
[all...]
/illumos-gate/usr/src/uts/common/inet/
H A Dcc.h97 uint32_t flags; /* Flags for cc_var (see below) */ member in struct:cc_var
107 * cc_var flags.
124 #define IN_FASTRECOVERY(flags) (flags & CCF_FASTRECOVERY)
125 #define ENTER_FASTRECOVERY(flags) flags |= CCF_FASTRECOVERY
126 #define EXIT_FASTRECOVERY(flags) flags &= ~CCF_FASTRECOVERY
128 #define IN_CONGRECOVERY(flags) (flags
[all...]
/illumos-gate/usr/src/test/libc-tests/tests/
H A Dfnmatch.c38 int flags; member in struct:testcase
184 flags_to_string(int flags) argument
199 if (flags & flagvalues[i]) {
204 flags &= ~flagvalues[i];
210 else if (flags != 0)
211 sprintf(p, "%d", flags);
221 int flags, result; local
227 flags = t->flags;
229 result = fnmatch(t->pattern, t->string, flags);
[all...]
/illumos-gate/usr/src/lib/pam_modules/allow/
H A Dallow.c47 debug(pam_handle_t *pamh, int flags, int argc, const char **argv, char *mod) argument
59 service ? service : "No Service Specified", mod, flags,
64 pam_sm_authenticate(pam_handle_t *pamh, int flags, int argc, const char **argv) argument
66 debug(pamh, flags, argc, argv, "pam_sm_authenticate");
71 pam_sm_setcred(pam_handle_t *pamh, int flags, int argc, const char **argv) argument
73 debug(pamh, flags, argc, argv, "pam_sm_setcred");
78 pam_sm_acct_mgmt(pam_handle_t *pamh, int flags, int argc, const char **argv) argument
80 debug(pamh, flags, argc, argv, "pam_sm_acct_mgmt");
85 pam_sm_open_session(pam_handle_t *pamh, int flags, int argc, const char **argv) argument
87 debug(pamh, flags, arg
92 pam_sm_close_session(pam_handle_t *pamh, int flags, int argc, const char **argv) argument
99 pam_sm_chauthtok(pam_handle_t *pamh, int flags, int argc, const char **argv) argument
[all...]
/illumos-gate/usr/src/lib/pam_modules/deny/
H A Ddeny.c47 debug(pam_handle_t *pamh, int flags, int argc, const char **argv, char *mod) argument
59 service ? service : "No Service Specified", mod, flags,
64 pam_sm_authenticate(pam_handle_t *pamh, int flags, int argc, const char **argv) argument
66 debug(pamh, flags, argc, argv, "pam_sm_authenticate");
71 pam_sm_setcred(pam_handle_t *pamh, int flags, int argc, const char **argv) argument
73 debug(pamh, flags, argc, argv, "pam_sm_setcred");
78 pam_sm_acct_mgmt(pam_handle_t *pamh, int flags, int argc, const char **argv) argument
80 debug(pamh, flags, argc, argv, "pam_sm_acct_mgmt");
85 pam_sm_open_session(pam_handle_t *pamh, int flags, int argc, const char **argv) argument
87 debug(pamh, flags, arg
92 pam_sm_close_session(pam_handle_t *pamh, int flags, int argc, const char **argv) argument
99 pam_sm_chauthtok(pam_handle_t *pamh, int flags, int argc, const char **argv) argument
[all...]
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/
H A Dsyminfo.c46 Half flags = sip->si_flags; local
48 if (flags & SYMINFO_FLG_CAP) {
51 flags &= ~SYMINFO_FLG_CAP;
54 if (flags & SYMINFO_FLG_DIRECT) {
64 flags &= ~SYMINFO_FLG_DIRECT;
66 } else if (flags & SYMINFO_FLG_FILTER) {
69 flags &= ~SYMINFO_FLG_FILTER;
71 } else if (flags & SYMINFO_FLG_AUXILIARY) {
74 flags &= ~SYMINFO_FLG_AUXILIARY;
81 if (flags
[all...]
/illumos-gate/usr/src/lib/pam_modules/krb5/
H A Dkrb5_session.c39 int flags,
53 int flags,
37 pam_sm_open_session( pam_handle_t *pamh, int flags, int argc, const char **argv) argument
51 pam_sm_close_session( pam_handle_t *pamh, int flags, int argc, const char **argv) argument
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dvic_opt.c7 opt->flags = 0;
13 opt->flags |= KRB5_VERIFY_INIT_CREDS_OPT_AP_REQ_NOFAIL;

Completed in 184 milliseconds

1234567891011>>