Searched refs:tbuf_size (Results 1 – 4 of 4) sorted by relevance
/linux-6.6.21/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-6.6.21/drivers/comedi/drivers/ |
D | dt9812.c | 241 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.6.21/drivers/usb/core/ |
D | hcd.c | 466 u16 tbuf_size; in rh_call_control() local 492 tbuf_size = max_t(u16, sizeof(struct usb_hub_descriptor), wLength); in rh_call_control() 493 tbuf = kzalloc(tbuf_size, GFP_KERNEL); in rh_call_control()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_debugfs.c | 905 uint32_t tbuf_size, max_entries, num_entries, i; in dmub_tracebuffer_show() local 914 tbuf_size = fb_info->fb[DMUB_WINDOW_5_TRACEBUFF].size; in dmub_tracebuffer_show() 915 max_entries = (tbuf_size - sizeof(struct dmub_debugfs_trace_header)) / in dmub_tracebuffer_show()
|