Home
last modified time | relevance | path

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

/drivers/staging/vme/devices/
Dvme_user.c94 unsigned long long size_buf; /* Buffer size */ member
124 if (count > image[minor].size_buf) in resource_to_user()
125 count = image[minor].size_buf; in resource_to_user()
141 if (count > image[minor].size_buf) in resource_from_user()
142 count = image[minor].size_buf; in resource_from_user()
578 image[i].size_buf = PCI_BUF_SIZE; in vme_user_probe()
580 image[i].size_buf, in vme_user_probe()
607 image[i].size_buf = PCI_BUF_SIZE; in vme_user_probe()
608 image[i].kern_buf = kmalloc(image[i].size_buf, GFP_KERNEL); in vme_user_probe()
679 vme_free_consistent(image[i].resource, image[i].size_buf, in vme_user_probe()
[all …]
/drivers/block/
Drbd.c5532 } __attribute__ ((packed)) size_buf = { 0 }; in _rbd_dev_v2_snap_size() local
5537 &size_buf, sizeof(size_buf)); in _rbd_dev_v2_snap_size()
5541 if (ret < sizeof (size_buf)) in _rbd_dev_v2_snap_size()
5545 *order = size_buf.order; in _rbd_dev_v2_snap_size()
5548 *snap_size = le64_to_cpu(size_buf.size); in _rbd_dev_v2_snap_size()