Home
last modified time | relevance | path

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

/Linux-v6.6/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-v6.6/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 …]
Dlist-test.c1206 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 mylist; in klist_test_remove()
1471 struct klist mylist; in klist_test_node_attached()
DMakefile42 lib-y += kobject.o klist.o
/Linux-v6.6/drivers/base/
Dbase.h49 struct klist klist_devices;
50 struct klist klist_drivers;
80 struct klist klist_devices;
109 struct klist klist_children;
Dbus.c1042 struct klist *device_klist; in bus_sort_breadthfirst()
/Linux-v6.6/tools/perf/
Dbuiltin-probe.c445 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()
/Linux-v6.6/scripts/gdb/linux/
Ddevice.py67 def klist_for_each(klist): argument
68 return list_for_each_entry(klist['k_list'],
/Linux-v6.6/fs/
Dxattr.c831 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()