Home
last modified time | relevance | path

Searched refs:rct (Results 1 – 3 of 3) sorted by relevance

/drivers/staging/lustre/lustre/llite/
Dllite_rmtacl.c100 static struct rmtacl_ctl_entry *__rct_search(struct rmtacl_ctl_table *rct, in __rct_search() argument
104 struct list_head *head = &rct->rct_entries[rce_hashfunc(key)]; in __rct_search()
113 struct rmtacl_ctl_entry *rct_search(struct rmtacl_ctl_table *rct, pid_t key) in rct_search() argument
117 spin_lock(&rct->rct_lock); in rct_search()
118 rce = __rct_search(rct, key); in rct_search()
119 spin_unlock(&rct->rct_lock); in rct_search()
123 int rct_add(struct rmtacl_ctl_table *rct, pid_t key, int ops) in rct_add() argument
131 spin_lock(&rct->rct_lock); in rct_add()
132 e = __rct_search(rct, key); in rct_add()
138 list_add_tail(&rce->rce_list, &rct->rct_entries[rce_hashfunc(key)]); in rct_add()
[all …]
Dllite_internal.h1075 struct rmtacl_ctl_entry *rct_search(struct rmtacl_ctl_table *rct, pid_t key);
1076 int rct_add(struct rmtacl_ctl_table *rct, pid_t key, int ops);
1077 int rct_del(struct rmtacl_ctl_table *rct, pid_t key);
1078 void rct_init(struct rmtacl_ctl_table *rct);
1079 void rct_fini(struct rmtacl_ctl_table *rct);
/drivers/block/drbd/
Ddrbd_receiver.c2959 int rct, dc; /* roles at crash time */ in drbd_uuid_compare() local
3008 rct = (test_bit(CRASHED_PRIMARY, &device->flags) ? 1 : 0) + in drbd_uuid_compare()
3014 switch (rct) { in drbd_uuid_compare()