Lines Matching refs:objno

1644 static void __rbd_object_map_index(struct rbd_device *rbd_dev, u64 objno,  in __rbd_object_map_index()  argument
1649 rbd_assert(objno < rbd_dev->object_map_size); in __rbd_object_map_index()
1650 *index = div_u64_rem(objno, OBJS_PER_BYTE, &off); in __rbd_object_map_index()
1654 static u8 __rbd_object_map_get(struct rbd_device *rbd_dev, u64 objno) in __rbd_object_map_get() argument
1660 __rbd_object_map_index(rbd_dev, objno, &index, &shift); in __rbd_object_map_get()
1664 static void __rbd_object_map_set(struct rbd_device *rbd_dev, u64 objno, u8 val) in __rbd_object_map_set() argument
1673 __rbd_object_map_index(rbd_dev, objno, &index, &shift); in __rbd_object_map_set()
1678 static u8 rbd_object_map_get(struct rbd_device *rbd_dev, u64 objno) in rbd_object_map_get() argument
1683 state = __rbd_object_map_get(rbd_dev, objno); in rbd_object_map_get()
1705 static bool rbd_object_map_may_exist(struct rbd_device *rbd_dev, u64 objno) in rbd_object_map_may_exist() argument
1713 state = rbd_object_map_get(rbd_dev, objno); in rbd_object_map_may_exist()
1955 u64 objno; in rbd_object_map_update_finish() local
1977 objno = ceph_decode_64(&p); in rbd_object_map_update_finish()
1978 rbd_assert(objno == obj_req->ex.oe_objno); in rbd_object_map_update_finish()
1979 rbd_assert(ceph_decode_64(&p) == objno + 1); in rbd_object_map_update_finish()
1986 state = __rbd_object_map_get(rbd_dev, objno); in rbd_object_map_update_finish()
1989 __rbd_object_map_set(rbd_dev, objno, new_state); in rbd_object_map_update_finish()
2007 static bool update_needed(struct rbd_device *rbd_dev, u64 objno, u8 new_state) in update_needed() argument
2009 u8 state = rbd_object_map_get(rbd_dev, objno); in update_needed()
2020 int which, u64 objno, u8 new_state, in rbd_cls_object_map_update() argument
2036 ceph_encode_64(&p, objno); in rbd_cls_object_map_update()
2037 ceph_encode_64(&p, objno + 1); in rbd_cls_object_map_update()