/illumos-gate/usr/src/common/mdesc/ |
H A D | mdesc_findname.c | 42 md_find_name(md_t *ptr, char *namep) argument 58 p = &(mdp->namep[idx]); 62 if (strcmp(p, namep) == 0)
|
H A D | mdesc_getpropdata.c | 34 md_get_prop_data(md_t *ptr, mde_cookie_t node, char *namep, argument 47 prop_name = md_find_name(ptr, namep);
|
H A D | mdesc_getpropstr.c | 34 md_get_prop_str(md_t *ptr, mde_cookie_t node, char *namep, char **strp) argument 46 prop_name = md_find_name(ptr, namep);
|
H A D | mdesc_getpropval.c | 41 md_get_prop_val(md_t *ptr, mde_cookie_t node, char *namep, uint64_t *valp) argument 53 prop_name = md_find_name(ptr, namep);
|
H A D | mdesc_getproparcs.c | 55 md_get_prop_arcs(md_t *ptr, mde_cookie_t node, char *namep, mde_cookie_t *arcp, argument 68 prop_name = md_find_name(ptr, namep);
|
/illumos-gate/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_attach.c | 41 mdname_t *namep, 51 assert(sp->setno == MD_MIN2SET(meta_getminor(namep->dev))); 54 if ((miscname = metagetmiscname(namep, ep)) == NULL) 64 mgp.mnum = meta_getminor(namep->dev); 66 if (metaioctl(MD_IOCGROW, &mgp, &mgp.mde, namep->cname) != 0) 70 meta_invalidate_name(namep); 39 meta_concat_generic( mdsetname_t *sp, mdname_t *namep, u_longlong_t big_or_little, md_error_t *ep ) argument
|
H A D | meta_mirror_resync.c | 44 mdname_t *namep; /* mirror name */ member in struct:mm_unit_list 159 if ((mirrorp = meta_get_mirror(sp, p->namep, ep)) == NULL) { 166 lp->namep = p->namep; 265 if (meta_mn_send_setsync(sp, lp->namep, 273 if (meta_mirror_resync(sp, lp->namep, size, ep, 306 ri.ri_mnum = meta_getminor(lp->namep->dev); 309 lp->namep->cname) != 0) { 450 if (meta_mirror_resync(sp, lp->namep, 0, &mde, 482 ri.ri_mnum = meta_getminor(lp->namep [all...] |
H A D | meta_print.c | 49 mdname_t *namep, 64 if ((miscname = metagetmiscname(namep, ep)) == NULL) 69 return (meta_trans_print(sp, namep, nlpp, fname, fp, 73 return (meta_mirror_print(sp, namep, nlpp, fname, fp, 77 return (meta_raid_print(sp, namep, nlpp, fname, fp, 81 return (meta_stripe_print(sp, namep, nlpp, fname, fp, 85 return (meta_sp_print(sp, namep, nlpp, fname, fp, 90 return (mdmderror(ep, MDE_UNKNOWN_TYPE, meta_getminor(namep->dev), 91 namep->cname)); 47 meta_print_name( mdsetname_t *sp, mdname_t *namep, mdnamelist_t **nlpp, char *fname, FILE *fp, mdprtopts_t options, mdnamelist_t **lognlpp, md_error_t *ep ) argument
|
H A D | meta_getdevs.c | 115 mdname_t *namep, 131 if (namep == NULL) 135 if (! metaismeta(namep)) { 143 if (strcmp(namep->bname, p->namep->bname) == 0) { 150 (void) metanamelist_append(nlpp, namep); 156 if ((miscname = metagetmiscname(namep, ep)) == NULL) 162 mgd.mnum = meta_getminor(namep->dev); 165 if (metaioctl(MD_IOCGET_DEVS, &mgd, &mgd.mde, namep->cname) != 0) { 184 if (metaioctl(MD_IOCGET_DEVS, &mgd, &mgd.mde, namep 113 meta_getdevs( mdsetname_t *sp, mdname_t *namep, mdnamelist_t **nlpp, md_error_t *ep ) argument 642 meta_fix_compnames( mdsetname_t *sp, mdname_t *namep, md_dev64_t dev, md_error_t *ep ) argument [all...] |
/illumos-gate/usr/src/cmd/lvm/util/ |
H A D | metarecover.c | 65 mdname_t *namep; local 142 if ((namep = metaname(&sp, devname, UNKNOWN, ep)) == NULL) { 148 if ((metagetsize(namep, ep) == MD_DISKADDR_ERROR)) { 165 if (!metaismeta(namep)) { 166 if (! meta_is_drive_in_thisset(sp, namep->drivenamep, 169 namep->dev, namep->cname); 178 error = meta_recover_sp(sp, namep, --argc, ++argv, options, ep);
|
H A D | metareplace.c | 66 mdname_t *namep; local 162 if (((namep = metaname(&sp, uname, META_DEVICE, ep)) == NULL)) { 167 if (metachkmeta(namep, ep) != 0) { 189 if ((miscname = metagetmiscname(namep, ep)) == NULL) { 226 if ((result = meta_mn_send_resync_starting(namep, ep)) 257 if (meta_enable_byname(sp, namep, compnp, options, ep) 277 if (meta_replace_byname(sp, namep, oldnp, newnp,
|
/illumos-gate/usr/src/cmd/sendmail/db/log/ |
H A D | log_register.c | 44 void *namep; local 48 fnp = namep = reuse_fnp = NULL; 100 if ((ret = __db_shalloc(dblp->addr, len, 0, &namep)) != 0) 102 fnp->name_off = R_OFFSET(dblp, namep); 103 memcpy(namep, name, len); 131 if (namep != NULL) 132 __db_shalloc_free(dblp->addr, namep);
|
/illumos-gate/usr/src/cmd/lvm/rpc.metad/ |
H A D | metad_init.c | 145 char **namep; local 156 for (namep = grp->gr_mem; ((*namep != NULL) && (**namep != '\0')); 157 ++namep) { 158 if (strcmp(*namep, pwp->pw_name) == 0)
|
/illumos-gate/usr/src/cmd/mdb/sun4v/modules/mdesc/ |
H A D | mdesc.c | 85 char *namep; local 125 if ((namep = mdb_alloc(namesize, UM_NOSLEEP)) == NULL) { 132 mdb_free(namep, namesize); 142 mdb_free(namep, namesize); 146 if (mdb_vread(namep, namesize, vaddr + MD_HEADER_SIZE + mdesize) 151 mdb_free(namep, namesize); 160 mdb_free(namep, namesize); 171 MDE_NAME(mdeptr), namep + mdeptr->name_offset, 176 MDE_NAME(mdeptr), namep + mdeptr->name_offset, 181 MDE_NAME(mdeptr), namep 237 uintptr_t mdp, mdep, namep, datap; local [all...] |
/illumos-gate/usr/src/uts/sun4v/sys/ |
H A D | mdeg.h | 47 char *namep; member in struct:__anon10353 64 char *namep; member in struct:__anon10355 75 char *namep; member in struct:__anon10356
|
/illumos-gate/usr/src/lib/lvm/libpreen/common/ |
H A D | mdpreen.c | 144 mdname_t *namep; /* metadevice name */ local 222 if ((namep = metaname(&sp, uname, UNKNOWN, ep)) == NULL) { 227 if (namep->dev == NODEV64) { 231 if (meta_getdevs(sp, namep, &nlp, ep) != 0) { 243 mdname_t *devnp = p->namep;
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | stdhosts.c | 238 char *namep; /* First character of a name */ local 286 namep = p; 290 namelen = p - namep; 307 memcpy(tmpbufp, namep, namelen+1); /* Plus the '\0' */
|
/illumos-gate/usr/src/cmd/lvm/rpc.metamedd/ |
H A D | med_init.c | 266 char **namep; local 277 for (namep = grp->gr_mem; ((*namep != NULL) && (**namep != '\0')); 278 ++namep) { 279 if (strcmp(*namep, pwp->pw_name) == 0)
|
/illumos-gate/usr/src/cmd/lvm/rpc.metamhd/ |
H A D | mhd_init.c | 260 char **namep; local 271 for (namep = grp->gr_mem; ((*namep != NULL) && (**namep != '\0')); 272 ++namep) { 273 if (strcmp(*namep, pwp->pw_name) == 0)
|
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/ |
H A D | ipath.c | 227 struct node *namep; local 239 namep = np; 240 while (namep != NULL) { 241 ASSERTinfo(namep->t == T_NAME, ptree_nodetype2str(namep->t)); 243 namep = namep->u.name.next; 253 namep = np; 255 while (namep != NULL) { 257 ret[i].s = namep [all...] |
/illumos-gate/usr/src/uts/common/sys/ |
H A D | mdesc.h | 112 char *namep; /* property name */ member in struct:__anon8153 155 extern mde_str_cookie_t md_find_name(md_t *, char *namep);
|
/illumos-gate/usr/src/lib/libkstat/common/ |
H A D | kstat.c | 321 char *namep, *datap; local 327 namep = KSTAT_NAMED_PTR(ksp)->name; 332 namep = KSTAT_TIMER_PTR(ksp)->name; 342 if (strcmp(name, namep) == 0) 344 namep += size;
|
/illumos-gate/usr/src/cmd/ndmpd/ndmp/ |
H A D | ndmpd_chkpnt.c | 294 char *namep; local 305 namep = volname; 309 namep = snapname; 315 snapshot_release(volname, namep, jname, recursive) != 0) { 318 namep, errno, libzfs_error_description(zlibh)); 323 if ((zhp = zfs_open(zlibh, namep, ztype)) == NULL) { 325 namep); 338 namep,
|
/illumos-gate/usr/src/lib/lvm/libsvm/common/ |
H A D | metainterfaces.c | 331 mdname_t *namep; local 348 if (((namep = metaname(&sp, uname, META_DEVICE, ep)) == NULL) || 349 (metachkmeta(namep, ep) != 0)) { 356 debug_printf("get_mdcomponents(): meta_getdevs %s\n", namep->cname); 358 if ((meta_getdevs(sp, namep, &nlp, ep)) < 0) { 387 mdname_t *devnp = p->namep;
|
/illumos-gate/usr/src/lib/libdiskmgt/common/ |
H A D | inuse_vxvm.c | 59 static int (*vxdl_libvxvm_get_dgs)(int len, vm_name_t namep[]); 301 vm_name_t *namep; local 326 namep = (vm_name_t *)calloc(MAX_DISK_GROUPS, nsize); 327 if (namep == NULL) { 335 free(namep); 339 n_disk_groups = (vxdl_libvxvm_get_dgs)(MAX_DISK_GROUPS, namep); 342 free(namep); 347 pnp = (char *)namep; 372 free(namep); 379 free(namep); [all...] |