| /freebsd/sys/contrib/openzfs/module/zfs/ |
| H A D | zfs_vnops.c | 141 file_sz = zp->z_size; in zfs_holey_common() 397 if (zfs_uio_offset(uio) >= zp->z_size) { in zfs_read() 401 ASSERT(zfs_uio_offset(uio) < zp->z_size); in zfs_read() 416 ssize_t n = MIN(zfs_uio_resid(uio), zp->z_size - zfs_uio_offset(uio)); in zfs_read() 649 &zp->z_size, 8); in zfs_write() 669 (zfs_uio_offset(uio) < zp->z_size))) { in zfs_write() 677 offset_t woff = ioflag & O_APPEND ? zp->z_size : zfs_uio_offset(uio); in zfs_write() 719 woff = zp->z_size; in zfs_write() 754 uint64_t end_size = MAX(zp->z_size, woff + n); in zfs_write() 808 if (lr->lr_length == UINT64_MAX && zp->z_size <= zp->z_blksz) { in zfs_write() [all …]
|
| H A D | zfs_replay.c | 863 if (zp->z_size < eod) in zfs_replay_write() 898 if (end > zp->z_size) { in zfs_replay_write2() 901 zp->z_size = end; in zfs_replay_write2() 915 (void *)&zp->z_size, sizeof (uint64_t), tx); in zfs_replay_write2()
|
| H A D | zfs_sa.c | 85 bufsz = zp->z_size; in zfs_sa_readlink() 379 &zp->z_size, 8); in zfs_sa_upgrade()
|
| H A D | sa.c | 1688 &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 550 center = z_prev(info, info->z_start, info->z_size); \ 562 for (i = info->z_size; i != 0; i -= Z_SINC_ACCUMULATE_DECR) \ 568 for (i = info->z_size; i != 0; i -= Z_SINC_ACCUMULATE_DECR) \ 591 start = z_prev(info, info->z_start, (info->z_size << 1) - 1) * ch; \ 599 ((info->z_alpha * info->z_size) << 1); \ 600 for (i = info->z_size; i != 0; i--) { \ 714 info->z_size = 1; in z_resampler_reset() 1036 if (((int64_t)info->z_size * info->z_gy * 2) > in z_resampler_build_polyphase() 1041 (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/include/os/linux/zfs/sys/ |
| H A D | trace_acl.h | 59 __field(uint64_t, z_size) 90 __entry->z_size = zn->z_size; 123 __entry->z_seq, __entry->z_mapcnt, __entry->z_size,
|
| /freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
| H A D | zfs_znode_os.c | 119 new->lr_offset = zp->z_size; in zfs_rangelock_cb() 127 uint64_t end_size = MAX(zp->z_size, new->lr_offset + new->lr_length); in zfs_rangelock_cb() 128 if (zp->z_size <= zp->z_blksz && end_size > zp->z_blksz && in zfs_rangelock_cb() 462 &zp->z_size, 8); in zfs_znode_alloc() 1153 size = zp->z_size; in zfs_rezget() 1159 &zp->z_size, sizeof (zp->z_size)); in zfs_rezget() 1239 if (zp->z_size != size) in zfs_rezget() 1240 vnode_pager_setsize(vp, zp->z_size); in zfs_rezget() 1391 if (zp->z_blksz && zp->z_size > zp->z_blksz) in zfs_grow_blocksize() 1430 if (end <= zp->z_size) { in zfs_extend() [all …]
|
| H A D | zfs_acl.c | 480 aclnode->z_size = bytes; in zfs_acl_node_alloc() 617 ((caddr_t)aclnode->z_acldata + aclnode->z_size)) { in zfs_acl_next_ace() 832 &newaclnode->z_size, NULL, cr)); in zfs_acl_xform() 845 aclp->z_acl_bytes = newaclnode->z_size; in zfs_acl_xform() 1088 aclnode->z_size = aclsize; in zfs_acl_node_read() 1093 znode_acl.z_acl_extern_obj, 0, aclnode->z_size, in zfs_acl_node_read() 1097 aclnode->z_size); in zfs_acl_node_read() 1101 aclnode->z_acldata, aclnode->z_size); in zfs_acl_node_read() 1137 *length = cb->cb_acl_node->z_size; in zfs_acl_data_locator() 1265 aclnode->z_size, aclnode->z_acldata, tx, in zfs_aclset_common() [all …]
|
| H A D | zfs_dir.c | 654 dzp->z_size++; in zfs_link_create() 658 &dzp->z_size, sizeof (dzp->z_size)); in zfs_link_create() 787 dzp->z_size--; /* one dirent removed */ in zfs_link_destroy() 792 NULL, &dzp->z_size, sizeof (dzp->z_size)); in zfs_link_destroy() 817 return (dzp->z_size == 2); in zfs_dirempty()
|
| H A D | zfs_vnops_os.c | 2015 vap->va_size = zp->z_size; in zfs_getattr() 3713 zp->z_size = len; in zfs_symlink() 3715 &zp->z_size, sizeof (zp->z_size), tx); in zfs_symlink() 4135 if (zp->z_size <= blksize) in zfs_pathconf() 4630 vnode_create_vobject(vp, zp->z_size, ap->a_td); in zfs_freebsd_open() 6858 file_sz = zp->z_size; in zfs_deallocate()
|
| H A D | zfs_vfsops.c | 1993 vnode_create_vobject(*vpp, zp->z_size, curthread); in zfs_fhtovp()
|
| /freebsd/sys/contrib/openzfs/module/os/linux/zfs/ |
| H A D | zfs_znode_os.c | 93 new->lr_offset = zp->z_size; in zfs_rangelock_cb() 101 uint64_t end_size = MAX(zp->z_size, new->lr_offset + new->lr_length); in zfs_rangelock_cb() 102 if (zp->z_size <= zp->z_blksz && end_size > zp->z_blksz && in zfs_rangelock_cb() 498 i_size_write(ip, zp->z_size); in zfs_znode_update_vfs() 553 &zp->z_size, 8); in zfs_znode_alloc() 1227 &zp->z_size, sizeof (zp->z_size)); in zfs_rezget() 1461 if (zp->z_blksz && zp->z_size > zp->z_blksz) in zfs_grow_blocksize() 1500 if (end <= zp->z_size) { in zfs_extend() 1538 zp->z_size = end; in zfs_extend() 1541 &zp->z_size, sizeof (zp->z_size), tx)); in zfs_extend() [all …]
|
| H A D | zfs_acl.c | 478 aclnode->z_size = bytes; in zfs_acl_node_alloc() 615 ((caddr_t)aclnode->z_acldata + aclnode->z_size)) { in zfs_acl_next_ace() 830 &newaclnode->z_size, NULL, cr) == 0); in zfs_acl_xform() 843 aclp->z_acl_bytes = newaclnode->z_size; in zfs_acl_xform() 1116 aclnode->z_size = aclsize; in zfs_acl_node_read() 1121 znode_acl.z_acl_extern_obj, 0, aclnode->z_size, in zfs_acl_node_read() 1125 aclnode->z_size); in zfs_acl_node_read() 1129 aclnode->z_acldata, aclnode->z_size); in zfs_acl_node_read() 1167 *length = cb->cb_acl_node->z_size; in zfs_acl_data_locator() 1450 aclnode->z_size, aclnode->z_acldata, tx, in zfs_aclset_common() [all …]
|
| H A D | zfs_dir.c | 881 dzp->z_size++; in zfs_link_create() 887 &dzp->z_size, sizeof (dzp->z_size)); in zfs_link_create() 1071 dzp->z_size--; /* one dirent removed */ in zfs_link_destroy() 1078 NULL, &dzp->z_size, sizeof (dzp->z_size)); in zfs_link_destroy()
|
| H A D | zfs_vnops_os.c | 1069 toobig = zp->z_size > zp->z_blksz * zfs_delete_blocks; in zfs_remove() 3407 zp->z_size = len; in zfs_symlink() 3409 &zp->z_size, sizeof (zp->z_size), tx); in zfs_symlink()
|
| H A D | zfs_ctldir.c | 516 zp->z_size = 0; in zfsctl_inode_alloc()
|
| /freebsd/sys/contrib/openzfs/include/sys/ |
| H A D | zfs_acl.h | 157 size_t z_size; /* length of ACL data */ member
|
| H A D | zfs_znode.h | 202 uint64_t z_size; /* file size (cached) */ member
|