Searched refs:list (Results 1 - 25 of 5576) sorted by relevance

1234567891011>>

/linux-master/tools/firewire/
H A Dlist.h2 struct list { struct
3 struct list *next, *prev;
7 list_init(struct list *list) argument
9 list->next = list;
10 list->prev = list;
14 list_empty(struct list *list) argument
29 list_append(struct list *list, struct list *new_link) argument
35 list_prepend(struct list *list, struct list *new_link) argument
[all...]
/linux-master/drivers/net/wireless/quantenna/qtnfmac/
H A Dutil.c7 void qtnf_sta_list_init(struct qtnf_sta_list *list) argument
9 if (unlikely(!list))
12 INIT_LIST_HEAD(&list->head);
13 atomic_set(&list->size, 0);
16 struct qtnf_sta_node *qtnf_sta_list_lookup(struct qtnf_sta_list *list, argument
24 list_for_each_entry(node, &list->head, list) {
32 struct qtnf_sta_node *qtnf_sta_list_lookup_index(struct qtnf_sta_list *list, argument
37 if (qtnf_sta_list_size(list) <= index)
40 list_for_each_entry(node, &list
51 struct qtnf_sta_list *list = &vif->sta_list; local
77 struct qtnf_sta_list *list = &vif->sta_list; local
94 qtnf_sta_list_free(struct qtnf_sta_list *list) argument
[all...]
H A Dutil.h12 void qtnf_sta_list_init(struct qtnf_sta_list *list);
14 struct qtnf_sta_node *qtnf_sta_list_lookup(struct qtnf_sta_list *list,
16 struct qtnf_sta_node *qtnf_sta_list_lookup_index(struct qtnf_sta_list *list,
22 void qtnf_sta_list_free(struct qtnf_sta_list *list);
24 static inline size_t qtnf_sta_list_size(const struct qtnf_sta_list *list) argument
26 return atomic_read(&list->size);
29 static inline bool qtnf_sta_list_empty(const struct qtnf_sta_list *list) argument
31 return list_empty(&list->head);
/linux-master/io_uring/
H A Dslist.h15 #define wq_list_empty(list) (READ_ONCE((list)->first) == NULL)
17 #define INIT_WQ_LIST(list) do { \
18 (list)->first = NULL; \
23 struct io_wq_work_list *list)
30 list->last = node;
34 struct io_wq_work_list *list)
37 if (!list->first) {
38 list->last = node;
39 WRITE_ONCE(list
21 wq_list_add_after(struct io_wq_work_node *node, struct io_wq_work_node *pos, struct io_wq_work_list *list) argument
33 wq_list_add_tail(struct io_wq_work_node *node, struct io_wq_work_list *list) argument
46 wq_list_add_head(struct io_wq_work_node *node, struct io_wq_work_list *list) argument
55 wq_list_cut(struct io_wq_work_list *list, struct io_wq_work_node *last, struct io_wq_work_node *prev) argument
70 __wq_list_splice(struct io_wq_work_list *list, struct io_wq_work_node *to) argument
78 wq_list_splice(struct io_wq_work_list *list, struct io_wq_work_node *to) argument
95 wq_list_del(struct io_wq_work_list *list, struct io_wq_work_node *node, struct io_wq_work_node *prev) argument
[all...]
/linux-master/drivers/pnp/isapnp/
H A Dcompat.c33 struct list_head *list; local
35 list = pnp_global.next;
37 list = from->global_list.next;
39 while (list != &pnp_global) {
40 struct pnp_dev *dev = global_to_pnp_dev(list);
45 list = list->next;
48 struct list_head *list; local
50 list = card->devices.next;
52 list
[all...]
/linux-master/security/integrity/platform_certs/
H A Defi_parser.c2 /* EFI signature/key/certificate list parser
15 * parse_efi_signature_list - Parse an EFI signature list for certificates
21 * Parse an EFI signature list looking for elements of interest. A list is
32 * Error EBADMSG is returned if the list doesn't parse correctly and 0 is
33 * returned if the list was parsed correctly. No error can be returned from
49 efi_signature_list_t list; local
52 if (size < sizeof(list))
55 memcpy(&list, data, sizeof(list));
[all...]
/linux-master/drivers/clk/rockchip/
H A Dclk.c408 struct rockchip_pll_clock *list,
414 for (idx = 0; idx < nr_pll; idx++, list++) {
415 clk = rockchip_clk_register_pll(ctx, list->type, list->name,
416 list->parent_names, list->num_parents,
417 list->con_offset, grf_lock_offset,
418 list->lock_shift, list->mode_offset,
419 list
407 rockchip_clk_register_plls(struct rockchip_clk_provider *ctx, struct rockchip_pll_clock *list, unsigned int nr_pll, int grf_lock_offset) argument
432 rockchip_clk_find_max_clk_id(struct rockchip_clk_branch *list, unsigned int nr_clk) argument
449 rockchip_clk_register_branches(struct rockchip_clk_provider *ctx, struct rockchip_clk_branch *list, unsigned int nr_clk) argument
[all...]
/linux-master/include/rdma/
H A Dmr_pool.h10 struct ib_mr *ib_mr_pool_get(struct ib_qp *qp, struct list_head *list);
11 void ib_mr_pool_put(struct ib_qp *qp, struct list_head *list, struct ib_mr *mr);
13 int ib_mr_pool_init(struct ib_qp *qp, struct list_head *list, int nr,
15 void ib_mr_pool_destroy(struct ib_qp *qp, struct list_head *list);
/linux-master/include/drm/ttm/
H A Dttm_execbuf_util.h34 #include <linux/list.h>
43 * @head: list head for thread-private list.
58 * @list: thread private list of ttm_validate_buffer structs.
61 * the list entries.
64 struct list_head *list);
71 * @list: thread private list of ttm_validate_buffer structs.
73 * @dups: [out] optional list o
[all...]
/linux-master/drivers/crypto/intel/qat/qat_common/
H A Dqat_algs_send.h6 #include <linux/list.h>
10 struct list_head list; member in struct:qat_instance_backlog
11 spinlock_t lock; /* protects backlog list */
18 struct list_head list; member in struct:qat_alg_req
/linux-master/tools/memory-model/scripts/
H A Dnewlitmushist.sh11 # See scripts/parseargs.sh for list of arguments.
39 # Create a list of the C-language litmus tests previously run.
42 xargs -r grep -L "^P${LKMM_PROCS}"> $T/list-C-already
44 # Form full list of litmus tests with no more than the specified
46 find litmus -name '*.litmus' -print | mselect7 -arch C > $T/list-C-all
47 xargs < $T/list-C-all -r grep -L "^P${LKMM_PROCS}" > $T/list-C-short
49 # Form list of new tests. Note: This does not handle litmus-test deletion!
50 sort $T/list-C-already $T/list
[all...]
H A Dcheckghlitmus.sh36 # Create a list of the specified litmus tests previously run.
40 xargs -r grep -L "^P${LKMM_PROCS}"> $T/list-C-already
42 # Create a list of C-language litmus tests with "Result:" commands and
44 find litmus -name '*.litmus' -print | mselect7 -arch C > $T/list-C
45 xargs < $T/list-C -r grep -E -l '^ \* Result: (Never|Sometimes|Always|DEADLOCK)' > $T/list-C-result
46 xargs < $T/list-C-result -r grep -L "^P${LKMM_PROCS}" > $T/list-C-result-short
48 # Form list of tests without corresponding .out files
49 sort $T/list
[all...]
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_bo_list.h64 void amdgpu_bo_list_put(struct amdgpu_bo_list *list);
72 struct amdgpu_bo_list **list);
74 #define amdgpu_bo_list_for_each_entry(e, list) \
75 for (e = list->entries; \
76 e != &list->entries[list->num_entries]; \
79 #define amdgpu_bo_list_for_each_userptr_entry(e, list) \
80 for (e = &list->entries[list->first_userptr]; \
81 e != &list
[all...]
H A Damdgpu_bo_list.c42 struct amdgpu_bo_list *list = container_of(rcu, struct amdgpu_bo_list, local
44 mutex_destroy(&list->bo_list_mutex);
45 kvfree(list);
50 struct amdgpu_bo_list *list = container_of(ref, struct amdgpu_bo_list, local
54 amdgpu_bo_list_for_each_entry(e, list)
56 call_rcu(&list->rhead, amdgpu_bo_list_free_rcu);
76 struct amdgpu_bo_list *list; local
81 list = kvzalloc(struct_size(list, entries, num_entries), GFP_KERNEL);
82 if (!list)
154 struct amdgpu_bo_list *list; local
179 amdgpu_bo_list_put(struct amdgpu_bo_list *list) argument
234 struct amdgpu_bo_list *list, *old; local
[all...]
/linux-master/drivers/gpu/host1x/
H A Dintr.c14 static void host1x_intr_add_fence_to_list(struct host1x_fence_list *list, argument
19 list_for_each_entry_reverse(fence_in_list, &list->list, list) {
21 /* Fence in list is before us, we can insert here */
22 list_add(&fence->list, &fence_in_list->list);
27 /* Add as first in list */
28 list_add(&fence->list, &list
[all...]
/linux-master/tools/perf/util/
H A Dparse-events.y34 struct list_head *list;
36 list = malloc(sizeof(*list));
37 if (!list)
40 INIT_LIST_HEAD(list);
41 return list;
139 parse_events_update_lists($1, &parse_state->list);
145 struct list_head *list = $1;
149 parse_events_update_lists(group, list);
150 $$ = list;
[all...]
/linux-master/lib/
H A Dlist-test.c3 * KUnit test for the Kernel Linked-list structures.
10 #include <linux/list.h>
15 struct list_head list; member in struct:list_test_struct
20 /* Test the different ways of initialising a list. */
50 LIST_HEAD(list);
52 list_add(&a, &list);
53 list_add(&b, &list);
55 /* should be [list] -> b -> a */
56 KUNIT_EXPECT_PTR_EQ(test, list.next, &b);
57 KUNIT_EXPECT_PTR_EQ(test, b.prev, &list);
810 struct hlist_node list; member in struct:hlist_test_struct
[all...]
/linux-master/drivers/clk/samsung/
H A Dclk.c106 /* register a list of aliases */
108 const struct samsung_clock_alias *list,
114 for (idx = 0; idx < nr_clk; idx++, list++) {
115 if (!list->id) {
121 clk_hw = ctx->clk_data.hws[list->id];
124 list->id);
128 ret = clk_hw_register_clkdev(clk_hw, list->alias,
129 list->dev_name);
132 __func__, list->alias);
136 /* register a list o
107 samsung_clk_register_alias(struct samsung_clk_provider *ctx, const struct samsung_clock_alias *list, unsigned int nr_clk) argument
137 samsung_clk_register_fixed_rate(struct samsung_clk_provider *ctx, const struct samsung_fixed_rate_clock *list, unsigned int nr_clk) argument
167 samsung_clk_register_fixed_factor(struct samsung_clk_provider *ctx, const struct samsung_fixed_factor_clock *list, unsigned int nr_clk) argument
187 samsung_clk_register_mux(struct samsung_clk_provider *ctx, const struct samsung_mux_clock *list, unsigned int nr_clk) argument
210 samsung_clk_register_div(struct samsung_clk_provider *ctx, const struct samsung_div_clock *list, unsigned int nr_clk) argument
240 samsung_clk_register_gate(struct samsung_clk_provider *ctx, const struct samsung_gate_clock *list, unsigned int nr_clk) argument
[all...]
/linux-master/include/linux/
H A Dnfs_fs_i.h13 struct list_head list; member in struct:nfs_lock_info
/linux-master/tools/perf/scripts/python/bin/
H A Dmem-phys-addr-record8 load=`perf list | grep mem_inst_retired.all_loads`
10 load=`perf list | grep mem_uops_retired.all_loads`
/linux-master/drivers/hsi/
H A Dhsi_core.h16 struct list_head list; member in struct:hsi_cl_info
/linux-master/drivers/gpu/drm/i915/selftests/
H A Dmock_request.h28 #include <linux/list.h>
/linux-master/sound/pci/ctxfi/
H A Dctimap.c29 list_add(&entry->list, head);
34 pos_ent = list_entry(pos, struct imapper, list);
36 /* found a position in list */
46 __list_add(&entry->list, pos->prev, pos);
50 list_add_tail(&entry->list, head);
53 pre_ent = list_entry(pre, struct imapper, list);
54 pos_ent = list_entry(pos, struct imapper, list);
75 pre = (entry->list.prev == head) ? head->prev : entry->list.prev;
76 next = (entry->list
[all...]
/linux-master/include/net/netns/
H A Dxdp.h10 struct hlist_head list; member in struct:netns_xdp
/linux-master/drivers/usb/core/
H A Dphy.c11 #include <linux/list.h>
19 struct list_head list; member in struct:usb_phy_roothub
24 struct list_head *list)
37 INIT_LIST_HEAD(&roothub_entry->list);
41 list_add_tail(&roothub_entry->list, list);
47 struct list_head *list)
64 INIT_LIST_HEAD(&roothub_entry->list);
68 list_add_tail(&roothub_entry->list, list);
23 usb_phy_roothub_add_phy_by_name(struct device *dev, const char *name, struct list_head *list) argument
46 usb_phy_roothub_add_phy(struct device *dev, int index, struct list_head *list) argument
[all...]

Completed in 1910 milliseconds

1234567891011>>