/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | getrusage.c | 61 getrusage(int who, struct rusage *rusage) argument 63 switch (who) {
|
H A D | setpriority.c | 108 getpriority(int which, id_t who) argument 119 if (who < 0) { 123 } else if (who != P_MYID) { 130 * The POSIX standard requires that a 0 value for the who argument 134 if (who == 0 && old_idtype(which)) 137 id = who; 149 setpriority(int which, id_t who, int prio) argument 161 if (who < 0) { 165 } else if (who != P_MYID) { 171 if (who [all...] |
/illumos-gate/usr/src/lib/libast/common/string/ |
H A D | strperm.c | 48 register int who; local 64 op = num = who = typ = 0; 70 who |= S_ISVTX|S_ISUID|S_IRWXU; 73 who |= S_ISVTX|S_ISGID|S_IRWXG; 76 who |= S_ISVTX|S_IRWXO; 79 who = S_ISVTX|S_ISUID|S_ISGID|S_IRWXU|S_IRWXG|S_IRWXO; 84 if (!who) 85 who = S_ISVTX|S_ISUID|S_ISGID|S_IRWXU|S_IRWXG|S_IRWXO; 91 if (who) 92 perm &= ~who; [all...] |
/illumos-gate/usr/src/lib/pam_modules/sample/ |
H A D | sample_acct_mgmt.c | 109 parse_allow_name(char *who, char *cp) argument 121 if (strcmp(who, name) == 0)
|
/illumos-gate/usr/src/uts/common/io/nge/ |
H A D | nge_log.c | 46 const char *who; member in struct:__anon6338 63 cmn_err(nge_log_data.level, nge_log_data.fmt, nge_log_data.who, buf); 76 nge_log_data.who = ngep->ifname; 96 nge_log_data.who = ngep->ifname; 116 nge_log_data.who = ngep->ifname; 198 nge_log_data.who = "nge"; 210 nge_log_data.who = ngep->ifname;
|
/illumos-gate/usr/src/common/zfs/ |
H A D | zfs_deleg.c | 99 zfs_validate_who(char *who) argument 103 if (who[2] != ZFS_DELEG_FIELD_SEP_CHR) 106 switch (who[0]) { 111 if (who[1] != ZFS_DELEG_LOCAL && who[1] != ZFS_DELEG_DESCENDENT) 113 for (p = &who[3]; *p; p++) 120 if (who[1] != ZFS_DELEG_NA) 122 return (permset_namecheck(&who[3], NULL, NULL)); 126 if (who[1] != ZFS_DELEG_NA) 128 if (who[ 150 nvpair_t *who, *perm_name; local [all...] |
/illumos-gate/usr/src/cmd/ypcmd/ypupdated/ |
H A D | rpc.ypupdated.c | 375 struct netbuf *who; local 377 who = svc_getrpccaller(transp); 378 if ((who == NULL) || (who->len == 0)) 383 if (netdir_getbyaddr(nconf, &hostservs, who) != 0) {
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | ypupdated.c | 391 struct netbuf *who; local 393 who = svc_getrpccaller(transp); 394 if ((who == NULL) || (who->len == 0)) 399 if (netdir_getbyaddr(nconf, &hostservs, who) != 0) {
|
H A D | yp_b_subr.c | 329 * process active now. Fork off a child who will beg to the 835 struct netbuf *who; local 849 /* find out who originated the request */ 853 who = svc_getrpccaller(transp); 862 uaddr = taddr2uaddr(nconf, who);
|
/illumos-gate/usr/src/cmd/print/printmgr/com/sun/admin/pm/client/ |
H A D | pmAccess.java | 368 void dumpLogs(String who) { argument 369 Debug.message(who); 370 Debug.message(who + " command: " + cmdLog); 371 Debug.message(who + " warnings: " + warnLog); 372 Debug.message(who + " errors: " + errorLog);
|
/illumos-gate/usr/src/cmd/renice/ |
H A D | renice.c | 59 static int donice(int which, id_t who, int prio, int increment, char *who_s); 103 id_t who = 0; local 180 who = strtol(*argv, &end_ptr, 10); 183 if (who >= 0 && end_ptr != *argv && 185 getzonenamebyid(who, NULL, 0) != -1) && 186 (which != PRIO_CONTRACT || who != 0)) { 187 errs += donice(which, who, incr, prio_type, 196 who = pwd->pw_uid; 197 errs += donice(which, who, incr, prio_type, 208 who 256 id_t who = 0; local 322 donice(int which, id_t who, int prio, int increment, char *who_s) argument [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/ |
H A D | trace.c | 111 trace(struct ifdebug *ifd, struct sockaddr_in6 *who, char *p, int len, int m) argument 127 t->ift_who = *who; 261 dumppacket(FILE *fp, char *dir, struct sockaddr_in6 *who, char *cp, int size) argument
|
/illumos-gate/usr/src/cmd/rpcbind/ |
H A D | pmap_svc.c | 171 struct sockaddr_in *who; local 178 who = (struct sockaddr_in *)svc_getrpccaller(xprt)->buf; 189 (ntohs(who->sin_port) >= IPPORT_RESERVED)) {
|
/illumos-gate/usr/src/cmd/rpcsvc/ |
H A D | rwall.c | 70 static char who[9] = "???"; variable 100 msize = snprintf(buf, sizeof (buf), "From %s@%s: ", who, hostname); 161 (void) strncpy(who, wp, sizeof (who)); 165 (void) strncpy(who, pwd->pw_name, sizeof (who));
|
/illumos-gate/usr/src/uts/common/io/bge/ |
H A D | bge_log.c | 46 const char *who; member in struct:__anon4966 63 cmn_err(bge_log_data.level, bge_log_data.fmt, bge_log_data.who, buf); 75 bge_log_data.who = bgep->ifname; 95 bge_log_data.who = bgep->ifname; 115 bge_log_data.who = bgep->ifname; 160 bge_log_data.who = "bge"; 171 bge_log_data.who = bgep->ifname;
|
/illumos-gate/usr/src/uts/common/io/bpf/ |
H A D | bpf_mod.c | 318 bpf_find_provider_by_id(int who) argument 323 if (b->bpl_what->bpr_unit == who)
|
/illumos-gate/usr/src/uts/common/io/rge/ |
H A D | rge_log.c | 46 const char *who; member in struct:__anon6478 63 cmn_err(rge_log_data.level, rge_log_data.fmt, rge_log_data.who, buf); 75 rge_log_data.who = rgep->ifname; 95 rge_log_data.who = rgep->ifname; 115 rge_log_data.who = rgep->ifname; 135 rge_log_data.who = rgep->ifname; 166 rge_log_data.who = "rge"; 177 rge_log_data.who = rgep->ifname;
|
/illumos-gate/usr/src/cmd/wall/ |
H A D | wall.c | 79 static char who[NMAX+1] = "???"; variable 177 if (who[0] == '?') { 179 (void) strncpy(&who[0], pwd->pw_name, sizeof (who)); 223 (void) strncpy(rwho, who, 224 sizeof (who)); 421 who, line, systm, time_buf);
|
/illumos-gate/usr/src/cmd/fm/modules/common/sw-diag-response/common/ |
H A D | sw_main_cmn.c | 116 sw_timer_install(fmd_hdl_t *hdl, id_t who, void *arg, fmd_event_t *ep, argument 126 if (!SUBIDVALID(msinfo, who)) 127 fmd_hdl_abort(hdl, "sw_timer_install: invalid subid %d\n", who); 130 sip = subinfo[ID2IDX(who)]; 152 msinfo->swms_timers[chosen].swt_ownerid = who; 165 subtimer_find(struct sw_modspecific *msinfo, id_t who, id_t timerid) argument 171 (who == -1 || 172 msinfo->swms_timers[slot].swt_ownerid == who) && 181 sw_timer_remove(fmd_hdl_t *hdl, id_t who, id_t timerid) argument 189 if (!SUBIDVALID(msinfo, who)) 238 sw_id_to_casetype(fmd_hdl_t *hdl, id_t who) argument 321 sw_add_callbacks(fmd_hdl_t *hdl, const char *who, const struct sw_disp *dp, int nelem, struct sw_modspecific *msinfo) argument [all...] |
/illumos-gate/usr/src/cmd/fm/modules/common/sw-diag-response/software-diagnosis/ |
H A D | swde_case.c | 178 swde_case_open(fmd_hdl_t *hdl, id_t who, char *req_uuid, argument 181 enum sw_casetype ct = sw_id_to_casetype(hdl, who); 249 swde_case_first(fmd_hdl_t *hdl, id_t who) argument 251 enum sw_casetype ct = sw_id_to_casetype(hdl, who);
|
/illumos-gate/usr/src/cmd/chmod/ |
H A D | common.c | 89 who(void); 110 * [<who>] <op> [<perms>] 125 * who_empty is non-zero if the <who> clause did not appear. 153 * When <who> is empty, and <oper> == `=`, the umask is 158 if ((who_msk = who()) == WHO_EMPTY) { 513 who(void) function
|
/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | assfail.c | 173 lock_error(const mutex_t *mp, const char *who, void *cv, const char *msg) argument 208 (void) strcat(buf, who); 263 rwlock_error(const rwlock_t *rp, const char *who, const char *msg) argument 303 (void) strcat(buf, who);
|
/illumos-gate/usr/src/tools/stabs/ |
H A D | stabs.c | 100 char *who, /* what function, or part thereof, is reporting */ 105 who, line_number, what, where); 99 expected( char *who, char *what, char *where) argument
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | cpr_impl.c | 95 static int wait_for_set(cpuset_t *set, int who); 292 unsigned who; local 341 for (who = 0; who < max_ncpus; who++) { 343 wc_cpu_t *cpup = wc_other_cpus + who; 346 if (who == boot_cpuid) 349 if (!CPU_IN_SET(mp_cpus, who)) 352 PMD(PMD_SX, ("%s() waking up %d cpu\n", str, who)) 366 init_real_mode_platter(who, code_lengt 481 int who; local 1071 wait_for_set(cpuset_t *set, int who) argument [all...] |
/illumos-gate/usr/src/cmd/sendmail/aux/ |
H A D | vacation.c | 283 char *who; member in struct:entry 313 dump_content(which->who_size, which->who, which->when_size, 330 new_entry->who = (char *)malloc(key.dsize); 331 if (new_entry->who == NULL) 334 (void) strlcpy(new_entry->who, key.dptr, key.dsize); 660 * user -- the user who sent this message. 697 * user -- the user who should be marked. 738 * user -- user who should receive it.
|