Home
last modified time | relevance | path

Searched refs:z_size (Results 1 – 19 of 19) sorted by relevance

/freebsd-14-stable/sys/contrib/openzfs/module/zfs/
HDzfs_vnops.c121 file_sz = zp->z_size; in zfs_holey_common()
292 if (zfs_uio_offset(uio) >= zp->z_size) { in zfs_read()
297 ASSERT(zfs_uio_offset(uio) < zp->z_size); in zfs_read()
301 ssize_t n = MIN(zfs_uio_resid(uio), zp->z_size - zfs_uio_offset(uio)); in zfs_read()
450 &zp->z_size, 8); in zfs_write()
470 (zfs_uio_offset(uio) < zp->z_size))) { in zfs_write()
478 offset_t woff = ioflag & O_APPEND ? zp->z_size : zfs_uio_offset(uio); in zfs_write()
511 woff = zp->z_size; in zfs_write()
540 uint64_t end_size = MAX(zp->z_size, woff + n); in zfs_write()
565 if (lr->lr_length == UINT64_MAX && zp->z_size <= zp->z_blksz) { in zfs_write()
[all …]
HDzfs_replay.c862 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()
HDzfs_sa.c84 bufsz = zp->z_size; in zfs_sa_readlink()
378 &zp->z_size, 8); in zfs_sa_upgrade()
HDsa.c1633 &zp->z_size, 8); in sa_add_projid()
/freebsd-14-stable/sys/dev/sound/pcm/
HDfeeder_rate.c141 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()
1040 if (((int64_t)info->z_size * info->z_gy * 2) > in z_resampler_build_polyphase()
1045 (intmax_t)info->z_size * info->z_gy * 2, in z_resampler_build_polyphase()
[all …]
/freebsd-14-stable/sys/contrib/openzfs/module/os/freebsd/zfs/
HDzfs_znode_os.c114 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()
464 &zp->z_size, 8); in zfs_znode_alloc()
1122 size = zp->z_size; in zfs_rezget()
1128 &zp->z_size, sizeof (zp->z_size)); in zfs_rezget()
1197 if (zp->z_size != size) in zfs_rezget()
1198 vnode_pager_setsize(vp, zp->z_size); in zfs_rezget()
1349 if (zp->z_blksz && zp->z_size > zp->z_blksz) in zfs_grow_blocksize()
1388 if (end <= zp->z_size) { in zfs_extend()
1426 zp->z_size = end; in zfs_extend()
[all …]
HDzfs_acl.c479 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 …]
HDzfs_dir.c640 dzp->z_size++; in zfs_link_create()
644 &dzp->z_size, sizeof (dzp->z_size)); in zfs_link_create()
773 dzp->z_size--; /* one dirent removed */ in zfs_link_destroy()
778 NULL, &dzp->z_size, sizeof (dzp->z_size)); in zfs_link_destroy()
803 return (dzp->z_size == 2); in zfs_dirempty()
HDzfs_vnops_os.c1876 vap->va_size = zp->z_size; in zfs_getattr()
3435 zp->z_size = len; in zfs_symlink()
3437 &zp->z_size, sizeof (zp->z_size), tx); in zfs_symlink()
4212 vnode_create_vobject(vp, zp->z_size, ap->a_td); in zfs_freebsd_open()
6016 file_sz = zp->z_size; in zfs_deallocate()
HDzfs_vfsops.c1911 vnode_create_vobject(*vpp, zp->z_size, curthread); in zfs_fhtovp()
/freebsd-14-stable/sys/contrib/openzfs/include/os/linux/zfs/sys/
HDtrace_acl.h58 __field(uint64_t, z_size)
91 __entry->z_size = zn->z_size;
126 __entry->z_seq, __entry->z_mapcnt, __entry->z_size,
/freebsd-14-stable/sys/contrib/openzfs/module/os/linux/zfs/
HDzfs_znode_os.c92 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 …]
HDzfs_acl.c477 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 …]
HDzfs_dir.c865 dzp->z_size++; in zfs_link_create()
871 &dzp->z_size, sizeof (dzp->z_size)); in zfs_link_create()
1055 dzp->z_size--; /* one dirent removed */ in zfs_link_destroy()
1062 NULL, &dzp->z_size, sizeof (dzp->z_size)); in zfs_link_destroy()
HDzfs_vnops_os.c1060 toobig = zp->z_size > zp->z_blksz * zfs_delete_blocks; in zfs_remove()
3379 zp->z_size = len; in zfs_symlink()
3381 &zp->z_size, sizeof (zp->z_size), tx); in zfs_symlink()
HDzfs_ctldir.c508 zp->z_size = 0; in zfsctl_inode_alloc()
/freebsd-14-stable/lib/libprocstat/
HDzfs_defs.c77 size_t offsetof_z_size = offsetof(znode_t, z_size);
/freebsd-14-stable/sys/contrib/openzfs/include/sys/
HDzfs_acl.h156 size_t z_size; /* length of ACL data */ member
HDzfs_znode.h200 uint64_t z_size; /* file size (cached) */ member