Lines Matching refs:ctl
502 get_oldest_context(struct inode *inode, struct ceph_writeback_ctl *ctl, in get_oldest_context() argument
520 if (ctl) { in get_oldest_context()
522 ctl->i_size = i_size_read(inode); in get_oldest_context()
523 ctl->size_stable = false; in get_oldest_context()
525 ctl->i_size = capsnap->size; in get_oldest_context()
526 ctl->size_stable = true; in get_oldest_context()
528 ctl->truncate_size = capsnap->truncate_size; in get_oldest_context()
529 ctl->truncate_seq = capsnap->truncate_seq; in get_oldest_context()
530 ctl->head_snapc = false; in get_oldest_context()
546 if (ctl) { in get_oldest_context()
547 ctl->i_size = i_size_read(inode); in get_oldest_context()
548 ctl->truncate_size = ci->i_truncate_size; in get_oldest_context()
549 ctl->truncate_seq = ci->i_truncate_seq; in get_oldest_context()
550 ctl->size_stable = false; in get_oldest_context()
551 ctl->head_snapc = true; in get_oldest_context()