Home
last modified time | relevance | path

Searched refs:items (Results 1 - 25 of 443) sorted by relevance

12345678910>>...18

/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/base/refcount/src/
H A Drefcount.c37 struct ia_css_refcount_entry *items; member
49 if (!myrefcount.items) { in refcount_find_entry()
56 if ((&myrefcount.items[i])->data == 0) { in refcount_find_entry()
59 return &myrefcount.items[i]; in refcount_find_entry()
62 if ((&myrefcount.items[i])->data == ptr) { in refcount_find_entry()
64 return &myrefcount.items[i]; in refcount_find_entry()
79 if (myrefcount.items) { in ia_css_refcount_init()
84 myrefcount.items = in ia_css_refcount_init()
86 if (!myrefcount.items) in ia_css_refcount_init()
89 memset(myrefcount.items, in ia_css_refcount_init()
[all...]
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/base/refcount/src/
H A Drefcount.c37 struct ia_css_refcount_entry *items; member
49 if (!myrefcount.items) { in refcount_find_entry()
56 if ((&myrefcount.items[i])->data == 0) { in refcount_find_entry()
59 return &myrefcount.items[i]; in refcount_find_entry()
62 if ((&myrefcount.items[i])->data == ptr) { in refcount_find_entry()
64 return &myrefcount.items[i]; in refcount_find_entry()
79 if (myrefcount.items) { in ia_css_refcount_init()
84 myrefcount.items = in ia_css_refcount_init()
86 if (!myrefcount.items) in ia_css_refcount_init()
89 memset(myrefcount.items, in ia_css_refcount_init()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_overlay.c115 } *items; in vmw_overlay_send_put() local
123 fifo_size = sizeof(*cmds) + sizeof(*flush) + sizeof(*items) * num_items; in vmw_overlay_send_put()
130 items = (typeof(items))&cmds[1]; in vmw_overlay_send_put()
131 flush = (struct vmw_escape_video_flush *)&items[num_items]; in vmw_overlay_send_put()
133 /* the size is header + number of items */ in vmw_overlay_send_put()
134 fill_escape(&cmds->escape, sizeof(*items) * (num_items + 1)); in vmw_overlay_send_put()
141 items[i].registerId = i; in vmw_overlay_send_put()
146 items[SVGA_VIDEO_ENABLED].value = true; in vmw_overlay_send_put()
147 items[SVGA_VIDEO_FLAG in vmw_overlay_send_put()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_overlay.c109 } *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()
127 /* the size is header + number of 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_FLAG in vmw_overlay_send_put()
[all...]
/kernel/linux/linux-5.10/sound/pci/lola/
H A Dlola_clock.c128 chip->clock.items = val & 0xff; in lola_init_clock_widget()
130 chip->clock.items); in lola_init_clock_widget()
131 if (chip->clock.items > MAX_SAMPLE_CLOCK_COUNT) { in lola_init_clock_widget()
133 chip->clock.items); in lola_init_clock_widget()
137 nitems = chip->clock.items; in lola_init_clock_widget()
143 unsigned short items[4]; in lola_init_clock_widget() local
152 items[0] = val & 0xfff; in lola_init_clock_widget()
153 items[1] = (val >> 16) & 0xfff; in lola_init_clock_widget()
154 items[2] = res_ex & 0xfff; in lola_init_clock_widget()
155 items[ in lola_init_clock_widget()
[all...]
H A Dlola_proc.c59 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()
/kernel/linux/linux-6.6/sound/pci/lola/
H A Dlola_clock.c128 chip->clock.items = val & 0xff; in lola_init_clock_widget()
130 chip->clock.items); in lola_init_clock_widget()
131 if (chip->clock.items > MAX_SAMPLE_CLOCK_COUNT) { in lola_init_clock_widget()
133 chip->clock.items); in lola_init_clock_widget()
137 nitems = chip->clock.items; in lola_init_clock_widget()
143 unsigned short items[4]; in lola_init_clock_widget() local
152 items[0] = val & 0xfff; in lola_init_clock_widget()
153 items[1] = (val >> 16) & 0xfff; in lola_init_clock_widget()
154 items[2] = res_ex & 0xfff; in lola_init_clock_widget()
155 items[ in lola_init_clock_widget()
[all...]
/kernel/linux/linux-5.10/tools/perf/util/
H A Dthread_map.c37 int items; in thread_map__new_by_pid() local
42 items = scandir(name, &namelist, filter, NULL); in thread_map__new_by_pid()
43 if (items <= 0) in thread_map__new_by_pid()
46 threads = thread_map__alloc(items); in thread_map__new_by_pid()
48 for (i = 0; i < items; i++) in thread_map__new_by_pid()
50 threads->nr = items; in thread_map__new_by_pid()
54 for (i=0; i<items; i++) in thread_map__new_by_pid()
77 int max_threads = 32, items, i; in __thread_map__new_all_cpus() local
110 items = scandir(path, &namelist, filter, NULL); in __thread_map__new_all_cpus()
111 if (items < in __thread_map__new_all_cpus()
185 int items, total_tasks = 0; thread_map__new_by_pid_str() local
[all...]
/kernel/linux/linux-6.6/tools/perf/util/
H A Dthread_map.c38 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
111 items = scandir(path, &namelist, filter, NULL); in __thread_map__new_all_cpus()
112 if (items < in __thread_map__new_all_cpus()
186 int items, total_tasks = 0; thread_map__new_by_pid_str() local
[all...]
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/ni_routing/tools/
H A Dconvert_py_to_csv.py16 return D.items()
28 for dest, srcD in D.items():
32 S = sorted(S.items(), key = lambda src_destD : src_destD[0])
44 *(((value_to_name[dest],v),) for dest,v in destD.items())
59 for family, dst_src_map in ni_values.ni_route_values.items():
62 for device, dst_src_map in ni_values.ni_device_routes.items():
H A Dconvert_csv_to_c.py36 for src, destD in D.items():
37 for dest, val in destD.items():
41 D0 = sorted(D0.items(), key=lambda i: eval(i[0], comedi_h.__dict__, Locals))
44 D1 = sorted(D1_D.items(), key=lambda i: eval(i[0], comedi_h.__dict__, Locals))
85 for src, destD in D.items():
86 for dest, val in destD.items():
90 D0 = sorted(D0.items(), key=lambda i: eval(i[0], comedi_h.__dict__, Locals))
96 D1 = [ k for k,v in D1_D.items() if v ]
237 sheets = sorted(self.items(), key=lambda i : tuple(i[0].split('-')[::-1]) )
428 sheets = sorted(self.items(), ke
[all...]
/kernel/linux/linux-6.6/drivers/comedi/drivers/ni_routing/tools/
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 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...]
/kernel/linux/linux-6.6/tools/perf/tests/
H A Dattr.py205 items = list(filter(None, pattern.split(a)))
207 if items[0] == "AT_HWCAP":
208 value = int(items[-1], 16)
211 value = int(items[-1], 0)
213 value = items[-1]
214 return (items[0], value)
258 parser_items = parser_event.items(section);
266 base_items = parser_base.items('event')
305 for exp_name, exp_event in expect.items():
309 for res_name, res_event in result.items()
[all...]
/kernel/linux/linux-5.10/tools/testing/radix-tree/
H A Dtag_check.c134 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()
/kernel/linux/linux-6.6/tools/testing/radix-tree/
H A Dtag_check.c134 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()
/kernel/linux/linux-5.10/net/ceph/crush/
H A Dcrush.c49 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()
/kernel/linux/linux-6.6/net/ceph/crush/
H A Dcrush.c49 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()
/kernel/linux/linux-5.10/tools/perf/scripts/perl/Perf-Trace-Util/
H A DContext.c38 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()
/kernel/linux/linux-6.6/tools/perf/scripts/perl/Perf-Trace-Util/
H A DContext.c38 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()
/kernel/linux/linux-6.6/fs/ceph/
H A Dmetric.c36 s32 items = 0; in ceph_mdsc_send_metrics() local
70 items++; in ceph_mdsc_send_metrics()
83 items++; in ceph_mdsc_send_metrics()
96 items++; in ceph_mdsc_send_metrics()
109 items++; in ceph_mdsc_send_metrics()
120 items++; in ceph_mdsc_send_metrics()
132 items++; in ceph_mdsc_send_metrics()
142 items++; in ceph_mdsc_send_metrics()
152 items++; in ceph_mdsc_send_metrics()
162 items in ceph_mdsc_send_metrics()
[all...]
/kernel/linux/linux-6.6/security/selinux/ss/
H A Davtab.c377 u32 items, items2, val, i; in avtab_read_item() local
405 items = 0; in avtab_read_item()
407 val = le32_to_cpu(buf32[items++]); in avtab_read_item()
413 val = le32_to_cpu(buf32[items++]); in avtab_read_item()
419 val = le32_to_cpu(buf32[items++]); in avtab_read_item()
426 val = le32_to_cpu(buf32[items++]); in avtab_read_item()
446 datum.u.data = le32_to_cpu(buf32[items++]); in avtab_read_item()
453 if (items != items2) { in avtab_read_item()
454 pr_err("SELinux: avtab: entry only had %d items, expected %d\n", in avtab_read_item()
455 items2, items); in avtab_read_item()
[all...]
/kernel/linux/linux-5.10/drivers/acpi/
H A Dproperty.c868 static int acpi_copy_property_array_u8(const union acpi_object *items, u8 *val, in acpi_copy_property_array_u8() argument
874 if (items[i].type != ACPI_TYPE_INTEGER) in acpi_copy_property_array_u8()
876 if (items[i].integer.value > U8_MAX) in acpi_copy_property_array_u8()
879 val[i] = items[i].integer.value; in acpi_copy_property_array_u8()
884 static int acpi_copy_property_array_u16(const union acpi_object *items, in acpi_copy_property_array_u16() argument
890 if (items[i].type != ACPI_TYPE_INTEGER) in acpi_copy_property_array_u16()
892 if (items[i].integer.value > U16_MAX) in acpi_copy_property_array_u16()
895 val[i] = items[i].integer.value; in acpi_copy_property_array_u16()
900 static int acpi_copy_property_array_u32(const union acpi_object *items, in acpi_copy_property_array_u32() argument
906 if (items[ in acpi_copy_property_array_u32()
916 acpi_copy_property_array_u64(const union acpi_object *items, u64 *val, size_t nval) acpi_copy_property_array_u64() argument
930 acpi_copy_property_array_string(const union acpi_object *items, char **val, size_t nval) acpi_copy_property_array_string() argument
950 const union acpi_object *items; acpi_data_prop_read() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/device_include/
H A Dsvga_overlay.h72 } items[1]; member
99 } items[1]; member
109 } items[SVGA_VIDEO_NUM_REGS]; member
/kernel/linux/linux-6.6/tools/testing/kunit/
H A Dkunit_config.py46 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():

Completed in 12 milliseconds

12345678910>>...18