/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Kstat/ |
H A D | Kstat.xs | 183 cpu_stat_t *statp; in save_cpu_stat() local 190 statp = (cpu_stat_t *)(kp->ks_data); in save_cpu_stat() 191 sysinfop = &statp->cpu_sysinfo; in save_cpu_stat() 192 syswaitp = &statp->cpu_syswait; in save_cpu_stat() 193 vminfop = &statp->cpu_vminfo; in save_cpu_stat()
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_vops.c | 1363 smb_vop_statfs(vnode_t *vp, struct statvfs64 *statp, cred_t *cr) in smb_vop_statfs() argument 1367 error = VFS_STATVFS(vp->v_vfsp, statp); in smb_vop_statfs()
|
H A D | smb_fsops.c | 1694 struct statvfs64 *statp) in smb_fsop_statfs() argument 1701 return (smb_vop_statfs(snode->vp, statp, cr)); in smb_fsop_statfs()
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zfs_vfsops.c | 1605 statp->f_blocks = quota >> bshift; in zfs_statfs_project() 1607 statp->f_bavail = statp->f_bfree; in zfs_statfs_project() 1632 statp->f_files = quota; in zfs_statfs_project() 2044 statp->f_bsize = zfsvfs->z_max_blksz; in zfs_statvfs() 2054 statp->f_bavail = statp->f_bfree; /* no root reservation */ in zfs_statvfs() 2064 statp->f_ffree = MIN(availobjs, statp->f_bfree); in zfs_statvfs() 2065 statp->f_favail = statp->f_ffree; /* no "root reservation" */ in zfs_statvfs() 2066 statp->f_files = statp->f_ffree + usedobjs; in zfs_statvfs() 2069 statp->f_fsid = d32; in zfs_statvfs() 2078 statp->f_namemax = MAXNAMELEN - 1; in zfs_statvfs() [all …]
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs_export.c | 2630 nfs4_fhtovp(nfs_fh4 *fh, struct exportinfo *exi, nfsstat4 *statp) in nfs4_fhtovp() argument 2642 *statp = NFS4ERR_STALE; in nfs4_fhtovp() 2667 *statp = NFS4ERR_FHEXPIRED; in nfs4_fhtovp() 2688 *statp = NFS4ERR_STALE; in nfs4_fhtovp() 2694 *statp = NFS4_OK; in nfs4_fhtovp()
|
H A D | nfs4_vnops.c | 8150 vnode_t *ndvp, char *nnm, cred_t *cr, nfsstat4 *statp) in nfs4rename_persistent_fh() argument 8181 *statp = NFS4_OK; in nfs4rename_persistent_fh() 8238 *statp = res.status; in nfs4rename_persistent_fh() 8339 vnode_t *ndvp, char *nnm, cred_t *cr, nfsstat4 *statp) in nfs4rename_volatile_fh() argument 8365 *statp = NFS4_OK; in nfs4rename_volatile_fh() 8492 *statp = res.status; in nfs4rename_volatile_fh()
|
/illumos-gate/usr/src/lib/libresolv2/common/resolv/ |
H A D | res_mkupdate.c | 77 res_nmkupdate(res_state statp, ns_updrec *rrecp_in, u_char *buf, int buflen) { in res_nmkupdate() argument 100 statp->id = res_nrandomid(statp); in res_nmkupdate() 101 hp->id = htons(statp->id); in res_nmkupdate()
|
H A D | res_update.c | 83 if ((statp->options & RES_DEBUG) != 0U) res_dprintf x; \ 90 res_nupdate(res_state statp, ns_updrec *rrecp_in, ns_tsig_key *key) { in res_nupdate() argument 112 nscnt = res_findzonecut2(statp, rrecp->r_dname, tgrp.z_class, in res_nupdate() 155 n = res_nmkupdate(statp, HEAD(zptr->z_rrlist), in res_nupdate() 162 nscount = res_getservers(statp, nsaddrs, MAXNS); in res_nupdate() 163 res_setservers(statp, zptr->z_nsaddrs, zptr->z_nscount); in res_nupdate() 167 n = res_nsendsigned(statp, packet, n, key, in res_nupdate() 170 n = res_nsend(statp, packet, n, answer, sizeof answer); in res_nupdate() 180 res_setservers(statp, nsaddrs, nscount); in res_nupdate() 192 res_setservers(statp, nsaddrs, nscount); in res_nupdate()
|
H A D | res_init.c | 202 statp->id = res_nrandomid(statp); in __res_vinit() 231 statp->ndots = 1; in __res_vinit() 238 statp->_u._ext.ext = malloc(sizeof(*statp->_u._ext.ext)); in __res_vinit() 241 statp->_u._ext.ext->nsaddrs[0].sin = statp->nsaddr; in __res_vinit() 261 statp->nsort = 0; in __res_vinit() 367 statp->defdname[sizeof(statp->defdname) - 1] = '\0'; in __res_vinit() 375 statp->defdname[sizeof(statp->defdname) - 1] = '\0'; in __res_vinit() 428 strncpy(statp->defdname, cp, sizeof(statp->defdname) - 1); in __res_vinit() 429 statp->defdname[sizeof(statp->defdname) - 1] = '\0'; in __res_vinit() 444 strncpy(statp->defdname, cp, sizeof(statp->defdname) - 1); in __res_vinit() [all …]
|
H A D | res_mkquery.c | 111 res_nmkquery(res_state statp, in res_nmkquery() argument 129 if (statp->options & RES_DEBUG) in res_nmkquery() 139 if (_confcheck(statp) == -1) { in res_nmkquery() 152 statp->id = res_nrandomid(statp); in res_nmkquery() 153 hp->id = htons(statp->id); in res_nmkquery() 235 res_nopt(res_state statp, in res_nopt() argument 246 if ((statp->options & RES_DEBUG) != 0U) in res_nopt() 265 if (statp->options & RES_USE_DNSSEC) { in res_nopt() 267 if (statp->options & RES_DEBUG) in res_nopt() 289 res_nopt_rdata(res_state statp, in res_nopt_rdata() argument [all …]
|
H A D | res_debug.h | 24 # define Aerror(statp, file, string, error, address) /*empty*/ argument 25 # define Perror(statp, file, string, error) /*empty*/ argument 30 res_pquery(statp, query, size, stdout);\
|
H A D | res_findzonecut.c | 186 save_pfcode = statp->pfcode; in res_findzonecut2() 207 n = satisfy(statp, mname, &nsrrs, addrs, naddrs); in res_findzonecut2() 212 statp->pfcode = save_pfcode; in res_findzonecut2() 228 x = add_addrs(statp, nsrr, addrs, naddrs); in satisfy() 237 x = add_addrs(statp, nsrr, addrs, naddrs); in satisfy() 247 add_addrs(res_state statp, rr_ns *nsrr, in add_addrs() argument 373 if (save_ns(statp, &msg, ns_s_ns, in get_soa() 454 n = do_query(statp, nsrr->name, class, ns_t_a, in get_glue() 561 if (save_a(statp, msg, ns_s_ar, in save_ns() 572 save_a(res_state statp, ns_msg *msg, ns_sect sect, in save_a() argument [all …]
|
/illumos-gate/usr/src/lib/nsswitch/dns/common/ |
H A D | dns_common.c | 428 statp = &stat; in _nss_dns_gethost_withttl() 444 res_ndestroy(statp); in _nss_dns_gethost_withttl() 549 res_ndestroy(statp); in _nss_dns_gethost_withttl() 573 res_ndestroy(statp); in _nss_dns_gethost_withttl() 587 res_ndestroy(statp); in _nss_dns_gethost_withttl() 605 res_ndestroy(statp); in _nss_dns_gethost_withttl() 610 res_ndestroy(statp); in _nss_dns_gethost_withttl() 616 res_ndestroy(statp); in _nss_dns_gethost_withttl() 621 res_ndestroy(statp); in _nss_dns_gethost_withttl() 758 res_ndestroy(statp); in _nss_dns_gethost_withttl() [all …]
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | opl_cfg.c | 184 hwd_sb_status_t *statp; in opl_dump_hwd() local 194 statp = probe->pr_sb_status; in opl_dump_hwd() 218 printf("%x ", statp->sb_status[bd]); in opl_dump_hwd() 221 printf("HWD:board status = %d\n", statp->sb_status[board]); in opl_dump_hwd() 309 opl_read_hwd(int board, hwd_header_t **hdrp, hwd_sb_status_t **statp, in opl_read_hwd() argument 389 if (statp != NULL) in opl_read_hwd() 390 *statp = st; in opl_read_hwd() 409 hwd_sb_status_t **statp; in opl_probe_init() local 417 statp = &probe->pr_sb_status; in opl_probe_init() 424 ret = opl_read_hwd(board, hdrp, statp, dinfop, sbp); in opl_probe_init()
|
/illumos-gate/usr/src/uts/common/io/scsi/targets/ |
H A D | sd.c | 957 void (*statp)(kstat_io_t *)); 13994 void (*statp)(kstat_io_t *); local 14048 statp = kstat_runq_enter; 14127 statp = kstat_waitq_to_runq; 14860 void (*statp)(kstat_io_t *)) 15142 statp = kstat_waitq_enter; 15260 un->un_retry_statp = statp; 15272 un->un_retry_statp = statp; 15328 if (statp == NULL) { 15329 statp = kstat_waitq_enter; [all …]
|
/illumos-gate/usr/src/uts/common/io/hxge/ |
H A D | hpi_vir.c | 255 hpi_fzc_sys_err_stat_get(hpi_handle_t handle, dev_err_stat_t *statp) in hpi_fzc_sys_err_stat_get() argument 257 HXGE_REG_RD32(handle, DEV_ERR_STAT, &statp->value); in hpi_fzc_sys_err_stat_get()
|
/illumos-gate/usr/src/ucbcmd/touch/ |
H A D | touch.c | 268 oldtouch(filename, statp) in oldtouch() argument 270 struct stat *statp; 274 if ((statp->st_mode & S_IFMT) != S_IFREG) { 288 rwstatus = readwrite(filename, statp->st_size); 289 if (chmod(filename, (int)statp->st_mode)) { 297 return (readwrite(filename, statp->st_size));
|
/illumos-gate/usr/src/tools/cscope-fast/ |
H A D | vpstat.c | 39 vpstat(char *path, struct stat *statp) in vpstat() argument 45 if ((returncode = stat(path, statp)) == -1 && path[0] != '/') { in vpstat() 49 if ((returncode = stat(buf, statp)) != -1) { in vpstat()
|
H A D | library.h | 55 int vpstat(char *path, struct stat *statp);
|
/illumos-gate/usr/src/lib/librpcsvc/common/ |
H A D | rstat_simple.c | 32 rstat(host, statp) in rstat() argument 34 struct statstime *statp; 38 xdr_statstime, (char *) statp, (char *) NULL));
|
/illumos-gate/usr/src/lib/libcfgadm/common/ |
H A D | config_admin.c | 277 static void stat_to_list(cfga_list_data_t *lp, cfga_stat_data_t *statp); 3147 stat_to_list(cfga_list_data_t *lp, cfga_stat_data_t *statp) in stat_to_list() argument 3151 statp->ap_log_id); in stat_to_list() 3154 statp->ap_phys_id); in stat_to_list() 3159 lp->ap_r_state = statp->ap_r_state; in stat_to_list() 3160 lp->ap_o_state = statp->ap_o_state; in stat_to_list() 3161 lp->ap_cond = statp->ap_cond; in stat_to_list() 3162 lp->ap_busy = statp->ap_busy; in stat_to_list() 3163 lp->ap_status_time = statp->ap_status_time; in stat_to_list() 3166 statp->ap_info); in stat_to_list() [all …]
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | nftw.c | 610 cdstat(const char *path, struct stat *statp, struct Save *lp __unused, in cdstat() argument 613 return (fstatat(AT_FDCWD, path, statp, flags)); in cdstat() 620 cdlstat(const char *path, struct stat *statp, struct Save *lp __unused, in cdlstat() argument 623 return (fstatat(AT_FDCWD, path, statp, in cdlstat() 631 nocdstat(const char *path, struct stat *statp, struct Save *lp, int flags) in nocdstat() argument 647 return (fstatat(fd, basepath, statp, flags)); in nocdstat() 654 nocdlstat(const char *path, struct stat *statp, struct Save *lp, int flags) in nocdlstat() argument 670 return (fstatat(fd, basepath, statp, flags | AT_SYMLINK_NOFOLLOW)); in nocdlstat()
|
H A D | _xftw.c | 319 nocdstat(const char *path, struct stat *statp, struct Var *vp, int sym) in nocdstat() argument 327 rc = fstatat(AT_FDCWD, path, statp, sym); in nocdstat() 354 rc = fstatat(fd, unrootp, statp, sym); in nocdstat()
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | udb.c | 835 udb_map_lookup(map, name, av, statp) in udb_map_lookup() argument 839 int *statp;
|
H A D | parseaddr.c | 2959 dequote_map(map, name, av, statp) in dequote_map() argument 2963 int *statp;
|