/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | zfs_vnops.c | 128 file_sz = zp->z_size; in zfs_holey_common() 371 if (zfs_uio_offset(uio) >= zp->z_size) { in zfs_read() 375 ASSERT(zfs_uio_offset(uio) < zp->z_size); in zfs_read() 389 ssize_t n = MIN(zfs_uio_resid(uio), zp->z_size - zfs_uio_offset(uio)); in zfs_read() 613 &zp->z_size, 8); in zfs_write() 633 (zfs_uio_offset(uio) < zp->z_size))) { in zfs_write() 641 offset_t woff = ioflag & O_APPEND ? zp->z_size : zfs_uio_offset(uio); in zfs_write() 683 woff = zp->z_size; in zfs_write() 718 uint64_t end_size = MAX(zp->z_size, woff + n); in zfs_write() 772 if (lr->lr_length == UINT64_MAX && zp->z_size <= zp->z_blksz) { in zfs_write() [all …]
|
H A D | zfs_replay.c | 862 if (zp->z_size < eod) in zfs_replay_write() 897 if (end > zp->z_size) { in zfs_replay_write2() 900 zp->z_size = end; in zfs_replay_write2() 914 (void *)&zp->z_size, sizeof (uint64_t), tx); in zfs_replay_write2()
|
H A D | zfs_sa.c | 84 bufsz = zp->z_size; in zfs_sa_readlink() 378 &zp->z_size, 8); in zfs_sa_upgrade()
|
H A D | sa.c | 1687 &zp->z_size, 8); in sa_add_projid()
|
/freebsd/sys/dev/sound/pcm/ |
H A D | feeder_rate.c | 141 int32_t z_size; /* half width of FIR taps */ member 548 center = z_prev(info, info->z_start, info->z_size); \ 560 for (i = info->z_size; i != 0; i -= Z_SINC_ACCUMULATE_DECR) \ 566 for (i = info->z_size; i != 0; i -= Z_SINC_ACCUMULATE_DECR) \ 589 start = z_prev(info, info->z_start, (info->z_size << 1) - 1) * ch; \ 597 ((info->z_alpha * info->z_size) << 1); \ 598 for (i = info->z_size; i != 0; i--) { \ 708 info->z_size = 1; in z_resampler_reset() 1034 if (((int64_t)info->z_size * info->z_gy * 2) > in z_resampler_build_polyphase() 1039 (intmax_t)info->z_size * info->z_gy * 2, in z_resampler_build_polyphase() [all …]
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | zfs_znode_os.c | 114 new->lr_offset = zp->z_size; in zfs_rangelock_cb() 121 uint64_t end_size = MAX(zp->z_size, new->lr_offset + new->lr_length); in zfs_rangelock_cb() 462 &zp->z_size, 8); in zfs_znode_alloc() 1120 size = zp->z_size; in zfs_rezget() 1126 &zp->z_size, sizeof (zp->z_size)); in zfs_rezget() 1195 if (zp->z_size != size) in zfs_rezget() 1196 vnode_pager_setsize(vp, zp->z_size); in zfs_rezget() 1347 if (zp->z_blksz && zp->z_size > zp->z_blksz) in zfs_grow_blocksize() 1386 if (end <= zp->z_size) { in zfs_extend() 1424 zp->z_size = end; in zfs_extend() [all …]
|
H A D | zfs_acl.c | 479 aclnode->z_size = bytes; in zfs_acl_node_alloc() 616 ((caddr_t)aclnode->z_acldata + aclnode->z_size)) { in zfs_acl_next_ace() 831 &newaclnode->z_size, NULL, cr)); in zfs_acl_xform() 844 aclp->z_acl_bytes = newaclnode->z_size; in zfs_acl_xform() 1087 aclnode->z_size = aclsize; in zfs_acl_node_read() 1092 znode_acl.z_acl_extern_obj, 0, aclnode->z_size, in zfs_acl_node_read() 1096 aclnode->z_size); in zfs_acl_node_read() 1100 aclnode->z_acldata, aclnode->z_size); in zfs_acl_node_read() 1136 *length = cb->cb_acl_node->z_size; in zfs_acl_data_locator() 1264 aclnode->z_size, aclnode->z_acldata, tx); in zfs_aclset_common() [all …]
|
H A D | zfs_dir.c | 653 dzp->z_size++; in zfs_link_create() 657 &dzp->z_size, sizeof (dzp->z_size)); in zfs_link_create() 786 dzp->z_size--; /* one dirent removed */ in zfs_link_destroy() 791 NULL, &dzp->z_size, sizeof (dzp->z_size)); in zfs_link_destroy() 816 return (dzp->z_size == 2); in zfs_dirempty()
|
H A D | zfs_vnops_os.c | 1906 vap->va_size = zp->z_size; in zfs_getattr() 3471 zp->z_size = len; in zfs_symlink() 3473 &zp->z_size, sizeof (zp->z_size), tx); in zfs_symlink() 4289 vnode_create_vobject(vp, zp->z_size, ap->a_td); in zfs_freebsd_open() 6123 file_sz = zp->z_size; in zfs_deallocate()
|
H A D | zfs_vfsops.c | 1933 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 | 58 __field(uint64_t, z_size) 91 __entry->z_size = zn->z_size; 126 __entry->z_seq, __entry->z_mapcnt, __entry->z_size,
|
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | zfs_znode_os.c | 92 new->lr_offset = zp->z_size; in zfs_rangelock_cb() 99 uint64_t end_size = MAX(zp->z_size, new->lr_offset + new->lr_length); in zfs_rangelock_cb() 488 i_size_write(ip, zp->z_size); in zfs_znode_update_vfs() 545 &zp->z_size, 8); in zfs_znode_alloc() 1219 &zp->z_size, sizeof (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() 1530 zp->z_size = end; in zfs_extend() 1533 &zp->z_size, sizeof (zp->z_size), tx)); in zfs_extend() 1609 if (off >= zp->z_size) { in zfs_free_range() [all …]
|
H A D | zfs_acl.c | 477 aclnode->z_size = bytes; in zfs_acl_node_alloc() 614 ((caddr_t)aclnode->z_acldata + aclnode->z_size)) { in zfs_acl_next_ace() 829 &newaclnode->z_size, NULL, cr) == 0); in zfs_acl_xform() 842 aclp->z_acl_bytes = newaclnode->z_size; in zfs_acl_xform() 1115 aclnode->z_size = aclsize; in zfs_acl_node_read() 1120 znode_acl.z_acl_extern_obj, 0, aclnode->z_size, in zfs_acl_node_read() 1124 aclnode->z_size); in zfs_acl_node_read() 1128 aclnode->z_acldata, aclnode->z_size); in zfs_acl_node_read() 1166 *length = cb->cb_acl_node->z_size; in zfs_acl_data_locator() 1449 aclnode->z_size, aclnode->z_acldata, tx); in zfs_aclset_common() [all …]
|
H A D | zfs_dir.c | 879 dzp->z_size++; in zfs_link_create() 885 &dzp->z_size, sizeof (dzp->z_size)); in zfs_link_create() 1069 dzp->z_size--; /* one dirent removed */ in zfs_link_destroy() 1076 NULL, &dzp->z_size, sizeof (dzp->z_size)); in zfs_link_destroy()
|
H A D | zfs_vnops_os.c | 1065 toobig = zp->z_size > zp->z_blksz * zfs_delete_blocks; in zfs_remove() 3400 zp->z_size = len; in zfs_symlink() 3402 &zp->z_size, sizeof (zp->z_size), tx); in zfs_symlink()
|
H A D | zfs_ctldir.c | 509 zp->z_size = 0; in zfsctl_inode_alloc()
|
/freebsd/lib/libprocstat/ |
H A D | zfs_defs.c | 76 size_t offsetof_z_size = offsetof(znode_t, z_size);
|
/freebsd/sys/contrib/openzfs/include/sys/ |
H A D | zfs_acl.h | 156 size_t z_size; /* length of ACL data */ member
|
H A D | zfs_znode.h | 200 uint64_t z_size; /* file size (cached) */ member
|