Home
last modified time | relevance | path

Searched refs:list (Results 76 – 100 of 7285) sorted by relevance

12345678910>>...292

/openbmc/linux/include/linux/
H A Dvirtio_vsock.h77 spin_lock_bh(&list->lock); in virtio_vsock_skb_queue_head()
78 __skb_queue_head(list, skb); in virtio_vsock_skb_queue_head()
79 spin_unlock_bh(&list->lock); in virtio_vsock_skb_queue_head()
85 spin_lock_bh(&list->lock); in virtio_vsock_skb_queue_tail()
86 __skb_queue_tail(list, skb); in virtio_vsock_skb_queue_tail()
87 spin_unlock_bh(&list->lock); in virtio_vsock_skb_queue_tail()
94 spin_lock_bh(&list->lock); in virtio_vsock_skb_dequeue()
95 skb = __skb_dequeue(list); in virtio_vsock_skb_dequeue()
96 spin_unlock_bh(&list->lock); in virtio_vsock_skb_dequeue()
103 spin_lock_bh(&list->lock); in virtio_vsock_skb_queue_purge()
[all …]
/openbmc/linux/tools/perf/
H A Dbuiltin-buildid-cache.c224 struct strlist *list; in build_id_cache__purge_path() local
239 strlist__delete(list); in build_id_cache__purge_path()
249 struct strlist *list; in build_id_cache__purge_all() local
255 if (!list) { in build_id_cache__purge_all()
269 strlist__delete(list); in build_id_cache__purge_all()
368 struct strlist *list; in cmd_buildid_cache() local
466 if (list) { in cmd_buildid_cache()
478 strlist__delete(list); in cmd_buildid_cache()
484 if (list) { in cmd_buildid_cache()
502 if (list) { in cmd_buildid_cache()
[all …]
/openbmc/linux/lib/
H A Dlist_sort.c187 struct list_head *list = head->next, *pending = NULL; in list_sort() local
190 if (list == head->prev) /* Zero or one elements */ in list_sort()
232 list->prev = pending; in list_sort()
233 pending = list; in list_sort()
234 list = list->next; in list_sort()
237 } while (list); in list_sort()
240 list = pending; in list_sort()
247 list = merge(priv, cmp, pending, list); in list_sort()
251 merge_final(priv, cmp, head, pending, list); in list_sort()
/openbmc/linux/tools/lib/
H A Dlist_sort.c186 struct list_head *list = head->next, *pending = NULL; in list_sort() local
189 if (list == head->prev) /* Zero or one elements */ in list_sort()
231 list->prev = pending; in list_sort()
232 pending = list; in list_sort()
233 list = list->next; in list_sort()
236 } while (list); in list_sort()
239 list = pending; in list_sort()
246 list = merge(priv, cmp, pending, list); in list_sort()
250 merge_final(priv, cmp, head, pending, list); in list_sort()
/openbmc/linux/tools/perf/util/
H A Dordered-events.c30 list_add(&new->list, &oe->events); in queue_event()
42 p = last->list.next; in queue_event()
44 list_add_tail(&new->list, &oe->events); in queue_event()
50 list_add_tail(&new->list, &last->list); in queue_event()
53 p = last->list.prev; in queue_event()
55 list_add(&new->list, &oe->events); in queue_event()
60 list_add(&new->list, &last->list); in queue_event()
142 list_del_init(&new->list); in alloc_event()
188 list_move(&event->list, &oe->cache); in ordered_events__delete()
399 list_del_init(&oe->buffer->list); in ordered_events__free()
[all …]
/openbmc/linux/drivers/hid/
H A Dhid-debug.c661 struct list_head *list; in hid_dump_device() local
681 list = list->next; in hid_dump_device()
690 struct hid_debug_list *list; in hid_debug_event() local
1134 kfree(list); in hid_debug_events_open()
1138 kref_get(&list->hdev->ref); in hid_debug_events_open()
1139 file->private_data = list; in hid_debug_events_open()
1143 list_add_tail(&list->node, &list->hdev->debug_list); in hid_debug_events_open()
1173 if (!list->hdev || !list->hdev->debug) { in hid_debug_events_read()
1217 if (!list->hdev->debug) in hid_debug_events_poll()
1228 list_del(&list->node); in hid_debug_events_release()
[all …]
/openbmc/linux/drivers/gpu/drm/omapdrm/dss/
H A Dbase.c34 list_add_tail(&dssdev->list, &omapdss_devices_list); in omapdss_device_register()
41 list_del(&dssdev->list); in omapdss_device_unregister()
52 list_for_each_entry(dssdev, &omapdss_devices_list, list) { in omapdss_device_is_registered()
95 struct list_head *list; in omapdss_device_next_output() local
108 list = from ? &from->list : &omapdss_devices_list; in omapdss_device_next_output()
110 list_for_each_entry(dssdev, list, list) { in omapdss_device_next_output()
115 if (&dssdev->list == &omapdss_devices_list) { in omapdss_device_next_output()
195 struct list_head list; member
205 list_for_each_entry(comp, &omapdss_comp_list, list) { in omapdss_list_contains()
230 list_add(&comp->list, &omapdss_comp_list); in omapdss_walk_device()
[all …]
/openbmc/u-boot/lib/libfdt/
H A Dfdt_ro.c552 if (!list) in fdt_stringlist_count()
555 end = list + length; in fdt_stringlist_count()
558 length = strnlen(list, end - list) + 1; in fdt_stringlist_count()
564 list += length; in fdt_stringlist_count()
578 if (!list) in fdt_stringlist_search()
585 length = strnlen(list, end - list) + 1; in fdt_stringlist_search()
594 list += length; in fdt_stringlist_search()
609 if (!list) { in fdt_stringlist_get()
619 length = strnlen(list, end - list) + 1; in fdt_stringlist_get()
633 return list; in fdt_stringlist_get()
[all …]
/openbmc/linux/security/selinux/
H A Dnetnode.c41 struct list_head list; member
47 struct list_head list; member
120 list_for_each_entry_rcu(node, &sel_netnode_hash[idx].list, list) in sel_netnode_find()
163 list_add_rcu(&node->list, &sel_netnode_hash[idx].list); in sel_netnode_insert()
168 list_tail_rcu(&sel_netnode_hash[idx].list), in sel_netnode_insert()
170 struct sel_netnode, list); in sel_netnode_insert()
171 list_del_rcu(&tail->list); in sel_netnode_insert()
281 &sel_netnode_hash[idx].list, list) { in sel_netnode_flush()
282 list_del_rcu(&node->list); in sel_netnode_flush()
298 INIT_LIST_HEAD(&sel_netnode_hash[iter].list); in sel_netnode_init()
/openbmc/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_cmdbuf_res.c65 struct list_head list; member
124 void vmw_cmdbuf_res_commit(struct list_head *list) in vmw_cmdbuf_res_commit() argument
128 list_for_each_entry_safe(entry, next, list, head) { in vmw_cmdbuf_res_commit()
136 list_add_tail(&entry->head, &entry->man->list); in vmw_cmdbuf_res_commit()
160 void vmw_cmdbuf_res_revert(struct list_head *list) in vmw_cmdbuf_res_revert() argument
172 list_move_tail(&entry->head, &entry->man->list); in vmw_cmdbuf_res_revert()
199 struct list_head *list) in vmw_cmdbuf_res_add() argument
213 list_add_tail(&cres->head, list); in vmw_cmdbuf_res_add()
237 struct list_head *list, in vmw_cmdbuf_res_remove() argument
262 list_add_tail(&entry->head, list); in vmw_cmdbuf_res_remove()
[all …]
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_fltr.c33 struct list_head *list) in ice_fltr_add_entry_to_list() argument
44 list_add(&entry->list_entry, list); in ice_fltr_add_entry_to_list()
150 return ice_add_mac(&vsi->back->hw, list); in ice_fltr_add_mac_list()
160 return ice_remove_mac(&vsi->back->hw, list); in ice_fltr_remove_mac_list()
170 return ice_add_vlan(&vsi->back->hw, list); in ice_fltr_add_vlan_list()
181 return ice_remove_vlan(&vsi->back->hw, list); in ice_fltr_remove_vlan_list()
191 return ice_add_eth_mac(&vsi->back->hw, list); in ice_fltr_add_eth_list()
201 return ice_remove_eth_mac(&vsi->back->hw, list); in ice_fltr_remove_eth_list()
240 list); in ice_fltr_add_mac_to_list()
265 list); in ice_fltr_add_vlan_to_list()
[all …]
/openbmc/qemu/util/
H A Dnvdimm-utils.c7 GSList **list = opaque; in nvdimm_device_list() local
10 *list = g_slist_append(*list, DEVICE(obj)); in nvdimm_device_list()
26 GSList *list = NULL; in nvdimm_get_device_list() local
28 object_child_foreach(qdev_get_machine(), nvdimm_device_list, &list); in nvdimm_get_device_list()
29 return list; in nvdimm_get_device_list()
/openbmc/qemu/hw/virtio/
H A Dvirtio-hmp-cmds.c65 if (list) { in hmp_virtio_dump_features()
66 while (list) { in hmp_virtio_dump_features()
68 list = list->next; in hmp_virtio_dump_features()
69 if (list != NULL) { in hmp_virtio_dump_features()
93 if (list == NULL) { in hmp_virtio_query()
98 node = list; in hmp_virtio_query()
290 list = e->descs; in hmp_virtio_queue_element()
291 while (list) { in hmp_virtio_queue_element()
293 list->value->addr, list->value->len); in hmp_virtio_queue_element()
306 list = list->next; in hmp_virtio_queue_element()
[all …]
/openbmc/linux/include/uapi/linux/
H A Dtipc_config.h323 static inline void TLV_LIST_INIT(struct tlv_list_desc *list, in TLV_LIST_INIT() argument
326 list->tlv_ptr = (struct tlv_desc *)data; in TLV_LIST_INIT()
327 list->tlv_space = space; in TLV_LIST_INIT()
330 static inline int TLV_LIST_EMPTY(struct tlv_list_desc *list) in TLV_LIST_EMPTY() argument
332 return (list->tlv_space == 0); in TLV_LIST_EMPTY()
337 return TLV_CHECK(list->tlv_ptr, list->tlv_space, exp_type); in TLV_LIST_CHECK()
340 static inline void *TLV_LIST_DATA(struct tlv_list_desc *list) in TLV_LIST_DATA() argument
342 return TLV_DATA(list->tlv_ptr); in TLV_LIST_DATA()
345 static inline void TLV_LIST_STEP(struct tlv_list_desc *list) in TLV_LIST_STEP() argument
349 list->tlv_ptr = (struct tlv_desc *)((char *)list->tlv_ptr + tlv_space); in TLV_LIST_STEP()
[all …]
/openbmc/qemu/include/qemu/
H A Dnotify.h35 void notifier_list_init(NotifierList *list);
37 void notifier_list_add(NotifierList *list, Notifier *notifier);
41 void notifier_list_notify(NotifierList *list, void *data);
43 bool notifier_list_empty(NotifierList *list);
64 void notifier_with_return_list_init(NotifierWithReturnList *list);
66 void notifier_with_return_list_add(NotifierWithReturnList *list,
71 int notifier_with_return_list_notify(NotifierWithReturnList *list,
/openbmc/u-boot/scripts/dtc/libfdt/
H A Dfdt_ro.c643 if (!list) in fdt_stringlist_count()
646 end = list + length; in fdt_stringlist_count()
649 length = strnlen(list, end - list) + 1; in fdt_stringlist_count()
655 list += length; in fdt_stringlist_count()
669 if (!list) in fdt_stringlist_search()
676 length = strnlen(list, end - list) + 1; in fdt_stringlist_search()
685 list += length; in fdt_stringlist_search()
700 if (!list) { in fdt_stringlist_get()
710 length = strnlen(list, end - list) + 1; in fdt_stringlist_get()
724 return list; in fdt_stringlist_get()
[all …]
/openbmc/linux/arch/powerpc/kvm/
H A Dbook3s_mmu_hpte.c153 struct hlist_head *list; in kvmppc_mmu_pte_flush_page() local
162 hlist_for_each_entry_rcu(pte, list, list_pte) in kvmppc_mmu_pte_flush_page()
172 struct hlist_head *list; in kvmppc_mmu_pte_flush_long() local
176 list = &vcpu3s->hpte_hash_pte_long[ in kvmppc_mmu_pte_flush_long()
182 hlist_for_each_entry_rcu(pte, list, list_pte_long) in kvmppc_mmu_pte_flush_long()
215 struct hlist_head *list; in kvmppc_mmu_pte_vflush_short() local
224 hlist_for_each_entry_rcu(pte, list, list_vpte) in kvmppc_mmu_pte_vflush_short()
236 struct hlist_head *list; in kvmppc_mmu_pte_vflush_64k() local
240 list = &vcpu3s->hpte_hash_vpte_64k[ in kvmppc_mmu_pte_vflush_64k()
258 struct hlist_head *list; in kvmppc_mmu_pte_vflush_long() local
[all …]
/openbmc/linux/drivers/isdn/mISDN/
H A Dtimerdev.c37 struct list_head list; member
67 struct list_head *list = &dev->pending; in mISDN_close() local
74 while (!list_empty(list)) { in mISDN_close()
75 timer = list_first_entry(list, struct mISDNtimer, list); in mISDN_close()
80 list_del(&timer->list); in mISDN_close()
96 struct list_head *list = &dev->expired; in mISDN_read() local
113 !list_empty(list))); in mISDN_read()
120 if (!list_empty(list)) { in mISDN_read()
121 timer = list_first_entry(list, struct mISDNtimer, list); in mISDN_read()
122 list_del(&timer->list); in mISDN_read()
[all …]
/openbmc/linux/arch/powerpc/lib/
H A Drheap.c203 list_add(&blkn->list, &next->list); in attach_free_block()
228 list_del(&after->list); in attach_free_block()
241 list_add_tail(&blkn->list, &blk->list); in attach_taken_block()
411 list_del(&blk->list); in rh_detach_region()
431 list_add(&newblk->list, &blk->list); in rh_detach_region()
476 list_del(&blk->list); in rh_alloc_align()
489 list_add(&spblk->list, blk->list.prev); in rh_alloc_align()
501 list_del(&blk->list); in rh_alloc_align()
568 list_del(&blk->list); in rh_alloc_fixed()
593 list_add(&newblk2->list, &blk->list); in rh_alloc_fixed()
[all …]
/openbmc/linux/sound/soc/sof/
H A Dsof-audio.c434 if (!widget_in_list(list, p->sink)) in sof_unprepare_widgets_in_path()
486 list); in sof_prepare_widgets_in_path()
510 struct snd_soc_dapm_widget_list *list = spcm->stream[dir].list; in sof_free_widgets_in_path() local
551 struct snd_soc_dapm_widget_list *list = spcm->stream[dir].list; in sof_set_up_widgets_in_path() local
615 struct snd_soc_dapm_widget_list *list = spcm->stream[dir].list; in sof_walk_widgets_in_order() local
621 if (!list) in sof_walk_widgets_in_order()
684 struct snd_soc_dapm_widget_list *list = spcm->stream[dir].list; in sof_widget_list_setup() local
689 if (!list) in sof_widget_list_setup()
768 struct snd_soc_dapm_widget_list *list = spcm->stream[dir].list; in sof_widget_list_free() local
772 if (!list) in sof_widget_list_free()
[all …]
/openbmc/linux/net/netfilter/
H A Dnft_connlimit.c17 struct nf_conncount_list *list; member
51 count = priv->list->count; in nft_connlimit_do_eval()
80 priv->list = kmalloc(sizeof(*priv->list), GFP_KERNEL_ACCOUNT); in nft_connlimit_do_init()
81 if (!priv->list) in nft_connlimit_do_init()
84 nf_conncount_list_init(priv->list); in nft_connlimit_do_init()
94 kfree(priv->list); in nft_connlimit_do_init()
103 nf_conncount_cache_free(priv->list); in nft_connlimit_do_destroy()
104 kfree(priv->list); in nft_connlimit_do_destroy()
218 priv_dst->list = kmalloc(sizeof(*priv_dst->list), GFP_ATOMIC); in nft_connlimit_clone()
219 if (!priv_dst->list) in nft_connlimit_clone()
[all …]
/openbmc/linux/drivers/s390/char/
H A Dsclp_con.c57 list_del(&buffer->list); in sclp_conbuf_callback()
64 struct sclp_buffer, list); in sclp_conbuf_callback()
85 list_add_tail(&sclp_conbuf->list, &sclp_con_outqueue); in sclp_conbuf_emit()
92 list); in sclp_conbuf_emit()
137 struct list_head *list; in sclp_console_drop_buffer() local
143 list = sclp_con_outqueue.next; in sclp_console_drop_buffer()
146 list = list->next; in sclp_console_drop_buffer()
147 if (list == &sclp_con_outqueue) in sclp_console_drop_buffer()
149 list_del(list); in sclp_console_drop_buffer()
150 buffer = list_entry(list, struct sclp_buffer, list); in sclp_console_drop_buffer()
/openbmc/linux/drivers/reset/
H A Dreset-ti-syscon.c165 const __be32 *list; in ti_syscon_reset_probe() local
177 list = of_get_property(np, "ti,reset-bits", &size); in ti_syscon_reset_probe()
178 if (!list || (size / sizeof(*list)) % 7 != 0) { in ti_syscon_reset_probe()
183 nr_controls = (size / sizeof(*list)) / 7; in ti_syscon_reset_probe()
190 controls[i].assert_offset = be32_to_cpup(list++); in ti_syscon_reset_probe()
191 controls[i].assert_bit = be32_to_cpup(list++); in ti_syscon_reset_probe()
192 controls[i].deassert_offset = be32_to_cpup(list++); in ti_syscon_reset_probe()
193 controls[i].deassert_bit = be32_to_cpup(list++); in ti_syscon_reset_probe()
194 controls[i].status_offset = be32_to_cpup(list++); in ti_syscon_reset_probe()
195 controls[i].status_bit = be32_to_cpup(list++); in ti_syscon_reset_probe()
[all …]
/openbmc/u-boot/lib/
H A Dlist_sort.c111 struct list_head *list; in list_sort() local
119 list = head->next; in list_sort()
121 while (list) { in list_sort()
122 struct list_head *cur = list; in list_sort()
123 list = list->next; in list_sort()
144 list = merge(priv, cmp, part[lev], list); in list_sort()
165 struct list_head list; member
207 ela = container_of(a, struct debug_el, list); in cmp()
208 elb = container_of(b, struct debug_el, list); in cmp()
243 list_add_tail(&el->list, &head); in list_sort_test()
[all …]
/openbmc/linux/arch/um/drivers/
H A Dport_kern.c19 struct list_head list; member
37 struct list_head list; member
60 list_del(&conn->list); in pipe_interrupt()
63 list_add(&conn->list, &conn->port->connections); in pipe_interrupt()
96 { .list = LIST_HEAD_INIT(conn->list), in port_accept()
113 list_add(&conn->list, &port->pending); in port_accept()
136 port = list_entry(ele, struct port_list, list); in port_work_proc()
191 { .list = LIST_HEAD_INIT(port->list), in port_data()
200 list_add(&port->list, &ports); in port_data()
239 list); in port_wait()
[all …]

12345678910>>...292