Searched refs:list (Results 151 - 175 of 5576) sorted by relevance

1234567891011>>

/linux-master/drivers/gpu/drm/omapdrm/dss/
H A Dbase.c9 #include <linux/list.h>
34 list_add_tail(&dssdev->list, &omapdss_devices_list);
41 list_del(&dssdev->list);
52 list_for_each_entry(dssdev, &omapdss_devices_list, list) {
80 list_for_each_entry(dssdev, &omapdss_devices_list, list) {
95 struct list_head *list; local
108 list = from ? &from->list : &omapdss_devices_list;
110 list_for_each_entry(dssdev, list, list) {
195 struct list_head list; member in struct:omapdss_comp_node
[all...]
/linux-master/include/uapi/linux/
H A Dtipc_config.h13 * notice, this list of conditions and the following disclaimer.
15 * notice, this list of conditions and the following disclaimer in the
314 * A TLV list descriptor simplifies processing of messages
320 __u32 tlv_space; /* # bytes from curr TLV to list end */
323 static inline void TLV_LIST_INIT(struct tlv_list_desc *list, argument
326 list->tlv_ptr = (struct tlv_desc *)data;
327 list->tlv_space = space;
330 static inline int TLV_LIST_EMPTY(struct tlv_list_desc *list) argument
332 return (list->tlv_space == 0);
335 static inline int TLV_LIST_CHECK(struct tlv_list_desc *list, __u1 argument
340 TLV_LIST_DATA(struct tlv_list_desc *list) argument
345 TLV_LIST_STEP(struct tlv_list_desc *list) argument
[all...]
/linux-master/tools/perf/
H A Dbuiltin-buildid-cache.c224 struct strlist *list; local
228 err = build_id_cache__list_build_ids(pathname, nsi, &list);
232 strlist__for_each_entry(pos, list) {
239 strlist__delete(list);
249 struct strlist *list; local
254 list = build_id_cache__list_all(false);
255 if (!list) {
260 strlist__for_each_entry(pos, list) {
269 strlist__delete(list);
370 struct strlist *list; local
[all...]
/linux-master/arch/powerpc/kvm/
H A Dbook3s_mmu_hpte.c65 /* Add to ePTE list */
69 /* Add to ePTE_long list */
74 /* Add to vPTE list */
78 /* Add to vPTE_long list */
84 /* Add to vPTE_64k list */
141 struct hlist_head *list = &vcpu3s->hpte_hash_vpte_long[i]; local
143 hlist_for_each_entry_rcu(pte, list, list_vpte_long)
153 struct hlist_head *list; local
156 /* Find the list of entries in the map */
157 list
172 struct hlist_head *list; local
215 struct hlist_head *list; local
236 struct hlist_head *list; local
258 struct hlist_head *list; local
309 struct hlist_head *list = &vcpu3s->hpte_hash_vpte_long[i]; local
[all...]
/linux-master/drivers/media/pci/ivtv/
H A Divtv-queue.c34 INIT_LIST_HEAD(&q->list);
52 list_add_tail(&buf->list, &q->list);
65 if (!list_empty(&q->list)) {
66 buf = list_entry(q->list.next, struct ivtv_buffer, list);
67 list_del_init(q->list.next);
79 struct ivtv_buffer *buf = list_entry(from->list.next, struct ivtv_buffer, list);
81 list_move_tail(from->list
[all...]
/linux-master/security/tomoyo/
H A Dmemory.c100 struct list_head *list; local
111 list = &param->ns->group_list[idx];
112 list_for_each_entry(group, list, head.list) {
126 list_add_tail_rcu(&entry->head.list, list);
166 list_for_each_entry(ptr, head, head.list) {
179 list_add_tail(&ptr->head.list, head);
206 list_add_tail_rcu(&tomoyo_kernel_domain.list, &tomoyo_domain_list);
/linux-master/sound/core/
H A Dmisc.c99 * snd_pci_quirk_lookup_id - look up a PCI SSID quirk list
102 * @list: quirk list, terminated by a null entry
104 * Look through the given quirk list and finds a matching entry
112 const struct snd_pci_quirk *list)
116 for (q = list; q->subvendor || q->subdevice; q++) {
128 * snd_pci_quirk_lookup - look up a PCI SSID quirk list
130 * @list: quirk list, terminated by a null entry
132 * Look through the given quirk list an
111 snd_pci_quirk_lookup_id(u16 vendor, u16 device, const struct snd_pci_quirk *list) argument
139 snd_pci_quirk_lookup(struct pci_dev *pci, const struct snd_pci_quirk *list) argument
165 struct list_head list; member in struct:snd_fasync
[all...]
H A Ddevice.c40 INIT_LIST_HEAD(&dev->list);
47 /* insert the entry in an incrementally sorted list */
49 struct snd_device *pdev = list_entry(p, struct snd_device, list);
54 list_add(&dev->list, p);
72 list_del(&dev->list);
86 list_for_each_entry(dev, &card->devices, list)
126 * Removes the device from the list on the card and invokes the
196 list_for_each_entry(dev, &card->devices, list) {
214 list_for_each_entry_reverse(dev, &card->devices, list)
228 list_for_each_entry_safe_reverse(dev, next, &card->devices, list) {
[all...]
/linux-master/lib/
H A Derror-inject.c9 #include <linux/list.h>
17 struct list_head list; member in struct:ei_entry
30 list_for_each_entry(ent, &error_injection_list, list) {
46 list_for_each_entry(ent, &error_injection_list, list) {
61 * bpf_error_injection, so we need to populate the list of the symbols that have
90 INIT_LIST_HEAD(&ent->list);
91 list_add_tail(&ent->list, &error_injection_list);
125 list_for_each_entry_safe(ent, n, &error_injection_list, list) {
127 list_del_init(&ent->list);
199 struct ei_entry *ent = list_entry(v, struct ei_entry, list);
[all...]
/linux-master/crypto/
H A Dalgapi.c15 #include <linux/list.h>
99 * This function adds a spawn to the list secondary_spawns which
114 spawn = list_first_entry_or_null(stack, struct crypto_spawn, list);
118 n = list_prev_entry(spawn, list);
119 list_move(&spawn->list, secondary_spawns);
121 if (list_is_last(&n->list, stack))
124 n = list_next_entry(n, list);
132 struct list_head *list)
144 list_move(&inst->alg.cra_list, list);
145 hlist_del(&inst->list);
131 crypto_remove_instance(struct crypto_instance *inst, struct list_head *list) argument
157 crypto_remove_spawns(struct crypto_alg *alg, struct list_head *list, struct crypto_alg *nalg) argument
441 crypto_remove_final(struct list_head *list) argument
482 crypto_remove_alg(struct crypto_alg *alg, struct list_head *list) argument
590 struct hlist_head *list; local
[all...]
/linux-master/tools/perf/util/
H A Dparse-events.h8 #include <linux/list.h>
86 /** @list: The term list the term is a part of. */
87 struct list_head list; member in struct:parse_events_term
133 /** @list: The head of a list of errors. */
134 struct list_head list; member in struct:parse_events_error
137 /* A wrapper around a list of terms for the sake of better type safety. */
143 /* The list parsed events are placed on. */
144 struct list_head list; member in struct:parse_events_state
[all...]
/linux-master/drivers/isdn/mISDN/
H A Dtimerdev.c37 struct list_head list; member in struct:mISDNtimer
67 struct list_head *list = &dev->pending; local
74 while (!list_empty(list)) {
75 timer = list_first_entry(list, struct mISDNtimer, list);
80 list_del(&timer->list);
85 list_for_each_entry_safe(timer, next, &dev->expired, list) {
96 struct list_head *list = &dev->expired; local
108 while (list_empty(list) && (dev->work == 0)) {
113 !list_empty(list)));
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Ddevcom.c5 #include <linux/list.h>
11 /* protect device list */
13 /* protect component list */
20 struct list_head list; member in struct:mlx5_devcom_dev
38 struct list_head list; member in struct:mlx5_devcom_comp_dev
48 list_for_each_entry(iter, &devcom_dev_list, list)
87 list_add_tail(&devc->list, &devcom_dev_list);
99 list_del(&devc->list);
160 list_add_tail(&devcom->list, &comp->comp_dev_list_head);
172 list_del(&devcom->list);
[all...]
/linux-master/drivers/media/platform/ti/vpe/
H A Dvpdma.c424 * Cleanup all pending descriptors of a list
425 * First, stop the current list being processed.
427 * To cleanup the internal FSM, post abort list descriptor for all the
462 dev_err(&vpdma->pdev->dev, "Timed out cleaning up VPDMA list\n");
476 * create a descriptor list, the user of this list will append configuration,
477 * control and data descriptors to this list, this list will be submitted to
478 * VPDMA. VPDMA's list parser will go through each descriptor and perform the
481 int vpdma_create_desc_list(struct vpdma_desc_list *list, size_ argument
501 vpdma_reset_desc_list(struct vpdma_desc_list *list) argument
511 vpdma_free_desc_list(struct vpdma_desc_list *list) argument
528 vpdma_submit_descs(struct vpdma_data *vpdma, struct vpdma_desc_list *list, int list_num) argument
555 vpdma_update_dma_addr(struct vpdma_data *vpdma, struct vpdma_desc_list *list, dma_addr_t dma_addr, void *write_dtd, int drop, int idx) argument
633 vpdma_add_cfd_block(struct vpdma_desc_list *list, int client, struct vpdma_buf *blk, u32 dest_offset) argument
661 vpdma_add_cfd_adb(struct vpdma_desc_list *list, int client, struct vpdma_buf *adb) argument
703 vpdma_add_sync_on_channel_ctd(struct vpdma_desc_list *list, enum vpdma_channel chan) argument
728 vpdma_add_abort_channel_ctd(struct vpdma_desc_list *list, int chan_num) argument
807 vpdma_add_out_dtd(struct vpdma_desc_list *list, int width, int stride, const struct v4l2_rect *c_rect, const struct vpdma_data_format *fmt, dma_addr_t dma_addr, int max_w, int max_h, enum vpdma_channel chan, u32 flags) argument
817 vpdma_rawchan_add_out_dtd(struct vpdma_desc_list *list, int width, int stride, const struct v4l2_rect *c_rect, const struct vpdma_data_format *fmt, dma_addr_t dma_addr, int max_w, int max_h, int raw_vpdma_chan, u32 flags) argument
886 vpdma_add_in_dtd(struct vpdma_desc_list *list, int width, int stride, const struct v4l2_rect *c_rect, const struct vpdma_data_format *fmt, dma_addr_t dma_addr, enum vpdma_channel chan, int field, u32 flags, int frame_width, int frame_height, int start_h, int start_v) argument
[all...]
/linux-master/tools/mm/
H A Dpage_owner_sort.c99 static struct block_list *list; variable in typeref:struct:block_list
434 static bool match_num_list(int num, int *list, int list_size) argument
437 if (list[i] == num)
442 static bool match_str_list(const char *str, char **list, int list_size) argument
445 if (!strcmp(list[i], str))
477 list[list_size].pid = get_pid(buf);
478 list[list_size].tgid = get_tgid(buf);
479 list[list_size].comm = get_comm(buf);
480 list[list_size].txt = malloc(len+1);
481 if (!list[list_siz
602 int *list = calloc(size, sizeof(int)); local
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx4/
H A Dicm.h16 * copyright notice, this list of conditions and the following
20 * copyright notice, this list of conditions and the following
37 #include <linux/list.h>
57 struct list_head list; member in struct:mlx4_icm_chunk
102 struct mlx4_icm_chunk, list);
114 if (iter->chunk->list.next == &iter->icm->chunk_list) {
119 iter->chunk = list_entry(iter->chunk->list.next,
120 struct mlx4_icm_chunk, list);
/linux-master/tools/testing/selftests/drivers/usb/usbip/
H A Dusbip_test.sh75 src/usbip list -l;
85 src/usbip list -r localhost;
101 src/usbip list -r localhost;
117 src/usbip list -r localhost;
133 src/usbip list -r localhost;
175 src/usbip list -l;
/linux-master/include/linux/
H A Ddmi.h5 #include <linux/list.h>
83 struct list_head list; member in struct:dmi_device
100 extern int dmi_check_system(const struct dmi_system_id *list);
101 const struct dmi_system_id *dmi_first_match(const struct dmi_system_id *list);
121 static inline int dmi_check_system(const struct dmi_system_id *list) { return 0; } argument
150 dmi_first_match(const struct dmi_system_id *list) { return NULL; } argument
/linux-master/samples/livepatch/
H A Dlivepatch-shadow-mod.c84 * Keep a list of all the dummies so we can clean up any residual ones
91 struct list_head list; member in struct:dummy
152 list_add(&d->list, &dummy_list);
177 list_for_each_entry_safe(d, tmp, &dummy_list, list) {
181 list_del(&d->list);
210 list_for_each_entry_safe(d, tmp, &dummy_list, list) {
211 list_del(&d->list);
/linux-master/scripts/
H A Dexport_report.pl30 my $list = $href->{$mod};
32 foreach my $sym (sort numerically @{$list}) {
155 # print the list of unused exported symbols
157 foreach my $list (sort alphabetically values(%SYMBOL)) {
158 my ($module, $value, $symbol, $gpl) = @{$list};
177 my $list = $MODULE{$thismod};
181 foreach my $symbol (@{$list}) {
/linux-master/drivers/scsi/lpfc/
H A Dlpfc_scsi.h28 #define list_remove_head(list, entry, type, member) \
31 if (!list_empty(list)) { \
32 entry = list_entry((list)->next, type, member); \
37 #define list_get_first(list, type, member) \
38 (list_empty(list)) ? NULL : \
39 list_entry((list)->next, type, member)
/linux-master/drivers/s390/scsi/
H A Dzfcp_reqlist.h20 * struct zfcp_reqlist - Container for request list (reqlist)
21 * @lock: Spinlock for protecting the hash list
22 * @buckets: Array of hashbuckets, each is a list of requests in this bucket
58 * zfcp_reqlist_isempty - Check whether the request list empty
61 * Returns: 1 if list is empty, 0 if not
92 list_for_each_entry(req, &rl->buckets[i], list)
140 list_del(&req->list);
165 list_add_tail(&req->list, &rl->buckets[i]);
170 * zfcp_reqlist_move - Move all entries from reqlist to simple list
172 * @list
174 zfcp_reqlist_move(struct zfcp_reqlist *rl, struct list_head *list) argument
[all...]
/linux-master/fs/dlm/
H A Drequestqueue.c20 struct list_head list; member in struct:rq_entry
53 list_add_tail(&e->list, &ls->ls_requestqueue);
82 e = list_entry(ls->ls_requestqueue.next, struct rq_entry, list);
98 list_del(&e->list);
162 list_for_each_entry_safe(e, safe, &ls->ls_requestqueue, list) {
166 list_del(&e->list);
/linux-master/drivers/usb/dwc3/
H A Dgadget.h14 #include <linux/list.h>
64 * next_request - gets the next request on the given list
65 * @list: the request list to operate on
68 * request available on @list.
70 static inline struct dwc3_request *next_request(struct list_head *list) argument
72 return list_first_entry_or_null(list, struct dwc3_request, list);
80 * current list to the endpoint's started_list.
87 list_move_tail(&req->list,
[all...]
/linux-master/drivers/staging/greybus/
H A Daudio_manager.c32 list_for_each_entry(module, &modules_list, list) {
58 /* Add it to the list */
60 list_add_tail(&module->list, &modules_list);
78 list_del(&module->list);
93 list_for_each_entry_safe(module, next, &modules_list, list) {
94 list_del(&module->list);
148 list_for_each_entry(module, &modules_list, list) {

Completed in 183 milliseconds

1234567891011>>