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

1234

/netbsd-6-1-5-RELEASE/external/cddl/osnet/dist/uts/common/fs/zfs/
H A Dzfs_byteswap.c160 znode_phys_t *zp = buf; local
164 zp->zp_crtime[0] = BSWAP_64(zp->zp_crtime[0]);
165 zp->zp_crtime[1] = BSWAP_64(zp->zp_crtime[1]);
166 zp->zp_atime[0] = BSWAP_64(zp->zp_atime[0]);
167 zp->zp_atime[1] = BSWAP_64(zp->zp_atime[1]);
168 zp
[all...]
H A Dzfs_znode.c120 znode_t *zp = arg; local
122 ASSERT(!POINTER_IS_VALID(zp->z_zfsvfs));
124 list_link_init(&zp->z_link_node);
126 mutex_init(&zp->z_lock, NULL, MUTEX_DEFAULT, NULL);
127 rw_init(&zp->z_parent_lock, NULL, RW_DEFAULT, NULL);
128 rw_init(&zp->z_name_lock, NULL, RW_DEFAULT, NULL);
129 mutex_init(&zp->z_acl_lock, NULL, MUTEX_DEFAULT, NULL);
131 mutex_init(&zp->z_range_lock, NULL, MUTEX_DEFAULT, NULL);
132 avl_create(&zp->z_range_avl, zfs_range_compare,
135 zp
145 znode_t *zp = arg; local
472 znode_t *zp; local
561 zfs_znode_dmu_init(zfsvfs_t *zfsvfs, znode_t *zp, dmu_buf_t *db) argument
593 zfs_znode_dmu_fini(znode_t *zp) argument
616 znode_t *zp; local
844 zfs_xvattr_set(znode_t *zp, xvattr_t *xvap) argument
917 znode_t *zp; local
1016 zfs_rezget(znode_t *zp) argument
1063 zfs_znode_delete(znode_t *zp, dmu_tx_t *tx) argument
1084 zfs_zinactive(znode_t *zp) argument
1116 zfs_znode_free(znode_t *zp) argument
1139 zfs_time_stamper_locked(znode_t *zp, uint_t flag, dmu_tx_t *tx) argument
1184 zfs_time_stamper(znode_t *zp, uint_t flag, dmu_tx_t *tx) argument
1201 zfs_grow_blocksize(znode_t *zp, uint64_t size, dmu_tx_t *tx) argument
1236 zfs_extend(znode_t *zp, uint64_t end) argument
1313 zfs_free_range(znode_t *zp, uint64_t off, uint64_t len) argument
1360 zfs_trunc(znode_t *zp, uint64_t end) argument
1431 zfs_freesp(znode_t *zp, uint64_t off, uint64_t len, int flag, boolean_t log) argument
1490 znode_t *zp; local
1633 znode_phys_t *zp; local
[all...]
H A Dzfs_dir.c379 znode_t *zp; local
399 error = zfs_zget(zfsvfs, dzp->z_phys->zp_parent, &zp);
401 *vpp = ZTOV(zp);
412 error = zfs_dirent_lock(&dl, dzp, name, &zp, zf, deflg, rpnp);
414 *vpp = ZTOV(zp);
442 zfs_unlinked_add(znode_t *zp, dmu_tx_t *tx) argument
444 zfsvfs_t *zfsvfs = zp->z_zfsvfs;
446 ASSERT(zp->z_unlinked);
447 ASSERT3U(zp->z_phys->zp_links, ==, 0);
450 zap_add_int(zfsvfs->z_os, zfsvfs->z_unlinkedobj, zp
463 znode_t *zp; local
571 zfs_rmnode(znode_t *zp) argument
669 zfs_dirent(znode_t *zp) argument
681 zfs_link_create(zfs_dirlock_t *dl, znode_t *zp, dmu_tx_t *tx, int flag) argument
731 zfs_link_destroy(zfs_dirlock_t *dl, znode_t *zp, dmu_tx_t *tx, int flag, boolean_t *unlinkedp) argument
820 zfs_make_xattrdir(znode_t *zp, vattr_t *vap, vnode_t **xvpp, cred_t *cr) argument
890 zfs_get_xattrdir(znode_t *zp, vnode_t **xvpp, cred_t *cr, int flags) argument
960 zfs_sticky_remove_access(znode_t *zdp, znode_t *zp, cred_t *cr) argument
[all...]
H A Dzfs_vnops.c89 * must be checked with ZFS_VERIFY_ZP(zp). Both of these macros
95 * can be freed, so the zp may point to freed memory. Second, the last
169 znode_t *zp = VTOZ(*vpp); local
171 if ((flag & FWRITE) && (zp->z_phys->zp_flags & ZFS_APPENDONLY) &&
176 if (!zfs_has_ctldir(zp) && zp->z_zfsvfs->z_vscan &&
177 ZTOV(zp)->v_type == VREG &&
178 !(zp->z_phys->zp_flags & ZFS_AV_QUARANTINED) &&
179 zp->z_phys->zp_size > 0)
185 atomic_inc_32(&zp
195 znode_t *zp = VTOZ(vp); local
229 znode_t *zp = VTOZ(vp); local
273 znode_t *zp; local
363 znode_t *zp = VTOZ(vp); local
475 znode_t *zp = VTOZ(vp); local
667 znode_t *zp = VTOZ(vp); local
991 znode_t *zp = zgd->zgd_private; local
1023 znode_t *zp; local
1139 znode_t *zp = VTOZ(vp); local
1409 znode_t *zp, *dzp = VTOZ(dvp); local
1630 znode_t *zp, *dzp = VTOZ(dvp); local
1833 znode_t *zp, *dzp = VTOZ(dvp); local
1990 znode_t *zp; local
2117 znode_t *zp = VTOZ(vp); local
2419 znode_t *zp = VTOZ(vp); local
2483 znode_t *zp = VTOZ(vp); local
2689 znode_t *zp = VTOZ(vp); local
3248 znode_t *zp = tdzp; local
3694 znode_t *zp, *dzp = VTOZ(dvp); local
3845 znode_t *zp = VTOZ(vp); local
4021 znode_t *zp = VTOZ(vp); local
4089 znode_t *zp = VTOZ(vp); local
4171 znode_t *zp = VTOZ(vp); local
4257 znode_t *zp = VTOZ(vp); local
4289 znode_t *zp = VTOZ(vp); local
4386 znode_t *zp = VTOZ(vp); local
4475 znode_t *zp = VTOZ(vp); local
4621 znode_t *zp = VTOZ(vp); local
4657 znode_t *zp = VTOZ(vp); local
4711 znode_t *zp, *xzp; local
4783 znode_t *zp = VTOZ(vp); local
4836 znode_t *zp = VTOZ(vp); local
5105 znode_t *zp = VTOZ(vp); local
5277 znode_t *zp = VTOZ(vp); local
5295 znode_t *zp = arg; local
5314 znode_t *zp = VTOZ(vp); local
5473 znode_t *zp = VTOZ(vp); local
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.c-torture/compile/
H A D991214-1.c1 void foo(double bar[], double *zp, int n) argument
9 bar[i] *= (1.0 + *zp);
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/gcc.c-torture/compile/
H A D991214-1.c1 void foo(double bar[], double *zp, int n) argument
9 bar[i] *= (1.0 + *zp);
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/g++.old-deja/g++.warn/
H A Dcast-align1.C15 void f3 (X *xp, Z *zp) argument
18 (void *)zp;
20 (Y *)zp;
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/g++.old-deja/g++.warn/
H A Dcast-align1.C15 void f3 (X *xp, Z *zp) argument
18 (void *)zp;
20 (Y *)zp;
/netbsd-6-1-5-RELEASE/external/lgpl3/gmp/dist/mpz/
H A Dget_si.c27 mp_ptr zp = z->_mp_d; local
29 mp_limb_t zl = zp[0];
33 zl |= zp[1] << GMP_NUMB_BITS;
H A Dcmpabs_d.c52 mp_srcptr zp; local
83 zp = PTR(z);
86 RETURN_CMP (zp[zsize-1], darray[1]);
90 RETURN_CMP (zp[zsize-2], darray[0]);
91 RETURN_NONZERO (zp, zsize-2, 1);
95 RETURN_CMP (zp[zsize-1], darray[2]);
99 RETURN_CMP (zp[zsize-2], darray[1]);
103 RETURN_CMP (zp[zsize-3], darray[0]);
104 RETURN_NONZERO (zp, zsize-3, 1);
112 RETURN_CMP (zp[zsiz
[all...]
H A Dcmp_d.c52 mp_srcptr zp; local
98 zp = PTR(z);
101 RETURN_CMP (zp[zsize-1], darray[1]);
105 RETURN_CMP (zp[zsize-2], darray[0]);
106 RETURN_NONZERO (zp, zsize-2, ret);
110 RETURN_CMP (zp[zsize-1], darray[2]);
114 RETURN_CMP (zp[zsize-2], darray[1]);
118 RETURN_CMP (zp[zsize-3], darray[0]);
119 RETURN_NONZERO (zp, zsize-3, ret);
127 RETURN_CMP (zp[zsiz
[all...]
H A Dexport.c55 mp_srcptr zp; local
76 zp = PTR(z);
78 MPN_SIZEINBASE_2EXP (count, zp, zsize, numb);
95 MPN_COPY ((mp_ptr) data, zp, (mp_size_t) count);
100 MPN_REVERSE ((mp_ptr) data, zp, (mp_size_t) count);
106 MPN_BSWAP ((mp_ptr) data, zp, (mp_size_t) count);
111 MPN_BSWAP_REVERSE ((mp_ptr) data, zp, (mp_size_t) count);
153 newlimb = (zp == zend ? 0 : *zp++); \
160 zend = zp
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/contrib/zkt/
H A Dnscomm.c101 int dist_and_reload (const zone_t *zp, int what) argument
110 assert (zp != NULL);
111 assert (zp->conf->dist_cmd != NULL);
114 if ( zp->conf->dist_cmd == NULL )
117 if ( !is_exec_ok (zp->conf->dist_cmd) )
126 verbmesg (1, zp->conf, mesg, zp->conf->dist_cmd);
127 lg_mesg (LG_ERROR, "exec of distribution command %s disabled due to security reasons", zp->conf->dist_cmd);
133 if ( zp->conf->view )
135 snprintf (zone, sizeof (zone), "\"%s\" in view \"%s\"", zp
[all...]
H A Dzkt-signer.c101 static int parsedir (const char *dir, zone_t **zp, const zconf_t *conf);
102 static int dosigning (zone_t *zonelist, zone_t *zp);
106 static int sign_zone (const zone_t *zp);
146 zone_t *zp; local
260 for ( zp = zonelist; zp; zp = zp->next )
261 zone_print ("in main: ", zp);
325 for ( zp
430 parsedir(const char *dir, zone_t **zp, const zconf_t *conf) argument
463 dosigning(zone_t *zonelist, zone_t *zp) argument
827 sign_zone(const zone_t *zp) argument
[all...]
H A Dzone.c69 zone_t *zp; local
71 if ( (zp = malloc (sizeof (zone_t))) )
73 memset (zp, 0, sizeof (zone_t));
74 return zp;
101 void zone_free (zone_t *zp) argument
103 assert (zp != NULL);
105 if ( zp->zone ) free ((char *)zp->zone);
106 if ( zp->dir ) free ((char *)zp
142 zone_new(zone_t **zp, const char *zone, const char *dir, const char *file, const char *signed_ext, const zconf_t *cp) argument
[all...]
H A Drollover.c119 ** Check if the parent directory of the zone specified by zp
123 static int is_parentdirsigned (const zone_t *zonelist, const zone_t *zp) argument
131 snprintf (path, sizeof (path), "%s/../%s", zp->dir, LOCALCONF_FILE);
135 conf = zp->conf;
139 if ( conf != zp->conf ) /* if we read in a local config file.. */
149 ext = strrchr (zp->sfile, '.');
150 if ( ext && strcmp (zp->sfile, ".dsigned") == 0 ) /* is the current zone a dynamic one ? */
152 snprintf (path, sizeof (path), "%s/../%s", zp->dir, "zone.db.signed");
160 parentname = strchr (zp->zone, '.'); /* find first dot in zone name */
170 snprintf (path, sizeof (path), "%s/../%s", zp
226 kskrollover(dki_t *ksk, zone_t *zonelist, zone_t *zp) argument
472 kskstatus(zone_t *zonelist, zone_t *zp) argument
[all...]
/netbsd-6-1-5-RELEASE/lib/libc/compat/gen/
H A Dcompat_timezone.c123 const struct zone *zp; local
126 for (zp = zonetab; zp->offset != -1;++zp) /* static tables */
127 if (zp->offset == zone) {
128 if (dst && zp->dlzone)
129 return __UNCONST(zp->dlzone);
130 if (!dst && zp->stdzone)
131 return __UNCONST(zp->stdzone);
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.dg/format/
H A Dc90-scanf-2.c12 size_t *zp, ptrdiff_t *tp)
19 scanf ("%zu", zp); /* { dg-warning "length|C" "%z in C90" } */
11 foo(signed char *hhp, float *fp, llong *llp, intmax_t *jp, size_t *zp, ptrdiff_t *tp) argument
H A Dms_c90-scanf-2.c13 size_t *zp, ptrdiff_t *tp)
20 scanf ("%zu", zp); /* { dg-warning "unknown|format" "%z is unsupported" } */
12 foo(signed char *hhp, float *fp, llong *llp, intmax_t *jp, size_t *zp, ptrdiff_t *tp) argument
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.dg/vect/
H A Dpr32224.c6 mp_srcptr zp; local
9 mp_srcptr __src = (zp);
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/gcc.dg/format/
H A Dc90-scanf-2.c12 size_t *zp, ptrdiff_t *tp)
19 scanf ("%zu", zp); /* { dg-warning "length|C" "%z in C90" } */
11 foo(signed char *hhp, float *fp, llong *llp, intmax_t *jp, size_t *zp, ptrdiff_t *tp) argument
/netbsd-6-1-5-RELEASE/external/cddl/osnet/sys/kern/
H A Dzfs_stub.c89 zfs_setacl(znode_t *zp, vsecattr_t *vsecp, boolean_t skipaclchk, cred_t *cr)
96 zfs_getacl(znode_t *zp, vsecattr_t *vsecp, boolean_t skipaclchk, cred_t *cr)
103 zfs_aclset_common(znode_t *zp, zfs_acl_t *aclp, cred_t *cr,
111 zfs_zaccess_rwx(znode_t *zp, mode_t mode, int flags, cred_t *cr)
113 return (zfs_zaccess(zp, zfs_unix_to_v4(mode >> 6), flags, B_FALSE, cr));
117 zfs_zaccess_unix(znode_t *zp, mode_t mode, cred_t *cr)
121 return (zfs_zaccess(zp, v4_mode, 0, B_FALSE, cr));
125 zfs_zaccess_delete(znode_t *dzp, znode_t *zp, cred_t *cr)
132 zfs_perm_init(znode_t *zp, znode_t *parent, int flag,
149 zfs_zaccess(znode_t *zp, in
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/g++.old-deja/g++.other/
H A Dcast3.C13 void fn (void *p, void const *cp, Y *yp, Y const *ycp, Z *zp, Z const *zcp) argument
39 static_cast <Y *> (zp);
40 static_cast <Y const *> (zp);
/netbsd-6-1-5-RELEASE/external/lgpl3/mpfr/dist/
H A Dset_z_exp.c33 mp_limb_t *fp, *zp; local
59 zp = PTR(z);
60 count_leading_zeros (k, zp[zn-1]);
83 mpn_lshift (fp, &zp[dif], fn, k);
85 fp[0] |= zp[dif - 1] >> (GMP_NUMB_BITS - k);
88 MPN_COPY (fp, zp + dif, fn);
106 rb = zp[--dif] & mask;
107 sb = zp[dif] & (mask-1);
116 sb = zp[--dif];
121 sb = zp[
[all...]
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/g++.old-deja/g++.other/
H A Dcast3.C13 void fn (void *p, void const *cp, Y *yp, Y const *ycp, Z *zp, Z const *zcp) argument
39 static_cast <Y *> (zp);
40 static_cast <Y const *> (zp);

Completed in 208 milliseconds

1234