Home
last modified time | relevance | path

Searched refs:klist (Results 1 – 12 of 12) sorted by relevance

/linux-6.1.9/include/linux/
Dklist.h18 struct klist { struct
32 struct klist _name = KLIST_INIT(_name, _get, _put) argument
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 *k, struct klist_iter *i,
Dattribute_container.h18 struct klist containers;
/linux-6.1.9/lib/
Dklist.c47 static struct klist *knode_klist(struct klist_node *knode) in knode_klist()
49 return (struct klist *) in knode_klist()
58 static void knode_set_klist(struct klist_node *knode, struct klist *klist) in knode_set_klist() argument
60 knode->n_klist = klist; in knode_set_klist()
84 void klist_init(struct klist *k, void (*get)(struct klist_node *), in klist_init()
94 static void add_head(struct klist *k, struct klist_node *n) in add_head()
101 static void add_tail(struct klist *k, struct klist_node *n) in add_tail()
108 static void klist_node_init(struct klist *k, struct klist_node *n) in klist_node_init()
122 void klist_add_head(struct klist_node *n, struct klist *k) in klist_add_head()
134 void klist_add_tail(struct klist_node *n, struct klist *k) in klist_add_tail()
[all …]
DMakefile42 lib-y += kobject.o klist.o
/linux-6.1.9/drivers/base/
Dbase.h47 struct klist klist_devices;
48 struct klist klist_drivers;
60 struct klist klist_devices;
89 struct klist klist_children;
Dbus.c900 struct klist *bus_get_device_klist(struct bus_type *bus) in bus_get_device_klist()
941 struct klist *device_klist; in bus_sort_breadthfirst()
/linux-6.1.9/tools/perf/
Dbuiltin-probe.c427 struct strlist *klist = NULL, *ulist = NULL; in perf_del_probe_events() local
443 klist = strlist__new(NULL, NULL); in perf_del_probe_events()
445 if (!klist || !ulist) { in perf_del_probe_events()
450 ret = probe_file__get_events(kfd, filter, klist); in perf_del_probe_events()
452 strlist__for_each_entry(ent, klist) in perf_del_probe_events()
455 ret = probe_file__del_strlist(kfd, klist); in perf_del_probe_events()
483 strlist__delete(klist); in perf_del_probe_events()
/linux-6.1.9/scripts/gdb/linux/
Ddevice.py67 def klist_for_each(klist): argument
68 return list_for_each_entry(klist['k_list'],
/linux-6.1.9/fs/
Dxattr.c794 char *klist = NULL; in listxattr() local
799 klist = kvmalloc(size, GFP_KERNEL); in listxattr()
800 if (!klist) in listxattr()
804 error = vfs_listxattr(d, klist, size); in listxattr()
806 if (size && copy_to_user(list, klist, error)) in listxattr()
814 kvfree(klist); in listxattr()
/linux-6.1.9/include/linux/device/
Dbus.h290 extern struct klist *bus_get_device_klist(struct bus_type *bus);
/linux-6.1.9/drivers/crypto/ux500/cryp/
Dcryp_core.c58 struct klist device_list;
/linux-6.1.9/drivers/crypto/ux500/hash/
Dhash_core.c69 struct klist device_list;