Home
last modified time | relevance | path

Searched refs:list (Results 1 – 25 of 3607) sorted by relevance

12345678910>>...145

/linux-6.3-rc2/tools/perf/util/
A Dparse-events.y33 list = malloc(sizeof(*list)); in alloc_list()
34 if (!list) in alloc_list()
38 return list; in alloc_list()
56 if (!list_is_last(list->next, list)) in inc_group_count()
160 $$ = list;
170 $$ = list;
194 $$ = list;
207 $$ = list;
216 $$ = list;
227 $$ = list;
[all …]
/linux-6.3-rc2/lib/
A Dlist-test.c577 list_add_tail(&test_struct1.list, &list); in list_test_list_first_entry()
578 list_add_tail(&test_struct2.list, &list); in list_test_list_first_entry()
590 list_add_tail(&test_struct1.list, &list); in list_test_list_last_entry()
591 list_add_tail(&test_struct2.list, &list); in list_test_list_last_entry()
606 list_add_tail(&test_struct1.list, &list); in list_test_list_first_entry_or_null()
607 list_add_tail(&test_struct2.list, &list); in list_test_list_first_entry_or_null()
619 list_add_tail(&test_struct1.list, &list); in list_test_list_next_entry()
620 list_add_tail(&test_struct2.list, &list); in list_test_list_next_entry()
725 list_add_tail(&entries[i].list, &list); in list_test_list_for_each_entry()
730 list_for_each_entry(cur, &list, list) { in list_test_list_for_each_entry()
[all …]
/linux-6.3-rc2/drivers/clk/rockchip/
A Dclk.c422 list->flags, list->pll_flags); in rockchip_clk_register_plls()
468 list->mux_shift, list->mux_width, in rockchip_clk_register_branches()
500 list->mux_shift, list->mux_width, in rockchip_clk_register_branches()
501 list->mux_flags, list->div_shift, in rockchip_clk_register_branches()
502 list->div_width, list->div_flags, in rockchip_clk_register_branches()
519 list->mux_width, list->mux_flags, in rockchip_clk_register_branches()
521 list->div_shift, list->div_width, in rockchip_clk_register_branches()
522 list->div_flags, list->div_table, in rockchip_clk_register_branches()
536 list->name, list->parent_names, in rockchip_clk_register_branches()
543 list->name, list->parent_names, in rockchip_clk_register_branches()
[all …]
/linux-6.3-rc2/tools/firewire/
A Dlist.h2 struct list { struct
3 struct list *next, *prev; argument
7 list_init(struct list *list) in list_init() argument
9 list->next = list; in list_init()
10 list->prev = list; in list_init()
14 list_empty(struct list *list) in list_empty() argument
16 return list->next == list; in list_empty()
20 list_insert(struct list *link, struct list *new_link) in list_insert()
29 list_append(struct list *list, struct list *new_link) in list_append() argument
31 list_insert((struct list *)list, new_link); in list_append()
[all …]
/linux-6.3-rc2/drivers/clk/samsung/
A Dclk.c135 list->parent_name, list->flags, list->fixed_rate); in samsung_clk_register_fixed_rate()
164 list->parent_name, list->flags, list->mult, list->div); in samsung_clk_register_fixed_factor()
185 list->parent_names, list->num_parents, list->flags, in samsung_clk_register_mux()
187 list->shift, list->width, list->mux_flags, &ctx->lock); in samsung_clk_register_mux()
209 list->name, list->parent_name, list->flags, in samsung_clk_register_div()
211 list->shift, list->width, list->div_flags, in samsung_clk_register_div()
215 list->parent_name, list->flags, in samsung_clk_register_div()
216 ctx->reg_base + list->offset, list->shift, in samsung_clk_register_div()
217 list->width, list->div_flags, &ctx->lock); in samsung_clk_register_div()
238 list->flags, ctx->reg_base + list->offset, in samsung_clk_register_gate()
[all …]
/linux-6.3-rc2/io_uring/
A Dslist.h15 #define wq_list_empty(list) (READ_ONCE((list)->first) == NULL) argument
30 list->last = node; in wq_list_add_after()
37 if (!list->first) { in wq_list_add_tail()
38 list->last = node; in wq_list_add_tail()
42 list->last = node; in wq_list_add_tail()
51 list->last = node; in wq_list_add_head()
65 if (last == list->last) in wq_list_cut()
66 list->last = prev; in wq_list_cut()
75 INIT_WQ_LIST(list); in __wq_list_splice()
113 if (!work->list.next) in wq_next_work()
[all …]
/linux-6.3-rc2/drivers/net/wireless/quantenna/qtnfmac/
A Dutil.c9 if (unlikely(!list)) in qtnf_sta_list_init()
12 INIT_LIST_HEAD(&list->head); in qtnf_sta_list_init()
13 atomic_set(&list->size, 0); in qtnf_sta_list_init()
24 list_for_each_entry(node, &list->head, list) { in qtnf_sta_list_lookup()
40 list_for_each_entry(node, &list->head, list) { in qtnf_sta_list_lookup_index()
67 list_add_tail(&node->list, &list->head); in qtnf_sta_list_add()
68 atomic_inc(&list->size); in qtnf_sta_list_add()
84 list_del(&node->list); in qtnf_sta_list_del()
85 atomic_dec(&list->size); in qtnf_sta_list_del()
100 list_for_each_entry_safe(node, tmp, &list->head, list) { in qtnf_sta_list_free()
[all …]
/linux-6.3-rc2/drivers/clk/x86/
A Dclk-cgu.c30 lgm_set_clk_val(ctx->membase, list->div_off, list->div_shift, in lgm_clk_register_fixed()
31 list->div_width, list->div_val); in lgm_clk_register_fixed()
35 list->flags, list->mux_flags); in lgm_clk_register_fixed()
90 u32 reg = list->mux_off; in lgm_clk_register_mux()
98 init.name = list->name; in lgm_clk_register_mux()
245 list->parent_data[0].name, list->flags, in lgm_clk_register_fixed_factor()
246 list->mult, list->div); in lgm_clk_register_fixed_factor()
251 lgm_set_clk_val(ctx->membase, list->div_off, list->div_shift, in lgm_clk_register_fixed_factor()
252 list->div_width, list->div_val); in lgm_clk_register_fixed_factor()
344 switch (list->type) { in lgm_clk_register_branches()
[all …]
/linux-6.3-rc2/security/integrity/platform_certs/
A Defi_parser.c49 efi_signature_list_t list; in parse_efi_signature_list() local
52 if (size < sizeof(list)) in parse_efi_signature_list()
55 memcpy(&list, data, sizeof(list)); in parse_efi_signature_list()
58 &list.signature_type, list.signature_list_size, in parse_efi_signature_list()
59 list.signature_header_size, list.signature_size); in parse_efi_signature_list()
61 lsize = list.signature_list_size; in parse_efi_signature_list()
63 esize = list.signature_size; in parse_efi_signature_list()
72 if (lsize < sizeof(list) || in parse_efi_signature_list()
89 data += sizeof(list) + hsize; in parse_efi_signature_list()
90 size -= sizeof(list) + hsize; in parse_efi_signature_list()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_bo_list.c44 kvfree(list); in amdgpu_bo_list_free_rcu()
81 if (!list) in amdgpu_bo_list_create()
85 list->gds_obj = NULL; in amdgpu_bo_list_create()
86 list->gws_obj = NULL; in amdgpu_bo_list_create()
87 list->oa_obj = NULL; in amdgpu_bo_list_create()
128 list->oa_obj = bo; in amdgpu_bo_list_create()
140 *result = list; in amdgpu_bo_list_create()
154 kvfree(list); in amdgpu_bo_list_create()
166 if (list) in amdgpu_bo_list_destroy()
285 &list); in amdgpu_bo_list_ioctl()
[all …]
A Damdgpu_bo_list.h63 void amdgpu_bo_list_get_list(struct amdgpu_bo_list *list,
65 void amdgpu_bo_list_put(struct amdgpu_bo_list *list);
73 struct amdgpu_bo_list **list);
76 amdgpu_bo_list_array_entry(struct amdgpu_bo_list *list, unsigned index) in amdgpu_bo_list_array_entry() argument
78 struct amdgpu_bo_list_entry *array = (void *)&list[1]; in amdgpu_bo_list_array_entry()
83 #define amdgpu_bo_list_for_each_entry(e, list) \ argument
84 for (e = amdgpu_bo_list_array_entry(list, 0); \
85 e != amdgpu_bo_list_array_entry(list, (list)->num_entries); \
88 #define amdgpu_bo_list_for_each_userptr_entry(e, list) \ argument
89 for (e = amdgpu_bo_list_array_entry(list, (list)->first_userptr); \
[all …]
/linux-6.3-rc2/net/core/
A Ddev_addr_lists.c125 list_add_tail_rcu(&ha->list, &list->list); in __hw_addr_add_ex()
126 list->count++; in __hw_addr_add_ex()
162 list->count--; in __hw_addr_del_entry()
324 list_for_each_entry_safe(ha, tmp, &list->list, list) { in __hw_addr_sync_dev()
337 list_for_each_entry_safe(ha, tmp, &list->list, list) { in __hw_addr_sync_dev()
380 list_for_each_entry_safe(ha, tmp, &list->list, list) { in __hw_addr_ref_sync_dev()
396 list_for_each_entry_safe(ha, tmp, &list->list, list) { in __hw_addr_ref_sync_dev()
435 list_for_each_entry_safe(ha, tmp, &list->list, list) { in __hw_addr_ref_unsync_dev()
469 list_for_each_entry_safe(ha, tmp, &list->list, list) { in __hw_addr_unsync_dev()
488 list_for_each_entry_safe(ha, tmp, &list->list, list) { in __hw_addr_flush()
[all …]
/linux-6.3-rc2/drivers/hid/usbhid/
A Dhiddev.c80 report = list_entry(list, struct hid_report, list); in hiddev_lookup_report()
89 list = report->list.next; in hiddev_lookup_report()
148 list_for_each_entry(list, &hiddev->list, node) { in hiddev_send_event()
151 list->buffer[list->head] = *uref; in hiddev_send_event()
152 list->head = (list->head + 1) & in hiddev_send_event()
251 list = vzalloc(sizeof(*list)); in __hiddev_open()
269 list_add_tail(&list->node, &hiddev->list); in __hiddev_open()
338 if (list->head == list->tail) { in hiddev_read()
341 while (list->head == list->tail) { in hiddev_read()
374 while (list->head != list->tail && in hiddev_read()
[all …]
/linux-6.3-rc2/tools/memory-model/scripts/
A Dnewlitmushist.sh42 xargs -r grep -L "^P${LKMM_PROCS}"> $T/list-C-already
46 find litmus -name '*.litmus' -exec grep -l -m 1 "^C " {} \; > $T/list-C-all
47 xargs < $T/list-C-all -r grep -L "^P${LKMM_PROCS}" > $T/list-C-short
50 sort $T/list-C-already $T/list-C-short | uniq -u > $T/list-C-new
53 sed < $T/list-C-short -e 's,^.*$,if test & -nt '"$LKMM_DESTDIR"'/&.out; then echo &; fi,' > $T/list
54 sh $T/list-C-script > $T/list-C-newer
57 sort -u $T/list-C-new $T/list-C-newer > $T/list-C-needed
59 scripts/runlitmushist.sh < $T/list-C-needed
/linux-6.3-rc2/drivers/hid/
A Dhidraw.c48 if (list->head == list->tail) { in hidraw_read()
52 while (list->head == list->tail) { in hidraw_read()
80 len = list->buffer[list->tail].len > count ? in hidraw_read()
81 count : list->buffer[list->tail].len; in hidraw_read()
83 if (list->buffer[list->tail].value) { in hidraw_read()
91 kfree(list->buffer[list->tail].value); in hidraw_read()
92 list->buffer[list->tail].value = NULL; in hidraw_read()
255 if (list->head != list->tail) in hidraw_poll()
353 for (int i = list->tail; i < list->head; i++) in hidraw_release()
517 list_for_each_entry(list, &dev->list, node) { in hidraw_report_event()
[all …]
/linux-6.3-rc2/net/netfilter/
A Dnf_conncount.c51 struct nf_conncount_list list; member
90 list->count--; in conn_free()
118 conn_free(list, conn); in find_or_evict()
175 conn_free(list, conn); in __nf_conncount_add()
196 list->count++; in __nf_conncount_add()
220 INIT_LIST_HEAD(&list->head); in nf_conncount_list_init()
221 list->count = 0; in nf_conncount_list_init()
259 conn_free(list, conn); in nf_conncount_gc_list()
269 if (!list->count) in nf_conncount_gc_list()
296 if (!rbconn->list.count) { in tree_nodes_free()
[all …]
/linux-6.3-rc2/drivers/hid/intel-ish-hid/ishtp/
A Dclient-buffers.c37 list_add_tail(&rb->list, &cl->free_rb_list.list); in ishtp_cl_alloc_rx_ring()
80 list_add_tail(&tx_buf->list, &cl->tx_free_list.list); in ishtp_cl_alloc_tx_ring()
106 list); in ishtp_cl_free_rx_ring()
107 list_del(&rb->list); in ishtp_cl_free_rx_ring()
116 struct ishtp_cl_rb, list); in ishtp_cl_free_rx_ring()
117 list_del(&rb->list); in ishtp_cl_free_rx_ring()
140 list_del(&tx_buf->list); in ishtp_cl_free_tx_ring()
152 list_del(&tx_buf->list); in ishtp_cl_free_tx_ring()
190 INIT_LIST_HEAD(&rb->list); in ishtp_io_rb_init()
240 list_add_tail(&rb->list, &cl->free_rb_list.list); in ishtp_cl_io_rb_recycle()
[all …]
/linux-6.3-rc2/drivers/pnp/isapnp/
A Dcompat.c33 struct list_head *list; in pnp_find_dev() local
35 list = pnp_global.next; in pnp_find_dev()
37 list = from->global_list.next; in pnp_find_dev()
39 while (list != &pnp_global) { in pnp_find_dev()
45 list = list->next; in pnp_find_dev()
48 struct list_head *list; in pnp_find_dev() local
50 list = card->devices.next; in pnp_find_dev()
52 list = from->card_list.next; in pnp_find_dev()
56 while (list != &card->devices) { in pnp_find_dev()
57 struct pnp_dev *dev = card_to_pnp_dev(list); in pnp_find_dev()
[all …]
/linux-6.3-rc2/drivers/gpu/host1x/
A Dintr.c19 list_for_each_entry_reverse(fence_in_list, &list->list, list) { in host1x_intr_add_fence_to_list()
22 list_add(&fence->list, &fence_in_list->list); in host1x_intr_add_fence_to_list()
28 list_add(&fence->list, &list->list); in host1x_intr_add_fence_to_list()
35 if (!list_empty(&sp->fences.list)) { in host1x_intr_update_hw_state()
36 fence = list_first_entry(&sp->fences.list, struct host1x_syncpt_fence, list); in host1x_intr_update_hw_state()
49 INIT_LIST_HEAD(&fence->list); in host1x_intr_add_fence_locked()
62 if (list_empty(&fence->list)) { in host1x_intr_remove_fence()
67 list_del_init(&fence->list); in host1x_intr_remove_fence()
85 list_for_each_entry_safe(fence, tmp, &sp->fences.list, list) { in host1x_intr_handle_interrupt()
91 list_del_init(&fence->list); in host1x_intr_handle_interrupt()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
A Dpp_overdriver.c1271 for (i = 0; list[i].key != 0; i++) { in pp_override_get_default_fuse_value()
1272 if (key == list[i].key) { in pp_override_get_default_fuse_value()
1273 result->key = list[i].key; in pp_override_get_default_fuse_value()
1274 result->VFT2_m1 = list[i].VFT2_m1; in pp_override_get_default_fuse_value()
1275 result->VFT2_m2 = list[i].VFT2_m2; in pp_override_get_default_fuse_value()
1276 result->VFT2_b = list[i].VFT2_b; in pp_override_get_default_fuse_value()
1277 result->VFT1_m1 = list[i].VFT1_m1; in pp_override_get_default_fuse_value()
1278 result->VFT1_m2 = list[i].VFT1_m2; in pp_override_get_default_fuse_value()
1279 result->VFT1_b = list[i].VFT1_b; in pp_override_get_default_fuse_value()
1280 result->VFT0_m1 = list[i].VFT0_m1; in pp_override_get_default_fuse_value()
[all …]
/linux-6.3-rc2/drivers/usb/core/
A Dphy.c19 struct list_head list; member
23 struct list_head *list) in usb_phy_roothub_add_phy() argument
40 INIT_LIST_HEAD(&roothub_entry->list); in usb_phy_roothub_add_phy()
44 list_add_tail(&roothub_entry->list, list); in usb_phy_roothub_add_phy()
66 INIT_LIST_HEAD(&phy_roothub->list); in usb_phy_roothub_alloc()
87 head = &phy_roothub->list; in usb_phy_roothub_init()
114 head = &phy_roothub->list; in usb_phy_roothub_exit()
136 head = &phy_roothub->list; in usb_phy_roothub_set_mode()
163 head = &phy_roothub->list; in usb_phy_roothub_calibrate()
184 head = &phy_roothub->list; in usb_phy_roothub_power_on()
[all …]
/linux-6.3-rc2/fs/xfs/scrub/
A Dbitmap.c33 INIT_LIST_HEAD(&bmr->list); in xbitmap_set()
36 list_add_tail(&bmr->list, &bitmap->list); in xbitmap_set()
50 list_del(&bmr->list); in xbitmap_destroy()
60 INIT_LIST_HEAD(&bitmap->list); in xbitmap_init()
113 if (list_empty(&bitmap->list) || list_empty(&sub->list)) in xbitmap_disunion()
129 list); in xbitmap_disunion()
130 lp = bitmap->list.next; in xbitmap_disunion()
131 while (lp != &bitmap->list) { in xbitmap_disunion()
139 if (list_is_last(&sub_br->list, &sub->list)) in xbitmap_disunion()
177 list_del(&br->list); in xbitmap_disunion()
[all …]
/linux-6.3-rc2/tools/perf/arch/x86/util/
A Diostat.c101 if (list) { in iio_root_ports_list_free()
104 free(list->rps); in iio_root_ports_list_free()
105 free(list); in iio_root_ports_list_free()
115 if (list) { in iio_root_port_find_by_notation()
130 if (list && rp) { in iio_root_ports_list_insert()
133 list->nr_entries * sizeof(*list->rps)); in iio_root_ports_list_insert()
139 list->rps = tmp_buf; in iio_root_ports_list_insert()
218 *list = tmp_list; in iio_root_ports_scan()
291 *list = tmp_list; in iio_root_ports_list_filter()
317 list->rps[idx]->pmu_idx, list->rps[idx]->pmu_idx, in iostat_event_group()
[all …]
/linux-6.3-rc2/sound/pci/ctxfi/
A Dctimap.c29 list_add(&entry->list, head); in input_mapper_add()
34 pos_ent = list_entry(pos, struct imapper, list); in input_mapper_add()
46 __list_add(&entry->list, pos->prev, pos); in input_mapper_add()
50 list_add_tail(&entry->list, head); in input_mapper_add()
53 pre_ent = list_entry(pre, struct imapper, list); in input_mapper_add()
54 pos_ent = list_entry(pos, struct imapper, list); in input_mapper_add()
75 pre = (entry->list.prev == head) ? head->prev : entry->list.prev; in input_mapper_delete()
76 next = (entry->list.next == head) ? head->next : entry->list.next; in input_mapper_delete()
78 if (pre == &entry->list) { in input_mapper_delete()
82 list_del(&entry->list); in input_mapper_delete()
[all …]
/linux-6.3-rc2/drivers/acpi/acpica/
A Ddbstats.c75 if (list->max_depth > 0) { in acpi_db_list_info()
79 list->max_depth, list->max_depth - list->current_depth, in acpi_db_list_info()
80 (list->current_depth * list->object_size)); in acpi_db_list_info()
83 if (list->max_depth > 0) { in acpi_db_list_info()
86 "%8.2X %8.2X %8.2X %8.2X\n", list->requests, list->hits, in acpi_db_list_info()
87 list->requests - list->hits, list->object_size); in acpi_db_list_info()
92 if (list->object_size) { in acpi_db_list_info()
96 list->total_freed, list->max_occupied, in acpi_db_list_info()
102 list->total_allocated, list->total_freed, in acpi_db_list_info()
103 list->max_occupied, list->current_total_size, outstanding, in acpi_db_list_info()
[all …]

Completed in 59 milliseconds

12345678910>>...145