Searched refs:items (Results 1 - 25 of 258) sorted by path

1234567891011

/linux-master/drivers/scsi/ibmvscsi_tgt/
H A Dlibsrp.c33 q->items = kcalloc(max, sizeof(struct iu_entry), GFP_KERNEL);
34 if (!q->items)
40 for (i = 0, iue = q->items; i < max; i++) {
54 kfree(q->items);
H A Dlibsrp.h78 void *items; member in struct:srp_queue
/linux-master/lib/
H A Dtest_parman.c50 * of items for testing
82 struct test_parman_item items[TEST_PARMAN_ITEM_COUNT]; member in struct:test_parman
193 struct test_parman_item *item = &test_parman->items[i];
207 struct test_parman_item *item = &test_parman->items[i];
275 struct test_parman_item *item = &test_parman->items[item_index];
344 pr_err("Number of used items in array does not match (%u != %u)\n",
/linux-master/sound/pci/lola/
H A Dlola_proc.c59 unsigned short items[4]; local
64 items[0] = val & 0xfff;
65 items[1] = (val >> 16) & 0xfff;
66 items[2] = res_ex & 0xfff;
67 items[3] = (res_ex >> 16) & 0xfff;
69 unsigned char type = items[j] >> 8;
70 unsigned int freq = items[j] & 0xff;
/linux-master/tools/perf/scripts/python/
H A Devent_analyzing_sample.py192 print (' '.join(['%s=%s'%(k,str(v))for k,v in sorted(event_fields_dict.items())]))
H A Dfailed-syscalls-by-pid.py78 for ret, val in sorted(syscalls[comm][pid][id].items(), key = lambda kv: (kv[1], kv[0]), reverse = True):
H A Dsctop.py81 for id, val in sorted(syscalls.items(),
H A Dsyscall-counts-by-pid.py73 for id, val in sorted(syscalls[comm][pid].items(),
H A Dsyscall-counts.py63 for id, val in sorted(syscalls.items(),
/linux-master/tools/testing/radix-tree/
H A Dtag_check.c134 struct item *items[BATCH]; local
139 while ((nr_found = radix_tree_gang_lookup_tag(tree, (void **)items,
144 struct item *item = items[i];
153 index = items[nr_found - 1]->index + 1;
311 struct item *items[BATCH]; local
318 ret = radix_tree_gang_lookup_tag(&tree, (void **)items, 0, BATCH, 0);
320 ret = radix_tree_gang_lookup_tag(&tree, (void **)items, 1, BATCH, 0);
326 ret = radix_tree_gang_lookup_tag(&tree, (void **)items, 0, BATCH, 1);
329 ret = radix_tree_gang_lookup_tag(&tree, (void **)items, 0, BATCH, 0);
H A Dtest.c114 * Scan only the passed (start, start+nr] for present items
120 struct item *items[chunk]; local
131 nfound = radix_tree_gang_lookup(root, (void **)items,
135 assert(items[i]->index == start + into + i);
141 * Scan the entire tree, only expecting present items (start, start+nr]
146 struct item *items[chunk]; local
154 while ((nfound = radix_tree_gang_lookup(root, (void **)items, into,
158 assert(items[i]->index == this_index);
162 // items[0]->index, items[nfoun
[all...]
/linux-master/tools/testing/selftests/tc-testing/
H A Dtdc_helper.py19 """ For a list, return a list of the unique items in the list. """
57 def print_sll(items):
58 print("\n".join(str(s) for s in items))
/linux-master/Documentation/sphinx/
H A Dkfigure.py612 for k,v in self.options.items():
635 for name, explicit in doctree.nametypes.items():
H A Dtranslations.py52 for lang_code, lang_name in all_languages.items():
/linux-master/drivers/acpi/
H A Dproperty.c1088 #define acpi_copy_property_array_uint(items, val, nval) \
1090 typeof(items) __items = items; \
1119 static int acpi_copy_property_array_string(const union acpi_object *items, argument
1125 if (items[i].type != ACPI_TYPE_STRING)
1128 val[i] = items[i].string.pointer;
1139 const union acpi_object *items; local
1191 items = obj;
1193 items = obj->package.elements;
1198 ret = acpi_copy_property_array_uint(items, (u
[all...]
/linux-master/drivers/comedi/drivers/ni_routing/tools/
H A Dconvert_csv_to_c.py35 for src, destD in D.items():
36 for dest, val in destD.items():
40 D0 = sorted(D0.items(), key=lambda i: eval(i[0], comedi_h.__dict__, Locals))
43 D1 = sorted(D1_D.items(), key=lambda i: eval(i[0], comedi_h.__dict__, Locals))
84 for src, destD in D.items():
85 for dest, val in destD.items():
89 D0 = sorted(D0.items(), key=lambda i: eval(i[0], comedi_h.__dict__, Locals))
95 D1 = [ k for k,v in D1_D.items() if v ]
233 sheets = sorted(self.items(), key=lambda i : tuple(i[0].split('-')[::-1]) )
421 sheets = sorted(self.items(), ke
[all...]
H A Dconvert_py_to_csv.py15 return D.items()
27 for dest, srcD in D.items():
31 S = sorted(S.items(), key = lambda src_destD : src_destD[0])
43 *(((value_to_name[dest],v),) for dest,v in destD.items())
58 for family, dst_src_map in ni_values.ni_route_values.items():
61 for device, dst_src_map in ni_values.ni_device_routes.items():
H A Dcsv_collection.py32 r[key]:{f:strip(c) for f,c in r.items()
38 D = {k:v for k,v in D.items() if v}
H A Dmake_blank_csv.py20 fieldnames = [sig for sig_val, sig in sorted(value_to_name.items())]
H A Dni_names.py44 k:v for k,v in comedi_h.__dict__.items()
51 val_dict = {v:k for k,v in name_dict.items()}
/linux-master/drivers/gpu/drm/i915/gt/
H A Dgen7_renderclear.c118 static u32 *batch_alloc_items(struct batch_chunk *bc, u32 align, u32 items) argument
130 bc->end += items;
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/
H A Dr535.c45 struct list_head items; member in struct:fbsr
199 list_add_tail(&item->head, &fbsr->items);
231 INIT_LIST_HEAD(&fbsr.items);
251 list_for_each_entry(item, &fbsr.items, head) {
279 list_for_each_entry(item, &fbsr.items, head) {
292 list_for_each_entry_safe(item, temp, &fbsr.items, head) {
/linux-master/drivers/gpu/drm/vmwgfx/device_include/
H A Dsvga_overlay.h72 } items[1]; member in struct:SVGAEscapeVideoSetRegs
99 } items[1]; member in struct:__anon710
109 } items[SVGA_VIDEO_NUM_REGS]; member in struct:__anon712
/linux-master/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_overlay.c109 } *items; local
117 fifo_size = sizeof(*cmds) + sizeof(*flush) + sizeof(*items) * num_items;
124 items = (typeof(items))&cmds[1];
125 flush = (struct vmw_escape_video_flush *)&items[num_items];
127 /* the size is header + number of items */
128 fill_escape(&cmds->escape, sizeof(*items) * (num_items + 1));
135 items[i].registerId = i;
140 items[SVGA_VIDEO_ENABLED].value = true;
141 items[SVGA_VIDEO_FLAG
[all...]
/linux-master/drivers/hid/
H A Dhid-logitech-hidpp.c2193 /* 0x6010: Touchpad FW items */
2208 * send a set state command to the device by reading the current items->state
2209 * field. items is then filled with the current state.
2213 struct hidpp_touchpad_fw_items *items)
2220 CMD_TOUCHPAD_FW_ITEMS_SET, &items->state, 1, &response);
2230 items->presence = params[0];
2231 items->desired_state = params[1];
2232 items->state = params[2];
2233 items->persistent = params[3];
3352 * Touchpad FW items
2211 hidpp_touchpad_fw_items_set(struct hidpp_device *hidpp, u8 feature_index, struct hidpp_touchpad_fw_items *items) argument
3362 struct hidpp_touchpad_fw_items items = {}; local
[all...]

Completed in 277 milliseconds

1234567891011