Home
last modified time | relevance | path

Searched refs:snapc (Results 1 – 2 of 2) sorted by relevance

/net/ceph/
Dsnapshot.c30 struct ceph_snap_context *snapc; in ceph_create_snap_context() local
34 size += snap_count * sizeof (snapc->snaps[0]); in ceph_create_snap_context()
35 snapc = kzalloc(size, gfp_flags); in ceph_create_snap_context()
36 if (!snapc) in ceph_create_snap_context()
39 refcount_set(&snapc->nref, 1); in ceph_create_snap_context()
40 snapc->num_snaps = snap_count; in ceph_create_snap_context()
42 return snapc; in ceph_create_snap_context()
Dosd_client.c552 struct ceph_snap_context *snapc = req->r_snapc; in request_reinit() local
570 req->r_snapc = snapc; in request_reinit()
577 struct ceph_snap_context *snapc, in ceph_osdc_alloc_request() argument
601 req->r_snapc = ceph_get_snap_context(snapc); in ceph_osdc_alloc_request()
1070 struct ceph_snap_context *snapc, in ceph_osdc_new_request() argument
1085 req = ceph_osdc_alloc_request(osdc, snapc, num_ops, use_mempool, in ceph_osdc_new_request()
5286 struct ceph_snap_context *snapc, in ceph_osdc_writepages() argument
5298 snapc, truncate_seq, truncate_size, in ceph_osdc_writepages()