Lines Matching refs:seq
383 static int table_seq_show(struct seq_file *seq, void *iter_ptr) in table_seq_show() argument
389 print_format1(ri->rsb, seq); in table_seq_show()
393 …seq_puts(seq, "id nodeid remid pid xid exflags flags sts grmode rqmode time_ms r_nodeid r_len r_na… in table_seq_show()
396 print_format2(ri->rsb, seq); in table_seq_show()
400 seq_puts(seq, "version rsb 1.1 lvb 1.1 lkb 1.1\n"); in table_seq_show()
403 print_format3(ri->rsb, seq); in table_seq_show()
407 seq_puts(seq, "version 4 rsb 2\n"); in table_seq_show()
410 print_format4(ri->rsb, seq); in table_seq_show()
422 static void *table_seq_start(struct seq_file *seq, loff_t *pos) in table_seq_start() argument
426 struct dlm_ls *ls = seq->private; in table_seq_start()
431 int toss = (seq->op == &format4_seq_ops); in table_seq_start()
444 if (seq->op == &format1_seq_ops) in table_seq_start()
446 if (seq->op == &format2_seq_ops) in table_seq_start()
448 if (seq->op == &format3_seq_ops) in table_seq_start()
450 if (seq->op == &format4_seq_ops) in table_seq_start()
502 static void *table_seq_next(struct seq_file *seq, void *iter_ptr, loff_t *pos) in table_seq_next() argument
504 struct dlm_ls *ls = seq->private; in table_seq_next()
511 int toss = (seq->op == &format4_seq_ops); in table_seq_next()
568 static void table_seq_stop(struct seq_file *seq, void *iter_ptr) in table_seq_stop() argument
613 struct seq_file *seq; in table_open() local
628 seq = file->private_data; in table_open()
629 seq->private = inode->i_private; /* the dlm_ls */ in table_open()