| /netvirt/usr/src/lib/libast/common/tm/ |
| tmtype.c | 45 register Tm_zone_t* zp; local 49 zp = tm_info.local; 52 if ((t = zp->type) && tmword(s, e, t, NiL, 0)) return(zp); 53 if (zp == tm_info.local) zp = tm_data.zone; 54 else zp++; 55 } while (zp->standard);
|
| tmzone.c | 51 register Tm_zone_t* zp; local 68 zp = tm_info.local; 72 if (zp->type) 73 prev = zp->type; 76 if (tmword(name, end, zp->standard, NiL, 0)) 80 return zp; 82 if (zp->dst && zp->daylight && tmword(name, end, zp->daylight, NiL, 0)) 85 *dst = zp->dst [all...] |
| tminit.c | 177 Tm_zone_t* zp; local 187 tm_info.local->type = (n && *v) ? ((zp = tmtype(v, NiL)) ? zp->type : strdup(v)) : 0; 206 register Tm_zone_t* zp; local 338 for (zp = tm_data.zone; zp->standard; zp++) 340 if (zp->type) 341 t = zp->type; 342 if (zp->west == n && zp->dst == m [all...] |
| tmxfmt.c | 106 Tm_zone_t* zp; local 325 if ((zp = tm_info.zone) != tm_info.local) 326 for (; zp >= tm_data.zone; zp--) 327 if (p = zp->type) 329 else if (p = zp->type)
|
| tmxscan.c | 177 Tm_zone_t* zp; local 364 if (zp = tmtype(s, &u)) 367 u = zp->type; 374 if ((zp = tmzone(s, &u, u, &m))) 377 set.zone = zp->west + m; 378 tm_info.date = zp;
|
| /netvirt/usr/src/lib/libbc/libc/gen/4.2/ |
| timezone.c | 65 register struct zone *zp; local 85 for (zp=zonetab; zp->offset!=-1; zp++) 86 if (zp->offset==zone) { 87 if (dst && zp->dlzone) 88 return(zp->dlzone); 89 if (!dst && zp->stdzone) 90 return(zp->stdzone);
|
| /netvirt/usr/src/uts/common/fs/zfs/ |
| zfs_byteswap.c | 138 znode_phys_t *zp = buf; local 142 zp->zp_crtime[0] = BSWAP_64(zp->zp_crtime[0]); 143 zp->zp_crtime[1] = BSWAP_64(zp->zp_crtime[1]); 144 zp->zp_atime[0] = BSWAP_64(zp->zp_atime[0]); 145 zp->zp_atime[1] = BSWAP_64(zp->zp_atime[1]); 146 zp->zp_mtime[0] = BSWAP_64(zp->zp_mtime[0]) [all...] |
| zfs_znode.c | 91 znode_t *zp = buf; local 93 zp->z_vnode = vn_alloc(KM_SLEEP); 94 zp->z_vnode->v_data = (caddr_t)zp; 95 mutex_init(&zp->z_lock, NULL, MUTEX_DEFAULT, NULL); 96 rw_init(&zp->z_map_lock, NULL, RW_DEFAULT, NULL); 97 rw_init(&zp->z_parent_lock, NULL, RW_DEFAULT, NULL); 98 rw_init(&zp->z_name_lock, NULL, RW_DEFAULT, NULL); 99 mutex_init(&zp->z_acl_lock, NULL, MUTEX_DEFAULT, NULL); 101 mutex_init(&zp->z_range_lock, NULL, MUTEX_DEFAULT, NULL) 114 znode_t *zp = buf; local 473 znode_t *zp; local 760 znode_t *zp; local 1214 znode_t *zp; local 1322 znode_phys_t *zp; local [all...] |
| zfs_dir.c | 362 znode_t *zp; local 382 error = zfs_zget(zfsvfs, dzp->z_phys->zp_parent, &zp); 384 *vpp = ZTOV(zp); 395 error = zfs_dirent_lock(&dl, dzp, name, &zp, zf, deflg, rpnp); 397 *vpp = ZTOV(zp); 440 zfs_unlinked_add(znode_t *zp, dmu_tx_t *tx) 442 zfsvfs_t *zfsvfs = zp->z_zfsvfs; 446 ASSERT(zp->z_unlinked); 447 ASSERT3U(zp->z_phys->zp_links, ==, 0); 450 zfs_unlinked_hexname(obj_name, zp->z_id), 8, 1, &zp->z_id, tx) 464 znode_t *zp; local [all...] |
| zfs_vnops.c | 92 * must be checked with ZFS_VERIFY_ZP(zp). Both of these macros 98 * can be freed, so the zp may point to freed memory. Second, the last 171 znode_t *zp = VTOZ(*vpp); local 173 if ((flag & FWRITE) && (zp->z_phys->zp_flags & ZFS_APPENDONLY) && 178 if (!zfs_has_ctldir(zp) && zp->z_zfsvfs->z_vscan && 179 ZTOV(zp)->v_type == VREG && 180 !(zp->z_phys->zp_flags & ZFS_AV_QUARANTINED) && 181 zp->z_phys->zp_size > 0) 187 atomic_inc_32(&zp->z_sync_cnt) 197 znode_t *zp = VTOZ(vp); local 225 znode_t *zp = VTOZ(vp); local 269 znode_t *zp; local 318 znode_t *zp = VTOZ(vp); local 376 znode_t *zp = VTOZ(vp); local 430 znode_t *zp = VTOZ(vp); local 598 znode_t *zp = VTOZ(vp); local 854 znode_t *zp; local 952 znode_t *zp = VTOZ(vp); local 1114 znode_t *zp, *dzp = VTOZ(dvp); local 1360 znode_t *zp, *dzp = VTOZ(dvp); local 1556 znode_t *zp, *dzp = VTOZ(dvp); local 1717 znode_t *zp; local 1847 znode_t *zp = VTOZ(vp); local 2088 znode_t *zp = VTOZ(vp); local 2131 znode_t *zp = VTOZ(vp); local 2325 znode_t *zp = VTOZ(vp); local 2750 znode_t *zp = tdzp; local 3131 znode_t *zp, *dzp = VTOZ(dvp); local 3279 znode_t *zp = VTOZ(vp); local 3480 znode_t *zp = VTOZ(vp); local 3598 znode_t *zp = VTOZ(vp); local 3660 znode_t *zp = VTOZ(vp); local 3741 znode_t *zp = VTOZ(vp); local 3772 znode_t *zp = VTOZ(vp); local 3893 znode_t *zp = VTOZ(vp); local 4027 znode_t *zp = VTOZ(vp); local 4172 znode_t *zp = VTOZ(vp); local 4212 znode_t *zp = VTOZ(vp); local 4265 znode_t *zp, *xzp; local 4326 znode_t *zp = VTOZ(vp); local 4344 znode_t *zp = VTOZ(vp); local [all...] |
| zfs_log.c | 217 znode_t *dzp, znode_t *zp, char *name, vsecattr_t *vsecp, 266 lr->lr_foid = zp->z_id; 267 lr->lr_mode = zp->z_phys->zp_mode; 268 if (!IS_EPHEMERAL(zp->z_phys->zp_uid)) { 269 lr->lr_uid = (uint64_t)zp->z_phys->zp_uid; 273 if (!IS_EPHEMERAL(zp->z_phys->zp_gid)) { 274 lr->lr_gid = (uint64_t)zp->z_phys->zp_gid; 278 lr->lr_gen = zp->z_phys->zp_gen; 279 lr->lr_crtime[0] = zp->z_phys->zp_crtime[0]; 280 lr->lr_crtime[1] = zp->z_phys->zp_crtime[1] [all...] |
| zfs_acl.c | 332 zfs_acl_version_zp(znode_t *zp) 334 return (zfs_acl_version(zp->z_zfsvfs->z_version)); 671 zfs_acl_xform(znode_t *zp, zfs_acl_t *aclp) 703 VERIFY(zfs_copy_ace_2_fuid(ZTOV(zp)->v_type, aclp, oldaclp, 759 zfs_mode_fuid_compute(znode_t *zp, zfs_acl_t *aclp, cred_t *cr, 770 mode = (zp->z_phys->zp_mode & (S_IFMT | S_ISUID | S_ISGID | S_ISVTX)); 894 zfs_fuid_create(zp->z_zfsvfs, who, cr, 903 zfs_acl_node_read_internal(znode_t *zp, boolean_t will_modify) 908 aclp = zfs_acl_alloc(zp->z_phys->zp_acl.z_acl_version); 914 if (zp->z_phys->zp_acl.z_acl_version == ZFS_ACL_VERSION_INITIAL) [all...] |
| zfs_rlock.c | 36 * rl = zfs_range_lock(zp, off, len, lock_type); 103 zfs_range_lock_writer(znode_t *zp, rl_t *new) 105 avl_tree_t *tree = &zp->z_range_avl; 124 if (zp->z_vnode) { /* caller is ZPL */ 130 new->r_off = zp->z_phys->zp_size; 137 end_size = MAX(zp->z_phys->zp_size, new->r_off + len); 138 if (end_size > zp->z_blksz && (!ISP2(zp->z_blksz) || 139 zp->z_blksz < zp->z_zfsvfs->z_max_blksz)) 529 znode_t *zp = rl->r_zp; local 567 znode_t *zp = rl->r_zp; local [all...] |
| zfs_replay.c | 561 znode_t *dzp, *zp; local 571 if ((error = zfs_zget(zfsvfs, lr->lr_link_obj, &zp)) != 0) { 579 error = VOP_LINK(ZTOV(dzp), ZTOV(zp), name, kcred, NULL, vflg); 581 VN_RELE(ZTOV(zp)); 623 znode_t *zp; local 630 if ((error = zfs_zget(zfsvfs, lr->lr_foid, &zp)) != 0) { 641 error = vn_rdwr(UIO_WRITE, ZTOV(zp), data, lr->lr_length, 644 VN_RELE(ZTOV(zp)); 652 znode_t *zp; local 659 if ((error = zfs_zget(zfsvfs, lr->lr_foid, &zp)) != 0) 687 znode_t *zp; local 749 znode_t *zp; local 799 znode_t *zp; local [all...] |
| zfs_vfsops.c | 635 znode_t *zp = NULL; local 697 if (error = zfs_init_fs(zfsvfs, &zp, cr)) 701 VN_RELE(ZTOV(zp)); 859 znode_t *zp = NULL; local 908 if (error = zfs_zget(zfsvfs, zfsvfs->z_root, &zp)) 911 vp = ZTOV(zp); 1149 znode_t *zp; local 1193 for (zp = list_head(&zfsvfs->z_all_znodes); zp != NULL; 1194 zp = list_next(&zfsvfs->z_all_znodes, zp) 1326 znode_t *zp; local 1442 znode_t *zp; local [all...] |
| zfs_fuid.c | 385 zfs_fuid_map_ids(znode_t *zp, cred_t *cr, uid_t *uid, uid_t *gid) 387 uint32_t uid_index = FUID_INDEX(zp->z_phys->zp_uid); 388 uint32_t gid_index = FUID_INDEX(zp->z_phys->zp_gid); 392 *uid = zp->z_phys->zp_uid; 393 *gid = zp->z_phys->zp_gid; 398 zfs_fuid_queue_map_id(zp->z_zfsvfs, &hdl, 399 zp->z_phys->zp_uid, cr, ZFS_OWNER, uid); 401 zfs_fuid_queue_map_id(zp->z_zfsvfs, &hdl, 402 zp->z_phys->zp_gid, cr, ZFS_GROUP, gid);
|
| zap.c | 80 zap_phys_t *zp; local 91 zp = zap->zap_f.zap_phys; 97 zp->zap_block_type = ZBT_HEADER; 98 zp->zap_magic = ZAP_MAGIC; 100 zp->zap_ptrtbl.zt_shift = ZAP_EMBEDDED_PTRTBL_SHIFT(zap); 102 zp->zap_freeblk = 2; /* block 1 will be the first leaf */ 103 zp->zap_num_leafs = 1; 104 zp->zap_num_entries = 0; 105 zp->zap_salt = zap->zap_salt; 106 zp->zap_normflags = zap->zap_normflags [all...] |
| /netvirt/usr/src/lib/libast/common/comp/ |
| waitpid.c | 99 register struct zombie* zp; 114 zp = zombies; 115 while (zp) 117 if (zp->pid >= 0 && (zp->pid == pid || pid <= 0)) 119 if (pp) pp->next = zp->next; 120 else zombies = zp->next; 121 if (status) *status = zp->status; 122 pid = zp->pid; 123 free(zp); [all...] |
| /netvirt/usr/src/uts/common/fs/zfs/sys/ |
| zfs_znode.h | 63 #define ZFS_ATTR_SET(zp, attr, value) \ 66 zp->z_phys->zp_flags |= attr; \ 68 zp->z_phys->zp_flags &= ~attr; \ 231 #define ZTOV(ZP) ((ZP)->z_vnode) 250 #define ZFS_VERIFY_ZP(zp) \ 251 if ((zp)->z_dbuf == NULL) { \ 252 ZFS_EXIT((zp)->z_zfsvfs); \ 260 #define ZFS_OBJ_MUTEX(zp) \ 261 (&(zp)->z_zfsvfs->z_hold_mtx[ZFS_OBJ_HASH((zp)->z_id)] [all...] |
| zfs_rlock.h | 65 rl_t *zfs_range_lock(znode_t *zp, uint64_t off, uint64_t len, rl_type_t type);
|
| zfs_fuid.h | 114 extern void zfs_fuid_map_ids(struct znode *zp, cred_t *cr, uid_t *uid,
|
| /netvirt/usr/src/cmd/zic/ |
| zic.c | 126 static void outzone(const struct zone *zp, int ntzones); 744 register struct zone *zp; local 779 zp = &zones[i]; 780 zp->z_rules = NULL; 781 zp->z_nrules = 0; 789 zp = &zones[i]; 790 if (strcmp(zp->z_rule, rp->r_name) != 0) 792 zp->z_rules = rp; 793 zp->z_nrules = out - base; 797 zp = &zones[i] 1636 register const struct zone *zp; local [all...] |
| /netvirt/usr/src/cmd/whodo/ |
| whodo.c | 519 struct uproc *zp; local 538 for (zp = up->p_child->p_sibling; zp; zp = zp->p_sibling) { 539 showproc(zp); 590 struct uproc *zp; local 613 for (zp = up->p_child->p_sibling; zp; zp = zp->p_sibling [all...] |
| /netvirt/usr/src/cmd/mail/ |
| sendmail.c | 42 char *tp, *zp; local 92 zp = tzname[bp->tm_isdst]; 93 sprintf(datestring, "%.16s %.3s %.5s", tp, zp, tp+20); 99 tp, tp+8, tp+4, tp+20, tp+11, zp);
|
| /netvirt/usr/src/cmd/w/ |
| w.c | 566 struct uproc *zp; local 601 for (zp = up->p_child->p_sibling; zp; zp = zp->p_sibling) 602 calctotals(zp);
|