Searched refs:list (Results 276 - 300 of 5576) sorted by relevance

<<11121314151617181920>>

/linux-master/drivers/infiniband/hw/hfi1/
H A Dmmu_rb.c7 #include <linux/list.h>
103 /* move from LRU list to delete list */
104 list_move(&rbnode->list, &del_list);
109 rbnode = list_first_entry(&del_list, struct mmu_rb_node, list);
110 list_del(&rbnode->list);
139 list_add_tail(&mnode->list, &handler->lru_list);
155 list_move_tail(&node->list, &handler->lru_list);
201 list_move(&mnode->list, &mnode->handler->del_list);
221 list_move(&mnode->list,
[all...]
/linux-master/security/tomoyo/
H A Ddomain.c40 struct list_head *list = param->list; local
44 list_for_each_entry_rcu(entry, list, list,
57 list_add_tail_rcu(&entry->list, list);
105 struct list_head * const list = param->list; local
123 list_for_each_entry_rcu(entry, list, list,
167 const struct list_head *list = &domain->acl_info_list; local
297 tomoyo_scan_transition(const struct list_head *list, const struct tomoyo_path_info *domainname, const struct tomoyo_path_info *program, const char *last_name, const enum tomoyo_transition_type type) argument
352 const struct list_head * const list = local
735 struct list_head *list = local
[all...]
/linux-master/drivers/xen/xenbus/
H A Dxenbus_dev_frontend.c69 * An element of a list of outstanding transactions, for which we're
73 struct list_head list; member in struct:xenbus_transaction_holder
82 struct list_head list; member in struct:read_buffer
148 rb = list_entry(u->read_buffers.next, struct read_buffer, list);
166 list_del(&rb->list);
171 struct read_buffer, list);
185 * multiple queued buffers on a temporary local list, and then add it
186 * to the appropriate list under lock once all the buffers have een
207 list_add_tail(&rb->list, queue);
212 * Free all the read_buffer s on a list
215 queue_cleanup(struct list_head *list) argument
227 struct list_head list; member in struct:watch_adapter
[all...]
/linux-master/net/smc/
H A Dsmc_pnet.c13 #include <linux/list.h>
60 struct list_head list; member in struct:smc_pnetentry
118 list) {
121 list_del(&pnetelem->list);
143 list_for_each_entry(ibdev, &smc_ib_devices.list, list) {
165 list_for_each_entry(smcd, &smcd_dev_list.list, list) {
198 list_for_each_entry_safe(pnetelem, tmp_pe, &pnettable->pnetlist, list) {
230 list_for_each_entry_safe(pnetelem, tmp_pe, &pnettable->pnetlist, list) {
[all...]
/linux-master/drivers/usb/gadget/function/
H A Duvc_video.c249 if (!list_empty(&ureq->list))
250 list_del_init(&ureq->list);
280 struct list_head *list = NULL; local
318 * to the req_ready list, otherwise req_free.
320 list = is_bulk ? &video->req_free : &video->req_ready;
321 list_add_tail(&req->list, list);
339 * We only queue half of the free list since we still want to have
340 * some free usb_requests in the free list for the video_pump async_wq
342 * situation where the free list doe
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_matchall.c18 list_for_each_entry(mall_entry, &block->mall.list, list)
188 if (list_empty(&block->mall.list))
192 list_for_each_entry(mall_entry, &block->mall.list, list) {
285 list_for_each_entry(binding, &block->binding_list, list) {
297 list_add_tail(&mall_entry->list, &block->mall.list);
303 list)
322 list_del(&mall_entry->list);
[all...]
/linux-master/samples/bpf/
H A Dtest_lru_dist.c39 static inline void INIT_LIST_HEAD(struct list_head *list) argument
41 list->next = list;
42 list->prev = list;
71 static inline void list_move(struct list_head *list, struct list_head *head) argument
73 __list_del_entry(list);
74 list_add(list, head);
84 struct list_head list; member in struct:pfect_lru_node
89 struct list_head list; member in struct:pfect_lru
[all...]
/linux-master/drivers/dma-buf/
H A Dudmabuf.c199 struct udmabuf_create_item *list)
217 if (!IS_ALIGNED(list[i].offset, PAGE_SIZE))
219 if (!IS_ALIGNED(list[i].size, PAGE_SIZE))
221 ubuf->pagecount += list[i].size >> PAGE_SHIFT;
239 memfd = fget(list[i].memfd);
252 pgoff = list[i].offset >> PAGE_SHIFT;
253 pgcnt = list[i].size >> PAGE_SHIFT;
297 struct udmabuf_create_item list; local
305 list.memfd = create.memfd;
306 list
197 udmabuf_create(struct miscdevice *device, struct udmabuf_create_list *head, struct udmabuf_create_item *list) argument
315 struct udmabuf_create_item *list; local
[all...]
/linux-master/include/linux/
H A Drculist.h8 * RCU-protected list version
10 #include <linux/list.h>
15 * @list: list to be initialized
18 * cleanup tasks, when readers have no access to the list being initialized.
19 * However, if the list being initialized is visible to readers, you
22 static inline void INIT_LIST_HEAD_RCU(struct list_head *list) argument
24 WRITE_ONCE(list->next, list);
25 WRITE_ONCE(list
226 __list_splice_init_rcu(struct list_head *list, struct list_head *prev, struct list_head *next, void (*sync)(void)) argument
274 list_splice_init_rcu(struct list_head *list, struct list_head *head, void (*sync)(void)) argument
289 list_splice_tail_init_rcu(struct list_head *list, struct list_head *head, void (*sync)(void)) argument
[all...]
/linux-master/fs/bcachefs/
H A Dmovinggc.c44 move_bucket_in_flight_add(struct buckets_in_flight *list, struct move_bucket b) argument
54 ret = rhashtable_lookup_insert_fast(&list->table, &new->hash,
61 if (!list->first)
62 list->first = new;
64 list->last->next = new;
66 list->last = new;
67 list->nr++;
68 list->sectors += b.sectors;
105 struct buckets_in_flight *list,
111 while ((i = list
104 move_buckets_wait(struct moving_context *ctxt, struct buckets_in_flight *list, bool flush) argument
134 bucket_in_flight(struct buckets_in_flight *list, struct move_bucket_key k) argument
[all...]
/linux-master/drivers/xen/xen-pciback/
H A Dvpci.c12 #include <linux/list.h>
48 list) {
108 struct pci_dev_entry, list);
115 list_add_tail(&dev_entry->list,
127 list_add_tail(&dev_entry->list,
162 list_for_each_entry(e, &vpci_dev->dev_list[slot], list) {
164 list_del(&e->list);
218 list) {
220 list_del(&e->list);
245 list) {
[all...]
/linux-master/drivers/firmware/
H A Dmemmap.c23 * hierarchical, it's ok to organise them in a linked list. No parent
34 struct list_head list; /* entry for the linked list */ member in struct:firmware_map_entry
110 list_add(&entry->list, &map_entries_bootmem);
151 INIT_LIST_HEAD(&entry->list);
155 list_add_tail(&entry->list, &map_entries);
170 list_del(&entry->list);
206 * firmware_map_find_entry_in_list() - Search memmap entry in a given list.
210 * @list: In which to find the entry.
213 * given list
219 firmware_map_find_entry_in_list(u64 start, u64 end, const char *type, struct list_head *list) argument
[all...]
/linux-master/drivers/scsi/arm/
H A Dqueue.c10 * not updating internal linked list properly
12 * 30-Aug-2000 RMK Use Linux list handling and spinlocks
20 #include <linux/list.h>
32 struct list_head list; member in struct:queue_entry
70 * host-available list head, and we wouldn't
79 list_add(&q->list, &queue->free);
121 q = list_entry(l, QE_t, list);
143 * Move the entry from the "used" list onto the "free" list
146 q = list_entry(ent, QE_t, list);
[all...]
/linux-master/drivers/net/ethernet/engleder/
H A Dtsnep_rxnfc.c43 list_for_each_entry(rule, &adapter->rxnfc_rules, list) {
61 list_for_each_entry(cur, &adapter->rxnfc_rules, list) {
67 list_add(&rule->list, pred ? &pred->list : &adapter->rxnfc_rules);
76 list_del(&rule->list);
88 list_for_each_entry_safe(rule, tmp, &adapter->rxnfc_rules, list)
135 list_for_each_entry(rule, &adapter->rxnfc_rules, list) {
158 list_for_each_entry(tmp, &adapter->rxnfc_rules, list) {
174 INIT_LIST_HEAD(&rule->list);
189 list_for_each_entry(tmp, &adapter->rxnfc_rules, list) {
[all...]
/linux-master/drivers/platform/x86/intel/pmc/
H A Dcore_ssram.c34 static u32 pmc_core_find_guid(struct pmc_info *list, const struct pmc_reg_map *map) argument
36 for (; list->map; ++list)
37 if (list->map == map)
38 return list->guid;
85 * a list of indices. Each requirement register is associated with an
206 static const struct pmc_reg_map *pmc_core_find_regmap(struct pmc_info *list, u16 devid) argument
208 for (; list->map; ++list)
209 if (devid == list
[all...]
/linux-master/drivers/media/common/videobuf2/
H A Dvideobuf2-dvb.c200 struct list_head *list, *q; local
220 list_for_each_safe(list, q, &f->felist) {
221 fe = list_entry(list, struct vb2_dvb_frontend, felist);
254 struct list_head *list, *q; local
259 list_for_each_safe(list, q, &f->felist) {
260 fe = list_entry(list, struct vb2_dvb_frontend, felist);
276 struct list_head *list, *q; local
282 list_for_each_safe(list, q, &f->felist) {
283 fe = list_entry(list, struct vb2_dvb_frontend, felist);
317 struct list_head *list, * local
[all...]
/linux-master/drivers/interconnect/qcom/
H A Dbcm-voter.c27 * @commit_list: list containing bcms to be committed to hardware
28 * @ws_list: list containing bcms that have different wake/sleep votes
29 * @voter_node: list of bcm voters
44 const struct qcom_icc_bcm *bcm_a = list_entry(a, struct qcom_icc_bcm, list);
45 const struct qcom_icc_bcm *bcm_b = list_entry(b, struct qcom_icc_bcm, list);
167 list_for_each_entry(bcm, bcm_list, list) {
170 if ((list_is_last(&bcm->list, bcm_list)) ||
171 bcm->aux_data.vcd != list_next_entry(bcm, list)->aux_data.vcd) {
246 * @bcm: bcm to add to the commit and wake sleep list
254 if (list_empty(&bcm->list))
[all...]
/linux-master/drivers/crypto/marvell/octeontx/
H A Dotx_cptvf_reqmgr.c18 /* SG list header size in bytes */
35 pr_debug("Gather list size %d\n", req->incnt);
46 pr_debug("Scatter list size %d\n", req->outcnt);
97 struct otx_cpt_buf_ptr *list,
104 if (unlikely(!list)) {
105 dev_err(&pdev->dev, "Input list pointer is NULL\n");
110 if (likely(list[i].vptr)) {
111 list[i].dma_addr = dma_map_single(&pdev->dev,
112 list[i].vptr,
113 list[
96 setup_sgio_components(struct pci_dev *pdev, struct otx_cpt_buf_ptr *list, int buf_count, u8 *buffer) argument
[all...]
/linux-master/drivers/crypto/cavium/cpt/
H A Dcptvf_reqmanager.c44 static int setup_sgio_components(struct cpt_vf *cptvf, struct buf_ptr *list, argument
52 if (unlikely(!list)) {
58 if (likely(list[i].vptr)) {
59 list[i].dma_addr = dma_map_single(&pdev->dev,
60 list[i].vptr,
61 list[i].size,
64 list[i].dma_addr))) {
76 sg_ptr->u.s.len0 = cpu_to_be16(list[i * 4 + 0].size);
77 sg_ptr->u.s.len1 = cpu_to_be16(list[i * 4 + 1].size);
78 sg_ptr->u.s.len2 = cpu_to_be16(list[
[all...]
/linux-master/drivers/acpi/apei/
H A Dapei-base.c281 struct list_head list; member in struct:apei_res
301 list_for_each_entry_safe(res, resn, res_list, list) {
308 list_del(&res->list);
317 list_add(&res_ins->list, res_list);
324 list_add(&res_ins->list, res_list);
334 res1 = list_entry(res_list1->next, struct apei_res, list);
335 resn1 = list_entry(res1->list.next, struct apei_res, list);
336 while (&res1->list != res_list1) {
337 list_for_each_entry(res2, res_list2, list) {
[all...]
/linux-master/drivers/staging/vme_user/
H A Dvme.c33 /* Bitmask and list of registered buses both protected by common mutex */
50 /* Get list to search */
54 list)->parent;
57 list)->parent;
60 list)->parent;
63 list)->parent;
266 list_for_each_entry(slave_image, &bridge->slave_resources, list) {
295 resource->entry = &allocated_image->list;
340 image = list_entry(resource->entry, struct vme_slave_resource, list);
389 image = list_entry(resource->entry, struct vme_slave_resource, list);
1072 vme_dma_list_add(struct vme_dma_list *list, struct vme_dma_attr *src, struct vme_dma_attr *dest, size_t count) argument
1107 vme_dma_list_exec(struct vme_dma_list *list) argument
1137 vme_dma_list_free(struct vme_dma_list *list) argument
[all...]
/linux-master/net/sctp/
H A Dbind_addr.c55 list_for_each_entry(addr, &src->address_list, list) {
67 list_for_each_entry(addr, &src->address_list, list) {
92 * the list of bound addresses that the older endpoint used.
104 list_for_each_entry(addr, &src->address_list, list) {
123 /* Dispose of the address list. */
128 /* Empty the bind address list. */
129 list_for_each_entry_safe(addr, temp, &bp->address_list, list) {
130 list_del_rcu(&addr->list);
139 /* Empty the bind address list. */
143 /* Add an address to the bind address list i
[all...]
/linux-master/include/drm/
H A Ddrm_gpuvm.h29 #include <linux/list.h>
262 * @rb.list: the &list_head to track GPU VA mappings
264 struct list_head list; member in struct:drm_gpuvm::__anon1080
291 * @extobj: structure holding the extobj list
295 * @extobj.list: &list_head storing &drm_gpuvm_bos serving as
298 struct list_head list; member in struct:drm_gpuvm::__anon1081
301 * @extobj.local_list: pointer to the local list temporarily
302 * storing entries from the external object list
307 * @extobj.lock: spinlock to protect the extobj list
313 * @evict: structure holding the evict list an
320 struct list_head list; member in struct:drm_gpuvm::__anon1082
704 } list; member in struct:drm_gpuvm_bo
985 struct list_head list; member in struct:drm_gpuva_ops
[all...]
/linux-master/drivers/mfd/
H A Dabx500-core.c8 #include <linux/list.h>
18 struct list_head list; member in struct:abx500_device_entry
28 list_for_each_entry(dev_entry, &abx500_list, list) {
47 list_add_tail(&dev_entry->list, &abx500_list);
56 list_for_each_entry_safe(dev_entry, tmp, &abx500_list, list)
58 list_del(&dev_entry->list);
/linux-master/net/9p/
H A Dmod.c22 #include <linux/list.h>
68 list_add_tail(&m->list, &v9fs_trans_list);
81 list_del_init(&m->list);
92 list_for_each_entry(t, &v9fs_trans_list, list)
142 list_for_each_entry(t, &v9fs_trans_list, list)
149 list_for_each_entry(t, &v9fs_trans_list, list)

Completed in 226 milliseconds

<<11121314151617181920>>