Home
last modified time | relevance | path

Searched refs:tbuf_size (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/mtd/ubi/
Dcdev.c177 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-6.1.9/drivers/comedi/drivers/
Ddt9812.c241 size_t tbuf_size; in dt9812_read_info() local
245 tbuf_size = max(sizeof(*cmd), buf_size); in dt9812_read_info()
247 tbuf = kzalloc(tbuf_size, GFP_KERNEL); in dt9812_read_info()
/linux-6.1.9/drivers/usb/core/
Dhcd.c487 u16 tbuf_size; in rh_call_control() local
513 tbuf_size = max_t(u16, sizeof(struct usb_hub_descriptor), wLength); in rh_call_control()
514 tbuf = kzalloc(tbuf_size, GFP_KERNEL); in rh_call_control()
/linux-6.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_debugfs.c781 uint32_t tbuf_size, max_entries, num_entries, i; in dmub_tracebuffer_show() local
790 tbuf_size = fb_info->fb[DMUB_WINDOW_5_TRACEBUFF].size; in dmub_tracebuffer_show()
791 max_entries = (tbuf_size - sizeof(struct dmub_debugfs_trace_header)) / in dmub_tracebuffer_show()