Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzfs_vnops.c133 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 Dzfs_replay.c825 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 Dzfs_sa.c76 bufsz = zp->z_size; in zfs_sa_readlink()
372 &zp->z_size, 8); in zfs_sa_upgrade()
H A Dsa.c1685 &zp->z_size, 8); in sa_add_projid()
/freebsd/sys/dev/sound/pcm/
H A Dfeeder_rate.c126 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 Dzfs.c78 (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 Dzfs_znode_os.c109 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 Dzfs_acl.c471 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 Dzfs_dir.c646 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 Dzfs_vnops_os.c1994 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 Dzfs_vfsops.c2022 vnode_create_vobject(*vpp, zp->z_size, curthread); in zfs_fhtovp()
/freebsd/sys/contrib/openzfs/include/os/linux/zfs/sys/
H A Dtrace_acl.h49 __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 Dzfs_znode_os.c86 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 Dzfs_acl.c469 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 Dzfs_dir.c873 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 Dzfs_vnops_os.c1092 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 Dzfs_ctldir.c535 zp->z_size = 0; in zfsctl_inode_alloc()
/freebsd/sys/contrib/openzfs/include/sys/
H A Dzfs_acl.h148 size_t z_size; /* length of ACL data */ member
H A Dzfs_znode.h218 uint64_t z_size; /* file size (cached) */ member