Home
last modified time | relevance | path

Searched refs:tabp (Results 1 – 6 of 6) sorted by relevance

/titanic_41/usr/src/lib/lvm/libmeta/common/
H A Dmeta_tab.c45 md_tab_t *tabp in meta_tab_free() argument
50 Free(tabp->filename); in meta_tab_free()
51 Free(tabp->data); in meta_tab_free()
52 if (tabp->lines != NULL) { in meta_tab_free()
53 assert(tabp->alloc > 0); in meta_tab_free()
54 for (line = 0; (line < tabp->nlines); ++line) { in meta_tab_free()
55 md_tab_line_t *linep = &tabp->lines[line]; in meta_tab_free()
66 Free(tabp->lines); in meta_tab_free()
68 Free(tabp); in meta_tab_free()
107 md_tab_t *tabp, in realloc_lines() argument
[all …]
/titanic_41/usr/src/cmd/lvm/util/
H A Dmetainit.c115 md_tab_t *tabp, in init_entries() argument
128 for (line = 0; (line < tabp->nlines); ++line) { in init_entries()
129 md_tab_line_t *linep = &tabp->lines[line]; in init_entries()
195 md_tab_t *tabp = NULL; in init_all() local
226 if ((tabp = meta_tab_parse(NULL, ep)) == NULL) { in init_all()
233 for (more = 0; (more < tabp->nlines); ++more) { in init_all()
234 md_tab_line_t *linep = &tabp->lines[more]; in init_all()
265 done = init_entries(spp, tabp, options, in init_all()
270 if (init_entries(spp, tabp, options, MD_RETRY_BUSY, in init_all()
277 meta_tab_free(tabp); in init_all()
[all …]
H A Dmetadb.c94 md_tab_t *tabp = NULL; in get_dbnames_fromfile() local
103 if ((tabp = meta_tab_parse(NULL, ep)) == NULL) { in get_dbnames_fromfile()
110 if ((linep = meta_tab_find(sp, tabp, tabname, TAB_MDDB)) == NULL) { in get_dbnames_fromfile()
158 if (tabp != NULL) in get_dbnames_fromfile()
159 meta_tab_free(tabp); in get_dbnames_fromfile()
/titanic_41/usr/src/cmd/zoneadm/
H A Dzfs.c1286 mnttab_destroy(struct mnttab *tabp) in mnttab_destroy() argument
1288 assert(tabp != NULL); in mnttab_destroy()
1290 free(tabp->mnt_mountp); in mnttab_destroy()
1291 free(tabp->mnt_special); in mnttab_destroy()
1292 free(tabp->mnt_fstype); in mnttab_destroy()
1293 free(tabp->mnt_mntopts); in mnttab_destroy()
1294 free(tabp); in mnttab_destroy()
/titanic_41/usr/src/uts/common/fs/mntfs/
H A Dmntvnops.c249 struct extmnttab *tabp = &elemp->mnte_tab; in mntfs_populate_text() local
255 tabp->mnt_special = 0; in mntfs_populate_text()
273 tabp->mnt_mountp = (char *)(cp - elemp->mnte_text); in mntfs_populate_text()
285 tabp->mnt_fstype = (char *)(cp - elemp->mnte_text); in mntfs_populate_text()
289 tabp->mnt_mntopts = (char *)(cp - elemp->mnte_text); in mntfs_populate_text()
293 tabp->mnt_time = (char *)(cp - elemp->mnte_text); in mntfs_populate_text()
297 tabp->mnt_major = getmajor(vfsp->vfs_dev); in mntfs_populate_text()
298 tabp->mnt_minor = getminor(vfsp->vfs_dev); in mntfs_populate_text()
/titanic_41/usr/src/head/
H A Dmeta.h1717 extern void meta_tab_dump(md_tab_t *tabp, FILE *fp);
1718 extern void meta_tab_free(md_tab_t *tabp);
1720 extern md_tab_line_t *meta_tab_find(mdsetname_t *sp, md_tab_t *tabp,