Home
last modified time | relevance | path

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

/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Dzfs_vnops.c93 file_sz = zp->z_size; in zfs_holey_common()
251 if (uio->uio_loffset >= zp->z_size) { in zfs_read()
256 ASSERT(uio->uio_loffset < zp->z_size); in zfs_read()
339 &zp->z_size, 8); in zfs_write()
357 (uio->uio_loffset < zp->z_size))) { in zfs_write()
400 woff = zp->z_size; in zfs_write()
454 if (n >= max_blksz && woff >= zp->z_size && in zfs_write()
636 (void) atomic_cas_64(&zp->z_size, end_size, in zfs_write()
646 zp->z_size = zfsvfs->z_replay_eof; in zfs_write()
785 if (offset >= zp->z_size) { in zfs_get_data()
[all …]
H A Dzfs_replay.c723 if (zp->z_size < eod) in zfs_replay_write()
756 if (end > zp->z_size) { in zfs_replay_write2()
759 zp->z_size = end; in zfs_replay_write2()
773 (void *)&zp->z_size, sizeof (uint64_t), tx); in zfs_replay_write2()
H A Dzfs_sa.c80 bufsz = zp->z_size; in zfs_sa_readlink()
355 &zp->z_size, 8); in zfs_sa_upgrade()
H A Dsa.c1633 &zp->z_size, 8); in sa_add_projid()
/f-stack/freebsd/contrib/openzfs/include/os/linux/zfs/sys/
H A Dtrace_acl.h58 __field(uint64_t, z_size)
91 __entry->z_size = zn->z_size;
126 __entry->z_seq, __entry->z_mapcnt, __entry->z_size,
/f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_znode.c456 &zp->z_size, 8); in zfs_znode_alloc()
1100 size = zp->z_size; in zfs_rezget()
1106 &zp->z_size, sizeof (zp->z_size)); in zfs_rezget()
1175 if (zp->z_size != size) in zfs_rezget()
1366 if (end <= zp->z_size) { in zfs_extend()
1404 zp->z_size = end; in zfs_extend()
1407 &zp->z_size, sizeof (zp->z_size), tx)); in zfs_extend()
1442 if (off >= zp->z_size) { in zfs_free_range()
1515 zp->z_size = end; in zfs_trunc()
1517 NULL, &zp->z_size, sizeof (zp->z_size)); in zfs_trunc()
[all …]
H A Dzfs_acl.c477 aclnode->z_size = bytes; in zfs_acl_node_alloc()
844 aclp->z_acl_bytes = newaclnode->z_size; in zfs_acl_xform()
1087 aclnode->z_size = aclsize; in zfs_acl_node_read()
1096 aclnode->z_size); in zfs_acl_node_read()
1135 *length = cb->cb_acl_node->z_size; in zfs_acl_data_locator()
1261 off += aclnode->z_size; in zfs_aclset_common()
1281 aclnode->z_size); in zfs_aclset_common()
1433 newnode->z_size = new_bytes; in zfs_acl_chmod()
1567 aclp->z_acl_bytes += aclnode->z_size; in zfs_acl_inherit()
1846 aclnode->z_size); in zfs_getacl()
[all …]
H A Dzfs_dir.c636 dzp->z_size++; in zfs_link_create()
640 &dzp->z_size, sizeof (dzp->z_size)); in zfs_link_create()
769 dzp->z_size--; /* one dirent removed */ in zfs_link_destroy()
774 NULL, &dzp->z_size, sizeof (dzp->z_size)); in zfs_link_destroy()
799 return (dzp->z_size == 2); in zfs_dirempty()
H A Dzfs_vnops_os.c236 !(zp->z_pflags & ZFS_AV_QUARANTINED) && zp->z_size > 0) { in zfs_open()
267 !(zp->z_pflags & ZFS_AV_QUARANTINED) && zp->z_size > 0) in zfs_close()
2035 vap->va_size = zp->z_size; in zfs_getattr()
3592 zp->z_size = len; in zfs_symlink()
3594 &zp->z_size, sizeof (zp->z_size), tx); in zfs_symlink()
4351 vnode_create_vobject(vp, zp->z_size, ap->a_td); in zfs_freebsd_open()
H A Dzfs_vfsops.c1889 vnode_create_vobject(*vpp, zp->z_size, curthread); in zfs_fhtovp()
/f-stack/freebsd/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_znode.c565 &zp->z_size, 8); in zfs_znode_alloc()
1227 &zp->z_size, sizeof (zp->z_size)); in zfs_rezget()
1496 if (end <= zp->z_size) { in zfs_extend()
1534 zp->z_size = end; in zfs_extend()
1537 &zp->z_size, sizeof (zp->z_size), tx)); in zfs_extend()
1613 if (off >= zp->z_size) { in zfs_free_range()
1619 len = zp->z_size - off; in zfs_free_range()
1695 if (end >= zp->z_size) { in zfs_trunc()
1717 zp->z_size = end; in zfs_trunc()
1719 NULL, &zp->z_size, sizeof (zp->z_size)); in zfs_trunc()
[all …]
H A Dzfs_acl.c477 aclnode->z_size = bytes; in zfs_acl_node_alloc()
844 aclp->z_acl_bytes = newaclnode->z_size; in zfs_acl_xform()
1097 aclnode->z_size = aclsize; in zfs_acl_node_read()
1106 aclnode->z_size); in zfs_acl_node_read()
1147 *length = cb->cb_acl_node->z_size; in zfs_acl_data_locator()
1431 off += aclnode->z_size; in zfs_aclset_common()
1451 aclnode->z_size); in zfs_aclset_common()
1601 newnode->z_size = new_bytes; in zfs_acl_chmod()
1735 aclp->z_acl_bytes += aclnode->z_size; in zfs_acl_inherit()
2020 aclnode->z_size); in zfs_getacl()
[all …]
H A Dzfs_dir.c858 dzp->z_size++; in zfs_link_create()
864 &dzp->z_size, sizeof (dzp->z_size)); in zfs_link_create()
1002 dzp->z_size--; /* one dirent removed */ in zfs_link_destroy()
1009 NULL, &dzp->z_size, sizeof (dzp->z_size)); in zfs_link_destroy()
H A Dzfs_vnops_os.c206 !(zp->z_pflags & ZFS_AV_QUARANTINED) && zp->z_size > 0) { in zfs_open()
236 !(zp->z_pflags & ZFS_AV_QUARANTINED) && zp->z_size > 0) in zfs_close()
1012 toobig = zp->z_size > zp->z_blksz * zfs_delete_blocks; in zfs_remove()
3147 zp->z_size = len; in zfs_symlink()
3149 &zp->z_size, sizeof (zp->z_size), tx); in zfs_symlink()
H A Dzfs_ctldir.c478 zp->z_size = 0; in zfsctl_inode_alloc()
/f-stack/freebsd/contrib/openzfs/include/sys/
H A Dzfs_acl.h156 size_t z_size; /* length of ACL data */ member
H A Dzfs_znode.h199 uint64_t z_size; /* file size (cached) */ member