Lines Matching refs:seq
381 static int table_seq_show(struct seq_file *seq, void *iter_ptr) in table_seq_show() argument
385 if (seq->op == &format1_seq_ops) in table_seq_show()
386 print_format1(rsb, seq); in table_seq_show()
387 else if (seq->op == &format2_seq_ops) in table_seq_show()
388 print_format2(rsb, seq); in table_seq_show()
389 else if (seq->op == &format3_seq_ops) in table_seq_show()
390 print_format3(rsb, seq); in table_seq_show()
391 else if (seq->op == &format4_seq_ops) in table_seq_show()
392 print_format4(rsb, seq); in table_seq_show()
397 static void *table_seq_start(struct seq_file *seq, loff_t *pos) in table_seq_start() argument
399 struct dlm_ls *ls = seq->private; in table_seq_start()
403 if (seq->op == &format2_seq_ops) in table_seq_start()
404 …seq_puts(seq, "id nodeid remid pid xid exflags flags sts grmode rqmode time_ms r_nodeid r_len r_na… in table_seq_start()
405 else if (seq->op == &format3_seq_ops) in table_seq_start()
406 …seq_puts(seq, "rsb ptr nodeid first_lkid flags !root_list_empty !recover_list_empty recover_locks_… in table_seq_start()
407 else if (seq->op == &format4_seq_ops) in table_seq_start()
408 …seq_puts(seq, "rsb ptr nodeid master_nodeid dir_nodeid our_nodeid toss_time flags len str|hex name… in table_seq_start()
411 if (seq->op == &format4_seq_ops) in table_seq_start()
420 static void *table_seq_next(struct seq_file *seq, void *iter_ptr, loff_t *pos) in table_seq_next() argument
422 struct dlm_ls *ls = seq->private; in table_seq_next()
425 if (seq->op == &format4_seq_ops) in table_seq_next()
433 static void table_seq_stop(struct seq_file *seq, void *iter_ptr) in table_seq_stop() argument
435 struct dlm_ls *ls = seq->private; in table_seq_stop()
475 struct seq_file *seq; in table_open1() local
482 seq = file->private_data; in table_open1()
483 seq->private = inode->i_private; /* the dlm_ls */ in table_open1()
489 struct seq_file *seq; in table_open2() local
496 seq = file->private_data; in table_open2()
497 seq->private = inode->i_private; /* the dlm_ls */ in table_open2()
504 struct seq_file *seq = file->private_data; in table_write2() local
507 struct dlm_ls *ls = seq->private; in table_write2()
532 struct seq_file *seq; in table_open3() local
539 seq = file->private_data; in table_open3()
540 seq->private = inode->i_private; /* the dlm_ls */ in table_open3()
546 struct seq_file *seq; in table_open4() local
553 seq = file->private_data; in table_open4()
554 seq->private = inode->i_private; /* the dlm_ls */ in table_open4()