| /freebsd/sys/contrib/openzfs/module/zfs/ |
| H A D | zfs_vnops.c | 133 file_sz = zp->z_size; in zfs_holey_common() 390 if (zfs_uio_offset(uio) >= zp->z_size) { in zfs_read() 394 ASSERT(zfs_uio_offset(uio) < zp->z_size); in zfs_read() 409 ssize_t n = MIN(zfs_uio_resid(uio), zp->z_size - zfs_uio_offset(uio)); in zfs_read() 653 &zp->z_size, 8); in zfs_write() 676 (zfs_uio_offset(uio) < zp->z_size))) { in zfs_write() 684 offset_t woff = ioflag & O_APPEND ? zp->z_size : zfs_uio_offset(uio); in zfs_write() 726 woff = zp->z_size; in zfs_write() 761 uint64_t end_size = MAX(zp->z_size, woff + n); in zfs_write() 815 if (lr->lr_length == UINT64_MAX && zp->z_size < in zfs_write() [all...] |
| H A D | zfs_replay.c | 825 if (zp->z_size < eod) in zfs_replay_write() 860 if (end > zp->z_size) { in zfs_replay_write2() 863 zp->z_size = end; in zfs_replay_write2() 877 (void *)&zp->z_size, sizeof (uint64_t), tx); in zfs_replay_write2()
|
| H A D | zfs_sa.c | 76 bufsz = zp->z_size; in zfs_sa_readlink() 372 &zp->z_size, 8); in zfs_sa_upgrade()
|
| H A D | sa.c | 1685 &zp->z_size, 8); in sa_add_projid()
|
| /freebsd/sys/dev/sound/pcm/ |
| H A D | feeder_rate.c | 126 int32_t z_size; /* half width of FIR taps */ member 535 center = z_prev(info, info->z_start, info->z_size); \ 547 for (i = info->z_size; i != 0; i -= Z_SINC_ACCUMULATE_DECR) \ 553 for (i = info->z_size; i != 0; i -= Z_SINC_ACCUMULATE_DECR) \ 576 start = z_prev(info, info->z_start, (info->z_size << 1) - 1) * ch; \ 584 ((info->z_alpha * info->z_size) << 1); \ 585 for (i = info->z_size; i != 0; i--) { \ 687 info->z_size = 1; in z_resampler_reset() 1005 if (((int64_t)info->z_size * info->z_gy * 2) > in z_resampler_build_polyphase() 1010 (intmax_t)info->z_size * info->z_gy * 2, in z_resampler_build_polyphase() [all …]
|
| /freebsd/lib/libprocstat/ |
| H A D | zfs.c | 78 (size_t)size < offsetof(znode_t, z_size) + sizeof(znode->z_size)) { in zfs_filestat() 108 vn->vn_size = znode->z_size; in zfs_filestat()
|
| /freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
| H A D | zfs_znode_os.c | 109 new->lr_offset = zp->z_size; in zfs_rangelock_cb() 117 uint64_t end_size = MAX(zp->z_size, new->lr_offset + new->lr_length); in zfs_rangelock_cb() 118 if (zp->z_size <= zp->z_blksz && end_size > zp->z_blksz && in zfs_rangelock_cb() 455 &zp->z_size, 8); in zfs_znode_alloc() 1161 size = zp->z_size; in zfs_rezget() 1167 &zp->z_size, sizeof (zp->z_size)); in zfs_rezget() 1258 if (zp->z_size != size) in zfs_rezget() 1259 vnode_pager_setsize(vp, zp->z_size); in zfs_rezget() 1453 if (zp->z_blksz && zp->z_size > zp->z_blksz) in zfs_grow_blocksize() 1492 if (end <= zp->z_size) { in zfs_extend() [all …]
|
| H A D | zfs_acl.c | 471 aclnode->z_size = bytes; in zfs_acl_node_alloc() 608 ((caddr_t)aclnode->z_acldata + aclnode->z_size)) { in zfs_acl_next_ace() 823 &newaclnode->z_size, NULL, cr)); in zfs_acl_xform() 836 aclp->z_acl_bytes = newaclnode->z_size; in zfs_acl_xform() 1079 aclnode->z_size = aclsize; in zfs_acl_node_read() 1084 znode_acl.z_acl_extern_obj, 0, aclnode->z_size, in zfs_acl_node_read() 1088 aclnode->z_size); in zfs_acl_node_read() 1092 aclnode->z_acldata, aclnode->z_size); in zfs_acl_node_read() 1128 *length = cb->cb_acl_node->z_size; in zfs_acl_data_locator() 1256 aclnode->z_size, aclnode->z_acldata, tx, in zfs_aclset_common() [all …]
|
| H A D | zfs_dir.c | 646 dzp->z_size++; in zfs_link_create() 650 &dzp->z_size, sizeof (dzp->z_size)); in zfs_link_create() 790 dzp->z_size--; /* one dirent removed */ in zfs_link_destroy() 795 NULL, &dzp->z_size, sizeof (dzp->z_size)); in zfs_link_destroy() 822 return (dzp->z_size == 2); in zfs_dirempty()
|
| H A D | zfs_vnops_os.c | 1994 vap->va_size = zp->z_size; in zfs_getattr() 3711 zp->z_size = len; in zfs_symlink() 3713 &zp->z_size, sizeof (zp->z_size), tx); in zfs_symlink() 4134 if (zp->z_size <= blksize) in zfs_pathconf() 4631 vnode_create_vobject(vp, zp->z_size, ap->a_td); in zfs_freebsd_open() 6878 file_sz = zp->z_size; in zfs_deallocate()
|
| H A D | zfs_vfsops.c | 2022 vnode_create_vobject(*vpp, zp->z_size, curthread); in zfs_fhtovp()
|
| /freebsd/sys/contrib/openzfs/include/os/linux/zfs/sys/ |
| H A D | trace_acl.h | 49 __field(uint64_t, z_size) 80 __entry->z_size = zn->z_size; 113 __entry->z_seq, __entry->z_mapcnt, __entry->z_size,
|
| /freebsd/sys/contrib/openzfs/module/os/linux/zfs/ |
| H A D | zfs_znode_os.c | 86 new->lr_offset = zp->z_size; in zfs_rangelock_cb() 94 uint64_t end_size = MAX(zp->z_size, new->lr_offset + new->lr_length); in zfs_rangelock_cb() 95 if (zp->z_size <= zp->z_blksz && end_size > zp->z_blksz && in zfs_rangelock_cb() 492 i_size_write(ip, zp->z_size); in zfs_znode_update_vfs() 547 &zp->z_size, 8); in zfs_znode_alloc() 1260 &zp->z_size, sizeof (zp->z_size)); in zfs_rezget() 1505 if (zp->z_blksz && zp->z_size > zp->z_blksz) in zfs_grow_blocksize() 1544 if (end <= zp->z_size) { in zfs_extend() 1582 zp->z_size in zfs_extend() [all...] |
| H A D | zfs_acl.c | 469 aclnode->z_size = bytes; in zfs_acl_node_alloc() 606 ((caddr_t)aclnode->z_acldata + aclnode->z_size)) { in zfs_acl_next_ace() 821 &newaclnode->z_size, NULL, cr) == 0); in zfs_acl_xform() 834 aclp->z_acl_bytes = newaclnode->z_size; in zfs_acl_xform() 1107 aclnode->z_size = aclsize; in zfs_acl_node_read() 1112 znode_acl.z_acl_extern_obj, 0, aclnode->z_size, in zfs_acl_node_read() 1116 aclnode->z_size); in zfs_acl_node_read() 1120 aclnode->z_acldata, aclnode->z_size); in zfs_acl_node_read() 1158 *length = cb->cb_acl_node->z_size; in zfs_acl_data_locator() 1441 aclnode->z_size, aclnode->z_acldata, tx, in zfs_aclset_common() [all …]
|
| H A D | zfs_dir.c | 873 dzp->z_size++; in zfs_link_create() 879 &dzp->z_size, sizeof (dzp->z_size)); in zfs_link_create() 1073 dzp->z_size--; /* one dirent removed */ in zfs_link_destroy() 1080 NULL, &dzp->z_size, sizeof (dzp->z_size)); in zfs_link_destroy()
|
| H A D | zfs_vnops_os.c | 1092 toobig = zp->z_size > zp->z_blksz * zfs_delete_blocks; in zfs_remove() 3467 zp->z_size = len; in zfs_symlink_idmap() 3469 &zp->z_size, sizeof (zp->z_size), tx); in zfs_symlink_idmap()
|
| H A D | zfs_ctldir.c | 535 zp->z_size = 0; in zfsctl_inode_alloc()
|
| /freebsd/sys/contrib/openzfs/include/sys/ |
| H A D | zfs_acl.h | 148 size_t z_size; /* length of ACL data */ member
|
| H A D | zfs_znode.h | 218 uint64_t z_size; /* file size (cached) */ member
|