Searched refs:tbuf_size (Results 1 – 3 of 3) sorted by relevance
/drivers/mtd/ubi/ |
D | cdev.c | 190 int err, lnum, off, len, tbuf_size; in vol_cdev_read() local 214 tbuf_size = vol->usable_leb_size; in vol_cdev_read() 215 if (count < tbuf_size) in vol_cdev_read() 216 tbuf_size = ALIGN(count, ubi->min_io_size); in vol_cdev_read() 217 tbuf = vmalloc(tbuf_size); in vol_cdev_read() 221 len = count > tbuf_size ? tbuf_size : count; in vol_cdev_read() 250 len = count > tbuf_size ? tbuf_size : count; in vol_cdev_read() 267 int lnum, off, len, tbuf_size, err = 0; in vol_cdev_direct_write() local 295 tbuf_size = vol->usable_leb_size; in vol_cdev_direct_write() 296 if (count < tbuf_size) in vol_cdev_direct_write() [all …]
|
/drivers/staging/comedi/drivers/ |
D | dt9812.c | 251 size_t tbuf_size; in dt9812_read_info() local 255 tbuf_size = max(sizeof(*cmd), buf_size); in dt9812_read_info() 257 tbuf = kzalloc(tbuf_size, GFP_KERNEL); in dt9812_read_info()
|
/drivers/usb/core/ |
D | hcd.c | 474 u16 tbuf_size; in rh_call_control() local 500 tbuf_size = max_t(u16, sizeof(struct usb_hub_descriptor), wLength); in rh_call_control() 501 tbuf = kzalloc(tbuf_size, GFP_KERNEL); in rh_call_control()
|