• Home
  • Raw
  • Download

Lines Matching refs:r

166 			       struct dlm_rsb *r)  in print_format2_lock()  argument
194 r->res_nodeid, in print_format2_lock()
195 r->res_length, in print_format2_lock()
196 r->res_name); in print_format2_lock()
199 static void print_format2(struct dlm_rsb *r, struct seq_file *s) in print_format2() argument
203 lock_rsb(r); in print_format2()
205 list_for_each_entry(lkb, &r->res_grantqueue, lkb_statequeue) { in print_format2()
206 print_format2_lock(s, lkb, r); in print_format2()
211 list_for_each_entry(lkb, &r->res_convertqueue, lkb_statequeue) { in print_format2()
212 print_format2_lock(s, lkb, r); in print_format2()
217 list_for_each_entry(lkb, &r->res_waitqueue, lkb_statequeue) { in print_format2()
218 print_format2_lock(s, lkb, r); in print_format2()
223 unlock_rsb(r); in print_format2()
255 static void print_format3(struct dlm_rsb *r, struct seq_file *s) in print_format3() argument
258 int i, lvblen = r->res_ls->ls_lvblen; in print_format3()
261 lock_rsb(r); in print_format3()
264 r, in print_format3()
265 r->res_nodeid, in print_format3()
266 r->res_first_lkid, in print_format3()
267 r->res_flags, in print_format3()
268 !list_empty(&r->res_root_list), in print_format3()
269 !list_empty(&r->res_recover_list), in print_format3()
270 r->res_recover_locks_count, in print_format3()
271 r->res_length); in print_format3()
275 for (i = 0; i < r->res_length; i++) { in print_format3()
276 if (!isascii(r->res_name[i]) || !isprint(r->res_name[i])) in print_format3()
282 for (i = 0; i < r->res_length; i++) { in print_format3()
284 seq_printf(s, "%c", r->res_name[i]); in print_format3()
286 seq_printf(s, " %02x", (unsigned char)r->res_name[i]); in print_format3()
292 if (!r->res_lvbptr) in print_format3()
295 seq_printf(s, "lvb %u %d", r->res_lvbseq, lvblen); in print_format3()
298 seq_printf(s, " %02x", (unsigned char)r->res_lvbptr[i]); in print_format3()
304 list_for_each_entry(lkb, &r->res_grantqueue, lkb_statequeue) { in print_format3()
310 list_for_each_entry(lkb, &r->res_convertqueue, lkb_statequeue) { in print_format3()
316 list_for_each_entry(lkb, &r->res_waitqueue, lkb_statequeue) { in print_format3()
322 list_for_each_entry(lkb, &r->res_lookup, lkb_rsb_lookup) { in print_format3()
328 unlock_rsb(r); in print_format3()
331 static void print_format4(struct dlm_rsb *r, struct seq_file *s) in print_format4() argument
337 lock_rsb(r); in print_format4()
340 r, in print_format4()
341 r->res_nodeid, in print_format4()
342 r->res_master_nodeid, in print_format4()
343 r->res_dir_nodeid, in print_format4()
345 r->res_toss_time, in print_format4()
346 r->res_flags, in print_format4()
347 r->res_length); in print_format4()
349 for (i = 0; i < r->res_length; i++) { in print_format4()
350 if (!isascii(r->res_name[i]) || !isprint(r->res_name[i])) in print_format4()
356 for (i = 0; i < r->res_length; i++) { in print_format4()
358 seq_printf(s, "%c", r->res_name[i]); in print_format4()
360 seq_printf(s, " %02x", (unsigned char)r->res_name[i]); in print_format4()
363 unlock_rsb(r); in print_format4()
425 struct dlm_rsb *r; in table_seq_start() local
455 r = rb_entry(node, struct dlm_rsb, res_hashnode); in table_seq_start()
457 dlm_hold_rsb(r); in table_seq_start()
458 ri->rsb = r; in table_seq_start()
487 r = rb_entry(node, struct dlm_rsb, res_hashnode); in table_seq_start()
488 dlm_hold_rsb(r); in table_seq_start()
489 ri->rsb = r; in table_seq_start()
505 struct dlm_rsb *r, *rp; in table_seq_next() local
521 r = rb_entry(next, struct dlm_rsb, res_hashnode); in table_seq_next()
522 dlm_hold_rsb(r); in table_seq_next()
523 ri->rsb = r; in table_seq_next()
552 r = rb_entry(next, struct dlm_rsb, res_hashnode); in table_seq_next()
553 dlm_hold_rsb(r); in table_seq_next()
554 ri->rsb = r; in table_seq_next()