Searched refs:klist (Results 1 - 15 of 15) sorted by relevance

/linux-master/include/linux/
H A Dklist.h3 * 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 Dattribute_container.h12 #include <linux/klist.h>
18 struct klist containers;
H A Ddevice.h19 #include <linux/klist.h>
/linux-master/lib/
H A Dklist.c3 * 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 Dlist-test.c11 #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 DMakefile42 lib-y += kobject.o klist.o
/linux-master/drivers/base/
H A Dbase.h24 * @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 Dbus.c1007 * 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 Dbuiltin-probe.c445 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 Ddevice.py63 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 Ddriver.h18 #include <linux/klist.h>
H A Dbus.h18 #include <linux/klist.h>
H A Dclass.h18 #include <linux/klist.h>
/linux-master/fs/
H A Dxattr.c830 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 Dparisc-agp.c15 #include <linux/klist.h>

Completed in 204 milliseconds