Searched refs:sbp (Results 1 - 8 of 8) sorted by relevance
/darwin-on-arm/xnu/bsd/miscfs/devfs/ |
H A D | devfs_vfsops.c | 93 static int devfs_statfs( struct mount *mp, struct vfsstatfs *sbp, vfs_context_t ctx); 281 devfs_statfs( struct mount *mp, struct vfsstatfs *sbp, __unused vfs_context_t ctx) argument 288 //sbp->f_type = mp->mnt_vfsstat.f_type; 289 sbp->f_flags = 0; /* XXX */ 290 sbp->f_bsize = 512; 291 sbp->f_iosize = 512; 292 sbp->f_blocks = (devfs_stats.mounts * sizeof(struct devfsmount) 296 ) / sbp->f_bsize; 297 sbp->f_bfree = 0; 298 sbp [all...] |
/darwin-on-arm/xnu/bsd/vfs/ |
H A D | vfs_syscalls.c | 4684 caddr_t sbp; local 4735 sbp = (caddr_t)&dest.user64_sb64; 4739 sbp = (caddr_t)&dest.user32_sb64; 4754 sbp = (caddr_t)&dest.user64_sb; 4758 sbp = (caddr_t)&dest.user32_sb; 4768 if ((error = copyout(sbp, ub, my_size)) != 0) 9405 void munge_user64_stat(struct stat *sbp, struct user64_stat *usbp) argument 9409 usbp->st_dev = sbp->st_dev; 9410 usbp->st_ino = sbp->st_ino; 9411 usbp->st_mode = sbp 9441 munge_user32_stat(struct stat *sbp, struct user32_stat *usbp) argument 9480 munge_user64_stat64(struct stat64 *sbp, struct user64_stat64 *usbp) argument 9520 munge_user32_stat64(struct stat64 *sbp, struct user32_stat64 *usbp) argument [all...] |
H A D | vfs_journal.c | 3705 buf_t sbp; local 3761 sbp = buf_create_shadow_priv(bp, FALSE, (uintptr_t)blkptr, 0, 0); 3763 if (sbp == NULL) 3784 buf_setfilter(sbp, func, arg, NULL, NULL); 3786 blhdr->binfo[i].u.bp = sbp; 4209 buf_t bp, tbp, sbp; local 4223 sbp = tbp; 4225 sbp = NULL; 4234 if (sbp == NULL && bp != tbp && (buf_flags(tbp) & B_LOCKED)) { 4262 if (sbp) [all...] |
/darwin-on-arm/xnu/bsd/kern/ |
H A D | proc_info.c | 139 static void munge_vinfo_stat(struct stat64 *sbp, struct vinfo_stat *vsbp); 2064 munge_vinfo_stat(struct stat64 *sbp, struct vinfo_stat *vsbp) argument 2068 vsbp->vst_dev = sbp->st_dev; 2069 vsbp->vst_mode = sbp->st_mode; 2070 vsbp->vst_nlink = sbp->st_nlink; 2071 vsbp->vst_ino = sbp->st_ino; 2072 vsbp->vst_uid = sbp->st_uid; 2073 vsbp->vst_gid = sbp->st_gid; 2074 vsbp->vst_atime = sbp->st_atimespec.tv_sec; 2075 vsbp->vst_atimensec = sbp [all...] |
H A D | kern_descrip.c | 2498 caddr_t sbp; local 2508 sbp = (caddr_t)&dest.user64_sb64; 2512 sbp = (caddr_t)&dest.user32_sb64; 2521 sbp = (caddr_t)&dest.user64_sb; 2525 sbp = (caddr_t)&dest.user32_sb; 2529 error = copyout(sbp, ub, my_size);
|
/darwin-on-arm/xnu/bsd/sys/ |
H A D | stat.h | 348 extern void munge_user64_stat(struct stat *sbp, struct user64_stat *usbp); 349 extern void munge_user32_stat(struct stat *sbp, struct user32_stat *usbp); 416 extern void munge_user64_stat64(struct stat64 *sbp, struct user64_stat64 *usbp); 417 extern void munge_user32_stat64(struct stat64 *sbp, struct user32_stat64 *usbp);
|
/darwin-on-arm/xnu/bsd/nfs/ |
H A D | nfs_vfsops.c | 2636 struct vfsstatfs *sbp; local 3186 sbp = vfs_statfs(mp); 3187 sbp->f_bsize = nmp->nm_fsattr.nfsa_bsize; 3188 sbp->f_blocks = nmp->nm_fsattr.nfsa_space_total / sbp->f_bsize; 3189 sbp->f_bfree = nmp->nm_fsattr.nfsa_space_free / sbp->f_bsize; 3190 sbp->f_bavail = nmp->nm_fsattr.nfsa_space_avail / sbp->f_bsize; 3191 sbp [all...] |
/darwin-on-arm/xnu/bsd/hfs/ |
H A D | hfs_vfsops.c | 167 int hfs_statfs(struct mount *mp, register struct vfsstatfs *sbp, vfs_context_t context); 2433 hfs_statfs(struct mount *mp, register struct vfsstatfs *sbp, __unused vfs_context_t context) argument 2442 sbp->f_bsize = (u_int32_t)vcb->blockSize; 2443 sbp->f_iosize = (size_t)cluster_max_io_size(mp, 0); 2444 sbp->f_blocks = (u_int64_t)((u_int32_t)vcb->totalBlocks); 2445 sbp->f_bfree = (u_int64_t)((u_int32_t )hfs_freeblks(hfsmp, 0)); 2446 sbp->f_bavail = (u_int64_t)((u_int32_t )hfs_freeblks(hfsmp, 1)); 2447 sbp->f_files = (u_int64_t)((u_int32_t )(vcb->totalBlocks - 2)); /* max files is constrained by total blocks */ 2448 sbp->f_ffree = (u_int64_t)((u_int32_t )(MIN(freeCNIDs, sbp [all...] |
Completed in 161 milliseconds