Home
last modified time | relevance | path

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

/linux-6.3-rc2/include/linux/
A 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,
A Dattribute_container.h18 struct klist containers;
/linux-6.3-rc2/lib/
A 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()
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()
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()
148 struct klist *k = knode_klist(pos); in klist_add_behind()
164 struct klist *k = knode_klist(pos); in klist_add_before()
[all …]
A DMakefile42 lib-y += kobject.o klist.o
/linux-6.3-rc2/drivers/base/
A Dbase.h47 struct klist klist_devices;
48 struct klist klist_drivers;
75 struct klist klist_devices;
104 struct klist klist_children;
A Dbus.c1042 struct klist *device_klist; in bus_sort_breadthfirst()
/linux-6.3-rc2/tools/perf/
A Dbuiltin-probe.c436 struct strlist *klist = NULL, *ulist = NULL; in perf_del_probe_events() local
452 klist = strlist__new(NULL, NULL); in perf_del_probe_events()
454 if (!klist || !ulist) { in perf_del_probe_events()
459 ret = probe_file__get_events(kfd, filter, klist); in perf_del_probe_events()
461 strlist__for_each_entry(ent, klist) in perf_del_probe_events()
464 ret = probe_file__del_strlist(kfd, klist); in perf_del_probe_events()
492 strlist__delete(klist); in perf_del_probe_events()
/linux-6.3-rc2/scripts/gdb/linux/
A Ddevice.py67 def klist_for_each(klist): argument
68 return list_for_each_entry(klist['k_list'],
/linux-6.3-rc2/fs/
A Dxattr.c810 char *klist = NULL; in listxattr() local
815 klist = kvmalloc(size, GFP_KERNEL); in listxattr()
816 if (!klist) in listxattr()
820 error = vfs_listxattr(d, klist, size); in listxattr()
822 if (size && copy_to_user(list, klist, error)) in listxattr()
830 kvfree(klist); in listxattr()

Completed in 30 milliseconds