Lines Matching refs:ctl
514 get_oldest_context(struct inode *inode, struct ceph_writeback_ctl *ctl, in get_oldest_context() argument
532 if (ctl) { in get_oldest_context()
534 ctl->i_size = i_size_read(inode); in get_oldest_context()
535 ctl->size_stable = false; in get_oldest_context()
537 ctl->i_size = capsnap->size; in get_oldest_context()
538 ctl->size_stable = true; in get_oldest_context()
540 ctl->truncate_size = capsnap->truncate_size; in get_oldest_context()
541 ctl->truncate_seq = capsnap->truncate_seq; in get_oldest_context()
542 ctl->head_snapc = false; in get_oldest_context()
558 if (ctl) { in get_oldest_context()
559 ctl->i_size = i_size_read(inode); in get_oldest_context()
560 ctl->truncate_size = ci->i_truncate_size; in get_oldest_context()
561 ctl->truncate_seq = ci->i_truncate_seq; in get_oldest_context()
562 ctl->size_stable = false; in get_oldest_context()
563 ctl->head_snapc = true; in get_oldest_context()