Searched refs:REFCOUNT_INIT (Results 1 – 20 of 20) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/misc/lkdtm/ |
| H A D | refcount.c | 29 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 D | init_task.c | 47 .count = REFCOUNT_INIT(1), 72 .stack_refcount = REFCOUNT_INIT(1), 76 .usage = REFCOUNT_INIT(2),
|
| /OK3568_Linux_fs/kernel/net/sunrpc/ |
| H A D | auth_null.c | 121 .au_count = REFCOUNT_INIT(1), 141 .cr_count = REFCOUNT_INIT(2),
|
| H A D | auth_unix.c | 222 .au_count = REFCOUNT_INIT(1),
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | kref.h | 23 #define KREF_INIT(n) { .refcount = REFCOUNT_INIT(n), }
|
| H A D | refcount.h | 115 #define REFCOUNT_INIT(n) { .refs = ATOMIC_INIT(n), } macro
|
| /OK3568_Linux_fs/kernel/tools/include/linux/ |
| H A D | refcount.h | 56 #define REFCOUNT_INIT(n) { .refs = ATOMIC_INIT(n), } macro
|
| /OK3568_Linux_fs/kernel/kernel/ |
| H A D | user.c | 100 .__count = REFCOUNT_INIT(1),
|
| H A D | pid.c | 49 .count = REFCOUNT_INIT(1),
|
| /OK3568_Linux_fs/kernel/ipc/ |
| H A D | msgutil.c | 29 .count = REFCOUNT_INIT(1),
|
| /OK3568_Linux_fs/kernel/net/rxrpc/ |
| H A D | conn_service.c | 12 .ref = REFCOUNT_INIT(1),
|
| /OK3568_Linux_fs/kernel/fs/proc/ |
| H A D | root.c | 366 .refcnt = REFCOUNT_INIT(1),
|
| /OK3568_Linux_fs/kernel/net/core/ |
| H A D | dst.c | 43 .refcnt = REFCOUNT_INIT(1),
|
| H A D | net_namespace.c | 44 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 D | ghes_edac.c | 26 static refcount_t ghes_refcount = REFCOUNT_INIT(0);
|
| /OK3568_Linux_fs/kernel/security/keys/ |
| H A D | process_keys.c | 27 .usage = REFCOUNT_INIT(3),
|
| H A D | keyring.c | 216 static struct key_tag default_domain_tag = { .usage = REFCOUNT_INIT(1), }; in key_set_index_key()
|
| /OK3568_Linux_fs/kernel/kernel/cgroup/ |
| H A D | cgroup.c | 205 .count = REFCOUNT_INIT(2), 751 .refcount = REFCOUNT_INIT(1),
|
| /OK3568_Linux_fs/kernel/drivers/block/ |
| H A D | rbd.c | 484 .nref = REFCOUNT_INIT(1),
|
| /OK3568_Linux_fs/kernel/net/ipv6/ |
| H A D | route.c | 282 .fib6_ref = REFCOUNT_INIT(1),
|