Home
last modified time | relevance | path

Searched refs:mnp (Results 1 – 22 of 22) sorted by relevance

/titanic_41/usr/src/uts/common/fs/mntfs/
H A Dmntvnops.c399 mntfs_freesnap(mntnode_t *mnp, mntsnap_t *snapp) in mntfs_freesnap() argument
401 zone_t *zonep = MTOD(mnp)->mnt_zone_ref.zref_zone; in mntfs_freesnap()
408 ASSERT(RW_WRITE_HELD(&mnp->mnt_contents)); in mntfs_freesnap()
500 mntfs_snapshot(mntnode_t *mnp, mntsnap_t *snapp) in mntfs_snapshot() argument
502 mntdata_t *mnd = MTOD(mnp); in mntfs_snapshot()
505 int show_hidden = mnp->mnt_flags & MNT_SHOWHIDDEN; in mntfs_snapshot()
525 ASSERT(RW_WRITE_HELD(&mnp->mnt_contents)); in mntfs_snapshot()
556 mntfs_freesnap(mnp, snapp); in mntfs_snapshot()
865 mntnode_t *mnp = VTOM(vp); in mntclose() local
874 rw_enter(&mnp->mnt_contents, RW_WRITER); in mntclose()
[all …]
H A Dmntvfsops.c115 mntinitrootnode(mntnode_t *mnp) in mntinitrootnode() argument
119 bzero((caddr_t)mnp, sizeof (*mnp)); in mntinitrootnode()
121 mnp->mnt_vnode = vn_alloc(KM_SLEEP); in mntinitrootnode()
123 vp = MTOV(mnp); in mntinitrootnode()
128 vp->v_data = (caddr_t)mnp; in mntinitrootnode()
182 mntnode_t *mnp; in mntmount() local
218 mnp = &mnt->mnt_node; in mntmount()
233 mntinitrootnode(mnp); in mntmount()
234 MTOV(mnp)->v_vfsp = vfsp; in mntmount()
235 mnp->mnt_mountvp = mvp; in mntmount()
[all …]
/titanic_41/usr/src/lib/libinstzones/common/
H A Dzones_lofs.c238 struct mnttab *mnp; in z_resolve_lofs() local
242 mnp = &mountTable[i - 1]; in z_resolve_lofs()
243 if (mnp->mnt_fstype == NULL || in z_resolve_lofs()
244 mnp->mnt_mountp == NULL || in z_resolve_lofs()
245 mnp->mnt_special == NULL) in z_resolve_lofs()
247 len = strlen(mnp->mnt_mountp); in z_resolve_lofs()
248 if (strncmp(mnp->mnt_mountp, path, len) == 0 && in z_resolve_lofs()
256 if (strcmp(mnp->mnt_fstype, MNTTYPE_LOFS) != 0) in z_resolve_lofs()
268 if (mnp->mnt_mntopts != NULL && in z_resolve_lofs()
269 (cp = strstr(mnp->mnt_mntopts, MNTOPT_RO)) != in z_resolve_lofs()
[all …]
/titanic_41/usr/src/lib/libc/port/i18n/
H A Dgettext_real.c876 sun_setmsg(Msg_node *mnp, char *addr, size_t size) in sun_setmsg() argument
887 mnp->type = T_ILL_MO; in sun_setmsg()
890 printmnp(mnp, 1); in sun_setmsg()
916 mnp->type = T_ILL_MO; in sun_setmsg()
919 printmnp(mnp, 1); in sun_setmsg()
938 mnp->msg.sunmsg = p; in sun_setmsg()
939 mnp->type = T_SUN_MO; in sun_setmsg()
942 printmnp(mnp, 1); in sun_setmsg()
960 setmsg(Msg_node *mnp, char *addr, size_t size) in setmsg() argument
963 if ((ret = sun_setmsg(mnp, addr, size)) <= 0) in setmsg()
[all …]
H A Dgettext_util.c170 Msg_node *cur_msg, *mnp; in check_cache() local
192 mnp = gt->m_node; in check_cache()
193 while (mnp) { in check_cache()
197 mnp->hashid, mp->hash_domain); in check_cache()
198 printmnp(mnp, 1); in check_cache()
200 if (mnp->hashid == mp->hash_domain && in check_cache()
201 strcmp(mnp->path, mp->msgfile) == 0) { in check_cache()
205 printmnp(mnp, 1); in check_cache()
207 gt->c_m_node = mnp; in check_cache()
208 return (mnp); in check_cache()
[all …]
H A Dgettext_gnu.c1183 gnu_setmsg(Msg_node *mnp, char *addr, size_t size) in gnu_setmsg() argument
1190 (void *)mnp, addr, size); in gnu_setmsg()
1191 printmnp(mnp, 1); in gnu_setmsg()
1197 mnp->type = T_ILL_MO; in gnu_setmsg()
1200 printmnp(mnp, 1); in gnu_setmsg()
1231 mnp->type = T_ILL_MO; in gnu_setmsg()
1234 printmnp(mnp, 1); in gnu_setmsg()
1269 mnp->msg.gnumsg = p; in gnu_setmsg()
1270 mnp->type = T_GNU_MO; in gnu_setmsg()
1274 printmnp(mnp, 1); in gnu_setmsg()
/titanic_41/usr/src/cmd/sgs/rtld/common/
H A Dcache_a.out.c70 char *mnp; local
91 mnp = mjp = ((char *)file + MSG_FIL_LIB_SIZE + liblen +
93 if (!(stol(mjp, '.', &mnp, &major) && (*mnp == '.') &&
94 rest_ok(mnp + 1)))
96 to_min = mnp - file + 1;
165 char *mnp; /* where minor version begins */ in find_so() local
233 mnp = mjp = (dp->d_name + MSG_FIL_LIB_SIZE + cplen + in find_so()
235 if (!(stol(mjp, '.', &mnp, &m) && (*mnp == '.') && in find_so()
236 rest_ok(mnp + 1))) in find_so()
238 to_min = mnp - dp->d_name + 1; in find_so()
/titanic_41/usr/src/lib/libdtrace/common/
H A Ddt_xlator.c52 dt_node_t *enp, *mnp; in dt_xlator_create_member() local
60 if ((mnp = dt_node_xalloc(dtp, DT_NODE_MEMBER)) == NULL) in dt_xlator_create_member()
63 mnp->dn_link = dxp->dx_nodes; in dt_xlator_create_member()
64 dxp->dx_nodes = mnp; in dt_xlator_create_member()
73 enp->dn_xmember = mnp; in dt_xlator_create_member()
82 enp->dn_link->dn_list = mnp; in dt_xlator_create_member()
84 dxp->dx_members = mnp; in dt_xlator_create_member()
86 mnp->dn_membname = strdup(name); in dt_xlator_create_member()
87 mnp->dn_membexpr = enp; in dt_xlator_create_member()
88 dt_node_type_assign(mnp, dxp->dx_dst_ctfp, type, B_FALSE); in dt_xlator_create_member()
[all …]
H A Ddt_cg.c1008 dt_node_t *mnp, dn, mn; in dt_cg_asgn_op() local
1048 for (mnp = dxp->dx_members; mnp != NULL; mnp = mnp->dn_list) { in dt_cg_asgn_op()
1053 dt_cg_node(mnp->dn_membexpr, dlp, drp); in dt_cg_asgn_op()
1054 mnp->dn_reg = mnp->dn_membexpr->dn_reg; in dt_cg_asgn_op()
1055 dt_cg_typecast(mnp->dn_membexpr, mnp, dlp, drp); in dt_cg_asgn_op()
1063 mnp->dn_membname, &ctm) == CTF_ERR) { in dt_cg_asgn_op()
1089 dt_node_type_propagate(mnp, &dn); in dt_cg_asgn_op()
1090 dn.dn_right->dn_string = mnp->dn_membname; in dt_cg_asgn_op()
1093 dt_cg_store(mnp, dlp, drp, &dn); in dt_cg_asgn_op()
1097 dt_node_type_propagate(mnp, &dn); in dt_cg_asgn_op()
[all …]
H A Ddt_cc.c1637 dt_node_t *mnp; in dt_compile_xlator() local
1639 for (mnp = dnp->dn_members; mnp != NULL; mnp = mnp->dn_list) { in dt_compile_xlator()
1640 assert(dxp->dx_membdif[mnp->dn_membid] == NULL); in dt_compile_xlator()
1641 dt_cg(yypcb, mnp); in dt_compile_xlator()
1642 dxp->dx_membdif[mnp->dn_membid] = dt_as(yypcb); in dt_compile_xlator()
H A Ddt_parser.c4273 dt_node_t *mnp; in dt_cook_xlator() local
4288 for (mnp = dnp->dn_members; mnp != NULL; mnp = mnp->dn_list) { in dt_cook_xlator()
4290 mnp->dn_membname, &ctm) == CTF_ERR) { in dt_cook_xlator()
4293 mnp->dn_membname, ctf_type_name(dxp->dx_dst_ctfp, in dt_cook_xlator()
4297 (void) dt_node_cook(mnp, DT_IDFLG_REF); in dt_cook_xlator()
4298 dt_node_type_assign(mnp, dxp->dx_dst_ctfp, ctm.ctm_type, in dt_cook_xlator()
4300 attr = dt_attr_min(attr, mnp->dn_attr); in dt_cook_xlator()
4302 if (dt_node_is_argcompat(mnp, mnp->dn_membexpr) == 0) { in dt_cook_xlator()
4306 mnp->dn_membname, in dt_cook_xlator()
4307 dt_node_type_name(mnp, n1, sizeof (n1)), in dt_cook_xlator()
[all …]
/titanic_41/usr/src/lib/lvm/libmeta/common/
H A Dmeta_mount.c64 mdname_t *mnp; in meta_get_mountp() local
84 if ((mnp = metaname(&sp, mnt_special, UNKNOWN, ep)) == NULL) { in meta_get_mountp()
89 if (np->dev == mnp->dev) { in meta_get_mountp()
H A Dmeta_check.c302 mdname_t *mnp; in meta_check_mounted() local
322 if ((mnp = metaname(&sp, mnt_special, UNKNOWN, ep)) == NULL) { in meta_check_mounted()
327 if (np->dev == mnp->dev) { in meta_check_mounted()
331 rval = meta_check_overlap(mnp->cname, np, 0, -1, in meta_check_mounted()
332 mnp, 0, -1, ep); in meta_check_mounted()
335 np->cname, mountp, mnp->cname); in meta_check_mounted()
370 mdname_t *mnp; in meta_check_drivemounted() local
389 if ((mnp = metaname(&sp, mnt_special, in meta_check_drivemounted()
394 if (strcmp(dnp->cname, mnp->drivenamep->cname) == 0) { in meta_check_drivemounted()
/titanic_41/usr/src/cmd/zoneadmd/
H A Dvplat.c235 struct mnttab *mnp; in build_mnttable() local
256 mnp = &mnts[nmnt++]; in build_mnttable()
261 (void) memset(mnp, 0, sizeof (*mnp)); in build_mnttable()
264 mnp->mnt_special = strdup(mnt.mnt_special); in build_mnttable()
266 mnp->mnt_mntopts = strdup(mnt.mnt_mntopts); in build_mnttable()
267 mnp->mnt_mountp = strdup(mnt.mnt_mountp); in build_mnttable()
268 mnp->mnt_fstype = strdup(mnt.mnt_fstype); in build_mnttable()
269 if ((mnt.mnt_special != NULL && mnp->mnt_special == NULL) || in build_mnttable()
270 (mnt.mnt_mntopts != NULL && mnp->mnt_mntopts == NULL) || in build_mnttable()
271 mnp->mnt_mountp == NULL || mnp->mnt_fstype == NULL) { in build_mnttable()
[all …]
/titanic_41/usr/src/cmd/man/
H A Dman.c1349 dupcheck(struct man_node *mnp, struct dupnode **dnp) in dupcheck() argument
1359 if (stat(mnp->path, &sb) != 0) in dupcheck()
1363 if (mnp->secv == NULL) in dupcheck()
1385 for (i = 0; mnp->secv[i] != NULL; i++) { in dupcheck()
1391 if ((cursnp->secp = strdup(mnp->secv[i])) == NULL) in dupcheck()
1405 for (i = 0; mnp->secv[i] != NULL; i++) { in dupcheck()
1409 if (strcmp(mnp->secv[i], cursnp->secp) == 0) { in dupcheck()
1415 mnp->secv[i][0] = '\0'; in dupcheck()
1428 if ((cursnp->secp = strdup(mnp->secv[i])) == NULL) in dupcheck()
/titanic_41/usr/src/lib/libdevinfo/
H A Ddevinfo_retire.c425 char *mnp; in call_offline() local
429 mnp = di_devfs_minor_path(minor); in call_offline()
430 if (mnp == NULL) { in call_offline()
441 di_devfs_path_free(mnp); in call_offline()
447 "/devices%s", mnp); in call_offline()
449 di_devfs_path_free(mnp); in call_offline()
H A Ddevinfo_devlink.h309 cache_minor_t *mnp, const char *path, const char *content, uint32_t attr);
332 static void count_minor(cache_minor_t *mnp, uint32_t *count);
/titanic_41/usr/src/tools/ctf/stabs/common/
H A Dgenassym.c146 ga_parse_member(char *line, char **mnp, char **offp) in ga_parse_member() argument
148 return (ga_parse_common(line, 1, 2, mnp, offp, NULL)); in ga_parse_member()
/titanic_41/usr/src/uts/common/io/ppp/spppcomp/
H A Dbsd-comp.c576 mblk_t **mnp; in bsd_compress() local
679 mnp = &mret; in bsd_compress()
684 *mnp = m; in bsd_compress()
686 if (mnp == &mret) in bsd_compress()
692 mnp = &m->b_cont; in bsd_compress()
696 *mnp = NULL; in bsd_compress()
/titanic_41/usr/src/uts/i86pc/io/xsvc/
H A Dxsvc.c765 xsvc_mnode_t *mnp; in xsvc_mem_lookup() local
771 mnp = avl_find(&state->xs_mlist.ml_avl, &mnode, &where); in xsvc_mem_lookup()
774 if (mnp != NULL) { in xsvc_mem_lookup()
775 mp = mnp->mn_home; in xsvc_mem_lookup()
/titanic_41/usr/src/uts/common/os/
H A Dstreamio.c1883 char *modnames, *mnp, *dname; in log_dupioc() local
1893 mnp = modnames = kmem_alloc(maxmodstr, KM_NOSLEEP); in log_dupioc()
1915 mnp += snprintf(mnp, FMNAMESZ + 1, "%s", dname); in log_dupioc()
1917 *mnp++ = ' '; in log_dupioc()
H A Dstrsubr.c1629 struct mux_node *mnp; in findlinks() local
1644 mnp = &ss->ss_mux_nodes[getmajor(stp->sd_vnode->v_rdev)]; in findlinks()
1645 mep = mnp->mn_outp; in findlinks()