Searched defs:stat (Results 1 - 25 of 394) sorted by path

1234567891011>>

/illumos-gate/usr/src/boot/lib/libstand/
H A Dstat.c1 /* $NetBSD: stat.c,v 1.4 1996/01/13 22:25:43 leo Exp $ */
31 * @(#)stat.c 8.1 (Berkeley) 6/11/93
40 stat(str, sb) function
42 struct stat *sb;
/illumos-gate/usr/src/boot/sys/boot/i386/libfirewire/
H A Dfwohci.c93 uint32_t fun, stat; local
117 stat = OREAD(sc, FWOHCI_INTSTAT);
118 if ((stat & OHCI_INT_REG_FAIL) != 0 ||
400 fwohci_intr_body(struct fwohci_softc *sc, uint32_t stat, int count) argument
405 if(stat & OREAD(sc, FWOHCI_INTMASK))
410 stat & OHCI_INT_EN ? "DMA_EN ":"",
411 stat & OHCI_INT_PHY_REG ? "PHY_REG ":"",
412 stat & OHCI_INT_CYC_LONG ? "CYC_LONG ":"",
413 stat & OHCI_INT_ERR ? "INT_ERR ":"",
414 stat
458 uint32_t stat; local
474 uint32_t stat; local
[all...]
/illumos-gate/usr/src/boot/sys/boot/userboot/
H A Duserboot.h113 * Return some stat(2) related information about the file
115 int (*stat)(void *arg, void *h, int *mode_return, member in struct:loader_callbacks
/illumos-gate/usr/src/boot/sys/sys/
H A Dstat.h34 * @(#)stat.h 8.12 (Berkeley) 6/16/95
122 struct stat { struct
142 * struct stat is backwards compatible. We use bitfields instead
257 #define S_BLKSIZE 512 /* block size used in the stat struct */
334 int fstat(int, struct stat *);
340 int lstat(const char * __restrict, struct stat * __restrict);
348 int stat(const char * __restrict, struct stat * __restrict);
351 int fstatat(int, const char *, struct stat *, int);
/illumos-gate/usr/src/cmd/allocate/
H A Dmkdevalloc.c55 #include <sys/types.h> /* for stat(2), etc. */
56 #include <sys/stat.h>
201 struct stat tx_stat;
239 struct stat stat; /* determine if it's a symlink */ local
283 if (lstat(tape[i].name, &stat) < 0) {
284 perror("stat(2) failed ");
287 if ((stat.st_mode & S_IFMT) != S_IFLNK)
449 struct stat stat; /* determin local
653 struct stat stat; /* determine if it's a symlink */ local
820 struct stat stat; /* determine if it's a symlink */ local
[all...]
/illumos-gate/usr/src/cmd/auditd/
H A Ddoorway.c62 #include <sys/stat.h>
283 struct stat64 stat; local
291 if ((fstat64(fd, &stat) == -1) || (!S_ISREG(stat.st_mode)))
299 gettext("auditd plugin: stat(%s) failed: %s\n"),
308 if (stat.st_uid != (uid_t)0) {
322 if (stat.st_mode&S_IWGRP) {
332 if (stat.st_mode&S_IWOTH) {
/illumos-gate/usr/src/cmd/avs/dsw/
H A Diiadm.c39 #include <sys/stat.h>
1394 stat_flags = args.stat;
1763 if (args.stat & DSW_COPYINGP)
1823 struct stat mstat, sstat, bstat;
1978 if (stat(master_volume, &mstat) != 0)
1986 if (stat(shadow_volume, &sstat) != 0)
2002 if (stat(bitmap_volume, &bstat) != 0) {
2166 spcs_s_info_t *stat; local
2220 stat = &parms.status;
2224 stat
2304 spcs_s_info_t *stat; local
[all...]
/illumos-gate/usr/src/cmd/awk/
H A Drun.c1677 int i, stat; local
1689 stat = pclose(files[i].fp);
1691 stat = fclose(files[i].fp);
1692 if (stat == EOF) {
1709 int i, stat; local
1718 stat = pclose(files[i].fp);
1720 stat = fclose(files[i].fp);
1721 if (stat == EOF) {
/illumos-gate/usr/src/cmd/bc/
H A Dbc.y57 %type <iptr> stat, def, slist, dlets, e
102 | start stat tail
120 stat : e label
162 | _IF CRS BLEV '(' re ')' stat
167 | _WHILE CRS '(' re ')' stat BLEV
173 | fprefix CRS re ';' e ')' stat BLEV
219 slist : stat
220 | slist tail stat
/illumos-gate/usr/src/cmd/boot/installgrub/
H A Dinstallgrub.c49 #include <sys/stat.h>
1104 struct stat sb;
1532 struct stat stat = {0}; local
1544 if (device->part_fd < 0 || fstat(device->part_fd, &stat) != 0) {
1550 if (S_ISCHR(stat.st_mode) == 0) {
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/netstat/
H A Dnetstat.c2646 struct ifstat stat = {0L, 0L, 0L, 0L, 0L}; local
2684 stat.ipackets =
2687 stat.ierrors =
2690 stat.opackets =
2693 stat.oerrors =
2696 stat.collisions =
2716 logintname, &stat, B_TRUE);
2720 logintname, &stat, B_FALSE);
2958 struct ifstat stat = {0L, 0L, 0L, 0L, 0L}; local
2996 stat
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Dhostconfig.c397 enum clnt_stat stat; local
430 stat = rpc_broadcast(BOOTPARAMPROG, BOOTPARAMVERS, BOOTPARAMPROC_WHOAMI,
439 stat = rpc_broadcast(BOOTPARAMPROG, BOOTPARAMVERS,
443 if (stat != RPC_SUCCESS) {
444 clnt_perrno(stat);
/illumos-gate/usr/src/cmd/cpc/common/
H A Dcputrack.c771 int stat; local
807 stat = p_online(i, P_STATUS);
808 if (stat != P_ONLINE && stat != P_NOINTR)
/illumos-gate/usr/src/cmd/csh/
H A Dwait3.c113 int stat = (status & 0377); local
117 stat <<= 8;
120 stat |= WCOREFLG;
126 stat <<= 8;
127 stat |= WSTOPFLG;
130 stat = WCONTFLG;
133 return (stat);
/illumos-gate/usr/src/cmd/devfsadm/
H A Ddevfsadm.c244 static int s_stat(const char *, struct stat *);
329 struct stat tx_stat;
461 struct stat sb;
481 struct stat sb;
2822 struct stat sb;
2924 * stat() the console device newdev->ldev_console
2933 if (stat(newdev->ldev_console, &sb) == -1) {
2977 struct stat sb;
3016 * would cause stat of physical path to fail. In this case,
3019 if ((stat(phy_pat
5841 devfsadm_copy_file(const char *file, const struct stat *stat, int flags, struct FTW *ftw) argument
[all...]
/illumos-gate/usr/src/cmd/dladm/
H A Ddladm.c37 #include <sys/stat.h>
3181 dladm_status_t *stat, status; local
3184 stat = l->laggr_status;
3185 *stat = DLADM_STATUS_OK;
3268 *stat = status;
5806 query_kstat(char *module, int instance, const char *name, const char *stat, argument
5830 if (dladm_kstat_value(ksp, stat, type, val) < 0)
5842 get_one_kstat(const char *name, const char *stat, uint8_t type, argument
5849 return (query_kstat("link", 0, name, stat, type, val));
5854 return (query_kstat(module, instance, "mac", stat, typ
[all...]
/illumos-gate/usr/src/cmd/fdisk/
H A Dfdisk.c47 #include <sys/stat.h>
3662 char *stat, *type; local
3694 stat = Actvstr;
3696 stat = NAstr;
3841 i + 1, stat, type, startcyl, endcyl, length, percent);
4850 * Initially tries to stat the node exactly as provided, if that fails
4857 struct stat statbuf;
4867 if (stat(node, (struct stat *)&statbuf) == -1) {
4885 /* Try to stat i
[all...]
/illumos-gate/usr/src/cmd/flowstat/
H A Dflowstat.c327 * existing stat entries.
489 void *stat; local
491 stat = dladm_flow_stat_query_all(flowname);
492 if (stat == NULL)
494 print_all_stats(stat);
495 dladm_flow_stat_query_all_free(stat);
/illumos-gate/usr/src/cmd/fm/eversholt/common/
H A Dliterals.h72 L_DECL(stat); variable
/illumos-gate/usr/src/cmd/fm/fmadm/common/
H A Dfaulty.c33 #include <sys/stat.h>
1665 int rt, c, stat; local
1740 (void) wait(&stat);
/illumos-gate/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/
H A Dcmd_main.c797 fmd_stat_t *stat = ((fmd_stat_t *)&sp->subr_stat) + i; local
799 (void) snprintf(stat->fmds_name,
800 sizeof (stat->fmds_name),
803 stat->fmds_type = FMD_TYPE_UINT64;
804 (void) snprintf(stat->fmds_desc,
805 sizeof (stat->fmds_desc),
808 (void) fmd_stat_create(hdl, FMD_STAT_NOALLOC, 1, stat);
/illumos-gate/usr/src/cmd/fm/modules/sun4v/generic-mem/
H A Dgmem_main.c181 fmd_stat_t *stat = ((fmd_stat_t *)&sp->subr_stat) + i; local
183 (void) snprintf(stat->fmds_name,
184 sizeof (stat->fmds_name),
187 stat->fmds_type = FMD_TYPE_UINT64;
188 (void) snprintf(stat->fmds_desc,
189 sizeof (stat->fmds_desc),
192 (void) fmd_stat_create(hdl, FMD_STAT_NOALLOC, 1, stat);
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dnfs_cast.c116 enum clnt_stat stat; local
173 stat = RPC_CANTSEND;
184 stat = RPC_CANTSEND;
198 stat = RPC_CANTSEND;
204 stat = RPC_CANTSEND;
212 stat = RPC_SYSTEMERROR;
235 stat = RPC_CANTSEND;
253 stat = RPC_CANTSEND;
282 stat = RPC_CANTSEND;
304 stat
[all...]
H A Dns_fnmount.c852 unsigned int stat; local
884 equiv_string = fn_string_from_composite_name(equiv, &stat);
890 equiv_str = (const char *)fn_string_str(equiv_string, &stat);
H A Dns_fnreaddir.c431 unsigned int stat; local
440 if (fn_compound_name_append_comp(name, child, &stat) == 0) {
478 unsigned int stat; local
486 str = (char *)fn_string_str(string, &stat);

Completed in 1008 milliseconds

1234567891011>>