Home
last modified time | relevance | path

Searched refs:REFCOUNT_INIT (Results 1 – 20 of 20) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/misc/lkdtm/
H A Drefcount.c29 refcount_t over = REFCOUNT_INIT(REFCOUNT_MAX - 1); in lkdtm_REFCOUNT_INC_OVERFLOW()
45 refcount_t over = REFCOUNT_INIT(REFCOUNT_MAX - 1); in lkdtm_REFCOUNT_ADD_OVERFLOW()
63 refcount_t over = REFCOUNT_INIT(REFCOUNT_MAX); in lkdtm_REFCOUNT_INC_NOT_ZERO_OVERFLOW()
75 refcount_t over = REFCOUNT_INIT(REFCOUNT_MAX); in lkdtm_REFCOUNT_ADD_NOT_ZERO_OVERFLOW()
108 refcount_t zero = REFCOUNT_INIT(2); in lkdtm_REFCOUNT_DEC_ZERO()
147 refcount_t neg = REFCOUNT_INIT(0); in lkdtm_REFCOUNT_DEC_NEGATIVE()
161 refcount_t neg = REFCOUNT_INIT(0); in lkdtm_REFCOUNT_DEC_AND_TEST_NEGATIVE()
176 refcount_t neg = REFCOUNT_INIT(3); in lkdtm_REFCOUNT_SUB_AND_TEST_NEGATIVE()
208 refcount_t zero = REFCOUNT_INIT(0); in lkdtm_REFCOUNT_INC_ZERO()
233 refcount_t zero = REFCOUNT_INIT(0); in lkdtm_REFCOUNT_ADD_ZERO()
[all …]
/OK3568_Linux_fs/kernel/init/
H A Dinit_task.c47 .count = REFCOUNT_INIT(1),
72 .stack_refcount = REFCOUNT_INIT(1),
76 .usage = REFCOUNT_INIT(2),
/OK3568_Linux_fs/kernel/net/sunrpc/
H A Dauth_null.c121 .au_count = REFCOUNT_INIT(1),
141 .cr_count = REFCOUNT_INIT(2),
H A Dauth_unix.c222 .au_count = REFCOUNT_INIT(1),
/OK3568_Linux_fs/kernel/include/linux/
H A Dkref.h23 #define KREF_INIT(n) { .refcount = REFCOUNT_INIT(n), }
H A Drefcount.h115 #define REFCOUNT_INIT(n) { .refs = ATOMIC_INIT(n), } macro
/OK3568_Linux_fs/kernel/tools/include/linux/
H A Drefcount.h56 #define REFCOUNT_INIT(n) { .refs = ATOMIC_INIT(n), } macro
/OK3568_Linux_fs/kernel/kernel/
H A Duser.c100 .__count = REFCOUNT_INIT(1),
H A Dpid.c49 .count = REFCOUNT_INIT(1),
/OK3568_Linux_fs/kernel/ipc/
H A Dmsgutil.c29 .count = REFCOUNT_INIT(1),
/OK3568_Linux_fs/kernel/net/rxrpc/
H A Dconn_service.c12 .ref = REFCOUNT_INIT(1),
/OK3568_Linux_fs/kernel/fs/proc/
H A Droot.c366 .refcnt = REFCOUNT_INIT(1),
/OK3568_Linux_fs/kernel/net/core/
H A Ddst.c43 .refcnt = REFCOUNT_INIT(1),
H A Dnet_namespace.c44 static struct key_tag init_net_key_domain = { .usage = REFCOUNT_INIT(1) };
48 .count = REFCOUNT_INIT(1),
/OK3568_Linux_fs/kernel/drivers/edac/
H A Dghes_edac.c26 static refcount_t ghes_refcount = REFCOUNT_INIT(0);
/OK3568_Linux_fs/kernel/security/keys/
H A Dprocess_keys.c27 .usage = REFCOUNT_INIT(3),
H A Dkeyring.c216 static struct key_tag default_domain_tag = { .usage = REFCOUNT_INIT(1), }; in key_set_index_key()
/OK3568_Linux_fs/kernel/kernel/cgroup/
H A Dcgroup.c205 .count = REFCOUNT_INIT(2),
751 .refcount = REFCOUNT_INIT(1),
/OK3568_Linux_fs/kernel/drivers/block/
H A Drbd.c484 .nref = REFCOUNT_INIT(1),
/OK3568_Linux_fs/kernel/net/ipv6/
H A Droute.c282 .fib6_ref = REFCOUNT_INIT(1),