Searched defs:zp (Results 1 - 25 of 43) 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;
385 if ((zp = tmzone(s, &u, u, &m)))
388 set.zone = zp->west + m;
389 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_sa.c74 zfs_sa_readlink(znode_t *zp, 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(zp->z_zfsvfs->z_os, zp->z_id,
98 zfs_sa_symlink(znode_t *zp, char *link, int len, dmu_tx_t *tx) argument
100 dmu_buf_t *db = sa_get_db(zp->z_sa_hdl);
111 zfs_grow_blocksize(zp, len, tx);
112 VERIFY(0 == dmu_buf_hold(zp->z_zfsvfs->z_os,
113 zp
124 zfs_sa_get_scanstamp(znode_t *zp, xvattr_t *xvap) argument
158 zfs_sa_set_scanstamp(znode_t *zp, xvattr_t *xvap, dmu_tx_t *tx) argument
200 znode_t *zp = sa_get_userdata(hdl); local
329 zfs_sa_upgrade_txholds(dmu_tx_t *tx, znode_t *zp) argument
[all...]
H A Dzfs_dir.c401 znode_t *zp; local
425 error = zfs_zget(zfsvfs, parent, &zp);
427 *vpp = ZTOV(zp);
438 error = zfs_dirent_lock(&dl, dzp, name, &zp, zf, deflg, rpnp);
440 *vpp = ZTOV(zp);
468 zfs_unlinked_add(znode_t *zp, dmu_tx_t *tx) argument
470 zfsvfs_t *zfsvfs = zp->z_zfsvfs;
472 ASSERT(zp->z_unlinked);
473 ASSERT(zp->z_links == 0);
476 zap_add_int(zfsvfs->z_os, zfsvfs->z_unlinkedobj, zp
489 znode_t *zp; local
600 zfs_rmnode(znode_t *zp) argument
711 zfs_dirent(znode_t *zp, uint64_t mode) argument
724 zfs_link_create(zfs_dirlock_t *dl, znode_t *zp, dmu_tx_t *tx, int flag) argument
817 zfs_dropname(zfs_dirlock_t *dl, znode_t *zp, znode_t *dzp, dmu_tx_t *tx, int flag) argument
850 zfs_link_destroy(zfs_dirlock_t *dl, znode_t *zp, dmu_tx_t *tx, int flag, boolean_t *unlinkedp) argument
965 zfs_make_xattrdir(znode_t *zp, vattr_t *vap, vnode_t **xvpp, cred_t *cr) argument
1041 zfs_get_xattrdir(znode_t *zp, vnode_t **xvpp, cred_t *cr, int flags) argument
1110 zfs_sticky_remove_access(znode_t *zdp, znode_t *zp, cred_t *cr) argument
[all...]
H A Dzfs_log.c248 znode_t *dzp, znode_t *zp, char *name, vsecattr_t *vsecp,
294 lr->lr_foid = zp->z_id;
296 LR_FOID_SET_SLOTS(lr->lr_foid, zp->z_dnodesize >> DNODE_SHIFT);
297 lr->lr_mode = zp->z_mode;
298 if (!IS_EPHEMERAL(zp->z_uid)) {
299 lr->lr_uid = (uint64_t)zp->z_uid;
303 if (!IS_EPHEMERAL(zp->z_gid)) {
304 lr->lr_gid = (uint64_t)zp->z_gid;
308 (void) sa_lookup(zp->z_sa_hdl, SA_ZPL_GEN(zp
247 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
385 zfs_log_link(zilog_t *zilog, dmu_tx_t *tx, uint64_t txtype, znode_t *dzp, znode_t *zp, char *name) argument
408 zfs_log_symlink(zilog_t *zilog, dmu_tx_t *tx, uint64_t txtype, znode_t *dzp, znode_t *zp, char *name, char *link) argument
468 zfs_log_write(zilog_t *zilog, dmu_tx_t *tx, int txtype, znode_t *zp, offset_t off, ssize_t resid, int ioflag) argument
538 zfs_log_truncate(zilog_t *zilog, dmu_tx_t *tx, int txtype, znode_t *zp, uint64_t off, uint64_t len) argument
561 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
623 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_replay.c597 znode_t *dzp, *zp; local
607 if ((error = zfs_zget(zfsvfs, lr->lr_link_obj, &zp)) != 0) {
615 error = VOP_LINK(ZTOV(dzp), ZTOV(zp), name, kcred, NULL, vflg);
617 VN_RELE(ZTOV(zp));
663 znode_t *zp; local
671 if ((error = zfs_zget(zfsvfs, lr->lr_foid, &zp)) != 0) {
706 if (zp->z_size < eod)
710 error = vn_rdwr(UIO_WRITE, ZTOV(zp), data, length, offset,
713 VN_RELE(ZTOV(zp));
730 znode_t *zp; local
777 znode_t *zp; local
806 znode_t *zp; local
862 znode_t *zp; local
908 znode_t *zp; local
[all...]
H A Dzfs_fuid.c385 zfs_fuid_map_ids(znode_t *zp, cred_t *cr, uid_t *uidp, uid_t *gidp) argument
387 *uidp = zfs_fuid_map_id(zp->z_zfsvfs, zp->z_uid, cr, ZFS_OWNER);
388 *gidp = zfs_fuid_map_id(zp->z_zfsvfs, zp->z_gid, cr, ZFS_GROUP);
H A Dzfs_ctldir.c268 zfsctl_root(znode_t *zp) argument
270 ASSERT(zfs_has_ctldir(zp));
271 VN_HOLD(zp->z_zfsvfs->z_ctldir);
272 return (zp->z_zfsvfs->z_ctldir);
H A Dzap.c113 zap_phys_t *zp = zap_f_phys(zap); local
119 zp->zap_block_type = ZBT_HEADER;
120 zp->zap_magic = ZAP_MAGIC;
122 zp->zap_ptrtbl.zt_shift = ZAP_EMBEDDED_PTRTBL_SHIFT(zap);
124 zp->zap_freeblk = 2; /* block 1 will be the first leaf */
125 zp->zap_num_leafs = 1;
126 zp->zap_num_entries = 0;
127 zp->zap_salt = zap->zap_salt;
128 zp->zap_normflags = zap->zap_normflags;
129 zp
[all...]
H A Dzap_micro.c671 mzap_phys_t *zp = db->db_data; local
672 zp->mz_block_type = ZBT_MICRO;
673 (void) random_get_pseudo_bytes((void *)&zp->mz_salt, sizeof (uint64_t));
674 zp->mz_normflags = normflags;
/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.c574 struct zone *zp; local
584 zp = curproc->p_zone;
586 zp = tm->tm_vfsp->vfs_zone;
588 if (zp == NULL)
591 eff_zid = zp->zone_id;
622 zp->zone_max_swap_ctl != UINT64_MAX) {
630 mutex_enter(&zp->zone_mem_lock);
631 cap = zp->zone_max_swap_ctl;
632 used = zp->zone_max_swap;
633 mutex_exit(&zp
[all...]
/illumos-gate/usr/src/uts/common/vm/
H A Dvm_swap.c462 struct zone *zp = curproc->p_zone; local
499 if (!global && zp->zone_max_swap_ctl != UINT64_MAX) {
559 mutex_enter(&zp->zone_mem_lock);
560 cap = zp->zone_max_swap_ctl;
561 used = zp->zone_max_swap;
562 mutex_exit(&zp->zone_mem_lock);
610 if (zp->zone_max_swap_ctl != UINT64_MAX) {
613 mutex_enter(&zp->zone_mem_lock);
614 cap = zp->zone_max_swap_ctl;
615 used = zp
810 struct zone *zp = curproc->p_zone; local
[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/fs/proc/
H A Dprioctl.c1332 oprgetstatus32(kthread_t *t, prstatus32_t *sp, zone_t *zp) argument
1387 if (SI_FROMUSER(&lwp->lwp_siginfo) && zp->zone_id != GLOBAL_ZONEID &&
1388 sp->pr_info.si_zoneid != zp->zone_id) {
1389 sp->pr_info.si_pid = zp->zone_zsched->p_pid;
1392 sp->pr_info.si_zoneid = zp->zone_id;
3173 oprgetstatus(kthread_t *t, prstatus_t *sp, zone_t *zp) argument
3227 if (SI_FROMUSER(&lwp->lwp_siginfo) && zp->zone_id != GLOBAL_ZONEID &&
3228 sp->pr_info.si_zoneid != zp->zone_id) {
3229 sp->pr_info.si_pid = zp->zone_zsched->p_pid;
3232 sp->pr_info.si_zoneid = zp
[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...]

Completed in 314 milliseconds

12