/illumos-gate/usr/src/cmd/rexd/ |
H A D | mntent.c | 129 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 D | cd_pwd.c | 59 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.c | 60 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 D | ppriv.c | 76 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 D | chmod.c | 35 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 D | getopt.h | 54 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 D | nlsadmin.c | 114 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 D | chmod.c | 50 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 D | umount.c | 64 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 D | squeue.h | 50 #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 D | getopt.h | 52 int* flag; member in struct:option
|
/illumos-gate/usr/src/lib/libast/i386/include/ast/ |
H A D | getopt.h | 52 int* flag; member in struct:option
|
/illumos-gate/usr/src/lib/libast/sparc/include/ast/ |
H A D | getopt.h | 52 int* flag; member in struct:option
|
/illumos-gate/usr/src/lib/libast/sparcv9/include/ast/ |
H A D | getopt.h | 52 int* flag; member in struct:option
|
/illumos-gate/usr/src/uts/common/nfs/ |
H A D | lm.h | 108 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 D | zfs_acl_chmod_xattr_001_pos.ksh | 122 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 D | zfs_acl_chmod_xattr_002_pos.ksh | 115 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 D | zfs_acl_chmod_rwx_004_pos.ksh | 72 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 D | swap.c | 85 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 D | priv_str_xlate.c | 175 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 D | rcm_subr.c | 36 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 D | output.c | 80 _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 D | strerr.c | 56 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 D | ip_dummy.c | 43 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 D | checkproto.sh | 37 while getopts X flag 39 case $flag in
|