Lines Matching refs:s
52 static void print_format1_lock(struct seq_file *s, struct dlm_lkb *lkb, in print_format1_lock() argument
55 seq_printf(s, "%08x %s", lkb->lkb_id, print_lockmode(lkb->lkb_grmode)); in print_format1_lock()
59 seq_printf(s, " (%s)", print_lockmode(lkb->lkb_rqmode)); in print_format1_lock()
63 seq_printf(s, " Remote: %3d %08x", lkb->lkb_nodeid, in print_format1_lock()
66 seq_printf(s, " Master: %08x", lkb->lkb_remid); in print_format1_lock()
70 seq_printf(s, " wait_type: %d", lkb->lkb_wait_type); in print_format1_lock()
72 seq_putc(s, '\n'); in print_format1_lock()
75 static void print_format1(struct dlm_rsb *res, struct seq_file *s) in print_format1() argument
82 seq_printf(s, "\nResource %p Name (len=%d) \"", res, res->res_length); in print_format1()
86 seq_printf(s, "%c", res->res_name[i]); in print_format1()
88 seq_printf(s, "%c", '.'); in print_format1()
92 seq_printf(s, "\"\nLocal Copy, Master is node %d\n", in print_format1()
95 seq_puts(s, "\"\nMaster Copy\n"); in print_format1()
97 seq_printf(s, "\"\nLooking up master (lkid %x)\n", in print_format1()
100 seq_printf(s, "\"\nInvalid master %d\n", res->res_nodeid); in print_format1()
101 if (seq_has_overflowed(s)) in print_format1()
106 seq_puts(s, "LVB: "); in print_format1()
109 seq_puts(s, "\n "); in print_format1()
110 seq_printf(s, "%02x ", in print_format1()
114 seq_puts(s, " (INVALID)"); in print_format1()
115 seq_putc(s, '\n'); in print_format1()
116 if (seq_has_overflowed(s)) in print_format1()
124 seq_printf(s, "Recovery: root %d recover %d flags %lx count %d\n", in print_format1()
130 seq_puts(s, "Granted Queue\n"); in print_format1()
132 print_format1_lock(s, lkb, res); in print_format1()
133 if (seq_has_overflowed(s)) in print_format1()
137 seq_puts(s, "Conversion Queue\n"); in print_format1()
139 print_format1_lock(s, lkb, res); in print_format1()
140 if (seq_has_overflowed(s)) in print_format1()
144 seq_puts(s, "Waiting Queue\n"); in print_format1()
146 print_format1_lock(s, lkb, res); in print_format1()
147 if (seq_has_overflowed(s)) in print_format1()
154 seq_puts(s, "Lookup Queue\n"); in print_format1()
156 seq_printf(s, "%08x %s", in print_format1()
159 seq_printf(s, " wait_type: %d", lkb->lkb_wait_type); in print_format1()
160 seq_putc(s, '\n'); in print_format1()
161 if (seq_has_overflowed(s)) in print_format1()
168 static void print_format2_lock(struct seq_file *s, struct dlm_lkb *lkb, in print_format2_lock() argument
185 seq_printf(s, "%x %d %x %u %llu %x %x %d %d %d %llu %u %d \"%s\"\n", in print_format2_lock()
202 static void print_format2(struct dlm_rsb *r, struct seq_file *s) in print_format2() argument
209 print_format2_lock(s, lkb, r); in print_format2()
210 if (seq_has_overflowed(s)) in print_format2()
215 print_format2_lock(s, lkb, r); in print_format2()
216 if (seq_has_overflowed(s)) in print_format2()
221 print_format2_lock(s, lkb, r); in print_format2()
222 if (seq_has_overflowed(s)) in print_format2()
229 static void print_format3_lock(struct seq_file *s, struct dlm_lkb *lkb, in print_format3_lock() argument
239 seq_printf(s, "lkb %x %d %x %u %llu %x %x %d %d %d %d %d %d %u %llu %llu\n", in print_format3_lock()
258 static void print_format3(struct dlm_rsb *r, struct seq_file *s) in print_format3() argument
266 seq_printf(s, "rsb %p %d %x %lx %d %d %u %d ", in print_format3()
275 if (seq_has_overflowed(s)) in print_format3()
283 seq_puts(s, print_name ? "str " : "hex"); in print_format3()
287 seq_printf(s, "%c", r->res_name[i]); in print_format3()
289 seq_printf(s, " %02x", (unsigned char)r->res_name[i]); in print_format3()
291 seq_putc(s, '\n'); in print_format3()
292 if (seq_has_overflowed(s)) in print_format3()
298 seq_printf(s, "lvb %u %d", r->res_lvbseq, lvblen); in print_format3()
301 seq_printf(s, " %02x", (unsigned char)r->res_lvbptr[i]); in print_format3()
302 seq_putc(s, '\n'); in print_format3()
303 if (seq_has_overflowed(s)) in print_format3()
308 print_format3_lock(s, lkb, 0); in print_format3()
309 if (seq_has_overflowed(s)) in print_format3()
314 print_format3_lock(s, lkb, 0); in print_format3()
315 if (seq_has_overflowed(s)) in print_format3()
320 print_format3_lock(s, lkb, 0); in print_format3()
321 if (seq_has_overflowed(s)) in print_format3()
326 print_format3_lock(s, lkb, 1); in print_format3()
327 if (seq_has_overflowed(s)) in print_format3()
334 static void print_format4(struct dlm_rsb *r, struct seq_file *s) in print_format4() argument
342 seq_printf(s, "rsb %p %d %d %d %d %lu %lx %d ", in print_format4()
357 seq_puts(s, print_name ? "str " : "hex"); in print_format4()
361 seq_printf(s, "%c", r->res_name[i]); in print_format4()
363 seq_printf(s, " %02x", (unsigned char)r->res_name[i]); in print_format4()
365 seq_putc(s, '\n'); in print_format4()