Home
last modified time | relevance | path

Searched refs:max_buf (Results 1 - 15 of 15) sorted by relevance

/kernel/linux/linux-5.10/fs/cifs/
H A Dsmb2file.c120 unsigned int max_num, num = 0, max_buf; in smb2_unlock_range() local
134 max_buf = tcon->ses->server->maxBuf; in smb2_unlock_range()
135 if (max_buf < sizeof(struct smb2_lock_element)) in smb2_unlock_range()
139 max_buf = min_t(unsigned int, max_buf, PAGE_SIZE); in smb2_unlock_range()
140 max_num = max_buf / sizeof(struct smb2_lock_element); in smb2_unlock_range()
264 unsigned int max_num, max_buf; in smb2_push_mandatory_locks() local
275 max_buf = tlink_tcon(cfile->tlink)->ses->server->maxBuf; in smb2_push_mandatory_locks()
276 if (max_buf < sizeof(struct smb2_lock_element)) { in smb2_push_mandatory_locks()
282 max_buf in smb2_push_mandatory_locks()
[all...]
H A Dfile.c1185 unsigned int num, max_num, max_buf; in cifs_push_mandatory_locks() local
1200 max_buf = tcon->ses->server->maxBuf; in cifs_push_mandatory_locks()
1201 if (max_buf < (sizeof(struct smb_hdr) + sizeof(LOCKING_ANDX_RANGE))) { in cifs_push_mandatory_locks()
1208 max_buf = min_t(unsigned int, max_buf - sizeof(struct smb_hdr), in cifs_push_mandatory_locks()
1210 max_num = (max_buf - sizeof(struct smb_hdr)) / in cifs_push_mandatory_locks()
1530 unsigned int max_num, num, max_buf; in cifs_unlock_range() local
1544 max_buf = tcon->ses->server->maxBuf; in cifs_unlock_range()
1545 if (max_buf < (sizeof(struct smb_hdr) + sizeof(LOCKING_ANDX_RANGE))) in cifs_unlock_range()
1550 max_buf in cifs_unlock_range()
[all...]
/kernel/linux/linux-6.6/fs/smb/client/
H A Dsmb2file.c193 unsigned int max_num, num = 0, max_buf; in smb2_unlock_range() local
207 max_buf = tcon->ses->server->maxBuf; in smb2_unlock_range()
208 if (max_buf < sizeof(struct smb2_lock_element)) in smb2_unlock_range()
212 max_buf = min_t(unsigned int, max_buf, PAGE_SIZE); in smb2_unlock_range()
213 max_num = max_buf / sizeof(struct smb2_lock_element); in smb2_unlock_range()
337 unsigned int max_num, max_buf; in smb2_push_mandatory_locks() local
348 max_buf = tlink_tcon(cfile->tlink)->ses->server->maxBuf; in smb2_push_mandatory_locks()
349 if (max_buf < sizeof(struct smb2_lock_element)) { in smb2_push_mandatory_locks()
355 max_buf in smb2_push_mandatory_locks()
[all...]
H A Dfile.c1456 unsigned int num, max_num, max_buf; in cifs_push_mandatory_locks() local
1471 max_buf = tcon->ses->server->maxBuf; in cifs_push_mandatory_locks()
1472 if (max_buf < (sizeof(struct smb_hdr) + sizeof(LOCKING_ANDX_RANGE))) { in cifs_push_mandatory_locks()
1479 max_buf = min_t(unsigned int, max_buf - sizeof(struct smb_hdr), in cifs_push_mandatory_locks()
1481 max_num = (max_buf - sizeof(struct smb_hdr)) / in cifs_push_mandatory_locks()
1811 unsigned int max_num, num, max_buf; in cifs_unlock_range() local
1825 max_buf = tcon->ses->server->maxBuf; in cifs_unlock_range()
1826 if (max_buf < (sizeof(struct smb_hdr) + sizeof(LOCKING_ANDX_RANGE))) in cifs_unlock_range()
1831 max_buf in cifs_unlock_range()
[all...]
/kernel/linux/linux-6.6/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...]
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/
H A Drxe_mr.c102 mem->max_buf = num_map * RXE_BUF_PER_MAP; in rxe_mem_alloc()
220 mem->max_buf = max_pages; in rxe_mem_init_fast()
H A Drxe_verbs.h316 u32 max_buf; member
/kernel/linux/linux-5.10/drivers/infiniband/sw/siw/
H A Dsiw_mem.c360 pbl->max_buf = num_buf; in siw_pbl_alloc()
H A Dsiw.h138 unsigned int max_buf; member
H A Dsiw_verbs.c1488 if (pbl->max_buf < num_sle) { in siw_map_mr_sg()
1490 num_sle, pbl->max_buf); in siw_map_mr_sg()
/kernel/linux/linux-6.6/drivers/infiniband/sw/siw/
H A Dsiw_mem.c360 pbl->max_buf = num_buf; in siw_pbl_alloc()
H A Dsiw.h139 unsigned int max_buf; member
H A Dsiw_verbs.c1495 if (pbl->max_buf < num_sle) { in siw_map_mr_sg()
1497 num_sle, pbl->max_buf); in siw_map_mr_sg()
/kernel/linux/linux-5.10/kernel/trace/
H A Dtrace.c1777 struct array_buffer *max_buf = &tr->max_buffer; in __update_max_tr() local
1779 struct trace_array_cpu *max_data = per_cpu_ptr(max_buf->data, cpu); in __update_max_tr()
1781 max_buf->cpu = cpu; in __update_max_tr()
1782 max_buf->time_start = data->preempt_timestamp; in __update_max_tr()
/kernel/linux/linux-6.6/kernel/trace/
H A Dtrace.c1822 struct array_buffer *max_buf = &tr->max_buffer; in __update_max_tr() local
1824 struct trace_array_cpu *max_data = per_cpu_ptr(max_buf->data, cpu); in __update_max_tr()
1826 max_buf->cpu = cpu; in __update_max_tr()
1827 max_buf->time_start = data->preempt_timestamp; in __update_max_tr()

Completed in 57 milliseconds