/kernel/linux/linux-5.10/tools/perf/util/ |
D | strlist.c | 49 struct strlist *slist = container_of(rblist, struct strlist, rblist); in strlist__node_delete() local 52 str_node__delete(snode, slist->dupstr); in strlist__node_delete() 63 int strlist__add(struct strlist *slist, const char *new_entry) in strlist__add() argument 65 return rblist__add_node(&slist->rblist, new_entry); in strlist__add() 68 int strlist__load(struct strlist *slist, const char *filename) in strlist__load() argument 84 err = strlist__add(slist, entry); in strlist__load() 95 void strlist__remove(struct strlist *slist, struct str_node *snode) in strlist__remove() argument 97 rblist__remove_node(&slist->rblist, &snode->rb_node); in strlist__remove() 100 struct str_node *strlist__find(struct strlist *slist, const char *entry) in strlist__find() argument 103 struct rb_node *rb_node = rblist__find(&slist->rblist, entry); in strlist__find() [all …]
|
D | strlist.h | 32 struct strlist *strlist__new(const char *slist, const struct strlist_config *config); 33 void strlist__delete(struct strlist *slist); 35 void strlist__remove(struct strlist *slist, struct str_node *sn); 36 int strlist__load(struct strlist *slist, const char *filename); 37 int strlist__add(struct strlist *slist, const char *str); 39 struct str_node *strlist__entry(const struct strlist *slist, unsigned int idx); 40 struct str_node *strlist__find(struct strlist *slist, const char *entry); 42 static inline bool strlist__has_entry(struct strlist *slist, const char *entry) in strlist__has_entry() argument 44 return strlist__find(slist, entry) != NULL; in strlist__has_entry() 47 static inline bool strlist__empty(const struct strlist *slist) in strlist__empty() argument [all …]
|
D | thread_map.c | 192 struct strlist *slist = strlist__new(pid_str, &slist_config); in thread_map__new_by_pid_str() local 194 if (!slist) in thread_map__new_by_pid_str() 197 strlist__for_each_entry(pos, slist) { in thread_map__new_by_pid_str() 228 strlist__delete(slist); in thread_map__new_by_pid_str() 251 struct strlist *slist; in thread_map__new_by_tid_str() local 257 slist = strlist__new(tid_str, &slist_config); in thread_map__new_by_tid_str() 258 if (!slist) in thread_map__new_by_tid_str() 261 strlist__for_each_entry(pos, slist) { in thread_map__new_by_tid_str() 288 strlist__delete(slist); in thread_map__new_by_tid_str()
|
D | intlist.c | 109 struct intlist *intlist__new(const char *slist) in intlist__new() argument 119 if (slist && intlist__parse_list(ilist, slist)) in intlist__new()
|
D | intlist.h | 20 struct intlist *intlist__new(const char *slist);
|
/kernel/linux/linux-5.10/fs/afs/ |
D | server_list.c | 12 void afs_put_serverlist(struct afs_net *net, struct afs_server_list *slist) in afs_put_serverlist() argument 16 if (slist && refcount_dec_and_test(&slist->usage)) { in afs_put_serverlist() 17 for (i = 0; i < slist->nr_servers; i++) in afs_put_serverlist() 18 afs_unuse_server(net, slist->servers[i].server, in afs_put_serverlist() 20 kfree(slist); in afs_put_serverlist() 32 struct afs_server_list *slist; in afs_alloc_server_list() local 40 slist = kzalloc(struct_size(slist, servers, nr_servers), GFP_KERNEL); in afs_alloc_server_list() 41 if (!slist) in afs_alloc_server_list() 44 refcount_set(&slist->usage, 1); in afs_alloc_server_list() 45 rwlock_init(&slist->lock); in afs_alloc_server_list() [all …]
|
D | fs_probe.c | 228 int afs_wait_for_fs_probes(struct afs_server_list *slist, unsigned long untried) in afs_wait_for_fs_probes() argument 236 _enter("%u,%lx", slist->nr_servers, untried); in afs_wait_for_fs_probes() 239 for (i = 0; i < slist->nr_servers; i++) { in afs_wait_for_fs_probes() 241 server = slist->servers[i].server; in afs_wait_for_fs_probes() 251 waits = kmalloc(array_size(slist->nr_servers, sizeof(*waits)), GFP_KERNEL); in afs_wait_for_fs_probes() 255 for (i = 0; i < slist->nr_servers; i++) { in afs_wait_for_fs_probes() 257 server = slist->servers[i].server; in afs_wait_for_fs_probes() 267 for (i = 0; i < slist->nr_servers; i++) { in afs_wait_for_fs_probes() 269 server = slist->servers[i].server; in afs_wait_for_fs_probes() 285 for (i = 0; i < slist->nr_servers; i++) { in afs_wait_for_fs_probes() [all …]
|
D | volume.c | 72 struct afs_server_list *slist; in afs_alloc_volume() local 97 slist = afs_alloc_server_list(params->cell, params->key, vldb, type_mask); in afs_alloc_volume() 98 if (IS_ERR(slist)) { in afs_alloc_volume() 99 ret = PTR_ERR(slist); in afs_alloc_volume() 103 refcount_set(&slist->usage, 1); in afs_alloc_volume() 104 rcu_assign_pointer(volume->servers, slist); in afs_alloc_volume()
|
D | inode.c | 583 struct afs_server_list *slist = rcu_dereference(vnode->volume->servers); in afs_get_s_break_rcu() local 587 for (i = 0; i < slist->nr_servers; i++) { in afs_get_s_break_rcu() 588 server = slist->servers[i].server; in afs_get_s_break_rcu()
|
D | internal.h | 1407 static inline struct afs_server_list *afs_get_serverlist(struct afs_server_list *slist) in afs_get_serverlist() argument 1409 refcount_inc(&slist->usage); in afs_get_serverlist() 1410 return slist; in afs_get_serverlist()
|
D | dir.c | 713 struct afs_server_list *slist; in afs_server_supports_ibulk() local 723 slist = rcu_dereference(volume->servers); in afs_server_supports_ibulk() 725 for (i = 0; i < slist->nr_servers; i++) { in afs_server_supports_ibulk() 726 server = slist->servers[i].server; in afs_server_supports_ibulk()
|
/kernel/linux/linux-5.10/drivers/iommu/ |
D | ioasid.c | 51 struct list_head slist; member 107 INIT_LIST_HEAD(&ia_data->slist); in ioasid_alloc_allocator() 112 list_add_tail(&ops->list, &ia_data->slist); in ioasid_alloc_allocator() 182 list_add_tail(&ops->list, &pallocator->slist); in ioasid_register_allocator() 221 if (list_is_singular(&pallocator->slist)) { in ioasid_unregister_allocator() 246 list_for_each_entry(sops, &pallocator->slist, list) { in ioasid_unregister_allocator()
|
/kernel/linux/linux-5.10/drivers/media/common/saa7146/ |
D | saa7146_core.c | 173 if (!(pt->slist = vmalloc_to_sg(mem, pages))) in saa7146_vmalloc_build_pgtable() 180 slen = pci_map_sg(pci,pt->slist,pt->nents,PCI_DMA_FROMDEVICE); in saa7146_vmalloc_build_pgtable() 184 if (0 != saa7146_pgtable_build_single(pci, pt, pt->slist, slen)) in saa7146_vmalloc_build_pgtable() 190 pci_unmap_sg(pci, pt->slist, pt->nents, PCI_DMA_FROMDEVICE); in saa7146_vmalloc_build_pgtable() 194 kfree(pt->slist); in saa7146_vmalloc_build_pgtable() 195 pt->slist = NULL; in saa7146_vmalloc_build_pgtable() 204 pci_unmap_sg(pci, pt->slist, pt->nents, PCI_DMA_FROMDEVICE); in saa7146_vfree_destroy_pgtable() 206 kfree(pt->slist); in saa7146_vfree_destroy_pgtable() 207 pt->slist = NULL; in saa7146_vfree_destroy_pgtable()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/ |
D | dp.c | 468 struct hal_wbm_idle_scatter_list *slist = dp->scatter_list; in ath11k_dp_scatter_idle_link_desc_cleanup() local 472 if (!slist[i].vaddr) in ath11k_dp_scatter_idle_link_desc_cleanup() 476 slist[i].vaddr, slist[i].paddr); in ath11k_dp_scatter_idle_link_desc_cleanup() 477 slist[i].vaddr = NULL; in ath11k_dp_scatter_idle_link_desc_cleanup() 489 struct hal_wbm_idle_scatter_list *slist = dp->scatter_list; in ath11k_dp_scatter_idle_link_desc_setup() local 508 slist[i].vaddr = dma_alloc_coherent(ab->dev, in ath11k_dp_scatter_idle_link_desc_setup() 510 &slist[i].paddr, GFP_KERNEL); in ath11k_dp_scatter_idle_link_desc_setup() 511 if (!slist[i].vaddr) { in ath11k_dp_scatter_idle_link_desc_setup() 518 scatter_buf = slist[scatter_idx].vaddr; in ath11k_dp_scatter_idle_link_desc_setup() 539 scatter_buf = slist[scatter_idx].vaddr; in ath11k_dp_scatter_idle_link_desc_setup() [all …]
|
/kernel/linux/linux-5.10/drivers/w1/ |
D | w1_int.c | 59 INIT_LIST_HEAD(&dev->slist); in w1_alloc_dev() 188 list_for_each_entry_safe(sl, sln, &dev->slist, w1_slave_entry) { in __w1_remove_master_device()
|
D | w1.c | 376 list_for_each_safe(ent, n, &md->slist) { in w1_master_attribute_show_slaves() 445 list_for_each_entry(sl, &dev->slist, w1_slave_entry) { in w1_slave_search_device() 712 list_add_tail(&sl->w1_slave_entry, &sl->master->slist); in __w1_attach_slave_device() 856 list_for_each_entry(sl, &dev->slist, w1_slave_entry) { in w1_search_slave() 887 list_for_each_entry_safe(sl, sln, &dev->slist, w1_slave_entry) { in w1_reconnect_slaves() 1068 list_for_each_entry(sl, &dev->slist, w1_slave_entry) in w1_search_process_cb() 1075 list_for_each_entry_safe(sl, sln, &dev->slist, w1_slave_entry) { in w1_search_process_cb()
|
D | w1_netlink.c | 275 list_for_each_entry(sl, &dev->slist, w1_slave_entry) { in w1_get_slaves()
|
/kernel/linux/linux-5.10/fs/9p/ |
D | v9fs.c | 473 list_add(&v9ses->slist, &v9fs_sessionlist); in v9fs_session_init() 511 list_del(&v9ses->slist); in v9fs_session_close() 559 list_for_each_entry(v9ses, &v9fs_sessionlist, slist) { in caches_show()
|
D | v9fs.h | 102 struct list_head slist; /* list of sessions registered with v9fs */ member
|
/kernel/linux/linux-5.10/include/linux/ |
D | w1.h | 209 struct list_head slist; member
|
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/ |
D | dib8000.c | 2517 u8 slist = 0; in dib8000_autosearch_start() local 2570 slist = 16; in dib8000_autosearch_start() 2573 dib8000_set_isdbt_common_channel(state, slist, 1); in dib8000_autosearch_start() 2610 slist = 7; in dib8000_autosearch_start() 2617 slist = 7; in dib8000_autosearch_start() 2621 slist = 3; in dib8000_autosearch_start() 2626 slist = 2; in dib8000_autosearch_start() 2629 slist = 0; in dib8000_autosearch_start() 2632 dprintk("Using list for autosearch : %d\n", slist); in dib8000_autosearch_start() 2634 dib8000_set_isdbt_common_channel(state, slist, 1); in dib8000_autosearch_start()
|
/kernel/linux/linux-5.10/drivers/w1/slaves/ |
D | w1_therm.c | 1447 list_for_each_entry(sl, &dev_master->slist, w1_slave_entry) { in trigger_bulk_read() 1487 &dev_master->slist, w1_slave_entry) { in trigger_bulk_read() 1516 list_for_each_entry(sl, &dev_master->slist, w1_slave_entry) { in trigger_bulk_read() 1907 list_for_each_entry(sl, &dev_master->slist, w1_slave_entry) { in therm_bulk_read_show()
|
/kernel/linux/linux-5.10/include/media/drv-intf/ |
D | saa7146.h | 71 struct scatterlist *slist; member
|
/kernel/linux/linux-5.10/drivers/media/pci/ttpci/ |
D | budget-core.c | 183 pci_dma_sync_sg_for_cpu(budget->dev->pci, budget->pt.slist, budget->pt.nents, PCI_DMA_FROMDEVICE); in vpeirq()
|
D | av7110.c | 1253 pci_dma_sync_sg_for_cpu(budget->dev->pci, budget->pt.slist, budget->pt.nents, PCI_DMA_FROMDEVICE); in vpeirq()
|