Searched refs:klist (Results 1 - 15 of 15) sorted by relevance
/linux-master/include/linux/ |
H A D | klist.h | 3 * klist.h - Some generic list helpers, extending struct list_head a bit. 5 * Implementations are found in lib/klist.c 18 struct klist { struct 32 struct klist _name = KLIST_INIT(_name, _get, _put) 34 extern void klist_init(struct klist *k, void (*get)(struct klist_node *), 43 extern void klist_add_tail(struct klist_node *n, struct klist *k); 44 extern void klist_add_head(struct klist_node *n, struct klist *k); 55 struct klist *i_klist; 60 extern void klist_iter_init(struct klist *k, struct klist_iter *i); 61 extern void klist_iter_init_node(struct klist * [all...] |
H A D | attribute_container.h | 12 #include <linux/klist.h> 18 struct klist containers;
|
H A D | device.h | 19 #include <linux/klist.h>
|
/linux-master/lib/ |
H A D | klist.c | 3 * klist.c - Routines for manipulating klists. 7 * This klist interface provides a couple of structures that wrap around 8 * struct list_head to provide explicit list "head" (struct klist) and list 9 * "node" (struct klist_node) objects. For struct klist, a spinlock is 11 * klist_node provides a pointer to the klist that owns it and a kref 23 * Internally, that routine takes the klist's lock, decrements the 27 * There are primitives for adding and removing nodes to/from a klist. 36 #include <linux/klist.h> 47 static struct klist *knode_klist(struct klist_node *knode) 49 return (struct klist *) 58 knode_set_klist(struct klist_node *knode, struct klist *klist) argument [all...] |
H A D | list-test.c | 11 #include <linux/klist.h> 1206 struct klist klist; member in struct:klist_test_struct 1228 struct klist mylist; 1256 struct klist mylist; 1284 struct klist mylist; 1317 struct klist mylist; 1353 struct klist mylist; 1404 struct klist mylist; 1438 struct klist mylis [all...] |
H A D | Makefile | 42 lib-y += kobject.o klist.o
|
/linux-master/drivers/base/ |
H A D | base.h | 24 * @klist_devices - the klist to iterate over the @devices_kset 25 * @klist_drivers - the klist to iterate over the @drivers_kset 49 struct klist klist_devices; 50 struct klist klist_drivers; 80 struct klist klist_devices; 90 * @klist_children - klist containing all children of this device 109 struct klist klist_children;
|
H A D | bus.c | 1007 * Yes, this forcibly breaks the klist abstraction temporarily. It 1008 * just wants to sort the klist, not change reference counts and 1042 struct klist *device_klist;
|
/linux-master/tools/perf/ |
H A D | builtin-probe.c | 445 struct strlist *klist = NULL, *ulist = NULL; local 461 klist = strlist__new(NULL, NULL); 463 if (!klist || !ulist) { 468 ret = probe_file__get_events(kfd, filter, klist); 470 strlist__for_each_entry(ent, klist) 473 ret = probe_file__del_strlist(kfd, klist); 501 strlist__delete(klist);
|
/linux-master/scripts/gdb/linux/ |
H A D | device.py | 63 klist_type = CachedType('struct klist') 67 def klist_for_each(klist): 68 return list_for_each_entry(klist['k_list'],
|
/linux-master/include/linux/device/ |
H A D | driver.h | 18 #include <linux/klist.h>
|
H A D | bus.h | 18 #include <linux/klist.h>
|
H A D | class.h | 18 #include <linux/klist.h>
|
/linux-master/fs/ |
H A D | xattr.c | 830 char *klist = NULL; local 835 klist = kvmalloc(size, GFP_KERNEL); 836 if (!klist) 840 error = vfs_listxattr(d, klist, size); 842 if (size && copy_to_user(list, klist, error)) 850 kvfree(klist);
|
/linux-master/drivers/char/agp/ |
H A D | parisc-agp.c | 15 #include <linux/klist.h>
|
Completed in 204 milliseconds