Lines Matching defs:arg
694 static int rbd_ioctl_set_ro(struct rbd_device *rbd_dev, unsigned long arg)
698 if (get_user(ro, (int __user *)arg))
717 unsigned int cmd, unsigned long arg)
724 ret = rbd_ioctl_set_ro(rbd_dev, arg);
735 unsigned int cmd, unsigned long arg)
737 return rbd_ioctl(bdev, mode, cmd, arg);
2534 static struct ceph_object_extent *alloc_object_extent(void *arg)
2536 struct rbd_img_request *img_req = arg;
2676 static void set_bio_pos(struct ceph_object_extent *ex, u32 bytes, void *arg)
2680 struct ceph_bio_iter *it = arg;
2687 static void count_bio_bvecs(struct ceph_object_extent *ex, u32 bytes, void *arg)
2691 struct ceph_bio_iter *it = arg;
2700 static void copy_bio_bvecs(struct ceph_object_extent *ex, u32 bytes, void *arg)
2704 struct ceph_bio_iter *it = arg;
2739 static void set_bvec_pos(struct ceph_object_extent *ex, u32 bytes, void *arg)
2743 struct ceph_bvec_iter *it = arg;
2750 static void count_bvecs(struct ceph_object_extent *ex, u32 bytes, void *arg)
2754 struct ceph_bvec_iter *it = arg;
2761 static void copy_bvecs(struct ceph_object_extent *ex, u32 bytes, void *arg)
2765 struct ceph_bvec_iter *it = arg;
4467 static void rbd_watch_cb(void *arg, u64 notify_id, u64 cookie,
4470 struct rbd_device *rbd_dev = arg;
4533 static void rbd_watch_errcb(void *arg, u64 cookie, int err)
4535 struct rbd_device *rbd_dev = arg;