/third_party/rust/crates/rust-openssl/openssl/src/ssl/ |
H A D | mod.rs | 1665 /// Sets the context's session cache size limit, returning the previous limit. 1667 /// A value of 0 means that the cache size is unbounded. 1670 pub fn set_session_cache_size(&mut self, size: i32) -> i64 { in set_session_cache_size() 1672 ffi::SSL_CTX_sess_set_cache_size(self.as_ptr(), size as SslCacheSize) as SslCacheTy in set_session_cache_size() 1887 /// Returns the context's session cache size limit. 1889 /// A value of 0 means that the cache size is unbounded. 2137 /// Returns the number of bytes written, or the size of the master key if the buffer is empty. 2758 /// Returns the number of bytes copied, or if the buffer is empty, the size of the `client_random` 2772 /// Returns the number of bytes copied, or if the buffer is empty, the size of the `server_random` 2991 /// The total size o [all...] |
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/ |
H A D | wl_cfgscan.c | 258 /* Returning void here as copy size does not exceed dest size of SSID */ in wl_bcnrecv_result_handler() 261 /* Returning void here as copy size does not exceed dest size of ETH_LEN */ in wl_bcnrecv_result_handler() 998 WL_SCAN(("%d: scan for %s size =%d\n", i, in wl_cfgscan_populate_scan_ssids() 1138 wl_get_valid_channels(struct net_device *ndev, u8 *valid_chan_list, s32 size) in wl_get_valid_channels() argument 1142 if (valid_chan_list == NULL || size <= 0) in wl_get_valid_channels() 1145 bzero(valid_chan_list, size); in wl_get_valid_channels() 1148 err = wldev_ioctl_get(ndev, WLC_GET_VALID_CHANNELS, valid_chan_list, size); in wl_get_valid_channels() 2844 * in size an in wl_notify_sched_scan_results() [all...] |
/drivers/peripheral/camera/test/hdi/v1_3/src/ |
H A D | camera_hdi_uttest_v1_3.cpp | 86 * @tc.size: MediumTest
137 * @tc.size: MediumTest
161 * @tc.size: MediumTest
197 * @tc.size: MediumTest
314 * @tc.size: MediumTest
338 * @tc.size: MediumTest
374 * @tc.size: MediumTest
462 * @tc.size:MediumTest
504 * @tc.size: MediumTest
540 * @tc.size [all...] |
/kernel/linux/linux-5.10/drivers/dma/ti/ |
H A D | k3-udma.c | 196 u32 psd_size; /* size of Protocol Specific Data */ 1397 ring_cfg.size = K3_UDMA_DEFAULT_RING_SIZE; in udma_alloc_tx_resources() 1473 ring_cfg.size = SG_MAX_SEGMENTS; in udma_alloc_rx_resources() 1475 ring_cfg.size = K3_UDMA_DEFAULT_RING_SIZE; in udma_alloc_rx_resources() 1481 ring_cfg.size = K3_UDMA_DEFAULT_RING_SIZE; in udma_alloc_rx_resources() 1914 dev_err(uc->ud->dev, "Unsupported TR size of %zu\n", tr_size); in udma_alloc_tr_desc() 2055 dev_err(uc->ud->dev, "size %u is not supported\n", in udma_prep_slave_sg_tr() 2102 /* Bus width translates to the element size (ES) */ in udma_configure_statictr() 2219 "%s: Transfer size %u is over the supported 4M range\n", in udma_prep_slave_sg_pkt() 2406 dev_err(uc->ud->dev, "size in udma_prep_dma_cyclic_tr() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/ |
H A D | ice_common.c | 607 u16 size; in ice_get_fw_log_cfg() local 609 size = sizeof(*config) * ICE_AQC_FW_LOG_ID_MAX; in ice_get_fw_log_cfg() 610 config = devm_kzalloc(ice_hw_to_dev(hw), size, GFP_KERNEL); in ice_get_fw_log_cfg() 616 status = ice_aq_send_cmd(hw, &desc, config, size, NULL); in ice_get_fw_log_cfg() 945 /* Initialize max burst size */ in ice_init_hw() 1306 * @buf_size: size of buffer for indirect commands (0 for direct commands) 1647 * @buf_size: size of buffer for indirect commands 2180 * @buf_size: size of the buffer 2189 * capabilities firmware will report. Note that if the buffer size is too 2192 * buffer size b [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/brocade/bna/ |
H A D | bna_tx_rx.c | 304 req->size = htons(rxf->rit_size); in bna_bfi_rit_cfg() 1267 #define SIZE_TO_PAGES(size) (((size) >> PAGE_SHIFT) + ((((size) &\ 1649 * fragment size. in bna_bfi_rx_enet_start()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/ |
H A D | cmd.c | 96 /* More outstanding CQEs in CQ than new CQ size: */ 814 int size, int is_read) in mlx4_ACCESS_MEM() 820 (slave & ~0x7f) | (size & 0xff)) { in mlx4_ACCESS_MEM() 821 mlx4_err(dev, "Bad access mem params - slave_addr:0x%llx master_addr:0x%llx slave_id:%d size:%d\n", in mlx4_ACCESS_MEM() 822 slave_addr, master_addr, slave, size); in mlx4_ACCESS_MEM() 834 return mlx4_cmd_imm(dev, in_param, &out_param, size, 0, in mlx4_ACCESS_MEM() 812 mlx4_ACCESS_MEM(struct mlx4_dev *dev, u64 master_addr, int slave, u64 slave_addr, int size, int is_read) mlx4_ACCESS_MEM() argument
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/ |
H A D | kv_dpm.c | 3267 void *value, int *size) in kv_dpm_read_sensor() 3277 /* size must be at least 4 bytes for all sensors */ in kv_dpm_read_sensor() 3278 if (*size < 4) in kv_dpm_read_sensor() 3287 *size = 4; in kv_dpm_read_sensor() 3293 *size = 4; in kv_dpm_read_sensor() 3266 kv_dpm_read_sensor(void *handle, int idx, void *value, int *size) kv_dpm_read_sensor() argument
|
/kernel/linux/linux-5.10/drivers/infiniband/ulp/srpt/ |
H A D | ib_srpt.c | 75 "Maximum size of SRP request messages in bytes."); 80 "Shared receive queue (SRQ) size."); 531 static int srpt_format_guid(char *buf, unsigned int size, const __be64 *guid) in srpt_format_guid() argument 535 return snprintf(buf, size, "%04x:%04x:%04x:%04x", in srpt_format_guid() 651 * @ioctx_size: I/O context size. 709 * @ioctx_size: I/O context size. 911 u32 size = be32_to_cpu(db->len); in srpt_alloc_rw_ctxs() local 914 ret = target_alloc_sgl(&ctx->sg, &ctx->nents, size, false, in srpt_alloc_rw_ctxs() 987 * CDB LENGTH' field are reserved and the size in bytes of this field in srpt_get_desc_buf() 1070 pr_err("Immediate data (length %d + %d) exceeds request size in srpt_get_desc_tbl() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/ |
H A D | ef10.c | 828 /* When the host page size is 4K, the first in efx_ef10_link_piobufs() 1192 * page size is >4K). So we may allocate some extra VIs just in efx_ef10_dimension_resources() 1273 "could not allocate WC mapping of size %x\n", in efx_ef10_dimension_resources() 2422 * greater than the page size. in efx_ef10_tx_limit_len() 3473 size_t size, erase_size, outlen; in efx_ef10_mtd_probe_partition() local 3488 rc = efx_mcdi_nvram_info(efx, type, &size, &erase_size, &protected); in efx_ef10_mtd_probe_partition() 3527 part->common.mtd.size = size; in efx_ef10_mtd_probe_partition()
|
/kernel/linux/linux-5.10/drivers/scsi/ibmvscsi_tgt/ |
H A D | ibmvscsi_tgt.c | 277 bytes = vscsi->cmd_q.size * PAGE_SIZE; in ibmvscsis_free_command_q() 895 bytes = vscsi->cmd_q.size * PAGE_SIZE; in ibmvscsis_reset_queue() 2596 * a way to read multiple windows without already knowing the size of in read_dma_window() 2619 prop = (const __be32 *)vio_get_attribute(vdev, "ibm,#dma-size-cells", in read_dma_window() 2622 dev_warn(&vscsi->dev, "Couldn't find ibm,#dma-size-cells property\n"); in read_dma_window() 2981 bytes = vscsi->cmd_q.size * PAGE_SIZE; in ibmvscsis_enable_change_state() 3000 * the size of the CRQ. 3016 vscsi->cmd_q.size = pages; in ibmvscsis_create_command_q() 3678 mvds = of_get_property(vdevdn, "ibm,max-virtual-dma-size", in ibmvscsis_get_system_info()
|
/kernel/linux/linux-5.10/drivers/scsi/qedf/ |
H A D | qedf_main.c | 1759 /* Set max frame size */ in qedf_lport_setup() 1908 /* Set max frame size */ in qedf_vport_create() 1939 /* Set maxframe size */ in qedf_vport_create() 3197 /* Calculate SQ PBL size in the same manner as in qedf_sq_alloc() */ in qedf_set_fcoe_pf_param() 3228 /* BDQ address and size */ in qedf_set_fcoe_pf_param() 3251 size_t size = 0; in qedf_free_fcoe_pf_param() local 3254 size = qedf->num_queues * sizeof(struct qedf_glbl_q_params); in qedf_free_fcoe_pf_param() 3255 dma_free_coherent(&qedf->pdev->dev, size, qedf->p_cpuq, in qedf_free_fcoe_pf_param() 3490 qedf->tasks.size); in __qedf_probe() 3643 "grcdump: addr=%p, size in __qedf_probe() [all...] |
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/ |
H A D | qla_mr.c | 380 * size = size of initialization control block. 391 qlafx00_init_firmware(scsi_qla_host_t *vha, uint16_t size) in qlafx00_init_firmware() argument 409 mcp->buf_size = size; in qlafx00_init_firmware() 699 qlafx00_fw_version_str(struct scsi_qla_host *vha, char *str, size_t size) in qlafx00_fw_version_str() argument 703 snprintf(str, size, "%s", ha->mr.fw_version); in qlafx00_fw_version_str() 755 "Invalid pci I/O region size (%s).\n", in qlafx00_iospace_config() 761 "Invalid PCI mem BAR0 region size (%s), aborting\n", in qlafx00_iospace_config() 782 "Invalid PCI mem BAR2 region size (%s), aborting\n", in qlafx00_iospace_config()
|
/kernel/linux/linux-5.10/drivers/usb/gadget/function/ |
H A D | f_fs.c | 140 * we’re rounding user read requests to a multiple of a max packet size. 478 * size of ffs->ev.types array (which is four) so that's how much space 482 const size_t size = n * sizeof *events; variable 485 memset(events, 0, size); 503 return unlikely(copy_to_user(buf, events, size)) ? -EFAULT : size; 735 * packet size. in ffs_copy_to_iter() 738 * packet size. When unaligned buffer is passed to functionfs, it in ffs_copy_to_iter() 757 pr_err("functionfs read size %d > requested size in ffs_copy_to_iter() [all...] |
/kernel/linux/linux-5.10/sound/pci/asihpi/ |
H A D | hpifunc.c | 384 u32 size; in hpi_stream_estimate_buffer_size() local 417 size = (bytes_per_second * host_polling_rate_in_milli_seconds * 2) / in hpi_stream_estimate_buffer_size() 421 roundup_pow_of_two(((size + 4095L) & ~4095L)); in hpi_stream_estimate_buffer_size() 1684 hm.h.size = (u16)(sizeof(hm.h) + sizeof(hm.p) + byte_count); in hpi_cobranet_hmi_write()
|
/kernel/linux/linux-5.10/security/selinux/ss/ |
H A D | services.c | 168 out_map->size = i; in selinux_set_mapping() 182 if (tclass < map->size) in unmap_class() 195 for (i = 1; i < map->size; i++) { in map_class() 207 if (tclass < map->size) { in map_decision() 1226 * allocated string of the correct size. Set `*scontext' 1250 /* Compute the size of the context. */ in context_struct_to_string() 1394 * into a dynamically allocated string of the correct size. Set @scontext 1419 * into a dynamically allocated string of the correct size, but only if the
|
/kernel/linux/linux-5.10/fs/btrfs/ |
H A D | relocation.c | 136 /* size of metadata reservation for merging reloc trees */ 138 /* size of relocated tree nodes */ 140 /* reserved size for block group relocation*/ 1715 * Thus the needed metadata size is at most root_level * nodesize, in merge_reloc_root() 2201 * we expand more reservation size here to allow enough in reserve_metadata_space() 2205 rc->block_rsv->size = tmp + fs_info->nodesize * in reserve_metadata_space() 3252 rc->block_rsv->size = rc->extent_root->fs_info->nodesize * in prepare_to_relocate() 3255 rc->block_rsv, rc->block_rsv->size, in prepare_to_relocate() 3309 rc->block_rsv, rc->block_rsv->size, in relocate_block_group() 4029 * used by merging a reloc tree is twice the size o in btrfs_reloc_pre_snapshot() [all...] |
/kernel/linux/linux-5.10/kernel/ |
H A D | workqueue.c | 4867 void wq_worker_comm(char *buf, size_t size, struct task_struct *task) in wq_worker_comm() argument 4872 off = strscpy(buf, task->comm, size); in wq_worker_comm() 4892 scnprintf(buf + off, size - off, "+%s", in wq_worker_comm() 4895 scnprintf(buf + off, size - off, "-%s", in wq_worker_comm()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/brocade/bna/ |
H A D | bna_tx_rx.c | 304 req->size = htons(rxf->rit_size); in bna_bfi_rit_cfg() 1267 #define SIZE_TO_PAGES(size) (((size) >> PAGE_SHIFT) + ((((size) &\ 1649 * fragment size. in bna_bfi_rx_enet_start()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/renesas/ |
H A D | ravb_main.c | 212 u32 size; in ravb_tx_free() local 225 size = le16_to_cpu(desc->ds_tagl) & TX_DS; in ravb_tx_free() 229 size, DMA_TO_DEVICE); in ravb_tx_free() 241 stats->tx_bytes += size; in ravb_tx_free() 356 /* We just set the data size to 0 for a failed mapping which in ravb_rx_ring_format_gbeth() 386 /* We just set the data size to 0 for a failed mapping which in ravb_rx_ring_format_rcar() 614 /* Set FIFO size */ in ravb_dmac_init_gbeth() 654 /* Set FIFO size */ in ravb_dmac_init_rcar() 877 /* We just set the data size to 0 for a failed mapping in ravb_rx_gbeth() 992 /* We just set the data size t in ravb_rx_rcar() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/ |
H A D | ef10.c | 827 /* When the host page size is 4K, the first in efx_ef10_link_piobufs() 1192 * page size is >4K). So we may allocate some extra VIs just in efx_ef10_dimension_resources() 1273 "could not allocate WC mapping of size %x\n", in efx_ef10_dimension_resources() 2438 * greater than the page size. in efx_ef10_tx_limit_len() 3504 size_t size, erase_size, outlen; in efx_ef10_mtd_probe_partition() local 3519 rc = efx_mcdi_nvram_info(efx, type, &size, &erase_size, &protected); in efx_ef10_mtd_probe_partition() 3558 part->common.mtd.size = size; in efx_ef10_mtd_probe_partition()
|
/kernel/linux/linux-6.6/fs/btrfs/ |
H A D | relocation.c | 148 /* size of metadata reservation for merging reloc trees */ 150 /* size of relocated tree nodes */ 152 /* reserved size for block group relocation*/ 1749 * Thus the needed metadata size is at most root_level * nodesize, in merge_reloc_root() 2383 * we expand more reservation size here to allow enough in reserve_metadata_space() 2387 rc->block_rsv->size = tmp + fs_info->nodesize * in reserve_metadata_space() 3079 * same size as the source. in relocate_one_page() 3617 rc->block_rsv->size = rc->extent_root->fs_info->nodesize * in prepare_to_relocate() 3620 rc->block_rsv, rc->block_rsv->size, in prepare_to_relocate() 3673 rc->block_rsv->size, in relocate_block_group() [all...] |
/kernel/linux/linux-6.6/drivers/scsi/ibmvscsi_tgt/ |
H A D | ibmvscsi_tgt.c | 278 bytes = vscsi->cmd_q.size * PAGE_SIZE; in ibmvscsis_free_command_q() 896 bytes = vscsi->cmd_q.size * PAGE_SIZE; in ibmvscsis_reset_queue() 2594 * a way to read multiple windows without already knowing the size of in read_dma_window() 2617 prop = (const __be32 *)vio_get_attribute(vdev, "ibm,#dma-size-cells", in read_dma_window() 2620 dev_warn(&vscsi->dev, "Couldn't find ibm,#dma-size-cells property\n"); in read_dma_window() 2970 bytes = vscsi->cmd_q.size * PAGE_SIZE; in ibmvscsis_enable_change_state() 2989 * the size of the CRQ. 3005 vscsi->cmd_q.size = pages; in ibmvscsis_create_command_q() 3665 mvds = of_get_property(vdevdn, "ibm,max-virtual-dma-size", in ibmvscsis_get_system_info()
|
/kernel/linux/linux-6.6/drivers/scsi/qla2xxx/ |
H A D | qla_mr.c | 380 * size = size of initialization control block. 391 qlafx00_init_firmware(scsi_qla_host_t *vha, uint16_t size) in qlafx00_init_firmware() argument 409 mcp->buf_size = size; in qlafx00_init_firmware() 699 qlafx00_fw_version_str(struct scsi_qla_host *vha, char *str, size_t size) in qlafx00_fw_version_str() argument 703 snprintf(str, size, "%s", ha->mr.fw_version); in qlafx00_fw_version_str() 755 "Invalid pci I/O region size (%s).\n", in qlafx00_iospace_config() 761 "Invalid PCI mem BAR0 region size (%s), aborting\n", in qlafx00_iospace_config() 782 "Invalid PCI mem BAR2 region size (%s), aborting\n", in qlafx00_iospace_config()
|
/kernel/linux/linux-6.6/drivers/usb/gadget/function/ |
H A D | f_fs.c | 138 * we’re rounding user read requests to a multiple of a max packet size. 477 * size of ffs->ev.types array (which is four) so that's how much space 481 const size_t size = n * sizeof *events; variable 484 memset(events, 0, size); 502 return copy_to_user(buf, events, size) ? -EFAULT : size; 730 * packet size. in ffs_copy_to_iter() 733 * packet size. When unaligned buffer is passed to functionfs, it in ffs_copy_to_iter() 752 pr_err("functionfs read size %d > requested size in ffs_copy_to_iter() [all...] |