Searched refs:flag (Results 51 - 75 of 1651) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/rexd/
H A Dmntent.c129 setmntent(fname, flag)
131 char *flag;
135 if ((mnttabp = fopen(fname, flag)) == NULL)
139 for (; *flag ; flag++)
141 if (*flag == 'w' || *flag == 'a' || *flag == '+')
/illumos-gate/usr/src/lib/libshell/common/bltins/
H A Dcd_pwd.c59 int rval,flag=0; local
67 flag = 0;
70 flag = 1;
144 if(!flag)
178 if(flag)
196 flag = strlen(dir);
198 while(--flag>0 && dir[flag]=='/')
199 dir[flag] = 0;
211 register int n, flag local
[all...]
/illumos-gate/usr/src/lib/libc/port/stdio/
H A D_filbuf.c60 unsigned int flag; local
62 unsigned char flag; local
99 if ((flag = iop->_flag) & _IOEOF) {
116 if (flag & _IONBF)
/illumos-gate/usr/src/lib/libc/port/sys/
H A Dppriv.c76 setpflags(uint_t flag, uint_t val) argument
78 return (syscall(SYS_privsys, PRIVSYS_SETPFLAGS, (priv_op_t)flag,
83 getpflags(uint_t flag) argument
85 return (syscall(SYS_privsys, PRIVSYS_GETPFLAGS, flag, 0, 0, 0));
H A Dchmod.c35 fchmodat(int fd, const char *path, mode_t mode, int flag) argument
37 return (syscall(SYS_fchmodat, fd, path, mode, flag));
/illumos-gate/usr/src/head/
H A Dgetopt.h54 int *flag; /* if not NULL, set *flag to val when option found */ member in struct:option
55 int val; /* if flag is not NULL, value to set *flag to. */
56 /* if flag is NULL, return value */
/illumos-gate/usr/src/cmd/nlsadmin/
H A Dnlsadmin.c114 void usage(int flag);
133 int flag = 0; /* bit flag of type of command */ local
141 int sawsep = 0; /* flag for RPC separator */
149 if ( (flag && (flag != CMDFLAG)) || svcptr || Quietflag
155 if ( (flag && (flag != CMDFLAG)) || cmdptr || Quietflag )
158 flag |= CMDFLAG;
161 if ( flag || svcpt
486 usage(int flag) argument
[all...]
/illumos-gate/usr/src/uts/common/syscall/
H A Dchmod.c50 fchmodat(int fd, char *path, int mode, int flag) argument
55 if (flag & ~AT_SYMLINK_NOFOLLOW)
58 if (flag & AT_SYMLINK_NOFOLLOW)
63 error = fsetattrat(fd, path, flag, &vattr);
H A Dumount.c64 umount2_engine(vfs_t *vfsp, int flag, cred_t *cr, int is_syscall) argument
114 if ((error = dounmount(vfsp, flag, cr)) != 0)
120 * New umount() system call (for force unmount flag and perhaps others later).
123 umount2(char *pathp, int flag) argument
132 flag &= MS_UMOUNT_MASK;
193 return (umount2_engine(vfsp, flag, CRED(), 1));
/illumos-gate/usr/src/uts/common/sys/
H A Dsqueue.h50 #define SQUEUE_ENTER(sqp, head, tail, cnt, ira, flag, tag) { \
51 sqp->sq_enter(sqp, head, tail, cnt, ira, flag, tag); \
54 #define SQUEUE_ENTER_ONE(sqp, mp, proc, arg, ira, flag, tag) { \
58 SQUEUE_ENTER(sqp, mp, mp, 1, ira, flag, tag); \
/illumos-gate/usr/src/lib/libast/amd64/include/ast/
H A Dgetopt.h52 int* flag; member in struct:option
/illumos-gate/usr/src/lib/libast/i386/include/ast/
H A Dgetopt.h52 int* flag; member in struct:option
/illumos-gate/usr/src/lib/libast/sparc/include/ast/
H A Dgetopt.h52 int* flag; member in struct:option
/illumos-gate/usr/src/lib/libast/sparcv9/include/ast/
H A Dgetopt.h52 int* flag; member in struct:option
/illumos-gate/usr/src/uts/common/nfs/
H A Dlm.h108 struct flock64 *flk, int flag,
119 struct shrlock *shr, int flag, netobj *fh);
121 struct flock64 *flk, int flag,
125 struct shrlock *shr, int flag, netobj *fh);
/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/nontrivial/
H A Dzfs_acl_chmod_xattr_001_pos.ksh122 function check_chmod_results #node flag acl_target g_usr o_usr
125 typeset flag=$2
131 if [[ $flag == "owner@" || $flag == "everyone@" ]]; then
135 if [[ $flag == "group@" || $flag == "everyone@" ]]; then
139 if [[ $flag == "everyone@" ]]; then
150 typeset flag acl_p acl_t parent
154 for flag in ${a_flag[@]}; do
156 log_must usr_exec chmod A+$flag
[all...]
H A Dzfs_acl_chmod_xattr_002_pos.ksh115 function check_chmod_results #node flag acl_target owner g_usr o_usr
118 typeset flag=$2
125 if [[ $flag == "owner@" || $flag == "everyone@" ]]; then
129 if [[ $flag == "group@" || $flag == "everyone@" ]]; then
133 if [[ $flag == "everyone@" ]]; then
145 typeset flag acl_p acl_t parent
149 for flag in ${a_flag[@]}; do
151 log_must usr_exec chmod A+$flag
[all...]
H A Dzfs_acl_chmod_rwx_004_pos.ksh72 function verify_explicit_ACL_rule #node access flag
76 typeset flag=$3
80 if [[ $flag == allow ]]; then
90 log_must usr_exec chmod A+everyone@:$access:$flag $node
103 chmod A+group:$ZFS_ACL_OTHER_GROUP:$access:$flag $node
128 for flag in ${a_flag[@]}; do
129 verify_explicit_ACL_rule $node $access $flag
/illumos-gate/usr/src/cmd/swap/
H A Dswap.c85 static int doswap(int flag);
87 static int list(int flag);
95 int c, flag = 0; local
120 flag |= LFLAG;
123 flag |= SFLAG;
132 if ((argc - optind) > 1 || flag != 0) {
136 flag |= DFLAG;
159 (flag & ~(P1FLAG | P2FLAG)) != 0) {
169 flag |= AFLAG;
191 flag |
303 doswap(int flag) argument
366 list(int flag) argument
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dpriv_str_xlate.c175 int flag)
188 if (flag != PRIV_STR_PORT && __priv_isemptyset(d, pset))
190 if (flag != PRIV_STR_LIT && __priv_isfullset(d, pset))
218 if (flag == PRIV_STR_SHORT) {
248 flag = PRIV_STR_PORT;
251 flag = PRIV_STR_LIT;
255 flag = PRIV_STR_SHORT;
260 flag = PRIV_STR_SHORT;
265 switch (flag) {
272 flag
171 __priv_set_to_str( priv_data_t *d, const priv_set_t *pset, char separator, int flag) argument
338 priv_set_to_str(const priv_set_t *pset, char separator, int flag) argument
[all...]
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Drcm_subr.c36 int need_cleanup; /* flag indicating if clean up is needed */
92 * with RCM_FILESYS flag.
514 rsrc_client_alloc(char *alias, char *modname, pid_t pid, uint_t flag) argument
534 client->flag = flag;
644 "rsrc_client_action: %s, %s, cmd=%d, flag=0x%x\n", client->alias,
645 client->module->name, cmd, targ->flag);
663 if ((client->flag & RCM_REGISTER_DR) == 0) {
670 if ((client->flag & RCM_REGISTER_CAPACITY) == 0) {
676 if ((client->flag
1034 rn_find_child(rsrc_node_t *parent, char *childname, int flag, int type) argument
1128 rsrc_node_find(char *rsrcname, int flag, rsrc_node_t **nodep) argument
1189 rsrc_node_add_user(rsrc_node_t *node, char *alias, char *modname, pid_t pid, uint_t flag) argument
1245 rsrc_node_remove_user(rsrc_node_t *node, char *modname, pid_t pid, uint_t flag) argument
1396 uint_t flag = targ->flag; local
1459 rsrc_usage_info(char **rsrcnames, uint_t flag, int seq_num, rcm_info_t **info) argument
1894 call_getinfo(struct rcm_mod_ops *ops, rcm_handle_t *hdl, char *alias, id_t pid, uint_t flag, char **info, char **error, nvlist_t *client_props, rcm_info_t **infop) argument
[all...]
/illumos-gate/usr/src/cmd/sgs/libelf/common/
H A Doutput.c80 _elf_outsync(int fd, char *p, size_t sz, unsigned int flag) argument
82 if (flag != 0) {
/illumos-gate/usr/src/cmd/streams/log/
H A Dstrerr.c56 static void prlog(FILE *log, struct log_ctl *lp, char *dp, int flag);
59 static void prlog(FILE *log, struct log_ctl *lp, char *dp, int flag);
106 int flag; local
147 flag = 0;
148 while (getmsg(fd, &ctl, &dat, &flag) >= 0) {
149 flag = 0;
174 prlog(FILE *log, struct log_ctl *lp, char *dp, int flag) argument
181 if (flag) {
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip_dummy.c43 static int dummy_modopen(queue_t *q, dev_t *devp, int flag,
78 dummy_modopen(queue_t *q, dev_t *devp, int flag, int sflag, cred_t *credp) argument
/illumos-gate/usr/src/tools/scripts/
H A Dcheckproto.sh37 while getopts X flag
39 case $flag in

Completed in 94 milliseconds

1234567891011>>