/illumos-gate/usr/src/lib/pysolaris/common/ |
H A D | misc.c | 63 idmap_stat stat; in py_sid_to_name() local 76 stat = idmap_getwinnamebyuid(pid, flag, &name, NULL); in py_sid_to_name() 78 stat = idmap_getwinnamebygid(pid, flag, &name, NULL); in py_sid_to_name() 79 if (stat < 0) { in py_sid_to_name()
|
/illumos-gate/usr/src/uts/sun4v/os/ |
H A D | mach_cpu_states.c | 791 int retries, stat; in send_one_mondo() local 801 while (stat != H_EOK) { in send_one_mondo() 802 if (stat != H_EWOULDBLOCK) { in send_one_mondo() 805 if (stat == H_ECPUERROR) in send_one_mondo() 813 "0x%x", stat, cpuid); in send_one_mondo() 829 cpuid, retries, stat); in send_one_mondo() 883 int stat; in send_mondo_set() local 886 if (stat == H_EOK) { in send_mondo_set() 911 if (stat == H_ECPUERROR) { in send_mondo_set() 1090 int stat; in kdi_xc_one() local [all …]
|
/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | swap_rcm.c | 339 int stat; in swap_delete() local 354 if ((stat = rcm_exec_cmd(cmd)) != 0) { in swap_delete() 355 log_cmd_status(stat); in swap_delete() 382 log_cmd_status(stat); in swap_delete() 410 int stat; in swap_add() local 422 if ((stat = rcm_exec_cmd(cmd)) != 0) { in swap_add() 423 log_cmd_status(stat); in swap_add() 809 log_cmd_status(int stat) in log_cmd_status() argument 813 if (stat == -1) { in log_cmd_status() 816 } else if (WIFEXITED(stat)) { in log_cmd_status() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/ |
H A D | cp.c | 184 int (*stat)(const char*, struct stat*); /* stat */ member 206 preserve(State_t* state, const char* path, struct stat* ns, struct stat* os) in preserve() 253 struct stat st; in visit() 309 stat(state->path, &st); in visit() 333 if (stat(state->path, &st)) in visit() 690 struct stat st; in b_cp() 721 state->stat = stat; in b_cp() 731 state->stat = lstat; in b_cp() 740 state->stat = lstat; in b_cp() 807 state->stat = lstat; in b_cp() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/ |
H A D | shiocmd_solaris.c | 391 static struct stat *Sp; 395 struct stat statb; 404 { "dev", NV_INTEGER|NV_RDONLY, offsetof(struct stat,st_dev),sizeof(Sp->st_dev)}, 406 { "gid", NV_INTEGER|NV_RDONLY, offsetof(struct stat,st_gid), sizeof(Sp->st_gid)}, 407 { "ino", NV_LONG|NV_INTEGER|NV_RDONLY, offsetof(struct stat,st_ino), sizeof(Sp->st_ino)}, 408 { "mode", NV_INTEGER|NV_RDONLY, offsetof(struct stat,st_mode), sizeof(Sp->st_mode), make_mode}, 411 { "nlink", NV_INTEGER|NV_RDONLY, offsetof(struct stat,st_nlink), sizeof(Sp->st_nlink)}, 412 { "size", NV_LONG|NV_INTEGER|NV_RDONLY, offsetof(struct stat,st_size), sizeof(Sp->st_size)}, 413 { "uid", NV_INTEGER|NV_RDONLY, offsetof(struct stat,st_uid), sizeof(Sp->st_uid)} 819 struct stat statb; in b_stat() [all …]
|
/illumos-gate/usr/src/lib/cfgadm_plugins/ac/common/ |
H A D | mema.c | 460 ac_stat_t stat; in ap_stat() local 488 mema_cmd_init(&cmd, &stat, outputstr, 0); in ap_stat() 506 *stp = stat; in ap_stat() 510 bkp->board = stat.board; in ap_stat() 589 ac_stat_t stat; in mema_add() local 603 if (stat.rstate != SYSC_CFGA_RSTATE_CONNECTED || in mema_add() 665 ac_stat_t stat; in mema_delete() local 766 ac_stat_t stat; in cfga_private_func() local 1093 ac_stat_t stat; in cfga_test() local 1385 ac_stat_t stat; in cfga_stat() local [all …]
|
/illumos-gate/usr/src/lib/cfgadm_plugins/sbd/common/ |
H A D | ap_sbd.c | 153 a->stat = new_stat; in ap_stat() 249 st = (sbd_stat_t *)a->stat; in apd_init() 339 s_free(a->stat); in apd_free() 402 st = (sbd_stat_t *)a->stat; in ap_init() 494 sbd_stat_t *stat; in ap_platopts_check() local 498 stat = (sbd_stat_t *)a->stat; in ap_platopts_check() 499 platopts = stat->s_platopts; in ap_platopts_check() 575 sbd_stat_t *stat; in ap_ioctl() local 577 stat = (sbd_stat_t *)a->stat; in ap_ioctl() 804 st = (sbd_stat_t *)a->stat; in ap_cm_stat() [all …]
|
/illumos-gate/usr/src/stand/lib/fs/nfs/ |
H A D | auth_unix.c | 195 int stat; in authunix_refresh() local 208 stat = xdr_authunix_parms(&xdrs, &aup); in authunix_refresh() 209 if (!stat) in authunix_refresh() 216 stat = xdr_authunix_parms(&xdrs, &aup); in authunix_refresh() 217 if (!stat) in authunix_refresh() 226 return (stat); in authunix_refresh()
|
/illumos-gate/usr/src/uts/common/rpc/ |
H A D | xdrrdma_sizeof.c | 233 bool_t stat; in xdrrdma_sizeof() local 239 stat = func(&x, data); in xdrrdma_sizeof() 250 return (stat == TRUE ? (unsigned int)x.x_handy: 0); in xdrrdma_sizeof() 258 bool_t stat; in xdrrdma_authsize() local 264 stat = AUTH_MARSHALL(auth, &x, cred); in xdrrdma_authsize() 271 return (stat == TRUE ? (unsigned int)x.x_handy: 0); in xdrrdma_authsize()
|
H A D | xdr_refer.c | 69 bool_t stat; in xdr_reference() local 86 stat = (*proc)(xdrs, loc, LASTUNSIGNED); in xdr_reference() 92 return (stat); in xdr_reference()
|
/illumos-gate/usr/src/cmd/sf880drd/ |
H A D | sf880drd.c | 185 struct cfga_list_data *stat = NULL; in pushbutton_event() local 190 rv = config_list_ext(1, &ap_id, &stat, &nlist, in pushbutton_event() 199 assert(!(strcmp(stat->ap_class, "pci"))); in pushbutton_event() 201 switch (stat->ap_o_state) { in pushbutton_event() 226 if (stat) in pushbutton_event() 227 free(stat); in pushbutton_event()
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | _xftw.c | 112 static int nocdstat(const char *, struct stat *, struct Var *, int); 114 static int fwalk(const char *, int (*)(const char *, const struct stat *, int), 119 int (*fn)(const char *, const struct stat *, int), int depth) in _xftw() argument 134 fwalk(const char *path, int (*fn)(const char *, const struct stat *, int), in fwalk() argument 142 struct stat sb; in fwalk() 319 nocdstat(const char *path, struct stat *statp, struct Var *vp, int sym) in nocdstat()
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | gwd.c | 84 struct stat *buf; 90 ret = stat(file, buf); 98 _exit(stat(file, buf));
|
/illumos-gate/usr/src/cmd/sendmail/db/log/ |
H A D | log_put.c | 191 lp->stat.st_wc_bytes = lp->stat.st_wc_mbytes = 0; 324 ++lp->stat.st_scount; 449 if ((lp->stat.st_w_bytes += len) >= MEGABYTE) { 450 lp->stat.st_w_bytes -= MEGABYTE; 451 ++lp->stat.st_w_mbytes; 453 if ((lp->stat.st_wc_bytes += len) >= MEGABYTE) { 454 lp->stat.st_wc_bytes -= MEGABYTE; 455 ++lp->stat.st_wc_mbytes; 457 ++lp->stat.st_wcount;
|
/illumos-gate/usr/src/cmd/tail/ |
H A D | extern.h | 56 struct stat st; 65 void forward(FILE *, const char *, enum STYLE, off_t, struct stat *); 66 void reverse(FILE *, const char *, enum STYLE, off_t, struct stat *);
|
/illumos-gate/usr/src/common/ficl/ficlplatform/ |
H A D | unix.c | 62 struct stat statbuf; in ficlFileStatus() 64 if (stat(filename, &statbuf) == 0) { in ficlFileStatus() 75 struct stat statbuf; in ficlFileSize()
|
/illumos-gate/usr/src/uts/common/fs/zfs/sys/ |
H A D | arc_impl.h | 835 #define ARCSTAT(stat) (arc_stats.stat.value.ui64) argument 837 #define ARCSTAT_INCR(stat, val) \ argument 838 atomic_add_64(&arc_stats.stat.value.ui64, (val)) 840 #define ARCSTAT_BUMP(stat) ARCSTAT_INCR(stat, 1) argument 841 #define ARCSTAT_BUMPDOWN(stat) ARCSTAT_INCR(stat, -1) argument
|
/illumos-gate/usr/src/cmd/sendmail/db/mp/ |
H A D | mp_fput.c | 89 ++mp->stat.st_page_clean; 90 --mp->stat.st_page_dirty; 94 --mp->stat.st_page_clean; 95 ++mp->stat.st_page_dirty;
|
/illumos-gate/usr/src/cmd/cron/ |
H A D | atq.c | 227 struct stat stbuf; /* buffer for file stats */ in countfiles() 237 if ((stat(queue[i]->d_name, &stbuf)) < 0) { in countfiles() 266 struct stat stbuf; /* buffer for file stats */ in printqueue() 290 if ((stat(queue[i]->d_name, &stbuf)) < 0) { in printqueue() 464 struct stat stbuf1, stbuf2; in creation() 476 if (stat((*d1)->d_name, &stbuf1) < 0) in creation() 479 if (stat((*d2)->d_name, &stbuf2) < 0) in creation()
|
/illumos-gate/usr/src/uts/common/rpc/sec/ |
H A D | sec_svc.c | 149 int flavor, stat; in sec_svc_getcred() local 154 stat = 1; in sec_svc_getcred() 175 stat = kauthdes_getucred(adc, cr); in sec_svc_getcred() 180 stat = rpc_gss_getcred(req, &rcred, &ucred, &cookie); in sec_svc_getcred() 185 stat = 0; in sec_svc_getcred() 194 stat = 0; in sec_svc_getcred() 198 return (stat); in sec_svc_getcred()
|
/illumos-gate/usr/src/lib/libidmap/common/ |
H A D | idmap_api.c | 971 NULL, stat)); in idmap_get_uidbysid() 1007 *stat = retcode; in idmap_getext_uidbysid() 1030 gh->retlist[gh->next].stat = stat; in idmap_getext_uidbysid() 1065 NULL, stat)); in idmap_get_gidbysid() 1125 gh->retlist[gh->next].stat = stat; in idmap_getext_gidbysid() 1162 NULL, stat)); in idmap_get_pidbysid() 1227 gh->retlist[gh->next].stat = stat; in idmap_getext_pidbysid() 1261 NULL, stat)); in idmap_get_sidbyuid() 1318 gh->retlist[gh->next].stat = stat; in idmap_getext_sidbyuid() 1352 NULL, stat)); in idmap_get_sidbygid() [all …]
|
/illumos-gate/usr/src/head/ |
H A D | glob.h | 106 struct stat **gl_statv; /* Stat entries corresponding to gl_pathv */ 116 int (*gl_lstat)(const char *, struct stat *); 117 int (*gl_stat)(const char *, struct stat *);
|
/illumos-gate/usr/src/lib/libresolv2/common/bsd/ |
H A D | mktemp.c | 90 struct stat sbuf; in gettemp() 109 if (stat(path, &sbuf)) in gettemp() 128 else if (stat(path, &sbuf)) in gettemp()
|
/illumos-gate/usr/src/cmd/sendmail/libsmutil/ |
H A D | safefile.c | 53 struct stat *st; 59 struct stat stbuf; 60 struct stat fstbuf; 84 : stat(fn, st)) < 0) 86 if (stat(fn, st) < 0) 410 struct stat stbuf; 477 ret = stat(s, &stbuf); 693 struct stat stb; 867 struct stat *stb; 869 struct stat sta; [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/include/ |
H A D | glob.h | 35 struct stat; 79 int (*gl_stat)(const char*, struct stat*); 80 int (*gl_lstat)(const char*, struct stat*);
|