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

12

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/include/linux/
H A Dklist.h2 * klist.h - Some generic list helpers, extending struct list_head a bit.
4 * Implementations are found in lib/klist.c
20 struct klist { struct
34 struct klist _name = KLIST_INIT(_name, _get, _put)
36 extern void klist_init(struct klist *k, void (*get)(struct klist_node *),
45 extern void klist_add_tail(struct klist_node *n, struct klist *k);
46 extern void klist_add_head(struct klist_node *n, struct klist *k);
57 struct klist *i_klist;
62 extern void klist_iter_init(struct klist *k, struct klist_iter *i);
63 extern void klist_iter_init_node(struct klist *
[all...]
H A Dattribute_container.h14 #include <linux/klist.h>
18 struct klist containers;
H A Ddevice.h18 #include <linux/klist.h>
121 extern struct klist *bus_get_device_klist(struct bus_type *bus);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/include/linux/
H A Dklist.h2 * klist.h - Some generic list helpers, extending struct list_head a bit.
4 * Implementations are found in lib/klist.c
20 struct klist { struct
34 struct klist _name = KLIST_INIT(_name, _get, _put)
36 extern void klist_init(struct klist *k, void (*get)(struct klist_node *),
45 extern void klist_add_tail(struct klist_node *n, struct klist *k);
46 extern void klist_add_head(struct klist_node *n, struct klist *k);
57 struct klist *i_klist;
62 extern void klist_iter_init(struct klist *k, struct klist_iter *i);
63 extern void klist_iter_init_node(struct klist *
[all...]
H A Dattribute_container.h14 #include <linux/klist.h>
18 struct klist containers;
H A Ddevice.h18 #include <linux/klist.h>
121 extern struct klist *bus_get_device_klist(struct bus_type *bus);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/security/keys/
H A Dkeyring.c146 struct keyring_list *klist; local
159 klist = rcu_dereference_check(keyring->payload.subscriptions,
162 if (klist) {
163 for (loop = klist->nkeys - 1; loop >= 0; loop--)
164 key_put(klist->keys[loop]);
165 kfree(klist);
176 struct keyring_list *klist; local
184 klist = rcu_dereference(keyring->payload.subscriptions);
185 if (klist)
186 seq_printf(m, ": %u/%u", klist
201 struct keyring_list *klist; local
484 struct keyring_list *klist; local
669 struct keyring_list *klist = local
685 struct keyring_list *klist, *nklist; variable in typeref:struct:keyring_list
817 struct keyring_list *klist, *nklist; local
907 struct keyring_list *klist, *nklist; local
983 struct keyring_list *klist; local
1002 struct keyring_list *klist; local
1042 struct keyring_list *klist; local
1070 struct keyring_list *klist, *new; local
[all...]
H A Dgc.c70 struct keyring_list *klist; local
81 klist = rcu_dereference(keyring->payload.subscriptions);
82 if (!klist)
85 for (loop = klist->nkeys - 1; loop >= 0; loop--) {
86 key = klist->keys[loop];
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/security/keys/
H A Dkeyring.c146 struct keyring_list *klist; local
159 klist = rcu_dereference_check(keyring->payload.subscriptions,
162 if (klist) {
163 for (loop = klist->nkeys - 1; loop >= 0; loop--)
164 key_put(klist->keys[loop]);
165 kfree(klist);
176 struct keyring_list *klist; local
184 klist = rcu_dereference(keyring->payload.subscriptions);
185 if (klist)
186 seq_printf(m, ": %u/%u", klist
201 struct keyring_list *klist; local
484 struct keyring_list *klist; local
669 struct keyring_list *klist = local
685 struct keyring_list *klist, *nklist; variable in typeref:struct:keyring_list
817 struct keyring_list *klist, *nklist; local
907 struct keyring_list *klist, *nklist; local
983 struct keyring_list *klist; local
1002 struct keyring_list *klist; local
1042 struct keyring_list *klist; local
1070 struct keyring_list *klist, *new; local
[all...]
H A Dgc.c70 struct keyring_list *klist; local
81 klist = rcu_dereference(keyring->payload.subscriptions);
82 if (!klist)
85 for (loop = klist->nkeys - 1; loop >= 0; loop--) {
86 key = klist->keys[loop];
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/lib/
H A Dklist.c2 * klist.c - Routines for manipulating klists.
8 * This klist interface provides a couple of structures that wrap around
9 * struct list_head to provide explicit list "head" (struct klist) and list
10 * "node" (struct klist_node) objects. For struct klist, a spinlock is
12 * klist_node provides a pointer to the klist that owns it and a kref
24 * Internally, that routine takes the klist's lock, decrements the
28 * There are primitives for adding and removing nodes to/from a klist.
37 #include <linux/klist.h>
48 static struct klist *knode_klist(struct klist_node *knode)
50 return (struct klist *)
59 knode_set_klist(struct klist_node *knode, struct klist *klist) argument
[all...]
H A DMakefile20 lib-y += kobject.o kref.o klist.o
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/lib/
H A Dklist.c2 * klist.c - Routines for manipulating klists.
8 * This klist interface provides a couple of structures that wrap around
9 * struct list_head to provide explicit list "head" (struct klist) and list
10 * "node" (struct klist_node) objects. For struct klist, a spinlock is
12 * klist_node provides a pointer to the klist that owns it and a kref
24 * Internally, that routine takes the klist's lock, decrements the
28 * There are primitives for adding and removing nodes to/from a klist.
37 #include <linux/klist.h>
48 static struct klist *knode_klist(struct klist_node *knode)
50 return (struct klist *)
59 knode_set_klist(struct klist_node *knode, struct klist *klist) argument
[all...]
H A DMakefile20 lib-y += kobject.o kref.o klist.o
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/base/
H A Dbase.h8 * @klist_devices - the klist to iterate over the @devices_kset
9 * @klist_drivers - the klist to iterate over the @drivers_kset
23 struct klist klist_devices;
24 struct klist klist_drivers;
32 struct klist klist_devices;
57 struct klist class_devices;
69 * @klist_children - klist containing all children of this device
81 struct klist klist_children;
H A Dbus.c987 struct klist *bus_get_device_klist(struct bus_type *bus)
994 * Yes, this forcably breaks the klist abstraction temporarily. It
995 * just wants to sort the klist, not change reference counts and
1031 struct klist *device_klist;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/base/
H A Dbase.h8 * @klist_devices - the klist to iterate over the @devices_kset
9 * @klist_drivers - the klist to iterate over the @drivers_kset
23 struct klist klist_devices;
24 struct klist klist_drivers;
32 struct klist klist_devices;
57 struct klist class_devices;
69 * @klist_children - klist containing all children of this device
81 struct klist klist_children;
H A Dbus.c987 struct klist *bus_get_device_klist(struct bus_type *bus)
994 * Yes, this forcably breaks the klist abstraction temporarily. It
995 * just wants to sort the klist, not change reference counts and
1031 struct klist *device_klist;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/busybox/editors/
H A Ddiff.c42 * through the lines of file0, developing a vector klist
58 * that the y of all k-candidates, the klist is extended.
273 int *klist = xzalloc((n + 2) * sizeof(klist[0])); local
275 /*klist[0] = 0; */
283 cand.pred = klist[0];
288 l = search(klist, k, cand.y, clist);
290 cand.pred = klist[l - 1];
291 if (l <= k && clist[klist[l]].y <= cand.y)
298 tc = klist[
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/busybox/editors/
H A Ddiff.c42 * through the lines of file0, developing a vector klist
58 * that the y of all k-candidates, the klist is extended.
273 int *klist = xzalloc((n + 2) * sizeof(klist[0])); local
275 /*klist[0] = 0; */
283 cand.pred = klist[0];
288 l = search(klist, k, cand.y, clist);
290 cand.pred = klist[l - 1];
291 if (l <= k && clist[klist[l]].y <= cand.y)
298 tc = klist[
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/busybox/editors/
H A Ddiff.c42 * through the lines of file0, developing a vector klist
58 * that the y of all k-candidates, the klist is extended.
273 int *klist = xzalloc((n + 2) * sizeof(klist[0])); local
275 /*klist[0] = 0; */
283 cand.pred = klist[0];
288 l = search(klist, k, cand.y, clist);
290 cand.pred = klist[l - 1];
291 if (l <= k && clist[klist[l]].y <= cand.y)
298 tc = klist[
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/fs/
H A Dxattr.c426 char *klist = NULL; local
431 klist = kmalloc(size, GFP_KERNEL);
432 if (!klist)
436 error = vfs_listxattr(d, klist, size);
438 if (size && copy_to_user(list, klist, error))
445 kfree(klist);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/fs/
H A Dxattr.c426 char *klist = NULL; local
431 klist = kmalloc(size, GFP_KERNEL);
432 if (!klist)
436 error = vfs_listxattr(d, klist, size);
438 if (size && copy_to_user(list, klist, error))
445 kfree(klist);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/char/agp/
H A Dparisc-agp.c19 #include <linux/klist.h>
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/char/agp/
H A Dparisc-agp.c19 #include <linux/klist.h>

Completed in 311 milliseconds

12