/linux-6.6.21/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 | 193 struct strlist *slist = strlist__new(pid_str, &slist_config); in thread_map__new_by_pid_str() local 195 if (!slist) in thread_map__new_by_pid_str() 198 strlist__for_each_entry(pos, slist) { in thread_map__new_by_pid_str() 229 strlist__delete(slist); in thread_map__new_by_pid_str() 252 struct strlist *slist; in thread_map__new_by_tid_str() local 258 slist = strlist__new(tid_str, &slist_config); in thread_map__new_by_tid_str() 259 if (!slist) in thread_map__new_by_tid_str() 262 strlist__for_each_entry(pos, slist) { in thread_map__new_by_tid_str() 289 strlist__delete(slist); in thread_map__new_by_tid_str()
|
D | intlist.c | 114 struct intlist *intlist__new(const char *slist) in intlist__new() argument 124 if (slist && intlist__parse_list(ilist, slist)) in intlist__new()
|
D | intlist.h | 20 struct intlist *intlist__new(const char *slist);
|
/linux-6.6.21/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_rcu(slist, rcu); 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 | 234 int afs_wait_for_fs_probes(struct afs_server_list *slist, unsigned long untried) in afs_wait_for_fs_probes() argument 242 _enter("%u,%lx", slist->nr_servers, untried); in afs_wait_for_fs_probes() 245 for (i = 0; i < slist->nr_servers; i++) { in afs_wait_for_fs_probes() 247 server = slist->servers[i].server; in afs_wait_for_fs_probes() 257 waits = kmalloc(array_size(slist->nr_servers, sizeof(*waits)), GFP_KERNEL); in afs_wait_for_fs_probes() 261 for (i = 0; i < slist->nr_servers; i++) { in afs_wait_for_fs_probes() 263 server = slist->servers[i].server; in afs_wait_for_fs_probes() 273 for (i = 0; i < slist->nr_servers; i++) { in afs_wait_for_fs_probes() 275 server = slist->servers[i].server; in afs_wait_for_fs_probes() 291 for (i = 0; i < slist->nr_servers; i++) { in afs_wait_for_fs_probes() [all …]
|
D | volume.c | 77 struct afs_server_list *slist; in afs_alloc_volume() local 98 slist = afs_alloc_server_list(params->cell, params->key, vldb, type_mask); in afs_alloc_volume() 99 if (IS_ERR(slist)) { in afs_alloc_volume() 100 ret = PTR_ERR(slist); in afs_alloc_volume() 104 refcount_set(&slist->usage, 1); in afs_alloc_volume() 105 rcu_assign_pointer(volume->servers, slist); in afs_alloc_volume()
|
D | inode.c | 600 struct afs_server_list *slist; in afs_check_server_good() local 610 slist = rcu_dereference(vnode->volume->servers); in afs_check_server_good() 611 for (i = 0; i < slist->nr_servers; i++) { in afs_check_server_good() 612 server = slist->servers[i].server; in afs_check_server_good()
|
D | internal.h | 1438 static inline struct afs_server_list *afs_get_serverlist(struct afs_server_list *slist) in afs_get_serverlist() argument 1440 refcount_inc(&slist->usage); in afs_get_serverlist() 1441 return slist; in afs_get_serverlist()
|
D | dir.c | 767 struct afs_server_list *slist; in afs_server_supports_ibulk() local 777 slist = rcu_dereference(volume->servers); in afs_server_supports_ibulk() 779 for (i = 0; i < slist->nr_servers; i++) { in afs_server_supports_ibulk() 780 server = slist->servers[i].server; in afs_server_supports_ibulk()
|
/linux-6.6.21/drivers/media/common/saa7146/ |
D | saa7146_core.c | 175 if (!(pt->slist = vmalloc_to_sg(mem, pages))) in saa7146_vmalloc_build_pgtable() 182 slen = dma_map_sg(&pci->dev, pt->slist, pt->nents, DMA_FROM_DEVICE); in saa7146_vmalloc_build_pgtable() 186 if (0 != saa7146_pgtable_build_single(pci, pt, pt->slist, slen)) in saa7146_vmalloc_build_pgtable() 192 dma_unmap_sg(&pci->dev, pt->slist, pt->nents, DMA_FROM_DEVICE); in saa7146_vmalloc_build_pgtable() 196 kfree(pt->slist); in saa7146_vmalloc_build_pgtable() 197 pt->slist = NULL; in saa7146_vmalloc_build_pgtable() 206 dma_unmap_sg(&pci->dev, pt->slist, pt->nents, DMA_FROM_DEVICE); in saa7146_vfree_destroy_pgtable() 208 kfree(pt->slist); in saa7146_vfree_destroy_pgtable() 209 pt->slist = NULL; in saa7146_vfree_destroy_pgtable()
|
/linux-6.6.21/drivers/net/wireless/ath/ath11k/ |
D | dp.c | 490 struct hal_wbm_idle_scatter_list *slist = dp->scatter_list; in ath11k_dp_scatter_idle_link_desc_cleanup() local 494 if (!slist[i].vaddr) in ath11k_dp_scatter_idle_link_desc_cleanup() 498 slist[i].vaddr, slist[i].paddr); in ath11k_dp_scatter_idle_link_desc_cleanup() 499 slist[i].vaddr = NULL; in ath11k_dp_scatter_idle_link_desc_cleanup() 511 struct hal_wbm_idle_scatter_list *slist = dp->scatter_list; in ath11k_dp_scatter_idle_link_desc_setup() local 530 slist[i].vaddr = dma_alloc_coherent(ab->dev, in ath11k_dp_scatter_idle_link_desc_setup() 532 &slist[i].paddr, GFP_KERNEL); in ath11k_dp_scatter_idle_link_desc_setup() 533 if (!slist[i].vaddr) { in ath11k_dp_scatter_idle_link_desc_setup() 540 scatter_buf = slist[scatter_idx].vaddr; in ath11k_dp_scatter_idle_link_desc_setup() 561 scatter_buf = slist[scatter_idx].vaddr; in ath11k_dp_scatter_idle_link_desc_setup() [all …]
|
/linux-6.6.21/drivers/net/wireless/ath/ath12k/ |
D | dp.c | 583 struct hal_wbm_idle_scatter_list *slist = dp->scatter_list; in ath12k_dp_scatter_idle_link_desc_cleanup() local 587 if (!slist[i].vaddr) in ath12k_dp_scatter_idle_link_desc_cleanup() 591 slist[i].vaddr, slist[i].paddr); in ath12k_dp_scatter_idle_link_desc_cleanup() 592 slist[i].vaddr = NULL; in ath12k_dp_scatter_idle_link_desc_cleanup() 604 struct hal_wbm_idle_scatter_list *slist = dp->scatter_list; in ath12k_dp_scatter_idle_link_desc_setup() local 623 slist[i].vaddr = dma_alloc_coherent(ab->dev, in ath12k_dp_scatter_idle_link_desc_setup() 625 &slist[i].paddr, GFP_KERNEL); in ath12k_dp_scatter_idle_link_desc_setup() 626 if (!slist[i].vaddr) { in ath12k_dp_scatter_idle_link_desc_setup() 633 scatter_buf = slist[scatter_idx].vaddr; in ath12k_dp_scatter_idle_link_desc_setup() 655 scatter_buf = slist[scatter_idx].vaddr; in ath12k_dp_scatter_idle_link_desc_setup() [all …]
|
/linux-6.6.21/drivers/hid/amd-sfh-hid/sfh1_1/ |
D | amd_sfh_init.c | 20 struct sfh_sensor_list *slist; in amd_sfh_get_sensor_num() local 26 slist = &binfo.sbase.s_list; in amd_sfh_get_sensor_num() 35 if (BIT(i) & slist->sl.sensors) in amd_sfh_get_sensor_num()
|
D | amd_sfh_interface.h | 83 u32 slist; member
|
/linux-6.6.21/drivers/w1/ |
D | w1_int.c | 58 INIT_LIST_HEAD(&dev->slist); in w1_alloc_dev() 187 list_for_each_entry_safe(sl, sln, &dev->slist, w1_slave_entry) { in __w1_remove_master_device()
|
D | w1.c | 368 list_for_each_safe(ent, n, &md->slist) { in w1_master_attribute_show_slaves() 437 list_for_each_entry(sl, &dev->slist, w1_slave_entry) { in w1_slave_search_device() 705 list_add_tail(&sl->w1_slave_entry, &sl->master->slist); in __w1_attach_slave_device() 847 list_for_each_entry(iter, &dev->slist, w1_slave_entry) { in w1_search_slave() 878 list_for_each_entry_safe(sl, sln, &dev->slist, w1_slave_entry) { in w1_reconnect_slaves() 1092 list_for_each_entry(sl, &dev->slist, w1_slave_entry) in w1_search_process_cb() 1099 list_for_each_entry_safe(sl, sln, &dev->slist, w1_slave_entry) { in w1_search_process_cb()
|
/linux-6.6.21/fs/9p/ |
D | v9fs.c | 481 list_add(&v9ses->slist, &v9fs_sessionlist); in v9fs_session_init() 518 list_del(&v9ses->slist); in v9fs_session_close() 562 list_for_each_entry(v9ses, &v9fs_sessionlist, slist) { in caches_show()
|
D | v9fs.h | 128 struct list_head slist; /* list of sessions registered with v9fs */ member
|
/linux-6.6.21/include/linux/ |
D | w1.h | 209 struct list_head slist; member
|
/linux-6.6.21/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()
|
/linux-6.6.21/drivers/w1/slaves/ |
D | w1_therm.c | 1509 list_for_each_entry(sl, &dev_master->slist, w1_slave_entry) { in trigger_bulk_read() 1549 &dev_master->slist, w1_slave_entry) { in trigger_bulk_read() 1578 list_for_each_entry(sl, &dev_master->slist, w1_slave_entry) { in trigger_bulk_read() 1968 list_for_each_entry(sl, &dev_master->slist, w1_slave_entry) { in therm_bulk_read_show()
|
/linux-6.6.21/net/mptcp/ |
D | pm_netlink.c | 1579 struct mptcp_rm_list alist = { .nr = 0 }, slist = { .nr = 0 }; in mptcp_pm_remove_addrs_and_subflows() local 1584 slist.nr < MPTCP_RM_IDS_MAX) in mptcp_pm_remove_addrs_and_subflows() 1585 slist.ids[slist.nr++] = entry->addr.id; in mptcp_pm_remove_addrs_and_subflows() 1597 if (slist.nr) in mptcp_pm_remove_addrs_and_subflows() 1598 mptcp_pm_remove_subflow(msk, &slist); in mptcp_pm_remove_addrs_and_subflows()
|
/linux-6.6.21/include/media/drv-intf/ |
D | saa7146.h | 71 struct scatterlist *slist; member
|