slist 173 drivers/media/common/saa7146/saa7146_core.c if (!(pt->slist = vmalloc_to_sg(mem, pages))) slist 180 drivers/media/common/saa7146/saa7146_core.c slen = pci_map_sg(pci,pt->slist,pt->nents,PCI_DMA_FROMDEVICE); slist 184 drivers/media/common/saa7146/saa7146_core.c if (0 != saa7146_pgtable_build_single(pci, pt, pt->slist, slen)) slist 190 drivers/media/common/saa7146/saa7146_core.c pci_unmap_sg(pci, pt->slist, pt->nents, PCI_DMA_FROMDEVICE); slist 194 drivers/media/common/saa7146/saa7146_core.c kfree(pt->slist); slist 195 drivers/media/common/saa7146/saa7146_core.c pt->slist = NULL; slist 204 drivers/media/common/saa7146/saa7146_core.c pci_unmap_sg(pci, pt->slist, pt->nents, PCI_DMA_FROMDEVICE); slist 206 drivers/media/common/saa7146/saa7146_core.c kfree(pt->slist); slist 207 drivers/media/common/saa7146/saa7146_core.c pt->slist = NULL; slist 2496 drivers/media/dvb-frontends/dib8000.c u8 slist = 0; slist 2549 drivers/media/dvb-frontends/dib8000.c slist = 16; slist 2552 drivers/media/dvb-frontends/dib8000.c dib8000_set_isdbt_common_channel(state, slist, 1); slist 2589 drivers/media/dvb-frontends/dib8000.c slist = 7; slist 2596 drivers/media/dvb-frontends/dib8000.c slist = 7; slist 2600 drivers/media/dvb-frontends/dib8000.c slist = 3; slist 2605 drivers/media/dvb-frontends/dib8000.c slist = 2; slist 2608 drivers/media/dvb-frontends/dib8000.c slist = 0; slist 2611 drivers/media/dvb-frontends/dib8000.c dprintk("Using list for autosearch : %d\n", slist); slist 2613 drivers/media/dvb-frontends/dib8000.c dib8000_set_isdbt_common_channel(state, slist, 1); slist 1252 drivers/media/pci/ttpci/av7110.c pci_dma_sync_sg_for_cpu(budget->dev->pci, budget->pt.slist, budget->pt.nents, PCI_DMA_FROMDEVICE); slist 183 drivers/media/pci/ttpci/budget-core.c pci_dma_sync_sg_for_cpu(budget->dev->pci, budget->pt.slist, budget->pt.nents, PCI_DMA_FROMDEVICE); slist 376 drivers/w1/w1.c list_for_each_safe(ent, n, &md->slist) { slist 445 drivers/w1/w1.c list_for_each_entry(sl, &dev->slist, w1_slave_entry) { slist 712 drivers/w1/w1.c list_add_tail(&sl->w1_slave_entry, &sl->master->slist); slist 856 drivers/w1/w1.c list_for_each_entry(sl, &dev->slist, w1_slave_entry) { slist 887 drivers/w1/w1.c list_for_each_entry_safe(sl, sln, &dev->slist, w1_slave_entry) { slist 1068 drivers/w1/w1.c list_for_each_entry(sl, &dev->slist, w1_slave_entry) slist 1075 drivers/w1/w1.c list_for_each_entry_safe(sl, sln, &dev->slist, w1_slave_entry) { slist 59 drivers/w1/w1_int.c INIT_LIST_HEAD(&dev->slist); slist 188 drivers/w1/w1_int.c list_for_each_entry_safe(sl, sln, &dev->slist, w1_slave_entry) { slist 275 drivers/w1/w1_netlink.c list_for_each_entry(sl, &dev->slist, w1_slave_entry) { slist 473 fs/9p/v9fs.c list_add(&v9ses->slist, &v9fs_sessionlist); slist 512 fs/9p/v9fs.c list_del(&v9ses->slist); slist 560 fs/9p/v9fs.c list_for_each_entry(v9ses, &v9fs_sessionlist, slist) { slist 102 fs/9p/v9fs.h struct list_head slist; /* list of sessions registered with v9fs */ slist 89 fs/afs/callback.c struct afs_server_list *slist, slist 92 fs/afs/callback.c struct afs_server_entry *entry = &slist->servers[index]; slist 102 fs/afs/callback.c read_lock(&slist->lock); slist 104 fs/afs/callback.c read_unlock(&slist->lock); slist 127 fs/afs/callback.c write_lock(&slist->lock); slist 129 fs/afs/callback.c write_unlock(&slist->lock); slist 135 fs/afs/callback.c write_unlock(&slist->lock); slist 145 fs/afs/callback.c write_lock(&slist->lock); slist 153 fs/afs/callback.c write_unlock(&slist->lock); slist 333 fs/afs/callback.c void afs_clear_callback_interests(struct afs_net *net, struct afs_server_list *slist) slist 337 fs/afs/callback.c for (i = 0; i < slist->nr_servers; i++) { slist 338 fs/afs/callback.c afs_put_cb_interest(net, slist->servers[i].cb_interest); slist 339 fs/afs/callback.c slist->servers[i].cb_interest = NULL; slist 192 fs/afs/fs_probe.c int afs_wait_for_fs_probes(struct afs_server_list *slist, unsigned long untried) slist 200 fs/afs/fs_probe.c _enter("%u,%lx", slist->nr_servers, untried); slist 203 fs/afs/fs_probe.c for (i = 0; i < slist->nr_servers; i++) { slist 205 fs/afs/fs_probe.c server = slist->servers[i].server; slist 215 fs/afs/fs_probe.c waits = kmalloc(array_size(slist->nr_servers, sizeof(*waits)), GFP_KERNEL); slist 219 fs/afs/fs_probe.c for (i = 0; i < slist->nr_servers; i++) { slist 221 fs/afs/fs_probe.c server = slist->servers[i].server; slist 231 fs/afs/fs_probe.c for (i = 0; i < slist->nr_servers; i++) { slist 233 fs/afs/fs_probe.c server = slist->servers[i].server; slist 249 fs/afs/fs_probe.c for (i = 0; i < slist->nr_servers; i++) { slist 251 fs/afs/fs_probe.c server = slist->servers[i].server; slist 268 fs/afs/fs_probe.c slist->preferred = pref; slist 1251 fs/afs/internal.h static inline struct afs_server_list *afs_get_serverlist(struct afs_server_list *slist) slist 1253 fs/afs/internal.h refcount_inc(&slist->usage); slist 1254 fs/afs/internal.h return slist; slist 12 fs/afs/server_list.c void afs_put_serverlist(struct afs_net *net, struct afs_server_list *slist) slist 16 fs/afs/server_list.c if (slist && refcount_dec_and_test(&slist->usage)) { slist 17 fs/afs/server_list.c for (i = 0; i < slist->nr_servers; i++) { slist 18 fs/afs/server_list.c afs_put_cb_interest(net, slist->servers[i].cb_interest); slist 19 fs/afs/server_list.c afs_put_server(net, slist->servers[i].server, slist 22 fs/afs/server_list.c kfree(slist); slist 34 fs/afs/server_list.c struct afs_server_list *slist; slist 42 fs/afs/server_list.c slist = kzalloc(struct_size(slist, servers, nr_servers), GFP_KERNEL); slist 43 fs/afs/server_list.c if (!slist) slist 46 fs/afs/server_list.c refcount_set(&slist->usage, 1); slist 47 fs/afs/server_list.c rwlock_init(&slist->lock); slist 64 fs/afs/server_list.c for (j = 0; j < slist->nr_servers; j++) slist 65 fs/afs/server_list.c if (memcmp(&slist->servers[j].server->uuid, slist 69 fs/afs/server_list.c if (j < slist->nr_servers) { slist 70 fs/afs/server_list.c if (slist->servers[j].server == server) { slist 76 fs/afs/server_list.c memmove(slist->servers + j + 1, slist 77 fs/afs/server_list.c slist->servers + j, slist 78 fs/afs/server_list.c (slist->nr_servers - j) * sizeof(struct afs_server_entry)); slist 81 fs/afs/server_list.c slist->servers[j].server = server; slist 82 fs/afs/server_list.c slist->nr_servers++; slist 85 fs/afs/server_list.c if (slist->nr_servers == 0) { slist 90 fs/afs/server_list.c return slist; slist 93 fs/afs/server_list.c afs_put_serverlist(cell->net, slist); slist 22 fs/afs/volume.c struct afs_server_list *slist; slist 47 fs/afs/volume.c slist = afs_alloc_server_list(params->cell, params->key, vldb, type_mask); slist 48 fs/afs/volume.c if (IS_ERR(slist)) { slist 49 fs/afs/volume.c ret = PTR_ERR(slist); slist 53 fs/afs/volume.c refcount_set(&slist->usage, 1); slist 54 fs/afs/volume.c volume->servers = slist; slist 209 include/linux/w1.h struct list_head slist; slist 71 include/media/drv-intf/saa7146.h struct scatterlist *slist; slist 109 tools/perf/util/intlist.c struct intlist *intlist__new(const char *slist) slist 119 tools/perf/util/intlist.c if (slist && intlist__parse_list(ilist, slist)) slist 20 tools/perf/util/intlist.h struct intlist *intlist__new(const char *slist); slist 49 tools/perf/util/strlist.c struct strlist *slist = container_of(rblist, struct strlist, rblist); slist 52 tools/perf/util/strlist.c str_node__delete(snode, slist->dupstr); slist 63 tools/perf/util/strlist.c int strlist__add(struct strlist *slist, const char *new_entry) slist 65 tools/perf/util/strlist.c return rblist__add_node(&slist->rblist, new_entry); slist 68 tools/perf/util/strlist.c int strlist__load(struct strlist *slist, const char *filename) slist 84 tools/perf/util/strlist.c err = strlist__add(slist, entry); slist 95 tools/perf/util/strlist.c void strlist__remove(struct strlist *slist, struct str_node *snode) slist 97 tools/perf/util/strlist.c rblist__remove_node(&slist->rblist, &snode->rb_node); slist 100 tools/perf/util/strlist.c struct str_node *strlist__find(struct strlist *slist, const char *entry) slist 103 tools/perf/util/strlist.c struct rb_node *rb_node = rblist__find(&slist->rblist, entry); slist 111 tools/perf/util/strlist.c static int strlist__parse_list_entry(struct strlist *slist, const char *s, slist 118 tools/perf/util/strlist.c return strlist__load(slist, s + 7); slist 126 tools/perf/util/strlist.c err = strlist__load(slist, subst); slist 130 tools/perf/util/strlist.c if (slist->file_only) { slist 136 tools/perf/util/strlist.c err = strlist__add(slist, s); slist 142 tools/perf/util/strlist.c static int strlist__parse_list(struct strlist *slist, const char *s, const char *subst_dir) slist 149 tools/perf/util/strlist.c err = strlist__parse_list_entry(slist, s, subst_dir); slist 156 tools/perf/util/strlist.c return *s ? strlist__parse_list_entry(slist, s, subst_dir) : 0; slist 161 tools/perf/util/strlist.c struct strlist *slist = malloc(sizeof(*slist)); slist 163 tools/perf/util/strlist.c if (slist != NULL) { slist 174 tools/perf/util/strlist.c rblist__init(&slist->rblist); slist 175 tools/perf/util/strlist.c slist->rblist.node_cmp = strlist__node_cmp; slist 176 tools/perf/util/strlist.c slist->rblist.node_new = strlist__node_new; slist 177 tools/perf/util/strlist.c slist->rblist.node_delete = strlist__node_delete; slist 179 tools/perf/util/strlist.c slist->dupstr = dupstr; slist 180 tools/perf/util/strlist.c slist->file_only = file_only; slist 182 tools/perf/util/strlist.c if (list && strlist__parse_list(slist, list, dirname) != 0) slist 186 tools/perf/util/strlist.c return slist; slist 188 tools/perf/util/strlist.c free(slist); slist 192 tools/perf/util/strlist.c void strlist__delete(struct strlist *slist) slist 194 tools/perf/util/strlist.c if (slist != NULL) slist 195 tools/perf/util/strlist.c rblist__delete(&slist->rblist); slist 198 tools/perf/util/strlist.c struct str_node *strlist__entry(const struct strlist *slist, unsigned int idx) slist 203 tools/perf/util/strlist.c rb_node = rblist__entry(&slist->rblist, idx); slist 32 tools/perf/util/strlist.h struct strlist *strlist__new(const char *slist, const struct strlist_config *config); slist 33 tools/perf/util/strlist.h void strlist__delete(struct strlist *slist); slist 35 tools/perf/util/strlist.h void strlist__remove(struct strlist *slist, struct str_node *sn); slist 36 tools/perf/util/strlist.h int strlist__load(struct strlist *slist, const char *filename); slist 37 tools/perf/util/strlist.h int strlist__add(struct strlist *slist, const char *str); slist 39 tools/perf/util/strlist.h struct str_node *strlist__entry(const struct strlist *slist, unsigned int idx); slist 40 tools/perf/util/strlist.h struct str_node *strlist__find(struct strlist *slist, const char *entry); slist 42 tools/perf/util/strlist.h static inline bool strlist__has_entry(struct strlist *slist, const char *entry) slist 44 tools/perf/util/strlist.h return strlist__find(slist, entry) != NULL; slist 47 tools/perf/util/strlist.h static inline bool strlist__empty(const struct strlist *slist) slist 49 tools/perf/util/strlist.h return rblist__empty(&slist->rblist); slist 52 tools/perf/util/strlist.h static inline unsigned int strlist__nr_entries(const struct strlist *slist) slist 54 tools/perf/util/strlist.h return rblist__nr_entries(&slist->rblist); slist 58 tools/perf/util/strlist.h static inline struct str_node *strlist__first(struct strlist *slist) slist 60 tools/perf/util/strlist.h struct rb_node *rn = rb_first_cached(&slist->rblist.entries); slist 77 tools/perf/util/strlist.h #define strlist__for_each_entry(pos, slist) \ slist 78 tools/perf/util/strlist.h for (pos = strlist__first(slist); pos; pos = strlist__next(pos)) slist 87 tools/perf/util/strlist.h #define strlist__for_each_entry_safe(pos, n, slist) \ slist 88 tools/perf/util/strlist.h for (pos = strlist__first(slist), n = strlist__next(pos); pos;\ slist 192 tools/perf/util/thread_map.c struct strlist *slist = strlist__new(pid_str, &slist_config); slist 194 tools/perf/util/thread_map.c if (!slist) slist 197 tools/perf/util/thread_map.c strlist__for_each_entry(pos, slist) { slist 228 tools/perf/util/thread_map.c strlist__delete(slist); slist 251 tools/perf/util/thread_map.c struct strlist *slist; slist 257 tools/perf/util/thread_map.c slist = strlist__new(tid_str, &slist_config); slist 258 tools/perf/util/thread_map.c if (!slist) slist 261 tools/perf/util/thread_map.c strlist__for_each_entry(pos, slist) { slist 288 tools/perf/util/thread_map.c strlist__delete(slist);