Lines Matching +defs:val +defs:items
2096 * causes all items marked as requiring change in actions and old_actions
2118 /* modify items marked for modification */
2125 /* delete items marked for deletion */
2687 * any permamanent items that were marked for modify
2793 /* re-add items that were deleted */
2800 /* change modified items back how they were */
2807 /* remove new items that were added */
3109 * print to fp the enumeration clause evaluating to the value val using the
3115 uint32_t val,
3122 /* for each value in enum_nvs if same bit set in val print name */
3125 if ((name_val->sv.value & val) == name_val->sv.value) {
3346 uint32_t val;
3348 (void) nvpair_value_uint32(nvp, &val);
3351 * print list of tokens resulting in val
3354 printenum(fp, val, enum_nvs);
4089 * add an entry with string string and value val to sv_entrys.
4096 uint32_t val)
4101 IPQOSCDBG2(L1, "In add_str_val_entry: string: %s, val: %u\n", string,
4102 val);
4121 sv_entry->sv.value = val;
4153 * val.
4160 uint32_t *val)
4182 *val = sv->sv.value;
4184 IPQOSCDBG1(L1, "svll: Value returned is %u\n", *val);
4919 uint32_t val;
4987 ret = sscanf(++start, "%x%n", &val, &readc);
4996 ret = add_str_val_entry(&enum_vals, name, val);
5246 uint32_t *val)
5258 /* init param val */
5259 *val = 0;
5264 ret = str_val_list_lookup(enum_vals, first_token, val);
5335 /* get name value and add to total val */
5346 *val = *val | u32;
5389 IPQOSCDBG1(L1, "value returned is: %u\n", *val);
5397 * with *nitems getting set to number of items read. perm_filters is set
5415 char **items = NULL;
5443 * read the name, extend the items string array
5461 /* extend items array to accomodate new item */
5463 tmp = realloc(items, (cnt + 1) * sizeof (char *));
5468 items = tmp;
5473 items[cnt] = malloc(strlen(name) + 1);
5474 if (items[cnt] == NULL) {
5479 (void) strcpy(items[cnt], name);
5483 IPQOSCDBG1(L1, "stored %s in perm items array\n",
5488 *perm_items = items;
5494 free(items[cnt]);
5495 free(items);
6000 uint32_t val;
6002 res = read_enum_value(cfp, valst, enum_nvs, &val);
6004 res = nvlist_add_uint32(*nvlp, name, val);