/linux-master/tools/perf/util/ |
H A D | config.h | 6 #include <linux/list.h> 55 * @list: list_head instance to iterate 58 #define perf_config_sections__for_each_entry(list, section) \ 59 list_for_each_entry(section, list, node) 63 * @list: list_head instance to iterate 66 #define perf_config_items__for_each_entry(list, item) \ 67 list_for_each_entry(item, list, node)
|
H A D | bpf-filter.y | 13 #include <linux/list.h> 49 list_add_tail(&$3->list, expr_head); 54 list_add_tail(&$1->list, expr_head); 66 list_add_tail(&$1->list, &expr->groups); 69 list_add_tail(&$3->list, &expr->groups);
|
/linux-master/sound/ |
H A D | sound_core.c | 155 * Low level list operator. Scan the ordered list, find a hole and 159 static int __sound_insert_unit(struct sound_unit * s, struct sound_unit **list, const struct file_operations *fops, int index, int low, int top) argument 165 while (*list && (*list)->unit_minor<n) 166 list=&((*list)->next); 171 if(*list==NULL || (*list)->unit_minor>n) 173 list 212 __sound_remove_unit(struct sound_unit **list, int unit) argument 239 sound_insert_unit(struct sound_unit **list, const struct file_operations *fops, int index, int low, int top, const char *name, umode_t mode, struct device *dev) argument 295 sound_remove_unit(struct sound_unit **list, int unit) argument [all...] |
/linux-master/drivers/media/pci/cx18/ |
H A D | cx18-queue.c | 29 list_for_each_entry(buf, &mdl->buf_list, list) { 38 INIT_LIST_HEAD(&q->list); 63 list_add(&mdl->list, &q->list); /* LIFO */ 65 list_add_tail(&mdl->list, &q->list); /* FIFO */ 78 if (!list_empty(&q->list)) { 79 mdl = list_first_entry(&q->list, struct cx18_mdl, list); 80 list_del_init(&mdl->list); [all...] |
/linux-master/tools/perf/arch/x86/util/ |
H A D | iostat.c | 98 static void iio_root_ports_list_free(struct iio_root_ports_list *list) argument 102 if (list) { 103 for (idx = 0; idx < list->nr_entries; idx++) 104 zfree(&list->rps[idx]); 105 zfree(&list->rps); 106 free(list); 111 const struct iio_root_ports_list * const list, u32 domain, u8 bus) 116 if (list) { 117 for (idx = 0; idx < list->nr_entries; idx++) { 118 rp = list 110 iio_root_port_find_by_notation( const struct iio_root_ports_list * const list, u32 domain, u8 bus) argument 126 iio_root_ports_list_insert(struct iio_root_ports_list *list, struct iio_root_port * const rp) argument 145 iio_mapping(u8 pmu_idx, struct iio_root_ports_list * const list) argument 197 iio_root_ports_scan(struct iio_root_ports_list **list) argument 248 iio_root_ports_list_filter(struct iio_root_ports_list **list, const char *filter) argument 298 iostat_event_group(struct evlist *evl, struct iio_root_ports_list *list) argument [all...] |
/linux-master/include/linux/ |
H A D | damon.h | 45 * @list: List head for siblings. 71 struct list_head list; member in struct:damon_region 83 * @list: List head for siblings. 94 struct list_head list; member in struct:damon_target 150 * @list: List head for siblings. 169 struct list_head list; member in struct:damos_quota_goal 177 * @goals: Head of quota tuning goals (&damos_quota_goal) list. 332 * @list: List head for siblings. 347 struct list_head list; member in struct:damos_filter 377 * @list 413 struct list_head list; member in struct:damos [all...] |
H A D | parman.h | 10 * notice, this list of conditions and the following disclaimer. 12 * notice, this list of conditions and the following disclaimer in the 38 #include <linux/list.h> 45 struct list_head list; member in struct:parman_item 50 struct list_head list; member in struct:parman_prio
|
/linux-master/drivers/dma-buf/ |
H A D | dma-resv.c | 69 /* Extract the fence and usage flags from an RCU protected entry in the list. */ 70 static void dma_resv_list_entry(struct dma_resv_list *list, unsigned int index, argument 76 tmp = (long)rcu_dereference_check(list->table[index], 83 /* Set the fence and usage flags at the specific index in the list. */ 84 static void dma_resv_list_set(struct dma_resv_list *list, argument 91 RCU_INIT_POINTER(list->table[index], (struct dma_fence *)tmp); 100 struct dma_resv_list *list; local 104 size = kmalloc_size_roundup(struct_size(list, table, max_fences)); 106 list = kmalloc(size, GFP_KERNEL); 107 if (!list) 118 dma_resv_list_free(struct dma_resv_list *list) argument 339 struct dma_resv_list *list; local 516 struct dma_resv_list *list; local [all...] |
/linux-master/net/netlabel/ |
H A D | netlabel_addrlist.h | 5 * This file contains network address list functions used to manage ordered 22 #include <linux/list.h> 27 * struct netlbl_af4list - NetLabel IPv4 address list 31 * @list: list structure, used internally 38 struct list_head list; member in struct:netlbl_af4list 42 * struct netlbl_af6list - NetLabel IPv6 address list 46 * @list: list structure, used internally 53 struct list_head list; member in struct:netlbl_af6list [all...] |
H A D | netlabel_domainhash.h | 22 #include <linux/list.h> 44 container_of(iter, struct netlbl_domaddr4_map, list) 48 struct netlbl_af4list list; member in struct:netlbl_domaddr4_map 51 container_of(iter, struct netlbl_domaddr6_map, list) 55 struct netlbl_af6list list; member in struct:netlbl_domaddr6_map 64 struct list_head list; member in struct:netlbl_dom_map
|
/linux-master/arch/sh/include/asm/ |
H A D | io_trapped.h | 5 #include <linux/list.h> 16 struct list_head list; member in struct:trapped_io 24 void __iomem *match_trapped_io_handler(struct list_head *list,
|
/linux-master/lib/ |
H A D | list_sort.c | 8 #include <linux/list.h> 11 * Returns a list organized in an intermediate format suited 45 * Combine final list merge with restoration of standard doubly-linked 46 * list structure. This approach duplicates code from merge(), but 79 /* Finish linking remainder of list b on to tail */ 96 /* And the final links to make a circular doubly-linked list */ 102 * list_sort - sort a list 104 * @head: the list to sort 131 * merged to a size-2^(k+1) list as soon as we have 2^k following elements. 145 * size 2^k into one list o 187 struct list_head *list = head->next, *pending = NULL; local [all...] |
/linux-master/drivers/s390/char/ |
H A D | sclp_con.c | 57 list_del(&buffer->list); 64 struct sclp_buffer, list); 85 list_add_tail(&sclp_conbuf->list, &sclp_con_outqueue); 92 list); 137 struct list_head *list; local 143 list = sclp_con_outqueue.next; 146 list = list->next; 147 if (list == &sclp_con_outqueue) 149 list_del(list); [all...] |
/linux-master/drivers/md/ |
H A D | dm-stats.h | 7 #include <linux/list.h> 14 struct list_head list; /* list of struct dm_stat */ member in struct:dm_stats 39 return !list_empty(&st->list);
|
/linux-master/drivers/crypto/intel/qat/qat_common/ |
H A D | adf_cfg.h | 6 #include <linux/list.h> 17 struct list_head list; member in struct:adf_cfg_key_val 22 struct list_head list; member in struct:adf_cfg_section
|
H A D | adf_cfg.c | 5 #include <linux/list.h> 23 struct list_head *list; local 25 list_entry(v, struct adf_cfg_section, list); 28 list_for_each(list, &sec->param_head) { 30 list_entry(list, struct adf_cfg_key_val, list); 142 list_add_tail(&new->list, &sec->param_head); 152 list_entry(list_ptr, struct adf_cfg_key_val, list); 169 list_entry(list_ptr, struct adf_cfg_key_val, list); 178 struct list_head *list, *tm local 191 struct list_head *list; local 206 struct list_head *list; local [all...] |
/linux-master/drivers/reset/ |
H A D | reset-ti-syscon.c | 165 const __be32 *list; local 177 list = of_get_property(np, "ti,reset-bits", &size); 178 if (!list || (size / sizeof(*list)) % 7 != 0) { 183 nr_controls = (size / sizeof(*list)) / 7; 190 controls[i].assert_offset = be32_to_cpup(list++); 191 controls[i].assert_bit = be32_to_cpup(list++); 192 controls[i].deassert_offset = be32_to_cpup(list++); 193 controls[i].deassert_bit = be32_to_cpup(list++); 194 controls[i].status_offset = be32_to_cpup(list [all...] |
/linux-master/arch/x86/include/asm/ |
H A D | nmi.h | 37 struct list_head list; member in struct:nmiaction 47 .list = LIST_HEAD_INIT(fn##_na.list), \
|
/linux-master/samples/kmemleak/ |
H A D | kmemleak-test.c | 16 #include <linux/list.h> 24 struct list_head list; member in struct:test_node 64 * Add elements to a list. They should only appear as orphan 72 INIT_LIST_HEAD(&elem->list); 73 list_add_tail(&elem->list, &test_list); 91 * Remove the list elements without actually freeing the 94 list_for_each_entry_safe(elem, tmp, &test_list, list) 95 list_del(&elem->list);
|
/linux-master/drivers/scsi/csiostor/ |
H A D | csio_defs.h | 17 * copyright notice, this list of conditions and the following 21 * copyright notice, this list of conditions and the following 41 #include <linux/list.h> 67 csio_list_deleted(struct list_head *list) argument 69 return ((list->next == list) && (list->prev == list));
|
/linux-master/scripts/kconfig/lxdialog/ |
H A D | checklist.c | 16 * Print list item 101 * Display a dialog box with a list of options that can be turned on or off 109 WINDOW *dialog, *list; local 156 /* create new window for the list */ 157 list = subwin(dialog, list_height, list_width, y + box_y + 1, 160 keypad(list, TRUE); 162 /* draw a box around the list items */ 180 /* Print the list */ 183 print_item(list, i, i == choice); 191 wmove(list, choic [all...] |
/linux-master/drivers/staging/greybus/ |
H A D | audio_manager.h | 12 #include <linux/list.h> 29 struct list_head list; member in struct:gb_audio_manager_module
|
/linux-master/tools/usb/usbip/ |
H A D | Makefile.am | 6 list.h sysfs_utils.h usbip_host_common.h)
|
/linux-master/kernel/trace/ |
H A D | trace_dynevent.h | 10 #include <linux/list.h> 41 struct list_head list; member in struct:dyn_event_operations 54 * struct dyn_event - Dynamic event list header 56 * The dyn_event structure encapsulates a list and a pointer to the operators 57 * for making a global list of dynamic events. 62 struct list_head list; member in struct:dyn_event 74 INIT_LIST_HEAD(&ev->list); 88 list_add_tail(&ev->list, &dyn_event_list); 95 list_del_init(&ev->list); 105 * for_each_dyn_event - iterate over the dyn_event list [all...] |
/linux-master/arch/powerpc/kernel/ |
H A D | eeh_event.c | 8 #include <linux/list.h> 53 struct eeh_event, list); 54 list_del(&event->list); 134 list_add(&event->list, &eeh_eventlist); 182 list_for_each_entry_safe(event, tmp, &eeh_eventlist, list) { 188 list_del(&event->list); 192 list_del(&event->list); 196 list_del(&event->list);
|