Searched refs:buf_size (Results 451 - 475 of 554) sorted by relevance

<<11121314151617181920>>

/linux-master/fs/ubifs/
H A Ddebug.c2743 size_t buf_size; local
2746 buf_size = min_t(size_t, count, (sizeof(buf) - 1));
2747 if (copy_from_user(buf, u, buf_size))
/linux-master/kernel/bpf/
H A Dhashtab.c2130 u32 buf_size; local
2134 buf_size = round_up(map->value_size, 8) * num_possible_cpus();
2135 value_buf = kmalloc(buf_size, GFP_USER | __GFP_NOWARN);
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/
H A Drxmq.c569 int index = ssn % reorder_buf->buf_size;
620 reorder_buf->buf_size));
842 index = sn % buffer->buf_size;
H A Dfw.c1325 .buf_size = 0,
1346 recovery_cmd.buf_size = cpu_to_le32(error_log_size);
/linux-master/drivers/gpu/drm/i915/
H A Di915_gpu_error.c2259 size_t buf_size = PAGE_SIZE * 128; local
2288 buf = kvmalloc(buf_size, GFP_KERNEL);
2304 ssize_t got = i915_gpu_coredump_copy_to_buffer(error, buf, pos_err, buf_size - 1);
/linux-master/drivers/gpu/drm/display/
H A Ddrm_dp_helper.c2537 u8 *buf, int buf_size)
2544 int block_size = dpcd[DP_DPCD_REV] < 0x14 ? 1 : buf_size;
2548 for (offset = 0; offset < buf_size; offset += block_size) {
2535 drm_dp_read_lttpr_regs(struct drm_dp_aux *aux, const u8 dpcd[DP_RECEIVER_CAP_SIZE], int address, u8 *buf, int buf_size) argument
/linux-master/fs/bcachefs/
H A Djournal_io.c1552 if (buf->buf_size >= new_size)
1564 memcpy(new_buf, buf->data, buf->buf_size);
1568 swap(buf->buf_size, new_size);
/linux-master/drivers/net/ethernet/chelsio/cxgb4/
H A Dsge.c403 int buf_size; local
407 buf_size = PAGE_SIZE;
411 buf_size = PAGE_SIZE << s->fl_pg_order;
415 buf_size = FL_MTU_SMALL_BUFSIZE(adapter);
419 buf_size = FL_MTU_LARGE_BUFSIZE(adapter);
426 return buf_size;
H A Dcudbg_lib.c820 u32 buf_size = 0; local
824 buf_size = T4_REGMAP_SIZE;
826 buf_size = T5_REGMAP_SIZE;
828 rc = cudbg_get_buff(pdbg_init, dbg_buff, buf_size, &temp_buff);
/linux-master/drivers/net/wireless/marvell/
H A Dmwl8k.c4007 u8 buf_size, struct ieee80211_vif *vif)
4022 cmd->create_params.bar_thrs = cpu_to_le32((u32)buf_size);
4023 cmd->create_params.window_size = cpu_to_le32((u32)buf_size);
5453 u8 buf_size = params->buf_size; local
5553 rc = mwl8k_create_ba(hw, stream, buf_size, vif);
4006 mwl8k_create_ba(struct ieee80211_hw *hw, struct mwl8k_ampdu_stream *stream, u8 buf_size, struct ieee80211_vif *vif) argument
/linux-master/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_enet.c4895 ring->buf_size = q->buf_size;
4962 if (ring->desc_num <= 0 || ring->buf_size <= 0)
5027 static int hns3_buf_size2type(u32 buf_size) argument
5031 switch (buf_size) {
5062 hns3_buf_size2type(ring->buf_size));
/linux-master/drivers/media/platform/renesas/
H A Drcar_jpu.c1073 unsigned long buf_size = vb2_get_plane_payload(vb, 0); local
1076 u8 subsampling = jpu_parse_hdr(buffer, buf_size, &width,
/linux-master/drivers/net/wireless/marvell/mwifiex/
H A Dfw.h1340 __le16 buf_size; member in struct:host_cmd_ds_802_11_snmp_mib
1477 __le16 buf_size; member in struct:mwifiex_event_scan_result
/linux-master/drivers/hid/
H A Dhid-sony.c1136 const int buf_size = local
1141 buf = kmalloc(buf_size, GFP_KERNEL);
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_switch.c1487 * @buf_size: length of the buffer available for response
1510 u16 buf_size, u16 *req_desc, u16 *num_elems,
1521 status = ice_aq_send_cmd(hw, &desc, buf, buf_size, cd);
1983 u16 buf_size; local
1991 buf_size = num_recipes * sizeof(*s_recipe_list);
1993 return ice_aq_send_cmd(hw, &desc, s_recipe_list, buf_size, cd);
2020 u16 buf_size; local
2032 buf_size = *num_recipes * sizeof(*s_recipe_list);
2034 status = ice_aq_send_cmd(hw, &desc, s_recipe_list, buf_size, cd);
1509 ice_aq_get_sw_cfg(struct ice_hw *hw, struct ice_aqc_get_sw_cfg_resp_elem *buf, u16 buf_size, u16 *req_desc, u16 *num_elems, struct ice_sq_cd *cd) argument
/linux-master/drivers/net/wireless/intel/iwlwifi/
H A Diwl-drv.c1187 __le32 buf_size; member in struct:__anon1132
1195 le32_to_cpu(recov_info->buf_size);
/linux-master/fs/
H A Dexec.c1241 char *__get_task_comm(char *buf, size_t buf_size, struct task_struct *tsk) argument
1245 strscpy_pad(buf, tsk->comm, buf_size);
/linux-master/drivers/scsi/smartpqi/
H A Dsmartpqi_init.c6729 if (iocommand.buf_size < 1 &&
6747 if (iocommand.buf_size > 0) {
6748 kernel_buffer = kmalloc(iocommand.buf_size, GFP_KERNEL);
6753 iocommand.buf_size)) {
6758 memset(kernel_buffer, 0, iocommand.buf_size);
6789 if (iocommand.buf_size > 0) {
6790 put_unaligned_le32(iocommand.buf_size, &request.buffer_length);
6794 iocommand.buf_size, DMA_BIDIRECTIONAL);
6809 if (iocommand.buf_size > 0)
6837 if (rc == 0 && iocommand.buf_size >
[all...]
/linux-master/drivers/media/pci/ivtv/
H A Divtv-fileops.c664 if (buf->bytesused != s->buf_size) {
/linux-master/drivers/usb/host/
H A Disp1362.h420 u16 buf_size; member in struct:isp1362_ep_queue
/linux-master/drivers/infiniband/hw/mlx4/
H A Dmlx4_ib.h343 int buf_size; member in struct:mlx4_ib_qp
/linux-master/drivers/media/usb/cx231xx/
H A Dcx231xx.h466 u8 buf_size; /* buffer size */ member in struct:cx231xx_i2c_xfer_data
/linux-master/drivers/net/ethernet/ibm/
H A Dibmvnic.h857 int buf_size; member in struct:ibmvnic_tx_pool
/linux-master/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_struct.h240 u64 buf_size : 11; member in struct:npa_pool_s
/linux-master/drivers/net/ethernet/marvell/octeon_ep/
H A Doctep_cn9k_pf.c238 conf->oq.buf_size = OCTEP_OQ_BUF_SIZE;

Completed in 412 milliseconds

<<11121314151617181920>>