Home
last modified time | relevance | path

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

/linux-4.4.14/fs/cifs/
Dsmb2file.c114 unsigned int max_num, num = 0, max_buf; in smb2_unlock_range() local
128 max_buf = tcon->ses->server->maxBuf; in smb2_unlock_range()
129 if (!max_buf) in smb2_unlock_range()
132 max_num = max_buf / sizeof(struct smb2_lock_element); in smb2_unlock_range()
251 unsigned int max_num, max_buf; in smb2_push_mandatory_locks() local
262 max_buf = tlink_tcon(cfile->tlink)->ses->server->maxBuf; in smb2_push_mandatory_locks()
263 if (!max_buf) { in smb2_push_mandatory_locks()
268 max_num = max_buf / sizeof(struct smb2_lock_element); in smb2_push_mandatory_locks()
Dfile.c1051 unsigned int num, max_num, max_buf; in cifs_push_mandatory_locks() local
1064 max_buf = tcon->ses->server->maxBuf; in cifs_push_mandatory_locks()
1065 if (!max_buf) { in cifs_push_mandatory_locks()
1070 max_num = (max_buf - sizeof(struct smb_hdr)) / in cifs_push_mandatory_locks()
1381 unsigned int max_num, num, max_buf; in cifs_unlock_range() local
1395 max_buf = tcon->ses->server->maxBuf; in cifs_unlock_range()
1396 if (!max_buf) in cifs_unlock_range()
1399 max_num = (max_buf - sizeof(struct smb_hdr)) / in cifs_unlock_range()
/linux-4.4.14/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c3502 u16 max_buf, max_buf_irq; in bnxt_hwrm_set_coal() local
3510 max_buf = min_t(u16, bp->coal_bufs / 4, 2); in bnxt_hwrm_set_coal()
3512 max_buf = clamp_t(u16, max_buf, 1, 63); in bnxt_hwrm_set_coal()
3526 req.num_cmpl_dma_aggr = cpu_to_le16(max_buf); in bnxt_hwrm_set_coal()
/linux-4.4.14/kernel/trace/
Dtrace.c1034 struct trace_buffer *max_buf = &tr->max_buffer; in __update_max_tr() local
1036 struct trace_array_cpu *max_data = per_cpu_ptr(max_buf->data, cpu); in __update_max_tr()
1038 max_buf->cpu = cpu; in __update_max_tr()
1039 max_buf->time_start = data->preempt_timestamp; in __update_max_tr()