| /linux/drivers/gpu/drm/vmwgfx/ |
| H A D | vmwgfx_overlay.c | 109 } *items; in vmw_overlay_send_put() local 117 fifo_size = sizeof(*cmds) + sizeof(*flush) + sizeof(*items) * num_items; in vmw_overlay_send_put() 124 items = (typeof(items))&cmds[1]; in vmw_overlay_send_put() 125 flush = (struct vmw_escape_video_flush *)&items[num_items]; in vmw_overlay_send_put() 128 fill_escape(&cmds->escape, sizeof(*items) * (num_items + 1)); in vmw_overlay_send_put() 135 items[i].registerId = i; in vmw_overlay_send_put() 140 items[SVGA_VIDEO_ENABLED].value = true; in vmw_overlay_send_put() 141 items[SVGA_VIDEO_FLAGS].value = arg->flags; in vmw_overlay_send_put() 142 items[SVGA_VIDEO_DATA_OFFSET].value = ptr.offset; in vmw_overlay_send_put() 143 items[SVGA_VIDEO_FORMAT].value = arg->format; in vmw_overlay_send_put() [all …]
|
| /linux/tools/perf/util/ |
| H A D | thread_map.c | 38 int items; in thread_map__new_by_pid() local 43 items = scandir(name, &namelist, filter, NULL); in thread_map__new_by_pid() 44 if (items <= 0) in thread_map__new_by_pid() 47 threads = thread_map__alloc(items); in thread_map__new_by_pid() 49 for (i = 0; i < items; i++) in thread_map__new_by_pid() 51 threads->nr = items; in thread_map__new_by_pid() 55 for (i=0; i<items; i++) in thread_map__new_by_pid() 78 int max_threads = 32, items, i; in thread_map__new_all_cpus() local 102 items = scandir(path, &namelist, filter, NULL); in thread_map__new_all_cpus() 103 if (items <= 0) { in thread_map__new_all_cpus() [all …]
|
| /linux/rust/syn/ |
| H A D | file.rs | 84 pub items: Vec<Item>, 101 items: { in parse() 102 let mut items = Vec::new(); in parse() localVariable 104 items.push(input.parse()?); in parse() 106 items in parse() 124 tokens.append_all(&self.items); in to_tokens()
|
| /linux/drivers/comedi/drivers/ni_routing/tools/ |
| 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 | 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(), key=lambda i : i[0] )
|
| /linux/fs/ceph/ |
| H A D | metric.c | 37 s32 items = 0; in ceph_mdsc_send_metrics() local 71 items++; in ceph_mdsc_send_metrics() 84 items++; in ceph_mdsc_send_metrics() 97 items++; in ceph_mdsc_send_metrics() 110 items++; in ceph_mdsc_send_metrics() 121 items++; in ceph_mdsc_send_metrics() 133 items++; in ceph_mdsc_send_metrics() 143 items++; in ceph_mdsc_send_metrics() 153 items++; in ceph_mdsc_send_metrics() 163 items++; in ceph_mdsc_send_metrics() [all …]
|
| /linux/tools/testing/radix-tree/ |
| H A D | tag_check.c | 134 struct item *items[BATCH]; in gang_check() local 139 while ((nr_found = radix_tree_gang_lookup_tag(tree, (void **)items, in gang_check() 144 struct item *item = items[i]; in gang_check() 153 index = items[nr_found - 1]->index + 1; in gang_check() 311 struct item *items[BATCH]; in single_check() local 318 ret = radix_tree_gang_lookup_tag(&tree, (void **)items, 0, BATCH, 0); in single_check() 320 ret = radix_tree_gang_lookup_tag(&tree, (void **)items, 1, BATCH, 0); in single_check() 326 ret = radix_tree_gang_lookup_tag(&tree, (void **)items, 0, BATCH, 1); in single_check() 329 ret = radix_tree_gang_lookup_tag(&tree, (void **)items, 0, BATCH, 0); in single_check()
|
| H A D | test.c | 120 struct item *items[chunk]; in item_gang_check_present() local 131 nfound = radix_tree_gang_lookup(root, (void **)items, in item_gang_check_present() 135 assert(items[i]->index == start + into + i); in item_gang_check_present() 146 struct item *items[chunk]; in item_full_scan() local 154 while ((nfound = radix_tree_gang_lookup(root, (void **)items, into, in item_full_scan() 158 assert(items[i]->index == this_index); in item_full_scan() 167 nfound = radix_tree_gang_lookup(root, (void **)items, in item_full_scan()
|
| /linux/net/ceph/crush/ |
| H A D | crush.c | 49 kfree(b->h.items); in crush_destroy_bucket_uniform() 57 kfree(b->h.items); in crush_destroy_bucket_list() 63 kfree(b->h.items); in crush_destroy_bucket_tree() 72 kfree(b->h.items); in crush_destroy_bucket_straw() 79 kfree(b->h.items); in crush_destroy_bucket_straw2()
|
| /linux/security/selinux/ss/ |
| H A D | avtab.c | 313 u32 items, items2, val, i; in avtab_read_item() local 340 items = 0; in avtab_read_item() 342 val = le32_to_cpu(buf32[items++]); in avtab_read_item() 348 val = le32_to_cpu(buf32[items++]); in avtab_read_item() 354 val = le32_to_cpu(buf32[items++]); in avtab_read_item() 361 val = le32_to_cpu(buf32[items++]); in avtab_read_item() 380 datum.u.data = le32_to_cpu(buf32[items++]); in avtab_read_item() 387 if (items != items2) { in avtab_read_item() 389 items2, items); in avtab_read_item() 401 items = 0; in avtab_read_item() [all …]
|
| /linux/tools/perf/scripts/perl/Perf-Trace-Util/ |
| H A D | Context.c | 38 if (items != 1) in XS() 61 if (items != 1) in XS() 84 if (items != 1) in XS() 112 PERL_UNUSED_VAR(items); /* -W */ in XS()
|
| /linux/sound/pci/lola/ |
| H A D | lola_proc.c | 59 unsigned short items[4]; in print_clock_widget() local 64 items[0] = val & 0xfff; in print_clock_widget() 65 items[1] = (val >> 16) & 0xfff; in print_clock_widget() 66 items[2] = res_ex & 0xfff; in print_clock_widget() 67 items[3] = (res_ex >> 16) & 0xfff; in print_clock_widget() 69 unsigned char type = items[j] >> 8; in print_clock_widget() 70 unsigned int freq = items[j] & 0xff; in print_clock_widget()
|
| /linux/sound/virtio/ |
| H A D | virtio_kctl.c | 79 uinfo->value.enumerated.items = in virtsnd_kctl_info() 80 le32_to_cpu(kinfo->value.enumerated.items); in virtsnd_kctl_info() 82 if (i >= uinfo->value.enumerated.items) in virtsnd_kctl_info() 85 strscpy(uinfo->value.enumerated.name, kctl->items[i].item, in virtsnd_kctl_info() 325 unsigned int n = le32_to_cpu(kinfo->value.enumerated.items); in virtsnd_kctl_get_enum_items() 333 kctl->items = devm_kcalloc(&vdev->dev, n, sizeof(*kctl->items), in virtsnd_kctl_get_enum_items() 335 if (!kctl->items) { in virtsnd_kctl_get_enum_items() 340 sg_init_one(&sg, kctl->items, n * sizeof(*kctl->items)); in virtsnd_kctl_get_enum_items()
|
| /linux/drivers/gpu/drm/vmwgfx/device_include/ |
| H A D | svga_overlay.h | 72 } items[1]; member 99 } items[1]; member 109 } items[SVGA_VIDEO_NUM_REGS]; member
|
| /linux/tools/testing/kunit/ |
| H A D | kunit_config.py | 46 for name, value in self._entries.items(): 53 for name, value in self._entries.items(): 65 for name, value in self._entries.items(): 73 for name, value in other._entries.items():
|
| /linux/drivers/hwtracing/coresight/ |
| H A D | coresight-cti-platform.c | 271 int items, err = 0, nr_sigs; in cti_plat_read_trig_types() local 280 items = cti_plat_count_sig_elements(fwnode, type_name); in cti_plat_read_trig_types() 281 if (items > nr_sigs) in cti_plat_read_trig_types() 285 if (items) { in cti_plat_read_trig_types() 286 values = kcalloc(items, sizeof(u32), GFP_KERNEL); in cti_plat_read_trig_types() 291 values, items); in cti_plat_read_trig_types() 301 if (i < items) { in cti_plat_read_trig_types()
|
| /linux/tools/cgroup/ |
| H A D | memcg_shrinker.py | 31 items = line.split(' ') 32 ino = int(items[0]) 34 shrinkers.append((int(items[1]), shrinker, ino))
|
| /linux/drivers/platform/mellanox/ |
| H A D | mlxreg-dpu.c | 312 .items = mlxreg_dpu_hotplug_items, 431 mlxreg_dpu->hotplug_data->items = devm_kmemdup(dev, hotplug_data->items, in mlxreg_dpu_copy_hotplug_data() 433 sizeof(*mlxreg_dpu->hotplug_data->items), in mlxreg_dpu_copy_hotplug_data() 435 if (!mlxreg_dpu->hotplug_data->items) in mlxreg_dpu_copy_hotplug_data() 438 item = mlxreg_dpu->hotplug_data->items; in mlxreg_dpu_copy_hotplug_data() 440 item->data = devm_kmemdup(dev, hotplug_data->items[i].data, in mlxreg_dpu_copy_hotplug_data() 441 hotplug_data->items[i].count * sizeof(*item->data), in mlxreg_dpu_copy_hotplug_data()
|
| /linux/mm/kmsan/ |
| H A D | init.c | 139 struct page *items[MAX_BLOCKS]; member 152 stack->items[stack->index] = pages; in smallstack_push() 163 ret = stack->items[stack->index]; in smallstack_pop() 164 stack->items[stack->index] = NULL; in smallstack_pop()
|
| /linux/Documentation/core-api/ |
| H A D | circular-buffers.rst | 41 (1) A 'head' index - the point at which the producer inserts items into the 51 The head index is incremented when items are added, and the tail index when 52 items are removed. The tail index should never jump the head index, and both 56 Typically, items will all be of the same unit size, but this isn't strictly 58 than 1 if multiple items or variable-sized items are to be included in the 82 This returns the amount of space left in the buffer[1] into which items 91 which items can be immediately inserted without having to wrap back to the 99 This returns the number of items currently occupying a buffer[2]. 106 This returns the number of consecutive items[2] that can be extracted from
|
| /linux/tools/net/sunrpc/xdrgen/templates/C/struct/encoder/ |
| H A D | fixed_length_array.j2 | 7 if (xdrgen_encode_{{ type }}(xdr, &value->items[i]) < 0) 9 if (xdrgen_encode_{{ type }}(xdr, value->items[i]) < 0)
|
| /linux/tools/net/sunrpc/xdrgen/templates/C/pointer/encoder/ |
| H A D | fixed_length_array.j2 | 7 if (xdrgen_encode_{{ type }}(xdr, &value->items[i]) < 0) 9 if (xdrgen_encode_{{ type }}(xdr, value->items[i]) < 0)
|
| /linux/Documentation/process/ |
| H A D | deprecated.rst | 250 struct foo items[1]; 261 struct foo items[0]; 274 struct foo items[]; 290 struct foo items[0]; 295 instance = kmalloc(struct_size(instance, items, count), GFP_KERNEL); 298 size = sizeof(instance->items) * instance->count; 299 memcpy(instance->items, source, size); 303 allocated for the trailing array ``items``. Here are a couple examples of this 321 struct foo items[1]; 326 instance = kmalloc(struct_size(instance, items, count - 1), GFP_KERNEL); [all …]
|
| /linux/Documentation/translations/it_IT/process/ |
| H A D | deprecated.rst | 278 struct foo items[1]; 290 struct foo items[0]; 305 struct foo items[]; 322 struct foo items[0]; 327 instance = kmalloc(struct_size(instance, items, count), GFP_KERNEL); 330 size = sizeof(instance->items) * instance->count; 331 memcpy(instance->items, source, size); 336 ``items``. Qui un paio di esempi reali del problema: `collegamento 1 357 struct foo items[1]; 362 instance = kmalloc(struct_size(instance, items, count - 1), GFP_KERNEL); [all …]
|
| /linux/tools/lib/python/abi/ |
| H A D | system_symbols.py | 63 items = list(root.items()) 66 for k, edge in items: 76 if edge == items[-1][1]: 219 for k, v in root.items():
|