Searched defs:zp (Results 1 - 25 of 47) sorted by relevance

12

/illumos-gate/usr/src/lib/libast/common/tm/
H A Dtmtype.c45 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);
H A Dtmzone.c51 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
[all...]
H A Dtminit.c178 Tm_zone_t* zp; local
188 tm_info.local->type = (n && *v) ? ((zp = tmtype(v, NiL)) ? zp->type : strdup(v)) : 0;
207 register Tm_zone_t* zp; local
343 for (zp = tm_data.zone; zp->standard; zp++)
345 if (zp->type)
346 t = zp->type;
347 if (zp
441 tminit(register Tm_zone_t* zp) argument
[all...]
H A Dtmxfmt.c117 Tm_zone_t* zp; local
380 if ((zp = tm->tm_zone) != tm_info.local)
381 for (; zp >= tm_data.zone; zp--)
382 if (p = zp->type)
384 else if (p = zp->type)
503 if ((zp = tmzone(arg, &f, 0, 0)) && !*f && tm->tm_zone != zp)
504 tm = tmxtm(tm, tmxtime(tm, tm->tm_zone->west + (tm->tm_isdst ? tm->tm_zone->dst : 0)), zp);
513 if ((zp
[all...]
H A Dtmxscan.c184 Tm_zone_t* zp; local
374 if (zp = tmtype(s, &u))
377 u = zp->type;
384 if ((zp = tmzone(s, &u, u, &m)))
387 set.zone = zp->west + m;
388 tm_info.date = zp;
H A Dtmxdate.c185 Tm_zone_t* zp; local
1530 if (!(state & ZONE) && (zp = tmzone(s, &t, type, &dst)))
1533 zone = zp->west + dst;
1534 tm_info.date = zp;
1539 else if (!type && (zp = tmtype(s, &t)))
1542 type = zp->type;
/illumos-gate/usr/src/lib/libbc/libc/gen/4.2/
H A Dtimezone.c65 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);
/illumos-gate/usr/src/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_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_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
319 zfs_sa_upgrade_txholds(dmu_tx_t *tx, znode_t *zp) argument
[all...]
H A Dzfs_replay.c567 znode_t *dzp, *zp; local
577 if ((error = zfs_zget(zfsvfs, lr->lr_link_obj, &zp)) != 0) {
585 error = VOP_LINK(ZTOV(dzp), ZTOV(zp), name, kcred, NULL, vflg);
587 VN_RELE(ZTOV(zp));
629 znode_t *zp; local
637 if ((error = zfs_zget(zfsvfs, lr->lr_foid, &zp)) != 0) {
672 if (zp->z_size < eod)
676 error = vn_rdwr(UIO_WRITE, ZTOV(zp), data, length, offset,
679 VN_RELE(ZTOV(zp));
694 znode_t *zp; local
739 znode_t *zp; local
766 znode_t *zp; local
820 znode_t *zp; local
864 znode_t *zp; local
[all...]
H A Dzfs_log.c236 znode_t *dzp, znode_t *zp, char *name, vsecattr_t *vsecp,
282 lr->lr_foid = zp->z_id;
283 lr->lr_mode = zp->z_mode;
284 if (!IS_EPHEMERAL(zp->z_uid)) {
285 lr->lr_uid = (uint64_t)zp->z_uid;
289 if (!IS_EPHEMERAL(zp->z_gid)) {
290 lr->lr_gid = (uint64_t)zp->z_gid;
294 (void) sa_lookup(zp->z_sa_hdl, SA_ZPL_GEN(zp->z_zfsvfs), &lr->lr_gen,
296 (void) sa_lookup(zp
235 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
371 zfs_log_link(zilog_t *zilog, dmu_tx_t *tx, uint64_t txtype, znode_t *dzp, znode_t *zp, char *name) argument
394 zfs_log_symlink(zilog_t *zilog, dmu_tx_t *tx, uint64_t txtype, znode_t *dzp, znode_t *zp, char *name, char *link) argument
454 zfs_log_write(zilog_t *zilog, dmu_tx_t *tx, int txtype, znode_t *zp, offset_t off, ssize_t resid, int ioflag) argument
531 zfs_log_truncate(zilog_t *zilog, dmu_tx_t *tx, int txtype, znode_t *zp, uint64_t off, uint64_t len) argument
554 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
616 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_dir.c384 znode_t *zp; local
408 error = zfs_zget(zfsvfs, parent, &zp);
410 *vpp = ZTOV(zp);
421 error = zfs_dirent_lock(&dl, dzp, name, &zp, zf, deflg, rpnp);
423 *vpp = ZTOV(zp);
451 zfs_unlinked_add(znode_t *zp, dmu_tx_t *tx) argument
453 zfsvfs_t *zfsvfs = zp->z_zfsvfs;
455 ASSERT(zp->z_unlinked);
456 ASSERT(zp->z_links == 0);
459 zap_add_int(zfsvfs->z_os, zfsvfs->z_unlinkedobj, zp
472 znode_t *zp; local
583 zfs_rmnode(znode_t *zp) argument
694 zfs_dirent(znode_t *zp, uint64_t mode) argument
707 zfs_link_create(zfs_dirlock_t *dl, znode_t *zp, dmu_tx_t *tx, int flag) argument
778 zfs_dropname(zfs_dirlock_t *dl, znode_t *zp, znode_t *dzp, dmu_tx_t *tx, int flag) argument
809 zfs_link_destroy(zfs_dirlock_t *dl, znode_t *zp, dmu_tx_t *tx, int flag, boolean_t *unlinkedp) argument
924 zfs_make_xattrdir(znode_t *zp, vattr_t *vap, vnode_t **xvpp, cred_t *cr) argument
1000 zfs_get_xattrdir(znode_t *zp, vnode_t **xvpp, cred_t *cr, int flags) argument
1069 zfs_sticky_remove_access(znode_t *zdp, znode_t *zp, cred_t *cr) argument
[all...]
H A Dzfs_fuid.c389 zfs_fuid_map_ids(znode_t *zp, cred_t *cr, uid_t *uidp, uid_t *gidp) argument
391 *uidp = zfs_fuid_map_id(zp->z_zfsvfs, zp->z_uid, cr, ZFS_OWNER);
392 *gidp = zfs_fuid_map_id(zp->z_zfsvfs, zp->z_gid, cr, ZFS_GROUP);
H A Dzfs_znode.c117 znode_t *zp = buf; local
119 ASSERT(!POINTER_IS_VALID(zp->z_zfsvfs));
121 zp->z_vnode = vn_alloc(kmflags);
122 if (zp->z_vnode == NULL) {
125 ZTOV(zp)->v_data = zp;
127 list_link_init(&zp->z_link_node);
129 mutex_init(&zp->z_lock, NULL, MUTEX_DEFAULT, NULL);
130 rw_init(&zp->z_parent_lock, NULL, RW_DEFAULT, NULL);
131 rw_init(&zp
148 znode_t *zp = buf; local
478 znode_t *zp; local
575 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
606 zfs_znode_dmu_fini(znode_t *zp) argument
627 znode_t *zp; local
1011 zfs_xvattr_set(znode_t *zp, xvattr_t *xvap, dmu_tx_t *tx) argument
1106 znode_t *zp; local
1181 zfs_rezget(znode_t *zp) argument
1262 zfs_znode_delete(znode_t *zp, dmu_tx_t *tx) argument
1281 zfs_zinactive(znode_t *zp) argument
1334 zfs_znode_free(znode_t *zp) argument
1358 zfs_tstamp_update_setup(znode_t *zp, uint_t flag, uint64_t mtime[2], uint64_t ctime[2], boolean_t have_tx) argument
1401 zfs_grow_blocksize(znode_t *zp, uint64_t size, dmu_tx_t *tx) argument
1450 zfs_extend(znode_t *zp, uint64_t end) argument
1526 zfs_free_range(znode_t *zp, uint64_t off, uint64_t len) argument
1564 zfs_trunc(znode_t *zp, uint64_t end) argument
1657 zfs_freesp(znode_t *zp, uint64_t off, uint64_t len, int flag, boolean_t log) argument
1737 znode_t *zp; local
[all...]
H A Dzfs_ctldir.c274 zfsctl_root(znode_t *zp) argument
276 ASSERT(zfs_has_ctldir(zp));
277 VN_HOLD(zp->z_zfsvfs->z_ctldir);
278 return (zp->z_zfsvfs->z_ctldir);
/illumos-gate/usr/src/cmd/mail/
H A Dsendmail.c39 char *tp, *zp; local
89 zp = tzname[bp->tm_isdst];
90 sprintf(datestring, "%.16s %.3s %.5s", tp, zp, tp+20);
96 tp, tp+8, tp+4, tp+20, tp+11, zp);
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dip_htable.c652 iphtable_t *iph, zp, *nextiph; local
682 bzero((char *)&zp, sizeof(zp));
683 nextiph = &zp;
H A Dip_pool.c769 ip_pool_t *ipo, zp, *nextipo; local
799 bzero((char *)&zp, sizeof(zp));
800 nextipo = &zp;
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dcong.c145 unsigned long zp; local
160 zp = (unsigned long)kmem_zalloc(PAGE_SIZE, KM_NOSLEEP);
161 if (zp == 0)
163 map->m_page_addrs[i] = zp;
/illumos-gate/usr/src/uts/common/fs/tmpfs/
H A Dtmp_vfsops.c558 struct zone *zp; local
568 zp = curproc->p_zone;
570 zp = tm->tm_vfsp->vfs_zone;
572 if (zp == NULL)
575 eff_zid = zp->zone_id;
606 zp->zone_max_swap_ctl != UINT64_MAX) {
614 mutex_enter(&zp->zone_mem_lock);
615 cap = zp->zone_max_swap_ctl;
616 used = zp->zone_max_swap;
617 mutex_exit(&zp
[all...]
/illumos-gate/usr/src/cmd/w/
H A Dw.c560 struct uproc *zp; local
595 for (zp = up->p_child->p_sibling; zp; zp = zp->p_sibling)
596 calctotals(zp);
/illumos-gate/usr/src/uts/common/vm/
H A Dvm_swap.c457 struct zone *zp = curproc->p_zone; local
494 if (!global && zp->zone_max_swap_ctl != UINT64_MAX) {
554 mutex_enter(&zp->zone_mem_lock);
555 cap = zp->zone_max_swap_ctl;
556 used = zp->zone_max_swap;
557 mutex_exit(&zp->zone_mem_lock);
605 if (zp->zone_max_swap_ctl != UINT64_MAX) {
608 mutex_enter(&zp->zone_mem_lock);
609 cap = zp->zone_max_swap_ctl;
610 used = zp
794 struct zone *zp = curproc->p_zone; local
[all...]
/illumos-gate/usr/src/cmd/whodo/
H A Dwhodo.c512 struct uproc *zp; local
532 for (zp = up->p_child->p_sibling; zp; zp = zp->p_sibling) {
533 showproc(zp);
584 struct uproc *zp; local
607 for (zp = up->p_child->p_sibling; zp; zp
[all...]
/illumos-gate/usr/src/uts/common/fs/proc/
H A Dprioctl.c1343 oprgetstatus32(kthread_t *t, prstatus32_t *sp, zone_t *zp) argument
1398 if (SI_FROMUSER(&lwp->lwp_siginfo) && zp->zone_id != GLOBAL_ZONEID &&
1399 sp->pr_info.si_zoneid != zp->zone_id) {
1400 sp->pr_info.si_pid = zp->zone_zsched->p_pid;
1403 sp->pr_info.si_zoneid = zp->zone_id;
3184 oprgetstatus(kthread_t *t, prstatus_t *sp, zone_t *zp) argument
3238 if (SI_FROMUSER(&lwp->lwp_siginfo) && zp->zone_id != GLOBAL_ZONEID &&
3239 sp->pr_info.si_zoneid != zp->zone_id) {
3240 sp->pr_info.si_pid = zp->zone_zsched->p_pid;
3243 sp->pr_info.si_zoneid = zp
[all...]

Completed in 144 milliseconds

12