/kernel/linux/linux-5.10/arch/s390/kvm/ |
H A D | interrupt.c | 2381 u64 size; in copy_irq_from_user() local 2393 size = sizeof(inti->ext); in copy_irq_from_user() 2398 size = sizeof(inti->io); in copy_irq_from_user() 2403 size = sizeof(inti->mchk); in copy_irq_from_user() 2409 if (copy_from_user(target, source, size)) in copy_irq_from_user()
|
/kernel/linux/linux-6.6/arch/s390/kvm/ |
H A D | interrupt.c | 2387 u64 size; in copy_irq_from_user() local 2399 size = sizeof(inti->ext); in copy_irq_from_user() 2404 size = sizeof(inti->io); in copy_irq_from_user() 2409 size = sizeof(inti->mchk); in copy_irq_from_user() 2415 if (copy_from_user(target, source, size)) in copy_irq_from_user()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gvt/ |
H A D | cmd_parser.c | 2851 ring_tail = wa_ctx->indirect_ctx.size + 3 * sizeof(u32); in scan_wa_ctx() 2852 ring_size = round_up(wa_ctx->indirect_ctx.size + CACHELINE_BYTES, in scan_wa_ctx() 2890 /* calculate workload ring buffer size */ in shadow_workload_ring_buffer() 2960 int ctx_size = wa_ctx->indirect_ctx.size; in shadow_indirect_ctx() 3024 wa_ctx->indirect_ctx.size; in combine_wa_ctx() 3039 if (wa_ctx->indirect_ctx.size == 0) in intel_gvt_scan_and_shadow_wa_ctx()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/ |
H A D | qla3xxx.c | 2043 u16 size = 0; in ql_process_macip_rx_intr() local 2055 size = ETH_HLEN; in ql_process_macip_rx_intr() 2057 size += VLAN_ETH_HLEN - ETH_HLEN; in ql_process_macip_rx_intr() 2077 skb_push(skb2, size), size); in ql_process_macip_rx_intr() 2841 netdev_err(qdev->ndev, "Invalid mtu size: %d. Only %d and %d are accepted.\n", in ql_alloc_mem_resources()
|
/kernel/linux/linux-5.10/drivers/usb/serial/ |
H A D | ftdi_sio.c | 1090 void *dest, size_t size); 1657 * Determine the maximum packet size for the device. This depends on the chip 1675 * with an endpoint size of 0 - not good. In this case, we in ftdi_set_max_packet_size() 1688 /* Set max packet size based on last descriptor. */ in ftdi_set_max_packet_size() 2464 void *dest, size_t size) in ftdi_prepare_write_buffer() 2478 for (i = 0; i < size - 1; i += priv->max_packet_size) { in ftdi_prepare_write_buffer() 2479 len = min_t(int, size - i, priv->max_packet_size) - 1; in ftdi_prepare_write_buffer() 2489 count = kfifo_out_locked(&port->write_fifo, dest, size, in ftdi_prepare_write_buffer() 2463 ftdi_prepare_write_buffer(struct usb_serial_port *port, void *dest, size_t size) ftdi_prepare_write_buffer() argument
|
/kernel/linux/linux-5.10/net/core/ |
H A D | pktgen.c | 185 pf(TXSIZE_RND) /* Transmit size is random */ \ 2697 unsigned int size; in pktgen_alloc_skb() local 2699 size = pkt_dev->cur_pkt_size + 64 + extralen + pkt_dev->pkt_overhead; in pktgen_alloc_skb() 2703 skb = __alloc_skb(NET_SKB_PAD + size, GFP_NOWAIT, 0, node); in pktgen_alloc_skb() 2709 skb = __netdev_alloc_skb(dev, size, GFP_NOWAIT); in pktgen_alloc_skb() 3857 .size = sizeof(struct pktgen_net),
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/device/ |
H A D | base.c | 58 nvkm_device_list(u64 *name, int size) in nvkm_device_list() argument 64 if (nr++ < size) in nvkm_device_list() 2656 nvkm_device_event_ctor(struct nvkm_object *object, void *data, u32 size, in nvkm_device_event_ctor() argument 2659 if (!WARN_ON(size != 0)) { in nvkm_device_event_ctor() 2660 notify->size = 0; in nvkm_device_event_ctor()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/tegra/ |
H A D | sor.c | 1199 "polarity: %d active count: %d tu size: %d active frac: %d\n", in tegra_sor_compute_config() 1214 "unable to compute TU size, forcing watermark to %u\n", in tegra_sor_compute_config() 1847 static inline u32 tegra_sor_hdmi_subpack(const u8 *ptr, size_t size) in tegra_sor_hdmi_subpack() argument 1852 for (i = size; i > 0; i--) in tegra_sor_hdmi_subpack() 1859 const void *data, size_t size) in tegra_sor_hdmi_write_infopack() 1896 for (i = 3, j = 0; i < size; i += 7, j += 8) { in tegra_sor_hdmi_write_infopack() 1897 size_t rem = size - i, num = min_t(size_t, rem, 4); in tegra_sor_hdmi_write_infopack() 1958 * The HDA codec will always report an ELD buffer size of 96 bytes and in tegra_sor_write_eld() 1858 tegra_sor_hdmi_write_infopack(struct tegra_sor *sor, const void *data, size_t size) tegra_sor_hdmi_write_infopack() argument
|
/kernel/linux/linux-5.10/drivers/scsi/bfa/ |
H A D | bfad_bsg.c | 3258 buf_info->size = payload_len; in bfad_fcxp_map_sg() 3260 buf_info->size, &buf_info->phys, in bfad_fcxp_map_sg() 3266 memcpy(buf_info->virt, payload_kbuf, buf_info->size); in bfad_fcxp_map_sg() 3271 sg_table->sg_len = buf_info->size; in bfad_fcxp_map_sg() 3294 buf_info->size, buf_info->virt, in bfad_fcxp_free_mem() 3371 * buffer of size bsg_data->payload_len in bfad_im_bsg_els_ct_request()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/ |
H A D | ice_flex_pipe.c | 186 * @size: the number of bytes in the mask 193 static bool ice_bits_max_set(const u8 *mask, u16 size, u16 max) in ice_bits_max_set() argument 199 for (i = 0; i < size; i++) { in ice_bits_max_set() 223 * @size: the size of the complete key in bytes (must be even) 239 ice_set_key(u8 *key, u16 size, u8 *val, u8 *upd, u8 *dc, u8 *nm, u16 off, in ice_set_key() argument 245 /* size must be a multiple of 2 bytes. */ in ice_set_key() 246 if (size % 2) in ice_set_key() 249 half_size = size / 2; in ice_set_key() 783 /* Block / table size inf [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/ |
H A D | qla3xxx.c | 2045 u16 size = 0; in ql_process_macip_rx_intr() local 2057 size = ETH_HLEN; in ql_process_macip_rx_intr() 2059 size += VLAN_ETH_HLEN - ETH_HLEN; in ql_process_macip_rx_intr() 2079 skb_push(skb2, size), size); in ql_process_macip_rx_intr() 2843 netdev_err(qdev->ndev, "Invalid mtu size: %d. Only %d and %d are accepted.\n", in ql_alloc_mem_resources()
|
/kernel/linux/linux-6.6/fs/btrfs/ |
H A D | extent_io.c | 379 * shortening the size of the delalloc range we're searching in find_lock_delalloc_range() 784 * @size: portion of page that we want to write to 795 size_t size, unsigned long pg_offset) in submit_extent_page() 799 ASSERT(pg_offset + size <= PAGE_SIZE); in submit_extent_page() 807 u32 len = size; in submit_extent_page() 831 size -= len; in submit_extent_page() 862 } while (size); in submit_extent_page() 1253 * For regular sector size == page size case, since one page only in find_next_dirty_byte() 2395 * size tha in try_release_extent_mapping() 793 submit_extent_page(struct btrfs_bio_ctrl *bio_ctrl, u64 disk_bytenr, struct page *page, size_t size, unsigned long pg_offset) submit_extent_page() argument [all...] |
/kernel/linux/linux-6.6/drivers/usb/gadget/udc/ |
H A D | renesas_usbf.c | 341 * for each endpoints depends on the max packet size and the buffer type. 680 * - Transfers a packet with a payload size less than in usbf_ep0_pio_out() 725 unsigned int size) in usbf_epn_send_residue() 729 memcpy(&tmp, buf, size); in usbf_epn_send_residue() 734 USBF_EPN_DW(size) | USBF_EPN_DEND); in usbf_epn_send_residue() 933 /* Last packet size was a maxpacket size in usbf_epn_dma_in() 966 unsigned int size) in usbf_epn_recv_residue() 971 memcpy(buf, &last, size); in usbf_epn_recv_residue() 1178 * Compute the left DMA size base in usbf_epn_dma_out_complete_dma() 724 usbf_epn_send_residue(struct usbf_ep *epn, const void *buf, unsigned int size) usbf_epn_send_residue() argument 965 usbf_epn_recv_residue(struct usbf_ep *epn, void *buf, unsigned int size) usbf_epn_recv_residue() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/ |
H A D | mt76_connac_mcu.c | 3012 if (!fw || !fw->data || fw->size < sizeof(*hdr)) { in mt76_connac2_load_ram() 3018 hdr = (const void *)(fw->data + fw->size - sizeof(*hdr)); in mt76_connac2_load_ram() 3041 if (!fw || !fw->data || fw->size < sizeof(*hdr)) { in mt76_connac2_load_ram() 3047 hdr = (const void *)(fw->data + fw->size - sizeof(*hdr)); in mt76_connac2_load_ram() 3117 if (!fw || !fw->data || fw->size < sizeof(*hdr)) { in mt76_connac2_load_patch()
|
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtw89/ |
H A D | fw.h | 3379 __le32 size; member 3421 __le32 size; /* exclude header size */ member 3462 static inline void rtw89_fw_get_filename(char *buf, size_t size, in rtw89_fw_get_filename() argument 3466 snprintf(buf, size, "%s.bin", fw_basename); in rtw89_fw_get_filename() 3468 snprintf(buf, size, "%s-%d.bin", fw_basename, fw_format); in rtw89_fw_get_filename()
|
H A D | debug.c | 376 u8 size; member 414 .size = ARRAY_SIZE(__txpwr_ent_byr), 470 .size = ARRAY_SIZE(__txpwr_ent_lmt), 498 .size = ARRAY_SIZE(__txpwr_ent_lmt_ru), 563 for (cur = 0, i = 0; i < map->size; i++) in __print_txpwr_map()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gvt/ |
H A D | cmd_parser.c | 2888 ring_tail = wa_ctx->indirect_ctx.size + 3 * sizeof(u32); in scan_wa_ctx() 2889 ring_size = round_up(wa_ctx->indirect_ctx.size + CACHELINE_BYTES, in scan_wa_ctx() 2926 /* calculate workload ring buffer size */ in shadow_workload_ring_buffer() 2996 int ctx_size = wa_ctx->indirect_ctx.size; in shadow_indirect_ctx() 3060 wa_ctx->indirect_ctx.size; in combine_wa_ctx() 3075 if (wa_ctx->indirect_ctx.size == 0) in intel_gvt_scan_and_shadow_wa_ctx()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/tegra/ |
H A D | sor.c | 1200 "polarity: %d active count: %d tu size: %d active frac: %d\n", in tegra_sor_compute_config() 1215 "unable to compute TU size, forcing watermark to %u\n", in tegra_sor_compute_config() 1848 static inline u32 tegra_sor_hdmi_subpack(const u8 *ptr, size_t size) in tegra_sor_hdmi_subpack() argument 1853 for (i = size; i > 0; i--) in tegra_sor_hdmi_subpack() 1860 const void *data, size_t size) in tegra_sor_hdmi_write_infopack() 1897 for (i = 3, j = 0; i < size; i += 7, j += 8) { in tegra_sor_hdmi_write_infopack() 1898 size_t rem = size - i, num = min_t(size_t, rem, 4); in tegra_sor_hdmi_write_infopack() 1959 * The HDA codec will always report an ELD buffer size of 96 bytes and in tegra_sor_write_eld() 1859 tegra_sor_hdmi_write_infopack(struct tegra_sor *sor, const void *data, size_t size) tegra_sor_hdmi_write_infopack() argument
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | machine.c | 1627 u64 *size __maybe_unused, in arch__fix_module_text_start() 1634 u64 size) in machine__create_module() 1639 if (arch__fix_module_text_start(&start, &size, name) < 0) in machine__create_module() 1645 map__set_end(map, start + size); in machine__create_module() 3165 (!sample->user_stack.size)) in thread__resolve_callchain_unwind() 1633 machine__create_module(void *arg, const char *name, u64 start, u64 size) machine__create_module() argument
|
/kernel/linux/linux-6.6/drivers/scsi/bfa/ |
H A D | bfad_bsg.c | 3284 buf_info->size = payload_len; in bfad_fcxp_map_sg() 3286 buf_info->size, &buf_info->phys, in bfad_fcxp_map_sg() 3292 memcpy(buf_info->virt, payload_kbuf, buf_info->size); in bfad_fcxp_map_sg() 3297 sg_table->sg_len = buf_info->size; in bfad_fcxp_map_sg() 3320 buf_info->size, buf_info->virt, in bfad_fcxp_free_mem() 3397 * buffer of size bsg_data->payload_len in bfad_im_bsg_els_ct_request()
|
/kernel/linux/linux-6.6/drivers/scsi/elx/libefc_sli/ |
H A D | sli4.h | 3527 u16 size; /* entry size */ member 3629 u32 size; member 3934 sli_cmd_reg_vfi(struct sli4 *sli4, void *buf, size_t size, 3982 size_t size, u32 n_entries, u32 align); 4127 sli4_cmd_lowlevel_set_watchdog(struct sli4 *sli4, void *buf, size_t size,
|
/kernel/linux/linux-6.6/net/bluetooth/ |
H A D | hci_core.c | 843 int n = 0, size, err; in hci_get_dev_list() local 852 size = sizeof(*dl) + dev_num * sizeof(*dr); in hci_get_dev_list() 854 dl = kzalloc(size, GFP_KERNEL); in hci_get_dev_list() 880 size = sizeof(*dl) + n * sizeof(*dr); in hci_get_dev_list() 882 err = copy_to_user(arg, dl, size); in hci_get_dev_list()
|
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/ |
H A D | unistdndk.cpp | 156 int size = valueZero;
in GetGroups() local 158 getInfo = getgroups(sizeof(size), list);
in GetGroups() 1585 size_t size = PARAM_64;
in Pread() local 1588 char *value = static_cast<char *>(malloc(sizeof(char) * size));
in Pread() 1590 napi_get_value_string_utf8(env, args[PARAM_0], value, size, &actualVal);
in Pread()
|
/test/xts/hats/telephony/ril/hdi_v1.1_additional/ |
H A D | hdf_ril_hdiService_test_2nd.cpp | 628 * @tc.desc : Call function SetCdmaCBConfig with the broadcastInfoList.size as SLOTID_1.
636 broadcastInfoList.size = SLOTID_1;
in HWTEST_F() 645 * @tc.desc : Call function SetCdmaCBConfig with the broadcastInfoList.size as 1000000001.
653 broadcastInfoList.size = 1000000001;
in HWTEST_F() 662 * @tc.desc : Call function SetCdmaCBConfig with the broadcastInfoList.size as -1.
670 broadcastInfoList.size = -1;
in HWTEST_F() 679 * @tc.desc : Call function SetCdmaCBConfig with the broadcastInfoList.size as 255.
687 broadcastInfoList.size = 255;
in HWTEST_F() 696 * @tc.desc : Call function SetCdmaCBConfig with the broadcastInfoList.size as 255.
704 broadcastInfoList.size in HWTEST_F() [all...] |
/test/xts/hats/hdf/usb/transferTest/common/ |
H A D | usbd_transfer_test.cpp | 1122 * @tc.size : MediumTest 1137 ret = g_usbInterface->BulkTransferReadwithLength(dev, pipe, TRANSFER_TIME_OUT, bufferData.size(), bufferData); in HWTEST_F() 1148 * @tc.size : MediumTest 1164 ret = g_usbInterface->BulkTransferReadwithLength(dev, pipe, TRANSFER_TIME_OUT, bufferData.size(), bufferData); in HWTEST_F() 1175 * @tc.size : MediumTest 1191 ret = g_usbInterface->BulkTransferReadwithLength(dev, pipe, TRANSFER_TIME_OUT, bufferData.size(), bufferData); in HWTEST_F() 1202 * @tc.size : MediumTest 1218 ret = g_usbInterface->BulkTransferReadwithLength(dev, pipe, TRANSFER_TIME_OUT, bufferData.size(), bufferData); in HWTEST_F() 1229 * @tc.size : MediumTest 1244 ret = g_usbInterface->BulkTransferReadwithLength(dev, pipe, TRANSFER_TIME_OUT, bufferData.size(), bufferDat in HWTEST_F() [all...] |