Searched refs:zp (Results 1 - 25 of 58) sorted by relevance

123

/netbsd-current/external/cddl/osnet/dist/uts/common/fs/zfs/
H A Dzfs_byteswap.c161 znode_phys_t *zp = buf; local
165 zp->zp_crtime[0] = BSWAP_64(zp->zp_crtime[0]);
166 zp->zp_crtime[1] = BSWAP_64(zp->zp_crtime[1]);
167 zp->zp_atime[0] = BSWAP_64(zp->zp_atime[0]);
168 zp->zp_atime[1] = BSWAP_64(zp->zp_atime[1]);
169 zp
[all...]
H A Dzfs_sa.c71 zfs_sa_readlink(znode_t *zp, uio_t *uio) argument
73 dmu_buf_t *db = sa_get_db(zp->z_sa_hdl);
77 bufsz = zp->z_size;
84 if ((error = dmu_buf_hold(zp->z_zfsvfs->z_os, zp->z_id,
95 zfs_sa_symlink(znode_t *zp, char *link, int len, dmu_tx_t *tx) argument
97 dmu_buf_t *db = sa_get_db(zp->z_sa_hdl);
109 zfs_grow_blocksize(zp, len, tx);
110 VERIFY(0 == dmu_buf_hold(zp->z_zfsvfs->z_os,
111 zp
122 zfs_sa_get_scanstamp(znode_t *zp, xvattr_t *xvap) argument
156 zfs_sa_set_scanstamp(znode_t *zp, xvattr_t *xvap, dmu_tx_t *tx) argument
198 znode_t *zp = sa_get_userdata(hdl); local
313 zfs_sa_upgrade_txholds(dmu_tx_t *tx, znode_t *zp) argument
[all...]
H A Dzfs_znode.c131 znode_t *zp = buf; local
133 POINTER_INVALIDATE(&zp->z_zfsvfs);
135 list_link_init(&zp->z_link_node);
137 mutex_init(&zp->z_acl_lock, NULL, MUTEX_DEFAULT, NULL);
139 mutex_init(&zp->z_range_lock, NULL, MUTEX_DEFAULT, NULL);
140 avl_create(&zp->z_range_avl, zfs_range_compare,
143 zp->z_acl_cached = NULL;
144 zp->z_vnode = NULL;
145 zp->z_moved = 0;
153 znode_t *zp local
486 znode_t *zp; local
560 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
589 zfs_znode_dmu_fini(znode_t *zp) argument
628 znode_t *zp; local
832 znode_t *zp; local
888 znode_t *zp, *dzp = VTOZ(dvp); local
1189 zfs_xvattr_set(znode_t *zp, xvattr_t *xvap, dmu_tx_t *tx) argument
1306 znode_t *zp; local
1338 znode_t *zp; local
1466 zfs_rezget(znode_t *zp) argument
1581 zfs_znode_delete(znode_t *zp, dmu_tx_t *tx) argument
1600 zfs_zinactive(znode_t *zp) argument
1628 zfs_znode_free(znode_t *zp) argument
1665 zfs_tstamp_update_setup(znode_t *zp, uint_t flag, uint64_t mtime[2], uint64_t ctime[2], boolean_t have_tx) argument
1708 zfs_grow_blocksize(znode_t *zp, uint64_t size, dmu_tx_t *tx) argument
1759 zfs_extend(znode_t *zp, uint64_t end) argument
1837 zfs_free_range(znode_t *zp, uint64_t off, uint64_t len) argument
1884 zfs_trunc(znode_t *zp, uint64_t end) argument
1961 zfs_freesp(znode_t *zp, uint64_t off, uint64_t len, int flag, boolean_t log) argument
2040 znode_t *zp; local
2433 zfs_znode_parent_and_name(znode_t *zp, znode_t **dzpp, char *buf) argument
[all...]
H A Dzfs_dir.c177 znode_t *zp; local
191 error = zfs_zget(zfsvfs, parent, &zp);
193 *zpp = zp;
201 znode_t *zp; local
215 error = zfs_dirent_lookup(dzp, name, &zp, ZEXISTS);
218 *zpp = zp;
239 zfs_unlinked_add(znode_t *zp, dmu_tx_t *tx) argument
241 zfsvfs_t *zfsvfs = zp->z_zfsvfs;
243 ASSERT(zp->z_unlinked);
244 ASSERT(zp
260 znode_t *zp; local
369 zfs_rmnode(znode_t *zp) argument
482 zfs_dirent(znode_t *zp, uint64_t mode) argument
495 zfs_link_create(znode_t *dzp, const char *name, znode_t *zp, dmu_tx_t *tx, int flag) argument
574 zfs_dropname(znode_t *dzp, const char *name, znode_t *zp, dmu_tx_t *tx, int flag) argument
602 zfs_link_destroy(znode_t *dzp, const char *name, znode_t *zp, dmu_tx_t *tx, int flag, boolean_t *unlinkedp) argument
702 zfs_make_xattrdir(znode_t *zp, vattr_t *vap, vnode_t **xvpp, cred_t *cr) argument
788 zfs_get_xattrdir(znode_t *zp, vnode_t **xvpp, cred_t *cr, int flags) argument
858 zfs_sticky_remove_access(znode_t *zdp, znode_t *zp, cred_t *cr) argument
[all...]
H A Dzfs_vnops.c108 * must be checked with ZFS_VERIFY_ZP(zp). Both of these macros
114 * can be freed, so the zp may point to freed memory. Second, the last
200 znode_t *zp = VTOZ(*vpp); local
201 zfsvfs_t *zfsvfs = zp->z_zfsvfs;
204 ZFS_VERIFY_ZP(zp);
206 if ((flag & FWRITE) && (zp->z_pflags & ZFS_APPENDONLY) &&
212 if (!zfs_has_ctldir(zp) && zp->z_zfsvfs->z_vscan &&
213 ZTOV(zp)->v_type == VREG &&
214 !(zp
234 znode_t *zp = VTOZ(vp); local
266 znode_t *zp = VTOZ(vp); local
315 znode_t *zp; local
575 znode_t *zp = VTOZ(vp); local
645 znode_t *zp = VTOZ(vp); local
729 znode_t *zp = VTOZ(vp); local
858 znode_t *zp = VTOZ(vp); local
1010 znode_t *zp = VTOZ(vp); local
1440 znode_t *zp = zgd->zgd_private; local
1472 znode_t *zp; local
1595 znode_t *zp = VTOZ(vp); local
1714 znode_t *zp; local
1963 znode_t *zp; local
2130 znode_t *zp, *dzp = VTOZ(dvp); local
2293 znode_t *zp = VTOZ(vp); local
2424 znode_t *zp, *dzp = VTOZ(dvp); local
2591 znode_t *zp = VTOZ(vp); local
2677 znode_t *zp = VTOZ(vp); local
3004 znode_t *zp = VTOZ(vp); local
3043 znode_t *zp = VTOZ(vp); local
3273 znode_t *zp = VTOZ(vp); local
4162 znode_t *zp, *zp1; local
4542 znode_t *zp, *dzp = VTOZ(dvp); local
4680 znode_t *zp = VTOZ(vp); local
4838 znode_t *zp = VTOZ(vp); local
4890 znode_t *zp = VTOZ(vp); local
4956 znode_t *zp, *xzp; local
5039 znode_t *zp = VTOZ(vp); local
5057 znode_t *zp = VTOZ(vp); local
5123 znode_t *zp = VTOZ(vp); local
5143 znode_t *zp = VTOZ(vp); local
5173 znode_t *zp = VTOZ(vp); local
5590 znode_t *zp = VTOZ(vp); local
5834 znode_t *zp = VTOZ(vp); local
5853 znode_t *zp; local
5966 struct znode *zp; local
6003 znode_t *zp = VTOZ(vp); local
6094 znode_t *zp = VTOZ(vp); local
6189 znode_t *zp = VTOZ(vp); local
6225 znode_t *zp = VTOZ(vp); local
6291 znode_t *zp = VTOZ(vp); local
6340 znode_t *zp; local
[all...]
H A Dzfs_log.c241 znode_t *dzp, znode_t *zp, char *name, vsecattr_t *vsecp,
287 lr->lr_foid = zp->z_id;
288 lr->lr_mode = zp->z_mode;
289 if (!IS_EPHEMERAL(zp->z_uid)) {
290 lr->lr_uid = (uint64_t)zp->z_uid;
294 if (!IS_EPHEMERAL(zp->z_gid)) {
295 lr->lr_gid = (uint64_t)zp->z_gid;
299 (void) sa_lookup(zp->z_sa_hdl, SA_ZPL_GEN(zp->z_zfsvfs), &lr->lr_gen,
301 (void) sa_lookup(zp
240 zfs_log_create(zilog_t *zilog, dmu_tx_t *tx, uint64_t txtype, znode_t *dzp, znode_t *zp, char *name, vsecattr_t *vsecp, zfs_fuid_info_t *fuidp, vattr_t *vap) argument
376 zfs_log_link(zilog_t *zilog, dmu_tx_t *tx, uint64_t txtype, znode_t *dzp, znode_t *zp, char *name) argument
399 zfs_log_symlink(zilog_t *zilog, dmu_tx_t *tx, uint64_t txtype, znode_t *dzp, znode_t *zp, char *name, char *link) argument
464 zfs_log_write(zilog_t *zilog, dmu_tx_t *tx, int txtype, znode_t *zp, offset_t off, ssize_t resid, int ioflag) argument
534 zfs_log_truncate(zilog_t *zilog, dmu_tx_t *tx, int txtype, znode_t *zp, uint64_t off, uint64_t len) argument
557 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
619 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 Dzfs_acl.c330 zfs_external_acl(znode_t *zp) argument
335 if (zp->z_is_sa)
347 if ((error = sa_lookup(zp->z_sa_hdl, SA_ZPL_ZNODE_ACL(zp->z_zfsvfs),
355 VERIFY(zp->z_is_sa && error == ENOENT);
367 zfs_acl_znode_info(znode_t *zp, int *aclsize, int *aclcount, argument
370 zfsvfs_t *zfsvfs = zp->z_zfsvfs;
375 ASSERT(MUTEX_HELD(&zp->z_acl_lock));
376 if (zp->z_is_sa) {
377 if ((error = sa_size(zp
402 zfs_znode_acl_version(znode_t *zp) argument
444 zfs_acl_version_zp(znode_t *zp) argument
802 zfs_acl_xform(znode_t *zp, zfs_acl_t *aclp, cred_t *cr) argument
1058 zfs_acl_node_read(znode_t *zp, zfs_acl_t **aclpp, boolean_t will_modify) argument
1142 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
1437 zfs_acl_chmod_setattr(znode_t *zp, zfs_acl_t **aclp, uint64_t mode) argument
1752 zfs_getacl(znode_t *zp, vsecattr_t *vsecp, boolean_t skipaclchk, cred_t *cr) argument
1908 zfs_setacl(znode_t *zp, vsecattr_t *vsecp, boolean_t skipaclchk, cred_t *cr) argument
2012 zfs_zaccess_dataset_check(znode_t *zp, uint32_t v4_mode) argument
2083 zfs_zaccess_aces_check(znode_t *zp, uint32_t *working_mode, boolean_t anyaccess, cred_t *cr) argument
2207 zfs_has_access(znode_t *zp, cred_t *cr) argument
2221 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
2257 zfs_zaccess_append(znode_t *zp, uint32_t *working_mode, boolean_t *check_privs, cred_t *cr) argument
2341 zfs_zaccess(znode_t *zp, int mode, int flags, boolean_t skipaclchk, cred_t *cr) argument
2505 zfs_zaccess_rwx(znode_t *zp, mode_t mode, int flags, cred_t *cr) argument
2514 zfs_zaccess_unix(znode_t *zp, mode_t mode, cred_t *cr) argument
2522 zfs_delete_final_check(znode_t *zp, znode_t *dzp, mode_t available_perms, cred_t *cr) argument
2574 zfs_zaccess_delete(znode_t *dzp, znode_t *zp, cred_t *cr) argument
[all...]
H A Dzfs_rlock.c37 * rl = zfs_range_lock(zp, off, len, lock_type);
104 zfs_range_lock_writer(znode_t *zp, rl_t *new) argument
106 avl_tree_t *tree = &zp->z_range_avl;
125 if (zp->z_vnode) { /* caller is ZPL */
131 new->r_off = zp->z_size;
138 end_size = MAX(zp->z_size, new->r_off + len);
139 if (end_size > zp->z_blksz && (!ISP2(zp->z_blksz) ||
140 zp->z_blksz < zp
356 zfs_range_lock_reader(znode_t *zp, rl_t *new) argument
426 zfs_range_lock(znode_t *zp, uint64_t off, uint64_t len, rl_type_t type) argument
463 zfs_range_unlock_reader(znode_t *zp, rl_t *remove) argument
532 znode_t *zp = rl->r_zp; local
570 znode_t *zp = rl->r_zp; local
[all...]
H A Dzfs_replay.c628 znode_t *dzp, *zp; local
639 if ((error = zfs_zget(zfsvfs, lr->lr_link_obj, &zp)) != 0) {
659 vn_lock(ZTOV(zp), LK_EXCLUSIVE | LK_RETRY);
661 error = VOP_LINK(ZTOV(dzp), ZTOV(zp), &cn /*,vflg*/);
663 VOP_UNLOCK(ZTOV(zp), 0);
667 VN_RELE(ZTOV(zp));
757 znode_t *zp; local
765 if ((error = zfs_zget(zfsvfs, lr->lr_foid, &zp)) != 0) {
800 if (zp->z_size < eod)
804 error = vn_rdwr(UIO_WRITE, ZTOV(zp), dat
822 znode_t *zp; local
868 znode_t *zp; local
899 znode_t *zp; local
961 znode_t *zp; local
1008 znode_t *zp; local
[all...]
H A Dzfs_vfsops.c192 znode_t *zp; local
200 zp = VTOZ(vp);
201 return zp != NULL && vp->v_type != VNON && zp->z_atime_dirty != 0
202 && !zp->z_unlinked;
220 znode_t *zp; local
231 zp = VTOZ(vp);
233 dmu_tx_hold_sa(tx, zp->z_sa_hdl, B_FALSE);
234 zfs_sa_upgrade_txholds(tx, zp);
239 (void) sa_update(zp
258 znode_t *zp; local
328 znode_t *zp; local
1141 zfs_owner_overquota(zfsvfs_t *zfsvfs, znode_t *zp, boolean_t isgroup) argument
1800 znode_t *zp = NULL; local
2266 znode_t *zp; local
2480 znode_t *zp; local
2537 znode_t *zp; local
2701 znode_t *zp; local
[all...]
/netbsd-current/external/lgpl3/gmp/dist/mpz/
H A Dget_si.c36 mp_ptr zp = PTR (z); variable
38 mp_limb_t zl = zp[0];
42 zl |= zp[1] << GMP_NUMB_BITS;
H A Dcmpabs_d.c62 mp_srcptr zp; local
93 zp = PTR(z);
96 RETURN_CMP (zp[zsize-1], darray[1]);
100 RETURN_CMP (zp[zsize-2], darray[0]);
101 RETURN_NONZERO (zp, zsize-2, 1);
105 RETURN_CMP (zp[zsize-1], darray[2]);
109 RETURN_CMP (zp[zsize-2], darray[1]);
113 RETURN_CMP (zp[zsize-3], darray[0]);
114 RETURN_NONZERO (zp, zsize-3, 1);
122 RETURN_CMP (zp[zsiz
[all...]
H A Dcmp_d.c62 mp_srcptr zp; local
108 zp = PTR(z);
111 RETURN_CMP (zp[zsize-1], darray[1]);
115 RETURN_CMP (zp[zsize-2], darray[0]);
116 RETURN_NONZERO (zp, zsize-2, ret);
120 RETURN_CMP (zp[zsize-1], darray[2]);
124 RETURN_CMP (zp[zsize-2], darray[1]);
128 RETURN_CMP (zp[zsize-3], darray[0]);
129 RETURN_NONZERO (zp, zsize-3, ret);
137 RETURN_CMP (zp[zsiz
[all...]
H A Dimport.c53 mp_ptr zp; local
60 zp = MPZ_NEWALLOC (z, zsize);
76 MPN_COPY (zp, (mp_srcptr) data, (mp_size_t) count);
85 MPN_BSWAP (zp, (mp_srcptr) data, (mp_size_t) count);
94 MPN_REVERSE (zp, (mp_srcptr) data, (mp_size_t) count);
133 *zp++ = limb & GMP_NUMB_MASK; \
163 *zp++ = limb;
166 ASSERT (zp == PTR(z) + zsize);
176 zp = PTR(z);
177 MPN_NORMALIZE (zp, zsiz
[all...]
H A Dexport.c52 mp_srcptr zp; local
73 zp = PTR(z);
75 MPN_SIZEINBASE_2EXP (count, zp, zsize, numb);
92 MPN_COPY ((mp_ptr) data, zp, (mp_size_t) count);
97 MPN_REVERSE ((mp_ptr) data, zp, (mp_size_t) count);
103 MPN_BSWAP ((mp_ptr) data, zp, (mp_size_t) count);
108 MPN_BSWAP_REVERSE ((mp_ptr) data, zp, (mp_size_t) count);
150 newlimb = (zp == zend ? 0 : *zp++); \
157 zend = zp
[all...]
/netbsd-current/lib/libc/compat/gen/
H A Dcompat_timezone.c119 const struct zone *zp; local
122 for (zp = zonetab; zp->offset != -1;++zp) /* static tables */
123 if (zp->offset == zone) {
124 if (dst && zp->dlzone)
125 return __UNCONST(zp->dlzone);
126 if (!dst && zp->stdzone)
127 return __UNCONST(zp->stdzone);
/netbsd-current/external/lgpl3/mpfr/dist/src/
H A Dset_z_2exp.c33 mp_limb_t *fp, *zp; local
65 zp = PTR(z);
66 count_leading_zeros (k, zp[zn-1]);
102 mpn_lshift (fp, &zp[dif], fn, k);
104 fp[0] |= zp[dif - 1] >> (GMP_NUMB_BITS - k);
107 MPN_COPY (fp, zp + dif, fn);
125 rb = zp[--dif] & mask;
126 sb = zp[dif] & (mask-1);
135 sb = zp[--dif];
140 sb = zp[
[all...]
H A Dgamma.c291 mpfr_t yp, zp; local
303 MPFR_GROUP_INIT_3 (group, 53, xp, yp, zp);
305 mpfr_set_str_binary (zp,
307 mpfr_mul (xp, x, zp, MPFR_RNDZ);
310 mpfr_mul (xp, xp, zp, MPFR_RNDZ); /* x^(x-2) / e^(x-1) */
311 mpfr_mul (xp, xp, zp, MPFR_RNDZ); /* x^(x-2) / e^x */
H A Dfmma.c34 mpfr_limb_ptr up, vp, zp; local
60 MPFR_TMP_INIT (zp, zz, 2 * prec_z, un);
/netbsd-current/external/cddl/osnet/dist/uts/common/fs/zfs/sys/
H A Dzfs_znode.h69 #define ZFS_ATTR_SET(zp, attr, value, pflags, tx) \
75 VERIFY(0 == sa_update(zp->z_sa_hdl, SA_ZPL_FLAGS(zp->z_zfsvfs), \
246 ZTOV(znode_t *zp) argument
248 vnode_t *vp = zp->z_vnode;
250 ASSERT(vp == NULL || vp->v_data == NULL || vp->v_data == zp);
256 znode_t *zp = (znode_t *)vp->v_data; local
258 ASSERT(zp == NULL || zp->z_vnode == NULL || zp
[all...]
H A Dzfs_rlock.h63 rl_t *zfs_range_lock(znode_t *zp, uint64_t off, uint64_t len, rl_type_t type);
/netbsd-current/usr.sbin/bootp/bootptest/
H A Dprint-bootp.c425 u_char *zp; /* points one past last non-zero byte */
431 for (zp = ep; zp > bp; zp--) {
432 if (zp[-1] != 0)
437 if (zp == bp) {
444 if (zp + 2 > ep)
445 zp = ep; /* print them all normally */
448 while (bp < zp) {
453 if (zp < e
424 u_char *zp; /* points one past last non-zero byte */ local
[all...]
/netbsd-current/external/bsd/pdisk/dist/
H A Ddump.c434 Block0 *zp; local
459 zp = map->misc;
462 printf("signature 0x%x", zp->sbSig);
463 if (zp->sbSig == BLOCK0_SIGNATURE) {
469 zp->sbBlkSize, zp->sbBlkCount);
471 zp->sbDevType, zp->sbDevId, zp->sbData);
472 if (zp
686 Block0 *zp; local
[all...]
/netbsd-current/lib/libc/time/
H A Dzic.c214 static void outzone(const struct zone * zp, ptrdiff_t ntzones);
1570 struct zone * zp; local
1601 zp = &zones[i];
1602 zp->z_rules = NULL;
1603 zp->z_nrules = 0;
1611 zp = &zones[i];
1612 if (strcmp(zp->z_rule, rp->r_name) != 0)
1614 zp->z_rules = rp;
1615 zp->z_nrules = out - base;
1619 zp
2802 doabbr(char *abbr, size_t abbrlen, struct zone const *zp, const char *letters, bool isdst, zic_t save, bool doquotes) argument
2974 const struct zone * zp; local
3143 struct zone const *zp = &zpfirst[i]; local
3203 struct zone const *zp = &zpfirst[i]; local
[all...]
/netbsd-current/external/ibm-public/postfix/dist/src/global/
H A Dmail_queue.h144 #define MQID_LG_GET_HEX_USEC(bp, zp) do { \
147 vstring_strncpy((bp), (zp) - MQID_LG_USEC_PAD, MQID_LG_USEC_PAD); \

Completed in 181 milliseconds

123