Lines Matching refs:seq
399 static int table_seq_show(struct seq_file *seq, void *iter_ptr) in table_seq_show() argument
406 rv = print_format1(ri->rsb, seq); in table_seq_show()
410 seq_printf(seq, "id nodeid remid pid xid exflags " in table_seq_show()
415 rv = print_format2(ri->rsb, seq); in table_seq_show()
419 seq_printf(seq, "version rsb 1.1 lvb 1.1 lkb 1.1\n"); in table_seq_show()
422 rv = print_format3(ri->rsb, seq); in table_seq_show()
426 seq_printf(seq, "version 4 rsb 2\n"); in table_seq_show()
429 rv = print_format4(ri->rsb, seq); in table_seq_show()
441 static void *table_seq_start(struct seq_file *seq, loff_t *pos) in table_seq_start() argument
445 struct dlm_ls *ls = seq->private; in table_seq_start()
450 int toss = (seq->op == &format4_seq_ops); in table_seq_start()
463 if (seq->op == &format1_seq_ops) in table_seq_start()
465 if (seq->op == &format2_seq_ops) in table_seq_start()
467 if (seq->op == &format3_seq_ops) in table_seq_start()
469 if (seq->op == &format4_seq_ops) in table_seq_start()
521 static void *table_seq_next(struct seq_file *seq, void *iter_ptr, loff_t *pos) in table_seq_next() argument
523 struct dlm_ls *ls = seq->private; in table_seq_next()
530 int toss = (seq->op == &format4_seq_ops); in table_seq_next()
586 static void table_seq_stop(struct seq_file *seq, void *iter_ptr) in table_seq_stop() argument
631 struct seq_file *seq; in table_open() local
646 seq = file->private_data; in table_open()
647 seq->private = inode->i_private; /* the dlm_ls */ in table_open()