Lines Matching refs:st
2365 static int nfs4_show_open(struct seq_file *s, struct nfs4_stid *st) in nfs4_show_open() argument
2373 if (st->sc_type != NFS4_OPEN_STID && st->sc_type != NFS4_LOCK_STID) in nfs4_show_open()
2375 ols = openlockstateid(st); in nfs4_show_open()
2377 nf = st->sc_file; in nfs4_show_open()
2380 seq_printf(s, "- 0x%16phN: { type: open, ", &st->sc_stateid); in nfs4_show_open()
2401 static int nfs4_show_lock(struct seq_file *s, struct nfs4_stid *st) in nfs4_show_lock() argument
2408 ols = openlockstateid(st); in nfs4_show_lock()
2410 nf = st->sc_file; in nfs4_show_lock()
2413 seq_printf(s, "- 0x%16phN: { type: lock, ", &st->sc_stateid); in nfs4_show_lock()
2432 static int nfs4_show_deleg(struct seq_file *s, struct nfs4_stid *st) in nfs4_show_deleg() argument
2438 ds = delegstateid(st); in nfs4_show_deleg()
2439 nf = st->sc_file; in nfs4_show_deleg()
2442 seq_printf(s, "- 0x%16phN: { type: deleg, ", &st->sc_stateid); in nfs4_show_deleg()
2456 static int nfs4_show_layout(struct seq_file *s, struct nfs4_stid *st) in nfs4_show_layout() argument
2461 ls = container_of(st, struct nfs4_layout_stateid, ls_stid); in nfs4_show_layout()
2464 seq_printf(s, "- 0x%16phN: { type: layout, ", &st->sc_stateid); in nfs4_show_layout()
2476 struct nfs4_stid *st = v; in states_show() local
2478 switch (st->sc_type) { in states_show()
2480 return nfs4_show_open(s, st); in states_show()
2482 return nfs4_show_lock(s, st); in states_show()
2484 return nfs4_show_deleg(s, st); in states_show()
2486 return nfs4_show_layout(s, st); in states_show()