/linux-master/drivers/scsi/ibmvscsi_tgt/ |
H A D | libsrp.c | 33 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 D | libsrp.h | 78 void *items; member in struct:srp_queue
|
/linux-master/lib/ |
H A D | test_parman.c | 50 * 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 D | lola_proc.c | 59 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 D | event_analyzing_sample.py | 192 print (' '.join(['%s=%s'%(k,str(v))for k,v in sorted(event_fields_dict.items())]))
|
H A D | failed-syscalls-by-pid.py | 78 for ret, val in sorted(syscalls[comm][pid][id].items(), key = lambda kv: (kv[1], kv[0]), reverse = True):
|
H A D | sctop.py | 81 for id, val in sorted(syscalls.items(),
|
H A D | syscall-counts-by-pid.py | 73 for id, val in sorted(syscalls[comm][pid].items(),
|
H A D | syscall-counts.py | 63 for id, val in sorted(syscalls.items(),
|
/linux-master/tools/testing/radix-tree/ |
H A D | tag_check.c | 134 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 D | test.c | 114 * 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 D | tdc_helper.py | 19 """ 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 D | kfigure.py | 612 for k,v in self.options.items(): 635 for name, explicit in doctree.nametypes.items():
|
H A D | translations.py | 52 for lang_code, lang_name in all_languages.items():
|
/linux-master/drivers/acpi/ |
H A D | property.c | 1088 #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 D | convert_csv_to_c.py | 35 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 D | convert_py_to_csv.py | 15 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 D | csv_collection.py | 32 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 D | make_blank_csv.py | 20 fieldnames = [sig for sig_val, sig in sorted(value_to_name.items())]
|
H A D | ni_names.py | 44 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 D | gen7_renderclear.c | 118 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 D | r535.c | 45 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 D | svga_overlay.h | 72 } 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 D | vmwgfx_overlay.c | 109 } *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 D | hid-logitech-hidpp.c | 2193 /* 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...] |