Home
last modified time | relevance | path

Searched refs:max_buf (Results 1 – 7 of 7) sorted by relevance

/linux/fs/smb/client/
H A Dsmb2file.c261 unsigned int max_num, num = 0, max_buf; in smb2_unlock_range() local
273 max_buf = tcon->ses->server->maxBuf; in smb2_unlock_range()
274 if (max_buf < sizeof(struct smb2_lock_element)) in smb2_unlock_range()
278 max_buf = min_t(unsigned int, max_buf, PAGE_SIZE); in smb2_unlock_range()
279 max_num = max_buf / sizeof(struct smb2_lock_element); in smb2_unlock_range()
403 unsigned int max_num, max_buf; in smb2_push_mandatory_locks() local
414 max_buf = tlink_tcon(cfile->tlink)->ses->server->maxBuf; in smb2_push_mandatory_locks()
415 if (max_buf < sizeof(struct smb2_lock_element)) { in smb2_push_mandatory_locks()
421 max_buf in smb2_push_mandatory_locks()
[all...]
H A Dfile.c1751 unsigned int num, max_num, max_buf; in cifs_push_mandatory_locks() local
1766 max_buf = tcon->ses->server->maxBuf; in cifs_push_mandatory_locks()
1767 if (max_buf < (sizeof(struct smb_hdr) + sizeof(LOCKING_ANDX_RANGE))) { in cifs_push_mandatory_locks()
1774 max_buf = min_t(unsigned int, max_buf - sizeof(struct smb_hdr), in cifs_push_mandatory_locks()
1776 max_num = (max_buf - sizeof(struct smb_hdr)) / in cifs_push_mandatory_locks()
2132 unsigned int max_num, num, max_buf; in cifs_unlock_range() local
2144 max_buf = tcon->ses->server->maxBuf; in cifs_unlock_range()
2145 if (max_buf < (sizeof(struct smb_hdr) + sizeof(LOCKING_ANDX_RANGE))) in cifs_unlock_range()
2150 max_buf in cifs_unlock_range()
[all...]
/linux/drivers/misc/bcm-vk/
H A Dbcm_vk_dev.c550 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()
674 /* To send more data to VK than max_buf allowe in bcm_vk_load_image_by_type()
[all...]
/linux/drivers/infiniband/sw/siw/
H A Dsiw.h135 unsigned int max_buf; member
136 struct siw_pble pbe[] __counted_by(max_buf);
H A Dsiw_mem.c328 pbl->max_buf = num_buf; in siw_pbl_alloc()
H A Dsiw_verbs.c1494 if (pbl->max_buf < num_sle) { in siw_map_mr_sg()
1496 num_sle, pbl->max_buf); in siw_map_mr_sg()
/linux/kernel/trace/
H A Dtrace.c1971 struct array_buffer *max_buf = &tr->max_buffer; in __update_max_tr() local
1973 struct trace_array_cpu *max_data = per_cpu_ptr(max_buf->data, cpu); in __update_max_tr()
1975 max_buf->cpu = cpu; in __update_max_tr()
1976 max_buf->time_start = data->preempt_timestamp; in __update_max_tr()