Lines Matching refs:seq
380 static int table_seq_show(struct seq_file *seq, void *iter_ptr) in table_seq_show() argument
386 print_format1(ri->rsb, seq); in table_seq_show()
390 …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()
393 print_format2(ri->rsb, seq); in table_seq_show()
397 seq_puts(seq, "version rsb 1.1 lvb 1.1 lkb 1.1\n"); in table_seq_show()
400 print_format3(ri->rsb, seq); in table_seq_show()
404 seq_puts(seq, "version 4 rsb 2\n"); in table_seq_show()
407 print_format4(ri->rsb, seq); in table_seq_show()
419 static void *table_seq_start(struct seq_file *seq, loff_t *pos) in table_seq_start() argument
423 struct dlm_ls *ls = seq->private; in table_seq_start()
428 int toss = (seq->op == &format4_seq_ops); in table_seq_start()
441 if (seq->op == &format1_seq_ops) in table_seq_start()
443 if (seq->op == &format2_seq_ops) in table_seq_start()
445 if (seq->op == &format3_seq_ops) in table_seq_start()
447 if (seq->op == &format4_seq_ops) in table_seq_start()
499 static void *table_seq_next(struct seq_file *seq, void *iter_ptr, loff_t *pos) in table_seq_next() argument
501 struct dlm_ls *ls = seq->private; in table_seq_next()
508 int toss = (seq->op == &format4_seq_ops); in table_seq_next()
564 static void table_seq_stop(struct seq_file *seq, void *iter_ptr) in table_seq_stop() argument
609 struct seq_file *seq; in table_open1() local
616 seq = file->private_data; in table_open1()
617 seq->private = inode->i_private; /* the dlm_ls */ in table_open1()
623 struct seq_file *seq; in table_open2() local
630 seq = file->private_data; in table_open2()
631 seq->private = inode->i_private; /* the dlm_ls */ in table_open2()
637 struct seq_file *seq; in table_open3() local
644 seq = file->private_data; in table_open3()
645 seq->private = inode->i_private; /* the dlm_ls */ in table_open3()
651 struct seq_file *seq; in table_open4() local
658 seq = file->private_data; in table_open4()
659 seq->private = inode->i_private; /* the dlm_ls */ in table_open4()