/titanic_44/usr/src/lib/libast/common/string/ |
H A D | strperm.c | 48 register int who; in strperm() local 64 op = num = who = typ = 0; in strperm() 70 who |= S_ISVTX|S_ISUID|S_IRWXU; in strperm() 73 who |= S_ISVTX|S_ISGID|S_IRWXG; in strperm() 76 who |= S_ISVTX|S_IRWXO; in strperm() 79 who = S_ISVTX|S_ISUID|S_ISGID|S_IRWXU|S_IRWXG|S_IRWXO; in strperm() 84 if (!who) in strperm() 85 who = S_ISVTX|S_ISUID|S_ISGID|S_IRWXU|S_IRWXG|S_IRWXO; in strperm() 91 if (who) in strperm() 92 perm &= ~who; in strperm() [all …]
|
/titanic_44/usr/src/common/zfs/ |
H A D | zfs_deleg.c | 98 zfs_validate_who(char *who) in zfs_validate_who() argument 102 if (who[2] != ZFS_DELEG_FIELD_SEP_CHR) in zfs_validate_who() 105 switch (who[0]) { in zfs_validate_who() 110 if (who[1] != ZFS_DELEG_LOCAL && who[1] != ZFS_DELEG_DESCENDENT) in zfs_validate_who() 112 for (p = &who[3]; *p; p++) in zfs_validate_who() 119 if (who[1] != ZFS_DELEG_NA) in zfs_validate_who() 121 return (permset_namecheck(&who[3], NULL, NULL)); in zfs_validate_who() 125 if (who[1] != ZFS_DELEG_NA) in zfs_validate_who() 127 if (who[3] != '\0') in zfs_validate_who() 133 if (who[1] != ZFS_DELEG_LOCAL && who[1] != ZFS_DELEG_DESCENDENT) in zfs_validate_who() [all …]
|
/titanic_44/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; in main() local 180 who = strtol(*argv, &end_ptr, 10); in main() 183 if (who >= 0 && end_ptr != *argv && in main() 185 getzonenamebyid(who, NULL, 0) != -1) && in main() 186 (which != PRIO_CONTRACT || who != 0)) { in main() 187 errs += donice(which, who, incr, prio_type, in main() 196 who = pwd->pw_uid; in main() 197 errs += donice(which, who, incr, prio_type, in main() 208 who = grp->gr_gid; in main() [all …]
|
/titanic_44/usr/src/lib/libc/port/gen/ |
H A D | setpriority.c | 108 getpriority(int which, id_t who) in getpriority() argument 119 if (who < 0) { in getpriority() 123 } else if (who != P_MYID) { in getpriority() 134 if (who == 0 && old_idtype(which)) in getpriority() 137 id = who; in getpriority() 149 setpriority(int which, id_t who, int prio) in setpriority() argument 161 if (who < 0) { in setpriority() 165 } else if (who != P_MYID) { in setpriority() 171 if (who == 0 && old_idtype(which)) in setpriority() 174 id = who; in setpriority()
|
/titanic_44/usr/src/cmd/sendmail/src/ |
H A D | tls.c | 532 char *who; local 550 who = srv ? "server" : "client"; 553 syserr("STARTTLS=%s, inittls: ctx == NULL", who); 644 who, dhparam); 711 who, who); 713 tlslogerr(who); 743 who, CRLFile); 754 "STARTTLS=%s, error: BIO_new=failed", who); 770 who, CRLFile); 810 who); [all …]
|
/titanic_44/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; in i_cpr_pre_resume_cpus() local 341 for (who = 0; who < max_ncpus; who++) { in i_cpr_pre_resume_cpus() 343 wc_cpu_t *cpup = wc_other_cpus + who; in i_cpr_pre_resume_cpus() 346 if (who == boot_cpuid) in i_cpr_pre_resume_cpus() 349 if (!CPU_IN_SET(mp_cpus, who)) in i_cpr_pre_resume_cpus() 352 PMD(PMD_SX, ("%s() waking up %d cpu\n", str, who)) in i_cpr_pre_resume_cpus() 366 init_real_mode_platter(who, code_length, cpup->wc_cr4, gdt); in i_cpr_pre_resume_cpus() 369 err = mach_cpuid_start(who, rm_platter_va); in i_cpr_pre_resume_cpus() 373 "suspend/resume error %d", who, err); in i_cpr_pre_resume_cpus() [all …]
|
/titanic_44/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, in sw_timer_install() argument 126 if (!SUBIDVALID(msinfo, who)) in sw_timer_install() 127 fmd_hdl_abort(hdl, "sw_timer_install: invalid subid %d\n", who); in sw_timer_install() 130 sip = subinfo[ID2IDX(who)]; in sw_timer_install() 152 msinfo->swms_timers[chosen].swt_ownerid = who; in sw_timer_install() 165 subtimer_find(struct sw_modspecific *msinfo, id_t who, id_t timerid) in subtimer_find() argument 171 (who == -1 || in subtimer_find() 172 msinfo->swms_timers[slot].swt_ownerid == who) && in subtimer_find() 181 sw_timer_remove(fmd_hdl_t *hdl, id_t who, id_t timerid) in sw_timer_remove() argument 189 if (!SUBIDVALID(msinfo, who)) in sw_timer_remove() [all …]
|
/titanic_44/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_acl.c | 266 if ((ace4->who.utf8string_len > 0) && in vs_ace4_destroy() 267 (ace4->who.utf8string_val != NULL)) in vs_ace4_destroy() 268 kmem_free(ace4->who.utf8string_val, in vs_ace4_destroy() 269 ace4->who.utf8string_len); in vs_ace4_destroy() 271 ace4->who.utf8string_val = NULL; in vs_ace4_destroy() 272 ace4->who.utf8string_len = 0; in vs_ace4_destroy() 487 (void) utf8_copy(&allow->who, &deny->who); in ace4_make_deny() 614 (void) str_to_utf8(ACE4_WHO_GROUP, &acep->who); in ln_aent_to_ace4() 640 &acep->who, isserver); in ln_aent_to_ace4() 657 &acep->who, isserver); in ln_aent_to_ace4() [all …]
|
/titanic_44/usr/src/uts/common/io/nge/ |
H A D | nge_log.c | 46 const char *who; member 63 cmn_err(nge_log_data.level, nge_log_data.fmt, nge_log_data.who, buf); in nge_vprt() 76 nge_log_data.who = ngep->ifname; in nge_log() 96 nge_log_data.who = ngep->ifname; in nge_problem() 116 nge_log_data.who = ngep->ifname; in nge_error() 198 nge_log_data.who = "nge"; in nge_gdb() 210 nge_log_data.who = ngep->ifname; in nge_db()
|
/titanic_44/usr/src/uts/common/io/rge/ |
H A D | rge_log.c | 46 const char *who; member 63 cmn_err(rge_log_data.level, rge_log_data.fmt, rge_log_data.who, buf); in rge_vprt() 75 rge_log_data.who = rgep->ifname; in rge_notice() 95 rge_log_data.who = rgep->ifname; in rge_log() 115 rge_log_data.who = rgep->ifname; in rge_problem() 135 rge_log_data.who = rgep->ifname; in rge_error() 166 rge_log_data.who = "rge"; in rge_gdb() 177 rge_log_data.who = rgep->ifname; in rge_db()
|
/titanic_44/usr/src/uts/common/avs/ns/sdbc/ |
H A D | sd_tdaemon.c | 326 int who; /* id of this daemon */ in _sd_idle_daemon() local 330 who = _sd_num_daemons++; in _sd_idle_daemon() 336 gld[who].asleep = 1; in _sd_idle_daemon() 338 cmn_err(CE_NOTE, "!%d daemon: sleeping %p", who, in _sd_idle_daemon() 339 (void *)&gld[who].blk); in _sd_idle_daemon() 344 gld[who].asleep = 0; in _sd_idle_daemon() 351 cv_wait(&gld[who].blk, &tdaemon_lock); in _sd_idle_daemon() 356 who, gld[who].type, gld[who].loop, GET_SEED(who)); in _sd_idle_daemon() 359 gld[who].asleep = 0; in _sd_idle_daemon() 365 gld[who].asleep = 2; in _sd_idle_daemon() [all …]
|
/titanic_44/usr/src/uts/common/io/afe/ |
H A D | afeimpl.h | 305 #define SYNCTXDESC(afep, index, who) \ argument 307 (index * sizeof (afe_desc_t)), sizeof (afe_desc_t), who) 309 #define SYNCTXBUF(txb, len, who) \ argument 310 (void) ddi_dma_sync(txb->txb_dmah, 0, len, who) 312 #define SYNCRXDESC(afep, index, who) \ argument 314 (index * sizeof (afe_desc_t)), sizeof (afe_desc_t), who) 316 #define SYNCRXBUF(rxb, len, who) \ argument 317 (void) ddi_dma_sync(rxb->rxb_dmah, 0, len, who)
|
/titanic_44/usr/src/uts/common/io/bge/ |
H A D | bge_log.c | 46 const char *who; member 63 cmn_err(bge_log_data.level, bge_log_data.fmt, bge_log_data.who, buf); in bge_vprt() 75 bge_log_data.who = bgep->ifname; in bge_log() 95 bge_log_data.who = bgep->ifname; in bge_problem() 115 bge_log_data.who = bgep->ifname; in bge_error() 160 bge_log_data.who = "bge"; in bge_gdb() 171 bge_log_data.who = bgep->ifname; in bge_db()
|
/titanic_44/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); in main() 161 (void) strncpy(who, wp, sizeof (who)); in init_who() 165 (void) strncpy(who, pwd->pw_name, sizeof (who)); in init_who()
|
/titanic_44/usr/src/cmd/sgs/link_audit/common/ |
H A D | Makefile.demo | 36 LIBS= truss.so.1 symbindrep.so.1 perfcnt.so.1 who.so.1 bindings.so.1 111 lib32/who.so.1: \ 112 obj32/who.o obj32/env.o 113 $(LINK.c) -G obj32/who.o obj32/env.o -o $@ -lelf $(LDLIBS) 115 lib64/who.so.1: \ 116 obj64/who.o obj64/env.o 117 $(LINK.c) -G obj64/who.o obj64/env.o -o $@ -lelf $(LDLIBS)
|
/titanic_44/usr/src/uts/common/io/pcn/ |
H A D | pcnimpl.h | 241 #define SYNCTXDESC(pcnp, index, who) \ argument 243 (index * sizeof (pcn_tx_desc_t)), sizeof (pcn_tx_desc_t), who) 245 #define SYNCRXDESC(pcnp, index, who) \ argument 247 (index * sizeof (pcn_rx_desc_t)), sizeof (pcn_rx_desc_t), who) 249 #define SYNCBUF(pb, len, who) \ argument 250 (void) ddi_dma_sync(pb->pb_dmah, 0, len, who)
|
/titanic_44/usr/src/uts/common/io/mxfe/ |
H A D | mxfeimpl.h | 346 #define SYNCTXDESC(mxfep, index, who) \ argument 348 (index * sizeof (mxfe_desc_t)), sizeof (mxfe_desc_t), who) 350 #define SYNCTXBUF(txb, len, who) \ argument 351 (void) (ddi_dma_sync(txb->txb_dmah, 0, len, who)) 353 #define SYNCRXDESC(mxfep, index, who) \ argument 355 (index * sizeof (mxfe_desc_t)), sizeof (mxfe_desc_t), who) 357 #define SYNCRXBUF(rxb, len, who) \ argument 358 (void) (ddi_dma_sync(rxb->rxb_dmah, 0, len, who))
|
/titanic_44/usr/src/cmd/find/ |
H A D | find.c | 1656 #define permoffset(who) ((who) * 3) argument 1657 #define permission(who, type) ((type) >> permoffset(who)) argument 1682 int who; local 1741 for (who = 0; who < 3; who++) { 1742 int is_exec = stp->st_mode & permission(who, S_IEXEC)? 1 : 0; 1744 if (stp->st_mode & permission(who, S_IREAD)) 1745 pmode[permoffset(who) + 1] = 'r'; 1747 pmode[permoffset(who) + 1] = '-'; 1749 if (stp->st_mode & permission(who, S_IWRITE)) 1750 pmode[permoffset(who) + 2] = 'w'; [all …]
|
/titanic_44/usr/src/cmd/ipf/lib/common/ |
H A D | mutex_emul.c | 45 void eMmutex_init(mtx, who) in eMmutex_init() argument 47 char *who; 57 if (who != NULL) 58 mtx->eMm_owner = strdup(who);
|
H A D | rwlock_emul.c | 94 void eMrwlock_init(rw, who) in eMrwlock_init() argument 96 char *who; 107 if (who != NULL) 108 rw->eMrw_owner = strdup(who);
|
/titanic_44/usr/src/uts/common/sys/ |
H A D | epm.h | 290 dev_info_t *who; member 298 dev_info_t *who; member 305 dev_info_t *who; member 312 dev_info_t *who; member 321 dev_info_t *who; member 331 dev_info_t *who; member 342 dev_info_t *who; member 351 dev_info_t *who; member 359 dev_info_t *who; member 371 dev_info_t *who; member [all …]
|
/titanic_44/usr/src/cmd/wall/ |
H A D | wall.c | 79 static char who[NMAX+1] = "???"; variable 177 if (who[0] == '?') { in main() 179 (void) strncpy(&who[0], pwd->pw_name, sizeof (who)); in main() 223 (void) strncpy(rwho, who, in main() 224 sizeof (who)); in main() 421 who, line, systm, time_buf); in sendmes()
|
/titanic_44/usr/src/lib/pyzfs/common/ |
H A D | allow.py | 134 def args_to_perms(parser, options, who, perms): argument 172 storeperm("s", "-", who) 176 for w in who: 363 who = args[0] 370 who = None 377 who = ["everyone"] 380 who = args[0].split(",") 386 d = args_to_perms(parser, options, who, perms)
|
/titanic_44/usr/src/cmd/ypcmd/ypupdated/ |
H A D | rpc.ypupdated.c | 381 struct netbuf *who; local 383 who = svc_getrpccaller(transp); 384 if ((who == NULL) || (who->len == 0)) 389 if (netdir_getbyaddr(nconf, &hostservs, who) != 0) {
|
/titanic_44/usr/src/test/zfs-tests/tests/functional/acl/nontrivial/ |
H A D | zfs_acl_chmod_aclmode_001_pos.ksh | 209 typeset who prefix acltemp action 212 who=${acl%%:*} 213 prefix=$who 367 who=${expect1%%:*} 369 prefix=$who 376 case $who in
|