Searched refs:tbuf_size (Results 1 – 2 of 2) sorted by relevance
| /Linux-v5.4/drivers/mtd/ubi/ |
| D | cdev.c | 177 int err, lnum, off, len, tbuf_size; in vol_cdev_read() local 201 tbuf_size = vol->usable_leb_size; in vol_cdev_read() 202 if (count < tbuf_size) in vol_cdev_read() 203 tbuf_size = ALIGN(count, ubi->min_io_size); in vol_cdev_read() 204 tbuf = vmalloc(tbuf_size); in vol_cdev_read() 208 len = count > tbuf_size ? tbuf_size : count; in vol_cdev_read() 237 len = count > tbuf_size ? tbuf_size : count; in vol_cdev_read() 254 int lnum, off, len, tbuf_size, err = 0; in vol_cdev_direct_write() local 282 tbuf_size = vol->usable_leb_size; in vol_cdev_direct_write() 283 if (count < tbuf_size) in vol_cdev_direct_write() [all …]
|
| /Linux-v5.4/drivers/usb/core/ |
| D | hcd.c | 486 u16 tbuf_size; in rh_call_control() local 512 tbuf_size = max_t(u16, sizeof(struct usb_hub_descriptor), wLength); in rh_call_control() 513 tbuf = kzalloc(tbuf_size, GFP_KERNEL); in rh_call_control()
|