/linux-master/fs/smb/client/ |
H A D | smb2ops.c | 979 size_t buf_size = dst_size; local 1015 if (buf_size == 0) { 1058 char *ea_data, size_t buf_size, 1096 rc = move_smb2_ea_to_cifs(ea_data, buf_size, info, 4828 unsigned int buf_size; local 4850 buf_size = pdu_length - sizeof(struct smb2_transform_hdr); 4851 length = decrypt_raw_data(server, buf, buf_size, NULL, false); 1056 smb2_query_eas(const unsigned int xid, struct cifs_tcon *tcon, const unsigned char *path, const unsigned char *ea_name, char *ea_data, size_t buf_size, struct cifs_sb_info *cifs_sb) argument
|
H A D | misc.c | 176 size_t buf_size = sizeof(struct smb2_hdr); local 188 memset(ret_buf, 0, buf_size + 3);
|
H A D | cifssmb.c | 5605 char *EAData, size_t buf_size, 5744 if (buf_size == 0) 5746 if ((size_t)value_len > buf_size) { 5756 if (rc < (int) buf_size) { 5764 } else if (buf_size == 0) { 5603 CIFSSMBQAllEAs(const unsigned int xid, struct cifs_tcon *tcon, const unsigned char *searchName, const unsigned char *ea_name, char *EAData, size_t buf_size, struct cifs_sb_info *cifs_sb) argument
|
/linux-master/fs/bcachefs/ |
H A D | journal_io.c | 1572 if (buf->buf_size >= new_size) 1584 memcpy(new_buf, buf->data, buf->buf_size); 1588 swap(buf->buf_size, new_size);
|
H A D | journal_types.h | 32 unsigned buf_size; /* size in bytes of @data */ member in struct:journal_buf 35 buf_size was bigger */
|
H A D | journal_reclaim.c | 174 unsigned max_entry_size = min(j->buf[0].buf_size >> 9, 175 j->buf[1].buf_size >> 9);
|
/linux-master/drivers/usb/typec/ucsi/ |
H A D | ucsi.c | 40 size_t buf_size) 47 buf_size = clamp(buf_size, 0, 16); 49 return ucsi->ops->read(ucsi, UCSI_MESSAGE_IN, buf, buf_size); 39 ucsi_read_message_in(struct ucsi *ucsi, void *buf, size_t buf_size) argument
|
/linux-master/tools/perf/util/ |
H A D | annotate.c | 1942 size_t buf_size; local 1965 s = open_memstream(&buf, &buf_size); 2037 prev_buf_size = buf_size;
|
/linux-master/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_main.c | 2392 u32 buf_size; local 2400 buf_size = xsk_pool_get_rx_frame_size(rx_q->xsk_pool); 2402 buf_size, 6791 u32 buf_size; local 6819 buf_size = xsk_pool_get_rx_frame_size(rx_q->xsk_pool); 6821 buf_size, 6930 u32 buf_size; local 6974 buf_size = xsk_pool_get_rx_frame_size(rx_q->xsk_pool); 6976 buf_size,
|
/linux-master/drivers/net/hyperv/ |
H A D | netvsc.c | 342 unsigned int buf_size; local 346 buf_size = device_info->recv_sections * device_info->recv_section_size; 347 buf_size = roundup(buf_size, PAGE_SIZE); 351 buf_size = min_t(unsigned int, buf_size, 354 net_device->recv_buf = vzalloc(buf_size); 358 buf_size); 363 net_device->recv_buf_size = buf_size; 371 buf_size, [all...] |
/linux-master/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_device.c | 60 static int kfd_gtt_sa_init(struct kfd_dev *kfd, unsigned int buf_size, 1158 static int kfd_gtt_sa_init(struct kfd_dev *kfd, unsigned int buf_size, argument 1161 if (WARN_ON(buf_size < chunk_size)) 1163 if (WARN_ON(buf_size == 0)) 1169 kfd->gtt_sa_num_of_chunks = buf_size / chunk_size;
|
/linux-master/fs/btrfs/ |
H A D | ioctl.c | 1572 u64 *buf_size, 1606 if (sizeof(sh) + item_len > *buf_size) { 1617 *buf_size = sizeof(sh) + item_len; 1622 if (sizeof(sh) + item_len + *sk_offset > *buf_size) { 1704 u64 *buf_size, 1715 if (*buf_size < sizeof(struct btrfs_ioctl_search_header)) { 1716 *buf_size = sizeof(struct btrfs_ioctl_search_header); 1746 *buf_size - sk_offset)) 1755 ret = copy_to_sk(path, &key, sk, buf_size, ubuf, 1777 u64 buf_size; local 1569 copy_to_sk(struct btrfs_path *path, struct btrfs_key *key, struct btrfs_ioctl_search_key *sk, u64 *buf_size, char __user *ubuf, unsigned long *sk_offset, int *num_found) argument 1702 search_ioctl(struct inode *inode, struct btrfs_ioctl_search_key *sk, u64 *buf_size, char __user *ubuf) argument 1807 u64 buf_size; local [all...] |
/linux-master/sound/soc/sof/intel/ |
H A D | hda-pcm.c | 151 ssize_t appl_pos, buf_size; local 155 buf_size = frames_to_bytes(runtime, runtime->buffer_size); 157 spib = appl_pos % buf_size; 161 spib = buf_size;
|
/linux-master/net/bluetooth/ |
H A D | hci_debugfs.c | 1169 size_t buf_size = min(count, (sizeof(buf) - 1)); local 1172 if (copy_from_user(buf, user_buf, buf_size)) 1175 buf[buf_size] = '\0';
|
/linux-master/drivers/net/ethernet/intel/idpf/ |
H A D | idpf_txrx.c | 168 int buf_size; local 174 buf_size = sizeof(struct idpf_tx_buf) * tx_q->desc_count; 175 tx_q->tx_buf = kzalloc(buf_size, GFP_KERNEL); 1951 desc->q.qw1.buf_size = cpu_to_le16(size);
|
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_common.c | 300 * @buf_size: Size of the virtual buffer 312 ice_aq_manage_mac_read(struct ice_hw *hw, void *buf, u16 buf_size, argument 324 if (buf_size < sizeof(*resp)) 329 status = ice_aq_send_cmd(hw, &desc, buf, buf_size, cd); 1453 * @buf_size: size of buffer for indirect commands (0 for direct commands) 1458 void *buf, u16 buf_size, struct ice_sq_cd *cd) 1461 (struct ice_aq_desc *)desc, buf, buf_size, cd); 1537 * @buf_size: size of buffer for indirect commands (or 0 for direct commands) 1545 struct ice_aq_desc *desc, void *buf, u16 buf_size, 1566 status = ice_sq_send_cmd(hw, cq, desc, buf, buf_size, c 1457 ice_sbq_send_cmd(struct ice_hw *hw, struct ice_sbq_cmd_desc *desc, void *buf, u16 buf_size, struct ice_sq_cd *cd) argument 1544 ice_sq_send_cmd_retry(struct ice_hw *hw, struct ice_ctl_q_info *cq, struct ice_aq_desc *desc, void *buf, u16 buf_size, struct ice_sq_cd *cd) argument 1592 ice_aq_send_cmd(struct ice_hw *hw, struct ice_aq_desc *desc, void *buf, u16 buf_size, struct ice_sq_cd *cd) argument 1938 ice_aq_alloc_free_res(struct ice_hw *hw, struct ice_aqc_alloc_free_res_elem *buf, u16 buf_size, enum ice_adminq_opc opc) argument 2747 ice_aq_list_caps(struct ice_hw *hw, void *buf, u16 buf_size, u32 *cap_count, enum ice_adminq_opc opc, struct ice_sq_cd *cd) argument 4127 ice_aq_add_lan_txq(struct ice_hw *hw, u8 num_qgrps, struct ice_aqc_add_tx_qgrp *qg_list, u16 buf_size, struct ice_sq_cd *cd) argument 4175 ice_aq_dis_lan_txq(struct ice_hw *hw, u8 num_qgrps, struct ice_aqc_dis_txq_item *qg_list, u16 buf_size, enum ice_disq_rst_src rst_src, u16 vmvf_num, struct ice_sq_cd *cd) argument 4275 ice_aq_cfg_lan_txq(struct ice_hw *hw, struct ice_aqc_cfg_txqs_buf *buf, u16 buf_size, u16 num_qs, u8 oldport, u8 newport, struct ice_sq_cd *cd) argument 4315 ice_aq_add_rdma_qsets(struct ice_hw *hw, u8 num_qset_grps, struct ice_aqc_add_rdma_qset_data *qset_list, u16 buf_size, struct ice_sq_cd *cd) argument 4588 ice_ena_vsi_txq(struct ice_port_info *pi, u16 vsi_handle, u8 tc, u16 q_handle, u8 num_qgrps, struct ice_aqc_add_tx_qgrp *buf, u16 buf_size, struct ice_sq_cd *cd) argument 4699 u16 i, buf_size = __struct_size(qg_list); local 4848 u16 i, buf_size; local 5532 u16 buf_size, num_elem_ret = 0; local 5836 ice_aq_set_lldp_mib(struct ice_hw *hw, u8 mib_type, void *buf, u16 buf_size, struct ice_sq_cd *cd) argument [all...] |
/linux-master/drivers/scsi/qla2xxx/ |
H A D | qla_mbx.c | 1910 mcp->buf_size = size; 2006 mcp->buf_size = IS_FWI2_CAPABLE(ha) ? 2165 mcp->buf_size = sizeof(*pdb); 2446 * buf_size = response/command size. 2458 uint16_t cmd_size, size_t buf_size) 2479 mcp->buf_size = buf_size; 3097 mcp->buf_size = FCAL_MAP_SIZE; 5052 mcp->buf_size = ELS_CMD_MAP_SIZE; 5354 mcp->buf_size 2457 qla2x00_send_sns(scsi_qla_host_t *vha, dma_addr_t sns_phys_address, uint16_t cmd_size, size_t buf_size) argument [all...] |
H A D | qla_def.h | 1094 long buf_size; member in struct:__anon150 1107 long buf_size; member in struct:mbx_cmd_32
|
/linux-master/drivers/gpu/drm/i915/display/ |
H A D | intel_sdvo.c | 983 u8 buf_size; 994 intel_sdvo_read_response(encoder, &buf_size, 1); 997 for (j = 0; j <= buf_size; j += 8) {
|
/linux-master/drivers/gpu/drm/display/ |
H A D | drm_dp_helper.c | 2535 u8 *buf, int buf_size) 2542 int block_size = dpcd[DP_DPCD_REV] < 0x14 ? 1 : buf_size; 2546 for (offset = 0; offset < buf_size; offset += block_size) { 2533 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/tools/lib/bpf/ |
H A D | libbpf.c | 12850 size_t buf_size; member in struct:perf_cpu_buf 13222 &cpu_buf->buf_size, 13281 int perf_buffer__buffer(struct perf_buffer *pb, int buf_idx, void **buf, size_t *buf_size) argument 13293 *buf_size = pb->mmap_size;
|
/linux-master/net/mac80211/ |
H A D | ieee80211_i.h | 2102 u16 buf_size, bool tx, bool auto_seq,
|
/linux-master/fs/ |
H A D | exec.c | 1230 char *__get_task_comm(char *buf, size_t buf_size, struct task_struct *tsk) argument 1234 strscpy_pad(buf, tsk->comm, buf_size);
|
/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 | mvm.h | 648 * @buf_size: the reorder buffer size as set by the last addba request 659 u16 buf_size; member in struct:iwl_mvm_reorder_buffer
|