/osnet-11/usr/src/lib/libnetcfg/common/ |
H A D | libnetcfg.c | 198 netcfg_read_lists_from_door_arg(netcfgd_door_arg_t *arg, nvlist_t **idlist, argument 208 if ((nverr = nvlist_unpack((char *)idptr, arg->nda_idlen, idlist, 0)) 292 netcfg_door_call(netcfgd_door_cmd_t cmd, nvlist_t **idlist, uint64_t flags, argument 303 nverr = nvlist_pack(*idlist, &idnvlbuf, &idnvlsize, NV_ENCODE_XDR, 0); 365 nvlist_free(*idlist); 366 *idlist = NULL; 367 err = netcfg_read_lists_from_door_arg(rargp, idlist, obj); 379 * Read object specified by the passed-in idlist, retrieving an object 382 * If idlist is NULL, obj is a list of string arrays consisting of the list 386 * in idlist, rea 393 netcfg_read_object(nvlist_t **idlist, uint64_t flags, nvlist_t **obj) argument 404 netcfg_update_object(nvlist_t **idlist, uint64_t flags, nvlist_t **obj) argument 429 netcfg_remove_object(nvlist_t **idlist, uint64_t flags) argument 441 netcfg_get_object_props(nvlist_t **idlist, uint64_t flags, nvlist_t **objlist) argument 460 netcfg_walk_db(nvlist_t **idlist, uint64_t flags, netcfg_walkcb_t *cb, void *arg, netcfg_selectcb_t *selcb, netcfg_freecb_t *freecb, int *retp) argument 544 netcfg_walk_db_raw(nvlist_t **idlist, uint64_t flags, netcfg_rawcb_t cb, void *arg) argument 609 netcfg_create_db(nvlist_t **idlist, uint64_t flags, nvlist_t **dblist) argument 619 netcfg_destroy_db(nvlist_t **idlist) argument 626 netcfg_backup_db(nvlist_t **idlist) argument 633 netcfg_restore_db(nvlist_t **idlist) argument 640 netcfg_destroy_backup_db(nvlist_t **idlist) argument [all...] |
H A D | libnetcfg_files.c | 553 * Parse the given line into idlist and an nvlist of properties. 573 /* parse the object idlist */ 602 * Convert the passed-in idlist into an idstring of the form 610 netcfg_idl2idstr(nvlist_t *idlist, char **idstrp) argument 622 while ((nvp = nvlist_next_nvpair(idlist, nvp)) != NULL) { 641 * Create duplicate nvlist from the NETCFG_OBJECT_PROPS nvlist in the idlist 645 netcfg_idl2proplist(nvlist_t *idlist, nvlist_t **proplist) argument 650 if ((nverr = nvlist_lookup_nvlist(idlist, NETCFG_OBJECT_PROPS, &nvl)) 659 * Read object specified by idlist from file, converting it to an object 660 * list. The input idlist mus 676 netcfg_read_object_from_file(nvlist_t *idlist, uint64_t flags, nvlist_t **nvl) argument 1099 netcfg_update_object_in_file(nvlist_t *idlist, uint64_t flags, nvlist_t *nvl, boolean_t rename) argument 1317 netcfg_remove_object_from_file(nvlist_t *idlist, uint64_t flags) argument 1358 netcfg_read_props_from_file(nvlist_t *idlist, uint64_t flags, nvlist_t *plist) argument 1391 netcfg_create_db_file(nvlist_t *idlist, uint64_t flags, nvlist_t *dblist) argument 1407 netcfg_destroy_db_file_common(const char *dbname, nvlist_t *idlist) argument 1432 netcfg_destroy_db_file(nvlist_t *idlist) argument 1457 netcfg_destroy_backup_db_file(nvlist_t *idlist) argument 1475 netcfg_restore_db_file(nvlist_t *idlist) argument 1508 netcfg_backup_db_file(nvlist_t *idlist) argument 1570 netcfg_init_idlist(nvlist_t **idlist, const char *dbname) argument 1597 netcfg_add_idlist(nvlist_t *idlist, const char *name, const char *value) argument [all...] |
/osnet-11/usr/src/lib/libnwam/common/ |
H A D | libnwam_object.c | 75 * Interface NCUs will have "_ifname" in the idlist instead of "name". 76 * Link NCUs will have "linkname" in the idlist instead of "name". If 103 nvlist_t *idlist; local 113 if ((nerr = netcfg_init_idlist(&idlist, dbname)) != NETCFG_SUCCESS) 130 if ((nerr = netcfg_add_idlist(idlist, keyname, (*hpp)->nwh_name)) 132 nvlist_free(idlist); 136 if ((nerr = netcfg_read_object(&idlist, flags, &(*hpp)->nwh_data)) 138 nvlist_free(idlist); 146 * the handle with the name value from the returned idlist. 148 if (nvlist_lookup_string(idlist, keynam 234 nvlist_t *idlist; local 343 nvlist_t *idlist; local 428 nvlist_t *idlist = NULL; local [all...] |
/osnet-11/usr/src/cmd/perl/contrib/Sun/Solaris/Exacct/Catalog/ |
H A D | Catalog.pm | 54 my ($class, $cat_pfx, $cat_id, $export, %idlist) = @_; 68 while (my ($n, $v) = each(%idlist)) { 87 while (my ($n, $v) = each(%idlist)) {
|
/osnet-11/usr/src/lib/libdladm/common/ |
H A D | libdlstat.c | 1312 dladm_sort_index_list(uint_t *idlist, uint_t size) argument 1316 if (idlist == NULL) 1320 int key = idlist[j]; 1321 for (i = j - 1; (i >= 0) && (idlist[i] > key); i--) 1322 idlist[i + 1] = idlist[i]; 1323 idlist[i + 1] = key; 1425 uint_t *idlist = NULL; local 1439 if ((idlist = calloc(1, nrings * sizeof (uint_t))) == NULL) 1442 idlist[ 1464 i_dlstat_query_stats(const char *modname, const char *prefix, uint_t *idlist, uint_t idlist_size, void * (*fn)(kstat_ctl_t *, kstat_t *, int)) argument [all...] |
/osnet-11/usr/src/lib/libipadm/common/ |
H A D | ipadm_if.c | 2972 nvlist_t *idlist = NULL, *plist = NULL; local 2983 /* create an idlist with the dbname and profile */ 2984 if (netcfg_init_idlist(&idlist, NWAM_NCP_CONF_FILE) != NETCFG_SUCCESS) 2986 if (netcfg_add_idlist(idlist, "name", profile) != NETCFG_SUCCESS) { 2987 nvlist_free(idlist); 2998 if (netcfg_get_object_props(&idlist, 0, &plist) != NETCFG_SUCCESS || 3005 nvlist_free(idlist);
|