Searched refs:max_buf (Results 1 – 7 of 7) sorted by relevance
| /linux/fs/smb/client/ |
| H A D | smb2file.c | 265 unsigned int max_num, num = 0, max_buf; in smb2_unlock_range() local 277 max_buf = tcon->ses->server->maxBuf; in smb2_unlock_range() 278 if (max_buf < sizeof(struct smb2_lock_element)) in smb2_unlock_range() 282 max_buf = min_t(unsigned int, max_buf, PAGE_SIZE); in smb2_unlock_range() 283 max_num = max_buf / sizeof(struct smb2_lock_element); in smb2_unlock_range() 407 unsigned int max_num, max_buf; in smb2_push_mandatory_locks() local 418 max_buf = tlink_tcon(cfile->tlink)->ses->server->maxBuf; in smb2_push_mandatory_locks() 419 if (max_buf < sizeof(struct smb2_lock_element)) { in smb2_push_mandatory_locks() 425 max_buf = min_t(unsigned int, max_buf, PAGE_SIZE); in smb2_push_mandatory_locks() 426 max_num = max_buf / sizeof(struct smb2_lock_element); in smb2_push_mandatory_locks()
|
| H A D | file.c | 1825 unsigned int num, max_num, max_buf; in cifs_push_mandatory_locks() local 1840 max_buf = tcon->ses->server->maxBuf; in cifs_push_mandatory_locks() 1841 if (max_buf < (sizeof(struct smb_hdr) + sizeof(LOCKING_ANDX_RANGE))) { in cifs_push_mandatory_locks() 1848 max_buf = min_t(unsigned int, max_buf - sizeof(struct smb_hdr), in cifs_push_mandatory_locks() 1850 max_num = (max_buf - sizeof(struct smb_hdr)) / in cifs_push_mandatory_locks() 2206 unsigned int max_num, num, max_buf; in cifs_unlock_range() local 2218 max_buf = tcon->ses->server->maxBuf; in cifs_unlock_range() 2219 if (max_buf < (sizeof(struct smb_hdr) + sizeof(LOCKING_ANDX_RANGE))) in cifs_unlock_range() 2224 max_buf = min_t(unsigned int, max_buf - sizeof(struct smb_hdr), in cifs_unlock_range() 2226 max_num = (max_buf - sizeof(struct smb_hdr)) / in cifs_unlock_range()
|
| /linux/drivers/misc/bcm-vk/ |
| H A D | bcm_vk_dev.c | 550 size_t max_buf, offset; in bcm_vk_load_image_by_type() local 581 max_buf = SZ_256K; in bcm_vk_load_image_by_type() 583 max_buf, in bcm_vk_load_image_by_type() 586 dev_err(dev, "Error allocating 0x%zx\n", max_buf); in bcm_vk_load_image_by_type() 603 max_buf = SZ_4M; in bcm_vk_load_image_by_type() 605 max_buf, in bcm_vk_load_image_by_type() 608 dev_err(dev, "Error allocating 0x%zx\n", max_buf); in bcm_vk_load_image_by_type() 613 bcm_vk_buf_notify(vk, bufp, boot_dma_addr, max_buf); in bcm_vk_load_image_by_type() 622 bufp, max_buf, offset); in bcm_vk_load_image_by_type() 705 offset += max_buf; in bcm_vk_load_image_by_type() [all …]
|
| /linux/drivers/infiniband/sw/siw/ |
| H A D | siw.h | 135 unsigned int max_buf; member 136 struct siw_pble pbe[] __counted_by(max_buf);
|
| H A D | siw_mem.c | 328 pbl->max_buf = num_buf; in siw_pbl_alloc()
|
| H A D | siw_verbs.c | 1497 if (pbl->max_buf < num_sle) { in siw_map_mr_sg() 1499 num_sle, pbl->max_buf); in siw_map_mr_sg()
|
| /linux/kernel/trace/ |
| H A D | trace.c | 1559 struct array_buffer *max_buf = &tr->snapshot_buffer; in __update_max_tr() local 1560 struct trace_array_cpu *max_data = per_cpu_ptr(max_buf->data, cpu); in __update_max_tr() 1562 max_buf->cpu = cpu; in __update_max_tr() 1563 max_buf->time_start = data->preempt_timestamp; in __update_max_tr()
|