/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/image/ |
H A D | image_pattern.cpp | 470 // if layout size has not decided yet, resize target can not be calculated 572 if (images_.size()) { 623 if (reasons.size() && layoutConstraint->selfIdealSize.IsValid()) { 799 auto size = static_cast<int32_t>(images_.size()); 800 if (size <= 0) { 801 TAG_LOGW(AceLogTag::ACE_IMAGE, "image size is less than 0."); 812 animator_->AddInterpolator(CreatePictureAnimation(size)); 944 // calculate params for [altLoadingCtx] to do [MakeCanvasImage] if component size is already settled 1681 for (uint32_t idx = 1; idx < colorFilter.size(); [all...] |
/foundation/arkui/ace_engine/test/unittest/core/pattern/radio/ |
H A D | radio_test_ng.cpp | 1059 auto size = radioLayoutAlgorithm.MeasureContent(layoutConstraintSize, &layoutWrapper); in HWTEST_F() local 1060 ASSERT_NE(size, std::nullopt); in HWTEST_F() 1061 EXPECT_EQ(size.value(), SizeF(COMPONENT_WIDTH, COMPONENT_WIDTH)); in HWTEST_F() 1079 auto size = radioLayoutAlgorithm.MeasureContent(layoutConstraintSize, &layoutWrapper); in HWTEST_F() local 1088 ASSERT_NE(size, std::nullopt); in HWTEST_F() 1089 EXPECT_EQ(size.value(), SizeF(COMPONENT_WIDTH, COMPONENT_WIDTH)); in HWTEST_F() 1107 auto size = radioLayoutAlgorithm.MeasureContent(layoutConstraintSize, &layoutWrapper); in HWTEST_F() local 1108 ASSERT_NE(size, std::nullopt); in HWTEST_F() 1109 EXPECT_EQ(size.value(), SizeF(COMPONENT_HEIGHT, COMPONENT_HEIGHT)); in HWTEST_F() 1128 auto size in HWTEST_F() local 1151 auto size = radioLayoutAlgorithm.MeasureContent(layoutConstraintSize, &layoutWrapper); HWTEST_F() local 1172 auto size = radioLayoutAlgorithm.MeasureContent(layoutConstraintSize, &layoutWrapper); HWTEST_F() local 1193 auto size = radioLayoutAlgorithm.MeasureContent(layoutConstraintSize, &layoutWrapper); HWTEST_F() local [all...] |
/kernel/linux/linux-5.10/drivers/atm/ |
H A D | lanai.c | 324 * Note that the size will be rounded up 2^n bytes, and 331 int size; in lanai_buf_allocate() local 333 if (bytes > (128 * 1024)) /* max lanai buffer size */ in lanai_buf_allocate() 335 for (size = LANAI_PAGE_SIZE; size < bytes; size *= 2) in lanai_buf_allocate() 346 size, &buf->dmaaddr, GFP_KERNEL); in lanai_buf_allocate() 354 (&((unsigned char *) buf->start)[size]); in lanai_buf_allocate() 355 memset(buf->start, 0, size); in lanai_buf_allocate() 358 size / in lanai_buf_allocate() 675 aal5_size(int size) aal5_size() argument 1380 int size; vcc_rx_aal5() local 1482 int size; lanai_get_sized_buffer() local [all...] |
/kernel/linux/linux-5.10/drivers/hid/ |
H A D | wacom_sys.c | 23 size_t size, unsigned int retries) in wacom_get_report() 28 retval = hid_hw_raw_request(hdev, buf[0], buf, size, type, in wacom_get_report() 40 size_t size, unsigned int retries) in wacom_set_report() 45 retval = hid_hw_raw_request(hdev, buf[0], buf, size, type, in wacom_set_report() 58 u8 *raw_data, int size) in wacom_wac_queue_insert() 62 while (kfifo_avail(fifo) < size) { in wacom_wac_queue_insert() 70 kfifo_in(fifo, raw_data, size); in wacom_wac_queue_insert() 78 int size; in wacom_wac_queue_flush() local 81 size = kfifo_out(fifo, buf, sizeof(buf)); in wacom_wac_queue_flush() 82 err = hid_report_raw_event(hdev, HID_INPUT_REPORT, buf, size, fals in wacom_wac_queue_flush() 22 wacom_get_report(struct hid_device *hdev, u8 type, u8 *buf, size_t size, unsigned int retries) wacom_get_report() argument 39 wacom_set_report(struct hid_device *hdev, u8 type, u8 *buf, size_t size, unsigned int retries) wacom_set_report() argument 56 wacom_wac_queue_insert(struct hid_device *hdev, struct kfifo_rec_ptr_2 *fifo, u8 *raw_data, int size) wacom_wac_queue_insert() argument 110 unsigned int size; wacom_wac_pen_serial_enforce() local 158 wacom_raw_event(struct hid_device *hdev, struct hid_report *report, u8 *raw_data, int size) wacom_raw_event() argument 2219 size_t size = 0; wacom_compute_pktlen() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
H A D | r600_cs.c | 444 /* the initial DDX does bad things with the CB size occasionally */ in r600_cs_track_validate_cb() 476 /* the tile size is 8x8, but the size is in units of bits. in r600_cs_track_validate_cb() 553 dev_warn(p->dev, "z/stencil buffer size not set\n"); in r600_cs_track_validate_db() 632 unsigned long size; in r600_cs_track_validate_db() local 688 /* size must be aligned on npipes * 2K boundary */ in r600_cs_track_validate_db() 689 size = roundup(nbx * nby * 4, track->npipes * (2 << 10)); in r600_cs_track_validate_db() 690 size += track->htile_offset; in r600_cs_track_validate_db() 692 if (size > radeon_bo_size(track->htile_bo)) { in r600_cs_track_validate_db() 695 size, nb in r600_cs_track_validate_db() 1397 r600_mip_minify(unsigned size, unsigned level) r600_mip_minify() argument 1413 unsigned width, height, depth, size; r600_texture_size() local 1777 u32 command, size; r600_packet3_check() local 1953 u32 size, offset, base_offset, mip_offset; r600_packet3_check() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/falcon/ |
H A D | farch.c | 786 /* For Falcon A1, EVQ_RPTR_KER is documented as having a step size in ef4_farch_ev_read_ack() 1673 /* Set TX descriptor cache size. */ in ef4_farch_init_common() 1678 /* Set RX descriptor cache size. Set low watermark to size-8, as in ef4_farch_init_common() 1805 unsigned size; /* number of entries */ member 1888 if (table->size) { in ef4_farch_filter_push_rx_config() 1900 if (table->size) { in ef4_farch_filter_push_rx_config() 1948 if (table->size) { in ef4_farch_filter_push_tx_limits() 2310 if (state->table[table_id].size != 0) in ef4_farch_filter_get_rx_id_limit() 2312 state->table[table_id].size; in ef4_farch_filter_get_rx_id_limit() 2641 ef4_farch_filter_get_rx_ids(struct ef4_nic *efx, enum ef4_filter_priority priority, u32 *buf, u32 size) ef4_farch_filter_get_rx_ids() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/ath/wil6210/ |
H A D | debugfs.c | 56 wil_val_in_range(buff_id, 0, wil->rx_buff_mgmt.size)) in wil_print_desc_edma() 84 seq_printf(s, " size = %d\n", ring->size); in wil_print_ring() 112 if (ring->va && (ring->size <= (1 << WIL_RING_SIZE_ORDER_MAX))) { in wil_print_ring() 115 for (i = 0; i < ring->size; i++) { in wil_print_ring() 148 int used = (ring->size + swhead - swtail) in ring_show() 149 % ring->size; in ring_show() 150 int avail = ring->size - used - 1; in ring_show() 204 seq_printf(s, " size = %d\n", sring->size); in wil_print_sring() [all...] |
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/ |
H A D | net2272.c | 291 /* fifo size is handled seperately */ in net2272_ep_reset() 703 unsigned size; in net2272_kick_dma() local 727 size = req->req.length; in net2272_kick_dma() 728 size &= ~1; in net2272_kick_dma() 733 if (net2272_request_dma(ep->dev, ep->num, req->req.dma, size, 0)) in net2272_kick_dma() 736 req->req.actual += size; in net2272_kick_dma() 743 if (net2272_request_dma(ep->dev, ep->num, req->req.dma, size, 1)) in net2272_kick_dma() 1169 unsigned size, t; in registers_show() local 1177 size = PAGE_SIZE; in registers_show() 1181 t = scnprintf(next, size, " in registers_show() [all...] |
/kernel/linux/linux-5.10/sound/pci/ |
H A D | es1968.c | 140 MODULE_PARM_DESC(total_bufsize, "Total buffer size in kB."); 422 /* capture mixing buffer size */ 464 unsigned int dma_size; /* total buffer size in bytes */ 465 unsigned int frag_size; /* period size in bytes */ 802 /* compute ideal interrupt frequency for buffer size & play rate */ in snd_es1968_bob_start() 995 int i, size; in snd_es1968_playback_setup() local 999 size = es->dma_size >> es->wav_shift; in snd_es1968_playback_setup() 1034 apu_set_register(chip, apu, 6, (pa + size) & 0xFFFF); in snd_es1968_playback_setup() 1036 apu_set_register(chip, apu, 7, size); in snd_es1968_playback_setup() 1140 int size; in snd_es1968_capture_setup() local 1345 snd_es1968_new_memory(struct es1968 *chip, int size) snd_es1968_new_memory() argument 1466 int size = params_buffer_bytes(hw_params); snd_es1968_hw_params() local [all...] |
/kernel/linux/linux-5.10/drivers/pci/controller/ |
H A D | pci-hyperv.c | 657 * @size: Size of the transfer 661 int size, u32 *val) in _hv_pcifront_read_config() 669 if (where + size <= PCI_COMMAND) { in _hv_pcifront_read_config() 670 memcpy(val, ((u8 *)&hpdev->desc.v_id) + where, size); in _hv_pcifront_read_config() 671 } else if (where >= PCI_CLASS_REVISION && where + size <= in _hv_pcifront_read_config() 674 PCI_CLASS_REVISION, size); in _hv_pcifront_read_config() local 675 } else if (where >= PCI_SUBSYSTEM_VENDOR_ID && where + size <= in _hv_pcifront_read_config() 678 PCI_SUBSYSTEM_VENDOR_ID, size); in _hv_pcifront_read_config() local 679 } else if (where >= PCI_ROM_ADDRESS && where + size <= in _hv_pcifront_read_config() 683 } else if (where >= PCI_INTERRUPT_LINE && where + size < in _hv_pcifront_read_config() 660 _hv_pcifront_read_config(struct hv_pci_dev *hpdev, int where, int size, u32 *val) _hv_pcifront_read_config() argument 753 _hv_pcifront_write_config(struct hv_pci_dev *hpdev, int where, int size, u32 val) _hv_pcifront_write_config() argument 803 hv_pcifront_read_config(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *val) hv_pcifront_read_config() argument 831 hv_pcifront_write_config(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val) hv_pcifront_write_config() argument 1417 u32 size; hv_compose_msi_msg() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/falcon/ |
H A D | farch.c | 786 /* For Falcon A1, EVQ_RPTR_KER is documented as having a step size in ef4_farch_ev_read_ack() 1673 /* Set TX descriptor cache size. */ in ef4_farch_init_common() 1678 /* Set RX descriptor cache size. Set low watermark to size-8, as in ef4_farch_init_common() 1805 unsigned size; /* number of entries */ member 1888 if (table->size) { in ef4_farch_filter_push_rx_config() 1900 if (table->size) { in ef4_farch_filter_push_rx_config() 1948 if (table->size) { in ef4_farch_filter_push_tx_limits() 2310 if (state->table[table_id].size != 0) in ef4_farch_filter_get_rx_id_limit() 2312 state->table[table_id].size; in ef4_farch_filter_get_rx_id_limit() 2641 ef4_farch_filter_get_rx_ids(struct ef4_nic *efx, enum ef4_filter_priority priority, u32 *buf, u32 size) ef4_farch_filter_get_rx_ids() argument [all...] |
/kernel/linux/linux-6.6/drivers/atm/ |
H A D | lanai.c | 324 * Note that the size will be rounded up 2^n bytes, and 331 int size; in lanai_buf_allocate() local 333 if (bytes > (128 * 1024)) /* max lanai buffer size */ in lanai_buf_allocate() 335 for (size = LANAI_PAGE_SIZE; size < bytes; size *= 2) in lanai_buf_allocate() 346 size, &buf->dmaaddr, GFP_KERNEL); in lanai_buf_allocate() 354 (&((unsigned char *) buf->start)[size]); in lanai_buf_allocate() 355 memset(buf->start, 0, size); in lanai_buf_allocate() 358 size / in lanai_buf_allocate() 675 aal5_size(int size) aal5_size() argument 1379 int size; vcc_rx_aal5() local 1481 int size; lanai_get_sized_buffer() local [all...] |
/kernel/linux/linux-6.6/include/net/ |
H A D | sock.h | 154 * @skc_rcv_wnd: (aka rsk_rcv_wnd) TCP receive window size (possibly scaled) 257 * @sk_rcvbuf: size of receive buffer in bytes 270 * @sk_wmem_queued: persistent queue size 279 * @sk_sndbuf: size of send buffer in bytes 287 * @sk_gso_max_size: Maximum GSO segment size to build 1080 * Take into account size of receive queue and backlog queue 1239 static inline void sk_prot_clear_nulls(struct sock *sk, int size) in sk_prot_clear_nulls() argument 1244 size - offsetof(struct sock, sk_node.pprev)); in sk_prot_clear_nulls() 1350 unsigned int usersize; /* Usercopy region size */ 1597 int __sk_mem_raise_allocated(struct sock *sk, int size, in 1622 sk_wmem_schedule(struct sock *sk, int size) sk_wmem_schedule() argument 1633 sk_rmem_schedule(struct sock *sk, struct sk_buff *skb, int size) sk_rmem_schedule() argument 1676 sk_mem_charge(struct sock *sk, int size) sk_mem_charge() argument 1683 sk_mem_uncharge(struct sock *sk, int size) sk_mem_uncharge() argument 1879 sock_alloc_send_skb(struct sock *sk, unsigned long size, int noblock, int *errcode) sock_alloc_send_skb() argument [all...] |
/kernel/linux/linux-6.6/drivers/usb/gadget/udc/ |
H A D | net2272.c | 291 /* fifo size is handled separately */ in net2272_ep_reset() 704 unsigned size; in net2272_kick_dma() local 728 size = req->req.length; in net2272_kick_dma() 729 size &= ~1; in net2272_kick_dma() 734 if (net2272_request_dma(ep->dev, ep->num, req->req.dma, size, 0)) in net2272_kick_dma() 737 req->req.actual += size; in net2272_kick_dma() 744 if (net2272_request_dma(ep->dev, ep->num, req->req.dma, size, 1)) in net2272_kick_dma() 1173 unsigned size, t; in registers_show() local 1181 size = PAGE_SIZE; in registers_show() 1185 t = scnprintf(next, size, " in registers_show() [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/ath/wil6210/ |
H A D | debugfs.c | 56 wil_val_in_range(buff_id, 0, wil->rx_buff_mgmt.size)) in wil_print_desc_edma() 84 seq_printf(s, " size = %d\n", ring->size); in wil_print_ring() 112 if (ring->va && (ring->size <= (1 << WIL_RING_SIZE_ORDER_MAX))) { in wil_print_ring() 115 for (i = 0; i < ring->size; i++) { in wil_print_ring() 148 int used = (ring->size + swhead - swtail) in ring_show() 149 % ring->size; in ring_show() 150 int avail = ring->size - used - 1; in ring_show() 204 seq_printf(s, " size = %d\n", sring->size); in wil_print_sring() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/ |
H A D | r600_cs.c | 443 /* the initial DDX does bad things with the CB size occasionally */ in r600_cs_track_validate_cb() 475 /* the tile size is 8x8, but the size is in units of bits. in r600_cs_track_validate_cb() 552 dev_warn(p->dev, "z/stencil buffer size not set\n"); in r600_cs_track_validate_db() 631 unsigned long size; in r600_cs_track_validate_db() local 687 /* size must be aligned on npipes * 2K boundary */ in r600_cs_track_validate_db() 688 size = roundup(nbx * nby * 4, track->npipes * (2 << 10)); in r600_cs_track_validate_db() 689 size += track->htile_offset; in r600_cs_track_validate_db() 691 if (size > radeon_bo_size(track->htile_bo)) { in r600_cs_track_validate_db() 694 size, nb in r600_cs_track_validate_db() 1396 r600_mip_minify(unsigned size, unsigned level) r600_mip_minify() argument 1412 unsigned width, height, depth, size; r600_texture_size() local 1779 u32 command, size; r600_packet3_check() local 1955 u32 size, offset, base_offset, mip_offset; r600_packet3_check() local [all...] |
/kernel/linux/linux-6.6/drivers/hid/ |
H A D | wacom_sys.c | 18 size_t size, unsigned int retries) in wacom_get_report() 23 retval = hid_hw_raw_request(hdev, buf[0], buf, size, type, in wacom_get_report() 35 size_t size, unsigned int retries) in wacom_set_report() 40 retval = hid_hw_raw_request(hdev, buf[0], buf, size, type, in wacom_set_report() 53 u8 *raw_data, int size) in wacom_wac_queue_insert() 57 while (kfifo_avail(fifo) < size) { in wacom_wac_queue_insert() 65 kfifo_in(fifo, raw_data, size); in wacom_wac_queue_insert() 73 int size; in wacom_wac_queue_flush() local 76 size = kfifo_out(fifo, buf, sizeof(buf)); in wacom_wac_queue_flush() 77 err = hid_report_raw_event(hdev, HID_INPUT_REPORT, buf, size, fals in wacom_wac_queue_flush() 17 wacom_get_report(struct hid_device *hdev, u8 type, u8 *buf, size_t size, unsigned int retries) wacom_get_report() argument 34 wacom_set_report(struct hid_device *hdev, u8 type, u8 *buf, size_t size, unsigned int retries) wacom_set_report() argument 51 wacom_wac_queue_insert(struct hid_device *hdev, struct kfifo_rec_ptr_2 *fifo, u8 *raw_data, int size) wacom_wac_queue_insert() argument 105 unsigned int size; wacom_wac_pen_serial_enforce() local 153 wacom_raw_event(struct hid_device *hdev, struct hid_report *report, u8 *raw_data, int size) wacom_raw_event() argument 2211 size_t size = 0; wacom_compute_pktlen() local [all...] |
/kernel/linux/linux-6.6/sound/pci/ |
H A D | es1968.c | 136 MODULE_PARM_DESC(total_bufsize, "Total buffer size in kB."); 418 /* capture mixing buffer size */ 460 unsigned int dma_size; /* total buffer size in bytes */ 461 unsigned int frag_size; /* period size in bytes */ 798 /* compute ideal interrupt frequency for buffer size & play rate */ in snd_es1968_bob_start() 991 int i, size; in snd_es1968_playback_setup() local 995 size = es->dma_size >> es->wav_shift; in snd_es1968_playback_setup() 1030 apu_set_register(chip, apu, 6, (pa + size) & 0xFFFF); in snd_es1968_playback_setup() 1032 apu_set_register(chip, apu, 7, size); in snd_es1968_playback_setup() 1136 int size; in snd_es1968_capture_setup() local 1341 snd_es1968_new_memory(struct es1968 *chip, int size) snd_es1968_new_memory() argument 1462 int size = params_buffer_bytes(hw_params); snd_es1968_hw_params() local [all...] |
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_private.h | 402 bool radv_pipeline_cache_load(struct radv_pipeline_cache *cache, const void *data, size_t size); 861 /* Whether to inline the compute dispatch size in user sgprs. */ 969 uint32_t size; 975 uint32_t size; 997 uint32_t size; 1007 uint64_t size; 1060 struct radeon_winsys_bo *bo, uint64_t size, uint64_t offset); 1189 VkDeviceSize size; 1196 VkDeviceSize size; 1313 VkExtent2D size; [all...] |
/third_party/node/deps/uvwasi/src/ |
H A D | uvwasi.c | 110 static void* default_malloc(size_t size, void* mem_user_data) { in default_malloc() argument 111 return malloc(size); in default_malloc() 118 static void* default_calloc(size_t nmemb, size_t size, void* mem_user_data) { in default_calloc() argument 119 return calloc(nmemb, size); in default_calloc() 122 static void* default_realloc(void* ptr, size_t size, void* mem_user_data) { in default_realloc() argument 123 return realloc(ptr, size); in default_realloc() 126 void* uvwasi__malloc(const uvwasi_t* uvwasi, size_t size) { in uvwasi__malloc() argument 127 return uvwasi->allocator->malloc(size, uvwasi->allocator->mem_user_data); in uvwasi__malloc() 137 void* uvwasi__calloc(const uvwasi_t* uvwasi, size_t nmemb, size_t size) { in uvwasi__calloc() argument 139 size, in uvwasi__calloc() 143 uvwasi__realloc(const uvwasi_t* uvwasi, void* ptr, size_t size) uvwasi__realloc() argument 248 uvwasi_size_t size; uvwasi_init() local 1206 size_t size; uvwasi_fd_prestat_dir_name() local [all...] |
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
H A D | OutputHLSL.cpp | 59 ASSERT(sequence->size() == 1); in IsDeclarationWrittenOut() 169 std::string GetZeroInitializer(size_t size) in GetZeroInitializer() argument 172 size_t quotient = size / kZeroCount; in GetZeroInitializer() 173 size_t reminder = size % kZeroCount; in GetZeroInitializer() 285 const size_t size) in writeConstantUnionArray() 288 for (size_t i = 0; i < size; i++, constUnionIterated++) in writeConstantUnionArray() 292 if (i != size - 1) in writeConstantUnionArray() 522 for (unsigned int fieldIndex = 0; fieldIndex < fields.size(); fieldIndex++) in structInitializerString() 529 if (fieldIndex < fields.size() - 1) in structInitializerString() 1479 ASSERT(argumentSeq->size() > in visitBinary() 283 writeConstantUnionArray(TInfoSinkBase &out, const TConstantUnion *const constUnion, const size_t size) writeConstantUnionArray() argument 3303 size_t size = type.getObjectSize(); zeroInitializer() local 3372 size_t size = type.getObjectSize(); writeConstantUnion() local [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
H A D | mad.c | 96 size_t size = opa_get_smp_data_size(smp); in clear_opa_smp_data() local 98 memset(data, 0, size); in clear_opa_smp_data() 987 /* HFI supports a replay buffer 128 LTPs in size */ in __subn_get_opa_portinfo() 1033 size_t size; in __subn_get_opa_pkeytable() local 1044 size = (n_blocks_req * OPA_PARTITION_TABLE_BLK_SIZE) * sizeof(u16); in __subn_get_opa_pkeytable() 1046 if (smp_length_check(size, max_len)) { in __subn_get_opa_pkeytable() 1069 *resp_len += size; in __subn_get_opa_pkeytable() 1732 u32 size = 0; in __subn_set_opa_pkeytable() local 1743 size = sizeof(u16) * (n_blocks_sent * OPA_PARTITION_TABLE_BLK_SIZE); in __subn_set_opa_pkeytable() 1745 if (smp_length_check(size, max_le in __subn_set_opa_pkeytable() 1833 size_t size = ARRAY_SIZE(ibp->sl_to_sc); /* == 32 */ __subn_get_opa_sl_to_sc() local 1856 size_t size = ARRAY_SIZE(ibp->sl_to_sc); __subn_set_opa_sl_to_sc() local 1885 size_t size = ARRAY_SIZE(ibp->sc_to_sl); /* == 32 */ __subn_get_opa_sc_to_sl() local 1907 size_t size = ARRAY_SIZE(ibp->sc_to_sl); __subn_set_opa_sc_to_sl() local 1930 size_t size = 4 * sizeof(u64); __subn_get_opa_sc_to_vlt() local 1961 size_t size = 4 * sizeof(u64); __subn_set_opa_sc_to_vlt() local 1995 int size = sizeof(struct sc2vlnt); __subn_get_opa_sc_to_vlnt() local 2021 int size = sizeof(struct sc2vlnt); __subn_set_opa_sc_to_vlnt() local 2194 int size = sizeof(struct buffer_control); __subn_get_opa_bct() local 2242 int size = 256; __subn_get_opa_vl_arb() local 2284 int size = 256; __subn_set_opa_vl_arb() local 3941 u32 size = sizeof(u16) * (IB_CCT_ENTRIES * n_blocks + 1); __subn_get_opa_cc_table() local 3992 u32 size = sizeof(u16) * (IB_CCT_ENTRIES * n_blocks + 1); __subn_set_opa_cc_table() local [all...] |
/kernel/linux/linux-5.10/kernel/trace/ |
H A D | ftrace.c | 643 int size; in ftrace_profile_init_cpu() local 657 size = FTRACE_PROFILE_HASH_SIZE; in ftrace_profile_init_cpu() 659 stat->hash = kcalloc(size, sizeof(struct hlist_head), GFP_KERNEL); in ftrace_profile_init_cpu() 1197 int size = 1 << hash->size_bits; in ftrace_hash_clear() local 1203 for (i = 0; i < size; i++) { in ftrace_hash_clear() 1267 int size; in alloc_ftrace_hash() local 1273 size = 1 << size_bits; in alloc_ftrace_hash() 1274 hash->buckets = kcalloc(size, sizeof(*hash->buckets), GFP_KERNEL); in alloc_ftrace_hash() 1321 int size; in alloc_and_copy_ftrace_hash() local 1336 size in alloc_and_copy_ftrace_hash() 1362 dup_hash(struct ftrace_hash *src, int size) dup_hash() argument 1401 int size = src->count; __ftrace_hash_move() local 3291 int size; t_probe_next() local 4478 int size, i; free_ftrace_func_mapper() local 4541 int size; register_ftrace_function_probe() local 4689 int size; unregister_ftrace_function_probe_func() local 5134 int size = ftrace_hash_empty(direct_functions) ? 0 : register_ftrace_direct() local 6316 unsigned int size; global() member 6643 ftrace_func_address_lookup(struct ftrace_mod_map *mod_map, unsigned long addr, unsigned long *size, unsigned long *off, char *sym) ftrace_func_address_lookup() argument 6673 ftrace_mod_address_lookup(unsigned long addr, unsigned long *size, unsigned long *off, char **modname, char *sym) ftrace_mod_address_lookup() argument [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/ |
H A D | mad.c | 54 size_t size = opa_get_smp_data_size(smp); in clear_opa_smp_data() local 56 memset(data, 0, size); in clear_opa_smp_data() 945 /* HFI supports a replay buffer 128 LTPs in size */ in __subn_get_opa_portinfo() 991 size_t size; in __subn_get_opa_pkeytable() local 1002 size = (n_blocks_req * OPA_PARTITION_TABLE_BLK_SIZE) * sizeof(u16); in __subn_get_opa_pkeytable() 1004 if (smp_length_check(size, max_len)) { in __subn_get_opa_pkeytable() 1027 *resp_len += size; in __subn_get_opa_pkeytable() 1690 u32 size = 0; in __subn_set_opa_pkeytable() local 1701 size = sizeof(u16) * (n_blocks_sent * OPA_PARTITION_TABLE_BLK_SIZE); in __subn_set_opa_pkeytable() 1703 if (smp_length_check(size, max_le in __subn_set_opa_pkeytable() 1791 size_t size = ARRAY_SIZE(ibp->sl_to_sc); /* == 32 */ __subn_get_opa_sl_to_sc() local 1814 size_t size = ARRAY_SIZE(ibp->sl_to_sc); __subn_set_opa_sl_to_sc() local 1843 size_t size = ARRAY_SIZE(ibp->sc_to_sl); /* == 32 */ __subn_get_opa_sc_to_sl() local 1865 size_t size = ARRAY_SIZE(ibp->sc_to_sl); __subn_set_opa_sc_to_sl() local 1888 size_t size = 4 * sizeof(u64); __subn_get_opa_sc_to_vlt() local 1919 size_t size = 4 * sizeof(u64); __subn_set_opa_sc_to_vlt() local 1953 int size = sizeof(struct sc2vlnt); __subn_get_opa_sc_to_vlnt() local 1979 int size = sizeof(struct sc2vlnt); __subn_set_opa_sc_to_vlnt() local 2152 int size = sizeof(struct buffer_control); __subn_get_opa_bct() local 2200 int size = 256; __subn_get_opa_vl_arb() local 2242 int size = 256; __subn_set_opa_vl_arb() local 3899 u32 size = sizeof(u16) * (IB_CCT_ENTRIES * n_blocks + 1); __subn_get_opa_cc_table() local 3950 u32 size = sizeof(u16) * (IB_CCT_ENTRIES * n_blocks + 1); __subn_set_opa_cc_table() local [all...] |
/kernel/linux/linux-6.6/mm/ |
H A D | memcontrol.c | 966 /* pagein of a big page is an event. So, ignore page size */ in mem_cgroup_charge_statistics() 1414 long size; in mem_cgroup_update_lru_size() local 1430 size = *lru_size; in mem_cgroup_update_lru_size() 1431 if (WARN_ONCE(size < 0, in mem_cgroup_update_lru_size() 1433 __func__, lruvec, lru, nr_pages, size)) { in mem_cgroup_update_lru_size() 1612 u64 size; in memcg_stat_format() local 1614 size = memcg_page_state_output(memcg, memory_stats[i].idx); in memcg_stat_format() 1615 seq_buf_printf(s, "%s %llu\n", memory_stats[i].name, size); in memcg_stat_format() 1618 size += memcg_page_state_output(memcg, in memcg_stat_format() 1620 seq_buf_printf(s, "slab %llu\n", size); in memcg_stat_format() 3390 obj_cgroup_charge(struct obj_cgroup *objcg, gfp_t gfp, size_t size) obj_cgroup_charge() argument 3434 obj_cgroup_uncharge(struct obj_cgroup *objcg, size_t size) obj_cgroup_uncharge() argument 4334 int i, size, ret; __mem_cgroup_usage_register_event() local 4425 int i, j, size, entries; __mem_cgroup_usage_unregister_event() local 6718 u64 size; memory_numa_stat_show() local 7891 obj_cgroup_charge_zswap(struct obj_cgroup *objcg, size_t size) obj_cgroup_charge_zswap() argument 7918 obj_cgroup_uncharge_zswap(struct obj_cgroup *objcg, size_t size) obj_cgroup_uncharge_zswap() argument [all...] |