/linux-master/fs/ubifs/ |
H A D | debug.c | 2743 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 D | hashtab.c | 2130 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 D | rxmq.c | 569 int index = ssn % reorder_buf->buf_size; 620 reorder_buf->buf_size)); 842 index = sn % buffer->buf_size;
|
H A D | fw.c | 1325 .buf_size = 0, 1346 recovery_cmd.buf_size = cpu_to_le32(error_log_size);
|
/linux-master/drivers/gpu/drm/i915/ |
H A D | i915_gpu_error.c | 2259 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 D | drm_dp_helper.c | 2537 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 D | journal_io.c | 1552 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 D | sge.c | 403 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 D | cudbg_lib.c | 820 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 D | mwl8k.c | 4007 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 D | hns3_enet.c | 4895 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 D | rcar_jpu.c | 1073 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 D | fw.h | 1340 __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 D | hid-sony.c | 1136 const int buf_size = local 1141 buf = kmalloc(buf_size, GFP_KERNEL);
|
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_switch.c | 1487 * @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 D | iwl-drv.c | 1187 __le32 buf_size; member in struct:__anon1132 1195 le32_to_cpu(recov_info->buf_size);
|
/linux-master/fs/ |
H A D | exec.c | 1241 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 D | smartpqi_init.c | 6729 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 D | ivtv-fileops.c | 664 if (buf->bytesused != s->buf_size) {
|
/linux-master/drivers/usb/host/ |
H A D | isp1362.h | 420 u16 buf_size; member in struct:isp1362_ep_queue
|
/linux-master/drivers/infiniband/hw/mlx4/ |
H A D | mlx4_ib.h | 343 int buf_size; member in struct:mlx4_ib_qp
|
/linux-master/drivers/media/usb/cx231xx/ |
H A D | cx231xx.h | 466 u8 buf_size; /* buffer size */ member in struct:cx231xx_i2c_xfer_data
|
/linux-master/drivers/net/ethernet/ibm/ |
H A D | ibmvnic.h | 857 int buf_size; member in struct:ibmvnic_tx_pool
|
/linux-master/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu_struct.h | 240 u64 buf_size : 11; member in struct:npa_pool_s
|
/linux-master/drivers/net/ethernet/marvell/octeon_ep/ |
H A D | octep_cn9k_pf.c | 238 conf->oq.buf_size = OCTEP_OQ_BUF_SIZE;
|