/kernel/linux/linux-5.10/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;
|
/kernel/linux/linux-6.6/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;
|
/kernel/linux/linux-5.10/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) in knode_klist() 49 return (struct klist *) in knode_klist() 58 knode_set_klist(struct klist_node *knode, struct klist *klist) knode_set_klist() argument [all...] |
/kernel/linux/linux-6.6/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) in knode_klist() 49 return (struct klist *) in knode_klist() 58 knode_set_klist(struct klist_node *knode, struct klist *klist) knode_set_klist() argument [all...] |
H A D | list-test.c | 11 #include <linux/klist.h> 1206 struct klist klist; member 1228 struct klist mylist; in klist_test_add_tail() 1256 struct klist mylist; in klist_test_add_head() 1284 struct klist mylist; in klist_test_add_behind() 1317 struct klist mylist; in klist_test_add_before() 1353 struct klist mylist; in klist_test_del_refcount_greater_than_zero() 1404 struct klist mylist; in klist_test_del_refcount_zero() 1438 struct klist mylis in klist_test_remove() [all...] |
/kernel/linux/linux-5.10/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 47 struct klist klist_devices; 48 struct klist klist_drivers; 60 struct klist klist_devices; 70 * @klist_children - klist containing all children of this device 89 struct klist klist_children;
|
H A D | bus.c | 921 struct klist *bus_get_device_klist(struct bus_type *bus) in bus_get_device_klist() 928 * Yes, this forcibly breaks the klist abstraction temporarily. It 929 * just wants to sort the klist, not change reference counts and 962 struct klist *device_klist; in bus_sort_breadthfirst()
|
/kernel/linux/linux-6.6/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;
|
/kernel/linux/linux-5.10/tools/perf/ |
H A D | builtin-probe.c | 424 struct strlist *klist = NULL, *ulist = NULL; in perf_del_probe_events() local 440 klist = strlist__new(NULL, NULL); in perf_del_probe_events() 442 if (!klist || !ulist) { in perf_del_probe_events() 447 ret = probe_file__get_events(kfd, filter, klist); in perf_del_probe_events() 449 strlist__for_each_entry(ent, klist) in perf_del_probe_events() 452 ret = probe_file__del_strlist(kfd, klist); in perf_del_probe_events() 480 strlist__delete(klist); in perf_del_probe_events()
|
/kernel/linux/linux-6.6/tools/perf/ |
H A D | builtin-probe.c | 445 struct strlist *klist = NULL, *ulist = NULL; in perf_del_probe_events() local 461 klist = strlist__new(NULL, NULL); in perf_del_probe_events() 463 if (!klist || !ulist) { in perf_del_probe_events() 468 ret = probe_file__get_events(kfd, filter, klist); in perf_del_probe_events() 470 strlist__for_each_entry(ent, klist) in perf_del_probe_events() 473 ret = probe_file__del_strlist(kfd, klist); in perf_del_probe_events() 501 strlist__delete(klist); in perf_del_probe_events()
|
/kernel/linux/linux-5.10/include/linux/device/ |
H A D | bus.h | 18 #include <linux/klist.h> 286 extern struct klist *bus_get_device_klist(struct bus_type *bus);
|
H A D | driver.h | 18 #include <linux/klist.h>
|
H A D | class.h | 18 #include <linux/klist.h>
|
/kernel/linux/linux-5.10/fs/ |
H A D | xattr.c | 705 char *klist = NULL; in listxattr() local 710 klist = kvmalloc(size, GFP_KERNEL); in listxattr() 711 if (!klist) in listxattr() 715 error = vfs_listxattr(d, klist, size); in listxattr() 717 if (size && copy_to_user(list, klist, error)) in listxattr() 725 kvfree(klist); in listxattr()
|
/kernel/linux/linux-5.10/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'],
|
/kernel/linux/linux-6.6/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'],
|
/kernel/linux/linux-6.6/fs/ |
H A D | xattr.c | 831 char *klist = NULL; in listxattr() local 836 klist = kvmalloc(size, GFP_KERNEL); in listxattr() 837 if (!klist) in listxattr() 841 error = vfs_listxattr(d, klist, size); in listxattr() 843 if (size && copy_to_user(list, klist, error)) in listxattr() 851 kvfree(klist); in listxattr()
|
/kernel/linux/linux-5.10/drivers/crypto/ux500/cryp/ |
H A D | cryp.h | 16 #include <linux/klist.h> 231 * @list_node: For inclusion into a klist.
|
/kernel/linux/linux-6.6/include/linux/device/ |
H A D | bus.h | 18 #include <linux/klist.h>
|
H A D | driver.h | 18 #include <linux/klist.h>
|
H A D | class.h | 18 #include <linux/klist.h>
|
/kernel/linux/linux-5.10/drivers/char/agp/ |
H A D | parisc-agp.c | 15 #include <linux/klist.h>
|
/kernel/linux/linux-6.6/drivers/char/agp/ |
H A D | parisc-agp.c | 15 #include <linux/klist.h>
|