Lines Matching refs:s
51 static void print_format1_lock(struct seq_file *s, struct dlm_lkb *lkb, in print_format1_lock() argument
54 seq_printf(s, "%08x %s", lkb->lkb_id, print_lockmode(lkb->lkb_grmode)); in print_format1_lock()
58 seq_printf(s, " (%s)", print_lockmode(lkb->lkb_rqmode)); in print_format1_lock()
62 seq_printf(s, " Remote: %3d %08x", lkb->lkb_nodeid, in print_format1_lock()
65 seq_printf(s, " Master: %08x", lkb->lkb_remid); in print_format1_lock()
69 seq_printf(s, " wait_type: %d", lkb->lkb_wait_type); in print_format1_lock()
71 seq_puts(s, "\n"); in print_format1_lock()
74 static void print_format1(struct dlm_rsb *res, struct seq_file *s) in print_format1() argument
81 seq_printf(s, "\nResource %p Name (len=%d) \"", res, res->res_length); in print_format1()
85 seq_printf(s, "%c", res->res_name[i]); in print_format1()
87 seq_printf(s, "%c", '.'); in print_format1()
91 seq_printf(s, "\"\nLocal Copy, Master is node %d\n", in print_format1()
94 seq_puts(s, "\"\nMaster Copy\n"); in print_format1()
96 seq_printf(s, "\"\nLooking up master (lkid %x)\n", in print_format1()
99 seq_printf(s, "\"\nInvalid master %d\n", res->res_nodeid); in print_format1()
100 if (seq_has_overflowed(s)) in print_format1()
105 seq_puts(s, "LVB: "); in print_format1()
108 seq_puts(s, "\n "); in print_format1()
109 seq_printf(s, "%02x ", in print_format1()
113 seq_puts(s, " (INVALID)"); in print_format1()
114 seq_puts(s, "\n"); in print_format1()
115 if (seq_has_overflowed(s)) in print_format1()
123 seq_printf(s, "Recovery: root %d recover %d flags %lx count %d\n", in print_format1()
129 seq_puts(s, "Granted Queue\n"); in print_format1()
131 print_format1_lock(s, lkb, res); in print_format1()
132 if (seq_has_overflowed(s)) in print_format1()
136 seq_puts(s, "Conversion Queue\n"); in print_format1()
138 print_format1_lock(s, lkb, res); in print_format1()
139 if (seq_has_overflowed(s)) in print_format1()
143 seq_puts(s, "Waiting Queue\n"); in print_format1()
145 print_format1_lock(s, lkb, res); in print_format1()
146 if (seq_has_overflowed(s)) in print_format1()
153 seq_puts(s, "Lookup Queue\n"); in print_format1()
155 seq_printf(s, "%08x %s", in print_format1()
158 seq_printf(s, " wait_type: %d", lkb->lkb_wait_type); in print_format1()
159 seq_puts(s, "\n"); in print_format1()
160 if (seq_has_overflowed(s)) in print_format1()
167 static void print_format2_lock(struct seq_file *s, struct dlm_lkb *lkb, in print_format2_lock() argument
184 seq_printf(s, "%x %d %x %u %llu %x %x %d %d %d %llu %u %d \"%s\"\n", in print_format2_lock()
201 static void print_format2(struct dlm_rsb *r, struct seq_file *s) in print_format2() argument
208 print_format2_lock(s, lkb, r); in print_format2()
209 if (seq_has_overflowed(s)) in print_format2()
214 print_format2_lock(s, lkb, r); in print_format2()
215 if (seq_has_overflowed(s)) in print_format2()
220 print_format2_lock(s, lkb, r); in print_format2()
221 if (seq_has_overflowed(s)) in print_format2()
228 static void print_format3_lock(struct seq_file *s, struct dlm_lkb *lkb, in print_format3_lock() argument
238 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()
257 static void print_format3(struct dlm_rsb *r, struct seq_file *s) in print_format3() argument
265 seq_printf(s, "rsb %p %d %x %lx %d %d %u %d ", in print_format3()
274 if (seq_has_overflowed(s)) in print_format3()
282 seq_puts(s, print_name ? "str " : "hex"); in print_format3()
286 seq_printf(s, "%c", r->res_name[i]); in print_format3()
288 seq_printf(s, " %02x", (unsigned char)r->res_name[i]); in print_format3()
290 seq_puts(s, "\n"); in print_format3()
291 if (seq_has_overflowed(s)) in print_format3()
297 seq_printf(s, "lvb %u %d", r->res_lvbseq, lvblen); in print_format3()
300 seq_printf(s, " %02x", (unsigned char)r->res_lvbptr[i]); in print_format3()
301 seq_puts(s, "\n"); in print_format3()
302 if (seq_has_overflowed(s)) in print_format3()
307 print_format3_lock(s, lkb, 0); in print_format3()
308 if (seq_has_overflowed(s)) in print_format3()
313 print_format3_lock(s, lkb, 0); in print_format3()
314 if (seq_has_overflowed(s)) in print_format3()
319 print_format3_lock(s, lkb, 0); in print_format3()
320 if (seq_has_overflowed(s)) in print_format3()
325 print_format3_lock(s, lkb, 1); in print_format3()
326 if (seq_has_overflowed(s)) in print_format3()
333 static void print_format4(struct dlm_rsb *r, struct seq_file *s) in print_format4() argument
341 seq_printf(s, "rsb %p %d %d %d %d %lu %lx %d ", in print_format4()
356 seq_puts(s, print_name ? "str " : "hex"); in print_format4()
360 seq_printf(s, "%c", r->res_name[i]); in print_format4()
362 seq_printf(s, " %02x", (unsigned char)r->res_name[i]); in print_format4()
364 seq_puts(s, "\n"); in print_format4()