Lines Matching refs:capsnap
34 * moved to capsnap->dirty. (Unless a sync write is currently in
35 * progress. In that case, the capsnap is said to be "pending", new
36 * writes cannot start, and the capsnap isn't "finalized" until the
41 * we look for the first capsnap in i_cap_snaps and write out pages in
42 * that snap context _only_. Then we move on to the next capsnap,
336 struct ceph_cap_snap *capsnap = NULL;
339 list_for_each_entry(capsnap, &ci->i_cap_snaps, ci_item) {
340 dout(" cap_snap %p snapc %p has %d dirty pages\n", capsnap,
341 capsnap->context, capsnap->dirty_pages);
342 if (capsnap->dirty_pages) {
343 snapc = ceph_get_snap_context(capsnap->context);
345 *snap_size = capsnap->size;