/freebsd-13-stable/sys/geom/uzip/ |
H A D | g_uzip_zlib.c | 55 struct g_uzip_zlib *zp; local 57 zp = (struct g_uzip_zlib *)zpp->pvt; 58 inflateEnd(&zp->zs); 59 free(zp, M_GEOM_UZIP); 67 struct g_uzip_zlib *zp; local 69 zp = (struct g_uzip_zlib *)zpp->pvt; 71 zp->zs.next_in = ibp; 72 zp->zs.avail_in = ilen; 73 zp->zs.next_out = obp; 74 zp 87 struct g_uzip_zlib *zp; local 102 struct g_uzip_zlib *zp; local [all...] |
/freebsd-13-stable/sys/contrib/openzfs/module/zfs/ |
H A D | zfs_byteswap.c | 167 znode_phys_t *zp = buf; local 171 zp->zp_crtime[0] = BSWAP_64(zp->zp_crtime[0]); 172 zp->zp_crtime[1] = BSWAP_64(zp->zp_crtime[1]); 173 zp->zp_atime[0] = BSWAP_64(zp->zp_atime[0]); 174 zp->zp_atime[1] = BSWAP_64(zp->zp_atime[1]); 175 zp [all...] |
H A D | zfs_vnops.c | 62 zfs_fsync(znode_t *zp, int syncflag, cred_t *cr) argument 64 zfsvfs_t *zfsvfs = ZTOZSB(zp); 70 ZFS_VERIFY_ZP(zp); 71 zil_commit(zfsvfs->z_log, zp->z_id); 86 zfs_holey_common(znode_t *zp, ulong_t cmd, loff_t *off) argument 93 file_sz = zp->z_size; 103 error = dmu_offset_next(ZTOZSB(zp)->z_os, zp->z_id, hole, &noff); 135 zfs_holey(znode_t *zp, ulong_t cmd, loff_t *off) argument 137 zfsvfs_t *zfsvfs = ZTOZSB(zp); 152 zfs_access(znode_t *zp, int mode, int flag, cred_t *cr) argument 190 zfs_read(struct znode *zp, zfs_uio_t *uio, int ioflag, cred_t *cr) argument 317 zfs_write(znode_t *zp, zfs_uio_t *uio, int ioflag, cred_t *cr) argument 698 zfs_getsecattr(znode_t *zp, vsecattr_t *vsecp, int flag, cred_t *cr) argument 714 zfs_setsecattr(znode_t *zp, vsecattr_t *vsecp, int flag, cred_t *cr) argument 748 znode_t *zp; local 886 znode_t *zp = zgd->zgd_private; local [all...] |
H A D | zfs_sa.c | 74 zfs_sa_readlink(znode_t *zp, zfs_uio_t *uio) argument 76 dmu_buf_t *db = sa_get_db(zp->z_sa_hdl); 80 bufsz = zp->z_size; 87 if ((error = dmu_buf_hold(ZTOZSB(zp)->z_os, zp->z_id, 99 zfs_sa_symlink(znode_t *zp, char *link, int len, dmu_tx_t *tx) argument 101 dmu_buf_t *db = sa_get_db(zp->z_sa_hdl); 112 zfs_grow_blocksize(zp, len, tx); 113 VERIFY0(dmu_buf_hold(ZTOZSB(zp)->z_os, zp 125 zfs_sa_get_scanstamp(znode_t *zp, xvattr_t *xvap) argument 159 zfs_sa_set_scanstamp(znode_t *zp, xvattr_t *xvap, dmu_tx_t *tx) argument 190 zfs_sa_get_xattr(znode_t *zp) argument 222 zfs_sa_set_xattr(znode_t *zp) argument 286 znode_t *zp = sa_get_userdata(hdl); local 422 zfs_sa_upgrade_txholds(dmu_tx_t *tx, znode_t *zp) argument [all...] |
H A D | zfs_log.c | 226 * If zp is an xattr node, check whether the xattr owner is unlinked. 230 zfs_xattr_owner_unlinked(znode_t *zp) argument 235 znode_t *tzp = zp; 242 * if zp is XATTR node, keep walking up via z_xattr_parent until we 246 ASSERT3U(zp->z_xattr_parent, !=, 0); 252 if (tzp != zp) 257 if (tzp != zp) 260 zhold(zp); 262 * if zp is XATTR node, keep walking up via z_xattr_parent until we 265 while (zp 301 zfs_log_create(zilog_t *zilog, dmu_tx_t *tx, uint64_t txtype, znode_t *dzp, znode_t *zp, const char *name, vsecattr_t *vsecp, zfs_fuid_info_t *fuidp, vattr_t *vap) argument 450 zfs_log_link(zilog_t *zilog, dmu_tx_t *tx, uint64_t txtype, znode_t *dzp, znode_t *zp, const char *name) argument 473 zfs_log_symlink(zilog_t *zilog, dmu_tx_t *tx, uint64_t txtype, znode_t *dzp, znode_t *zp, const char *name, const char *link) argument 535 zfs_log_write(zilog_t *zilog, dmu_tx_t *tx, int txtype, znode_t *zp, offset_t off, ssize_t resid, int ioflag, zil_callback_t callback, void *callback_data) argument 635 zfs_log_truncate(zilog_t *zilog, dmu_tx_t *tx, int txtype, znode_t *zp, uint64_t off, uint64_t len) argument 659 zfs_log_setattr(zilog_t *zilog, dmu_tx_t *tx, int txtype, znode_t *zp, vattr_t *vap, uint_t mask_applied, zfs_fuid_info_t *fuidp) argument 721 zfs_log_acl(zilog_t *zilog, dmu_tx_t *tx, znode_t *zp, vsecattr_t *vsecp, zfs_fuid_info_t *fuidp) argument [all...] |
H A D | zfs_replay.c | 296 znode_t *zp; local 388 0, 0, &zp, kcred, vflg, &vsec); 418 &zp, kcred, vflg, &vsec); 425 if (error == 0 && zp != NULL) { 427 VOP_UNLOCK1(ZTOV(zp)); 429 zrele(zp); 448 znode_t *zp = NULL; local 529 0, 0, &zp, kcred, vflg, NULL); 547 &zp, kcred, vflg, NULL); 550 error = zfs_make_xattrdir(dzp, &xva.xva_vattr, &zp, kcre 618 znode_t *dzp, *zp; local 681 znode_t *zp; local 744 znode_t *zp; local 791 znode_t *zp; local 820 znode_t *zp; local 878 znode_t *zp; local 924 znode_t *zp; local [all...] |
/freebsd-13-stable/usr.bin/mkuzip/ |
H A D | mkuz_zlib.c | 53 struct mkuz_zlib *zp; local 62 zp = mkuz_safe_zmalloc(sizeof(struct mkuz_zlib)); 63 zp->comp_level = *comp_level; 65 return (zp); 72 struct mkuz_zlib *zp; local 74 zp = (struct mkuz_zlib *)p; 78 zp->comp_level) != Z_OK) {
|
/freebsd-13-stable/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | zfs_znode.c | 115 znode_t *zp = arg; local 122 new->lr_offset = zp->z_size; 129 uint64_t end_size = MAX(zp->z_size, new->lr_offset + new->lr_length); 130 if (end_size > zp->z_blksz && (!ISP2(zp->z_blksz) || 131 zp->z_blksz < ZTOZSB(zp)->z_max_blksz)) { 140 znode_t *zp = buf; local 142 POINTER_INVALIDATE(&zp->z_zfsvfs); 144 list_link_init(&zp 160 znode_t *zp = buf; local 212 zfs_znode_free_kmem(znode_t *zp) argument 238 zfs_znode_free_kmem(znode_t *zp) argument 271 znode_t *zp; local 344 zfs_znode_sa_init(zfsvfs_t *zfsvfs, znode_t *zp, dmu_buf_t *db, dmu_object_type_t obj_type, sa_handle_t *sa_hdl) argument 373 zfs_znode_dmu_fini(znode_t *zp) argument 405 znode_t *zp; local 822 zfs_xvattr_set(znode_t *zp, xvattr_t *xvap, dmu_tx_t *tx) argument 919 znode_t *zp; local 1054 zfs_rezget(znode_t *zp) argument 1188 zfs_znode_delete(znode_t *zp, dmu_tx_t *tx) argument 1207 zfs_zinactive(znode_t *zp) argument 1242 zfs_znode_free(znode_t *zp) argument 1280 zfs_tstamp_update_setup_ext(znode_t *zp, uint_t flag, uint64_t mtime[2], uint64_t ctime[2], boolean_t have_tx) argument 1315 zfs_tstamp_update_setup(znode_t *zp, uint_t flag, uint64_t mtime[2], uint64_t ctime[2]) argument 1330 zfs_grow_blocksize(znode_t *zp, uint64_t size, dmu_tx_t *tx) argument 1365 zfs_extend(znode_t *zp, uint64_t end) argument 1443 zfs_free_range(znode_t *zp, uint64_t off, uint64_t len) argument 1490 zfs_trunc(znode_t *zp, uint64_t end) argument 1568 zfs_freesp(znode_t *zp, uint64_t off, uint64_t len, int flag, boolean_t log) argument 1636 znode_t *zp; local 2040 zfs_znode_update_vfs(znode_t *zp) argument 2054 zfs_znode_parent_and_name(znode_t *zp, znode_t **dzpp, char *buf) argument [all...] |
H A D | zfs_dir.c | 115 znode_t *zp; local 191 error = zfs_zget(zfsvfs, zoid, &zp); 194 ASSERT(!zp->z_unlinked); 195 *zpp = zp; 205 znode_t *zp; local 220 error = zfs_zget(zfsvfs, parent, &zp); 222 *zpp = zp; 230 znode_t *zp = NULL; local 243 error = zfs_dd_lookup(dzp, &zp); 245 *zpp = zp; 271 zfs_unlinked_add(znode_t *zp, dmu_tx_t *tx) argument 294 znode_t *zp; local 426 zfs_rmnode(znode_t *zp) argument 556 zfs_dirent(znode_t *zp, uint64_t mode) argument 569 zfs_link_create(znode_t *dzp, const char *name, znode_t *zp, dmu_tx_t *tx, int flag) argument 676 zfs_dropname(znode_t *dzp, const char *name, znode_t *zp, dmu_tx_t *tx, int flag) argument 705 zfs_link_destroy(znode_t *dzp, const char *name, znode_t *zp, dmu_tx_t *tx, int flag, boolean_t *unlinkedp) argument 801 zfs_make_xattrdir(znode_t *zp, vattr_t *vap, znode_t **xvpp, cred_t *cr) argument 879 zfs_get_xattrdir(znode_t *zp, znode_t **xzpp, cred_t *cr, int flags) argument 944 zfs_sticky_remove_access(znode_t *zdp, znode_t *zp, cred_t *cr) argument [all...] |
H A D | zfs_acl.c | 332 zfs_external_acl(znode_t *zp) argument 337 if (zp->z_is_sa) 349 if ((error = sa_lookup(zp->z_sa_hdl, SA_ZPL_ZNODE_ACL(zp->z_zfsvfs), 357 VERIFY(zp->z_is_sa && error == ENOENT); 369 zfs_acl_znode_info(znode_t *zp, int *aclsize, int *aclcount, argument 372 zfsvfs_t *zfsvfs = zp->z_zfsvfs; 377 ASSERT(MUTEX_HELD(&zp->z_acl_lock)); 378 if (zp->z_is_sa) { 379 if ((error = sa_size(zp 404 zfs_znode_acl_version(znode_t *zp) argument 446 zfs_acl_version_zp(znode_t *zp) argument 797 zfs_acl_xform(znode_t *zp, zfs_acl_t *aclp, cred_t *cr) argument 1053 zfs_acl_node_read(znode_t *zp, boolean_t have_lock, zfs_acl_t **aclpp, boolean_t will_modify) argument 1139 zfs_acl_chown_setattr(znode_t *zp) argument 1164 zfs_aclset_common(znode_t *zp, zfs_acl_t *aclp, cred_t *cr, dmu_tx_t *tx) argument 1441 zfs_acl_chmod_setattr(znode_t *zp, zfs_acl_t **aclp, uint64_t mode) argument 1773 zfs_getacl(znode_t *zp, vsecattr_t *vsecp, boolean_t skipaclchk, cred_t *cr) argument 1930 zfs_setacl(znode_t *zp, vsecattr_t *vsecp, boolean_t skipaclchk, cred_t *cr) argument 2035 zfs_zaccess_dataset_check(znode_t *zp, uint32_t v4_mode) argument 2097 zfs_zaccess_aces_check(znode_t *zp, uint32_t *working_mode, boolean_t anyaccess, cred_t *cr) argument 2222 zfs_has_access(znode_t *zp, cred_t *cr) argument 2236 zfs_zaccess_common(znode_t *zp, uint32_t v4_mode, uint32_t *working_mode, boolean_t *check_privs, boolean_t skipaclchk, cred_t *cr) argument 2290 zfs_zaccess_append(znode_t *zp, uint32_t *working_mode, boolean_t *check_privs, cred_t *cr) argument 2339 zfs_zaccess(znode_t *zp, int mode, int flags, boolean_t skipaclchk, cred_t *cr) argument 2469 zfs_zaccess_rwx(znode_t *zp, mode_t mode, int flags, cred_t *cr) argument 2478 zfs_zaccess_unix(znode_t *zp, mode_t mode, cred_t *cr) argument 2486 zfs_delete_final_check(znode_t *zp, znode_t *dzp, mode_t available_perms, cred_t *cr) argument 2538 zfs_zaccess_delete(znode_t *dzp, znode_t *zp, cred_t *cr) argument [all...] |
H A D | zfs_vnops_os.c | 130 * must be checked with ZFS_VERIFY_ZP(zp). Both of these macros 136 * can be freed, so the zp may point to freed memory. Second, the last 222 znode_t *zp = VTOZ(*vpp); local 223 zfsvfs_t *zfsvfs = zp->z_zfsvfs; 226 ZFS_VERIFY_ZP(zp); 228 if ((flag & FWRITE) && (zp->z_pflags & ZFS_APPENDONLY) && 234 if (!zfs_has_ctldir(zp) && zp->z_zfsvfs->z_vscan && 235 ZTOV(zp)->v_type == VREG && 236 !(zp 255 znode_t *zp = VTOZ(vp); local 468 update_pages(znode_t *zp, int64_t start, int len, objset_t *os) argument 521 mappedread_sf(znode_t *zp, int nbytes, zfs_uio_t *uio) argument 605 mappedread(znode_t *zp, int nbytes, zfs_uio_t *uio) argument 652 zfs_write_simple(znode_t *zp, const void *data, size_t len, loff_t pos, size_t *presid) argument 674 zfs_zrele_async(znode_t *zp) argument 782 znode_t *zp; local 1051 znode_t *zp; local 1218 znode_t *zp; local 1404 znode_t *zp; local 1581 znode_t *zp = VTOZ(vp); local 1682 znode_t *zp = VTOZ(vp); local 2007 znode_t *zp = VTOZ(vp); local 2219 zfs_setattr(znode_t *zp, vattr_t *vap, int flags, cred_t *cr) argument 3121 znode_t *zp, *zp1; local 3528 znode_t *zp; local 3666 znode_t *zp = VTOZ(vp); local 3850 zfs_space(znode_t *zp, int cmd, flock64_t *bfp, int flag, offset_t offset, cred_t *cr) argument 3903 znode_t *zp = VTOZ(vp); local 3953 znode_t *zp = VTOZ(vp); local 4010 znode_t *zp; local 4059 znode_t *zp = VTOZ(vp); local 4173 znode_t *zp = VTOZ(vp); local 4376 znode_t *zp = VTOZ(vp); local 4480 znode_t *zp; local 4503 znode_t *zp; local 4533 znode_t *zp = VTOZ(vp); local 4641 znode_t *zp = NULL; local 4693 znode_t *zp = NULL; local 5006 znode_t *zp = NULL; local 5053 znode_t *zp = VTOZ(ap->a_vp); local 5145 znode_t *zp = VTOZ(vp); local 5172 znode_t *zp = VTOZ(vp); local 5774 znode_t *zp = VTOZ(vp); local [all...] |
/freebsd-13-stable/sys/contrib/openzfs/include/os/freebsd/zfs/sys/ |
H A D | zfs_znode_impl.h | 107 #define zhold(zp) vhold(ZTOV((zp))) 108 #define zrele(zp) vrele(ZTOV((zp))) 110 #define ZTOZSB(zp) ((zp)->z_zfsvfs) 112 #define ZTOTYPE(zp) (ZTOV(zp)->v_type) 113 #define ZTOGID(zp) ((zp) [all...] |
H A D | zfs_vnops_os.h | 41 extern int zfs_setattr(znode_t *zp, vattr_t *vap, int flag, cred_t *cr); 48 extern int zfs_space(znode_t *zp, int cmd, struct flock *bfp, int flag, 52 extern int zfs_setsecattr(znode_t *zp, vsecattr_t *vsecp, int flag, 54 extern int zfs_write_simple(znode_t *zp, const void *data, size_t len,
|
/freebsd-13-stable/lib/libc/gen/ |
H A D | timezone.c | 109 struct zone *zp; local 112 for (zp = zonetab; zp->offset != -1;++zp) /* static tables */ 113 if (zp->offset == zone) { 114 if (dst && zp->dlzone) 115 return(zp->dlzone); 116 if (!dst && zp->stdzone) 117 return(zp->stdzone);
|
/freebsd-13-stable/sys/contrib/openzfs/include/os/linux/zfs/sys/ |
H A D | zfs_znode_impl.h | 62 #define ZTOTYPE(zp) (ZTOI(zp)->i_mode) 63 #define ZTOGID(zp) (ZTOI(zp)->i_gid) 64 #define ZTOUID(zp) (ZTOI(zp)->i_uid) 65 #define ZTONLNK(zp) (ZTOI(zp)->i_nlink) 73 #define zn_has_cached_data(zp) ((zp) [all...] |
/freebsd-13-stable/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | zfs_znode.c | 94 znode_t *zp = arg; local 101 new->lr_offset = zp->z_size; 108 uint64_t end_size = MAX(zp->z_size, new->lr_offset + new->lr_length); 109 if (end_size > zp->z_blksz && (!ISP2(zp->z_blksz) || 110 zp->z_blksz < ZTOZSB(zp)->z_max_blksz)) { 120 znode_t *zp = buf; local 122 inode_init_once(ZTOI(zp)); 123 list_link_init(&zp 144 znode_t *zp = buf; local 329 zfs_znode_sa_init(zfsvfs_t *zfsvfs, znode_t *zp, dmu_buf_t *db, dmu_object_type_t obj_type, sa_handle_t *sa_hdl) argument 352 zfs_znode_dmu_fini(znode_t *zp) argument 367 znode_t *zp; local 381 znode_t *zp = ITOZ(ip); local 454 zfs_set_inode_flags(znode_t *zp, struct inode *ip) argument 485 zfs_znode_update_vfs(znode_t *zp) argument 521 znode_t *zp; local 953 zfs_xvattr_set(znode_t *zp, xvattr_t *xvap, dmu_tx_t *tx) argument 1061 znode_t *zp; local 1164 zfs_rezget(znode_t *zp) argument 1305 zfs_znode_delete(znode_t *zp, dmu_tx_t *tx) argument 1324 zfs_zinactive(znode_t *zp) argument 1412 zfs_tstamp_update_setup(znode_t *zp, uint_t flag, uint64_t mtime[2], uint64_t ctime[2]) argument 1448 zfs_grow_blocksize(znode_t *zp, uint64_t size, dmu_tx_t *tx) argument 1483 zfs_extend(znode_t *zp, uint64_t end) argument 1560 zfs_zero_partial_page(znode_t *zp, uint64_t start, uint64_t len) argument 1602 zfs_free_range(znode_t *zp, uint64_t off, uint64_t len) argument 1681 zfs_trunc(znode_t *zp, uint64_t end) argument 1749 zfs_freesp(znode_t *zp, uint64_t off, uint64_t len, int flag, boolean_t log) argument 1830 znode_t *zp; local [all...] |
H A D | zfs_dir.c | 387 znode_t *zp; local 413 error = zfs_zget(zfsvfs, parent, &zp); 415 *zpp = zp; 427 error = zfs_dirent_lock(&dl, dzp, name, &zp, zf, deflg, rpnp); 429 *zpp = zp; 457 zfs_unlinked_add(znode_t *zp, dmu_tx_t *tx) argument 459 zfsvfs_t *zfsvfs = ZTOZSB(zp); 461 ASSERT(zp->z_unlinked); 462 ASSERT(ZTOI(zp)->i_nlink == 0); 465 zap_add_int(zfsvfs->z_os, zfsvfs->z_unlinkedobj, zp 481 znode_t *zp; local 646 zfs_rmnode(znode_t *zp) argument 775 zfs_dirent(znode_t *zp, uint64_t mode) argument 792 zfs_link_create(zfs_dirlock_t *dl, znode_t *zp, dmu_tx_t *tx, int flag) argument 904 zfs_dropname(zfs_dirlock_t *dl, znode_t *zp, znode_t *dzp, dmu_tx_t *tx, int flag) argument 937 zfs_link_destroy(zfs_dirlock_t *dl, znode_t *zp, dmu_tx_t *tx, int flag, boolean_t *unlinkedp) argument 1055 zfs_make_xattrdir(znode_t *zp, vattr_t *vap, znode_t **xzpp, cred_t *cr) argument 1134 zfs_get_xattrdir(znode_t *zp, znode_t **xzpp, cred_t *cr, int flags) argument 1202 zfs_sticky_remove_access(znode_t *zdp, znode_t *zp, cred_t *cr) argument [all...] |
H A D | zfs_vnops_os.c | 87 * must be checked with ZFS_VERIFY_ZP(zp). Both of these macros 92 * last reference, the vnode/znode can be freed, so the zp may point to 194 znode_t *zp = ITOZ(ip); local 198 ZFS_VERIFY_ZP(zp); 201 if ((mode & FMODE_WRITE) && (zp->z_pflags & ZFS_APPENDONLY) && 208 if (!zfs_has_ctldir(zp) && zfsvfs->z_vscan && S_ISREG(ip->i_mode) && 209 !(zp->z_pflags & ZFS_AV_QUARANTINED) && zp->z_size > 0) { 218 atomic_inc_32(&zp->z_sync_cnt); 228 znode_t *zp local 255 update_pages(znode_t *zp, int64_t start, int len, objset_t *os) argument 304 mappedread(znode_t *zp, int nbytes, zfs_uio_t *uio) argument 368 zfs_write_simple(znode_t *zp, const void *data, size_t len, loff_t pos, size_t *residp) argument 396 zfs_zrele_async(znode_t *zp) argument 563 znode_t *zp; local 809 znode_t *zp = NULL, *dzp = ITOZ(dip); local 946 znode_t *zp; local 1187 znode_t *zp; local 1376 znode_t *zp; local 1508 znode_t *zp = ITOZ(ip); local 1662 znode_t *zp = ITOZ(ip); local 1729 znode_t *zp = NULL; local 1847 zfs_setattr(znode_t *zp, vattr_t *vap, int flags, cred_t *cr) argument 2594 znode_t *zp = tdzp; local 3047 znode_t *zp; local 3214 znode_t *zp = ITOZ(ip); local 3456 znode_t *zp = ITOZ(ip); local 3639 znode_t *zp = ITOZ(ip); local 3707 znode_t *zp = ITOZ(ip); local 3754 znode_t *zp = ITOZ(ip); local 3811 znode_t *zp = ITOZ(ip); local 3844 znode_t *zp = ITOZ(ip); local 3891 zfs_space(znode_t *zp, int cmd, flock64_t *bfp, int flag, offset_t offset, cred_t *cr) argument 3944 znode_t *zp = ITOZ(ip); local [all...] |
H A D | zfs_acl.c | 332 zfs_external_acl(znode_t *zp) argument 337 if (zp->z_is_sa) 349 if ((error = sa_lookup(zp->z_sa_hdl, SA_ZPL_ZNODE_ACL(ZTOZSB(zp)), 357 VERIFY(zp->z_is_sa && error == ENOENT); 369 zfs_acl_znode_info(znode_t *zp, int *aclsize, int *aclcount, argument 372 zfsvfs_t *zfsvfs = ZTOZSB(zp); 377 ASSERT(MUTEX_HELD(&zp->z_acl_lock)); 378 if (zp->z_is_sa) { 379 if ((error = sa_size(zp 404 zfs_znode_acl_version(znode_t *zp) argument 446 zfs_acl_version_zp(znode_t *zp) argument 797 zfs_acl_xform(znode_t *zp, zfs_acl_t *aclp, cred_t *cr) argument 1053 zfs_acl_node_read(struct znode *zp, boolean_t have_lock, zfs_acl_t **aclpp, boolean_t will_modify) argument 1151 zfs_acl_chown_setattr(znode_t *zp) argument 1335 zfs_aclset_common(znode_t *zp, zfs_acl_t *aclp, cred_t *cr, dmu_tx_t *tx) argument 1606 zfs_acl_chmod_setattr(znode_t *zp, zfs_acl_t **aclp, uint64_t mode) argument 1946 zfs_getacl(znode_t *zp, vsecattr_t *vsecp, boolean_t skipaclchk, cred_t *cr) argument 2101 zfs_setacl(znode_t *zp, vsecattr_t *vsecp, boolean_t skipaclchk, cred_t *cr) argument 2208 zfs_zaccess_dataset_check(znode_t *zp, uint32_t v4_mode) argument 2264 zfs_zaccess_aces_check(znode_t *zp, uint32_t *working_mode, boolean_t anyaccess, cred_t *cr) argument 2388 zfs_has_access(znode_t *zp, cred_t *cr) argument 2403 zfs_zaccess_common(znode_t *zp, uint32_t v4_mode, uint32_t *working_mode, boolean_t *check_privs, boolean_t skipaclchk, cred_t *cr) argument 2457 zfs_zaccess_append(znode_t *zp, uint32_t *working_mode, boolean_t *check_privs, cred_t *cr) argument 2542 zfs_zaccess(znode_t *zp, int mode, int flags, boolean_t skipaclchk, cred_t *cr) argument 2688 zfs_zaccess_rwx(znode_t *zp, mode_t mode, int flags, cred_t *cr) argument 2697 zfs_zaccess_unix(znode_t *zp, mode_t mode, cred_t *cr) argument 2778 zfs_zaccess_delete(znode_t *dzp, znode_t *zp, cred_t *cr) argument [all...] |
H A D | zpl_xattr.c | 210 znode_t *zp = ITOZ(xf->dentry->d_inode); local 214 mutex_enter(&zp->z_lock); 215 if (zp->z_xattr_cached == NULL) 216 error = -zfs_sa_get_xattr(zp); 217 mutex_exit(&zp->z_lock); 222 ASSERT(zp->z_xattr_cached); 224 while ((nvp = nvlist_next_nvpair(zp->z_xattr_cached, nvp)) != NULL) { 239 znode_t *zp = ITOZ(dentry->d_inode); local 240 zfsvfs_t *zfsvfs = ZTOZSB(zp); 249 ZPL_VERIFY_ZP(zp); 331 znode_t *zp = ITOZ(ip); local 367 znode_t *zp = ITOZ(ip); local 394 znode_t *zp = ITOZ(ip); local 429 znode_t *zp = ITOZ(ip); local 538 znode_t *zp = ITOZ(ip); local 597 znode_t *zp = ITOZ(ip); local [all...] |
/freebsd-13-stable/sys/contrib/openzfs/lib/libzutil/os/freebsd/ |
H A D | zutil_compat.c | 53 zfs_iocparm_t zp; local 58 zp.zfs_cmd = (uint64_t)(uintptr_t)zc; 59 zp.zfs_cmd_size = sizeof (zfs_cmd_t); 60 zp.zfs_ioctl_version = ZFS_IOCVER_OZFS; 67 zp.zfs_cmd = (uint64_t)(uintptr_t)zc_c; 68 zp.zfs_cmd_size = sizeof (zfs_cmd_legacy_t); 69 zp.zfs_ioctl_version = ZFS_IOCVER_LEGACY; 76 ret = ioctl(fd, ncmd, &zp);
|
/freebsd-13-stable/sys/contrib/openzfs/include/sys/ |
H A D | zfs_vnops.h | 43 * Platform code that asynchronously drops zp's inode / vnode_t. 51 extern void zfs_zrele_async(znode_t *zp);
|
H A D | zfs_znode.h | 69 #define ZFS_ATTR_SET(zp, attr, value, pflags, tx) \ 75 VERIFY(0 == sa_update(zp->z_sa_hdl, SA_ZPL_FLAGS(ZTOZSB(zp)), \ 264 znode_t *dzp, znode_t *zp, const char *name, vsecattr_t *, 272 znode_t *dzp, znode_t *zp, const char *name); 274 znode_t *dzp, znode_t *zp, const char *name, const char *link); 279 znode_t *zp, offset_t off, ssize_t len, int ioflag, 282 znode_t *zp, uint64_t off, uint64_t len); 284 znode_t *zp, vattr_t *vap, uint_t mask_applied, zfs_fuid_info_t *fuidp); 285 extern void zfs_log_acl(zilog_t *zilog, dmu_tx_t *tx, znode_t *zp, [all...] |
/freebsd-13-stable/libexec/bootpd/tools/bootptest/ |
H A D | print-bootp.c | 433 u_char *zp; /* points one past last non-zero byte */ 439 for (zp = ep; zp > bp; zp--) { 440 if (zp[-1] != 0) 445 if (zp == bp) { 452 if (zp + 2 > ep) 453 zp = ep; /* print them all normally */ 456 while (bp < zp) { 461 if (zp < e 432 u_char *zp; /* points one past last non-zero byte */ local [all...] |
/freebsd-13-stable/contrib/tzcode/zic/ |
H A D | zic.c | 139 static void outzone(const struct zone * zp, int ntzones); 152 const struct zone * zp, int ntzones); 728 register struct zone * zp; local 763 zp = &zones[i]; 764 zp->z_rules = NULL; 765 zp->z_nrules = 0; 773 zp = &zones[i]; 774 if (strcmp(zp->z_rule, rp->r_name) != 0) 776 zp->z_rules = rp; 777 zp 1894 register const struct zone * zp; local 1976 register const struct zone * zp; local [all...] |