Home
last modified time | relevance | path

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

/linux-6.15/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 = min_t(unsigned int, max_buf, PAGE_SIZE); in smb2_push_mandatory_locks()
422 max_num = max_buf / sizeof(struct smb2_lock_element); in smb2_push_mandatory_locks()
H A Dfile.c1743 unsigned int num, max_num, max_buf; in cifs_push_mandatory_locks() local
1758 max_buf = tcon->ses->server->maxBuf; in cifs_push_mandatory_locks()
1759 if (max_buf < (sizeof(struct smb_hdr) + sizeof(LOCKING_ANDX_RANGE))) { in cifs_push_mandatory_locks()
1766 max_buf = min_t(unsigned int, max_buf - sizeof(struct smb_hdr), in cifs_push_mandatory_locks()
1768 max_num = (max_buf - sizeof(struct smb_hdr)) / in cifs_push_mandatory_locks()
2124 unsigned int max_num, num, max_buf; in cifs_unlock_range() local
2136 max_buf = tcon->ses->server->maxBuf; in cifs_unlock_range()
2137 if (max_buf < (sizeof(struct smb_hdr) + sizeof(LOCKING_ANDX_RANGE))) in cifs_unlock_range()
2142 max_buf = min_t(unsigned int, max_buf - sizeof(struct smb_hdr), in cifs_unlock_range()
2144 max_num = (max_buf - sizeof(struct smb_hdr)) / in cifs_unlock_range()
/linux-6.15/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()
705 offset += max_buf; in bcm_vk_load_image_by_type()
[all …]
/linux-6.15/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.c352 pbl->max_buf = num_buf; in siw_pbl_alloc()
H A Dsiw_verbs.c1489 if (pbl->max_buf < num_sle) { in siw_map_mr_sg()
1491 num_sle, pbl->max_buf); in siw_map_mr_sg()
/linux-6.15/kernel/trace/
H A Dtrace.c1912 struct array_buffer *max_buf = &tr->max_buffer; in __update_max_tr() local
1914 struct trace_array_cpu *max_data = per_cpu_ptr(max_buf->data, cpu); in __update_max_tr()
1916 max_buf->cpu = cpu; in __update_max_tr()
1917 max_buf->time_start = data->preempt_timestamp; in __update_max_tr()