/kernel/linux/linux-5.10/mm/ |
H A D | vmscan.c | 228 unsigned long size = 0; in lruvec_lru_size() local 239 size += zone_page_state(zone, NR_ZONE_LRU_BASE + lru); in lruvec_lru_size() 242 return size; in lruvec_lru_size() 252 size += mem_cgroup_get_zone_lru_size(lruvec, lru, zid); in lruvec_lru_size() 254 size += zone_page_state(zone, NR_ZONE_LRU_BASE + lru); in lruvec_lru_size() 256 return size; in lruvec_lru_size() 264 unsigned int size = sizeof(*shrinker->nr_deferred); in prealloc_shrinker() local 267 size *= nr_node_ids; in prealloc_shrinker() 269 shrinker->nr_deferred = kzalloc(size, GFP_KERNEL); in prealloc_shrinker() 1557 * Update LRU sizes after isolating pages. The LRU size update [all...] |
/kernel/linux/linux-5.10/fs/reiserfs/ |
H A D | inode.c | 176 * The size of the cache could be dynamic based on the size of the file. 718 * If file is of such a size, that it might have a tail and in reiserfs_get_block() 908 * item(s) up to block size and convert it in reiserfs_get_block() 1092 * We need to mark new file size in case in reiserfs_get_block() 1284 * i_blocks based on file size. Just 2 notes: this can be in init_inode() 1374 static void inode2sd(void *sd, struct inode *inode, loff_t size) in inode2sd() argument 1381 set_sd_v2_size(sd_v2, size); in inode2sd() 1395 static void inode2sd_v1(void *sd, struct inode *inode, loff_t size) in inode2sd_v1() argument 1403 set_sd_v1_size(sd_v1, size); in inode2sd_v1() 1422 update_stat_data(struct treepath *path, struct inode *inode, loff_t size) update_stat_data() argument 1437 inode2sd_v1(ih_item_body(bh, ih), inode, size); update_stat_data() local 1439 inode2sd(ih_item_body(bh, ih), inode, size); update_stat_data() local 1445 reiserfs_update_sd_size(struct reiserfs_transaction_handle *th, struct inode *inode, loff_t size) reiserfs_update_sd_size() argument [all...] |
/kernel/linux/linux-6.6/drivers/mmc/host/ |
H A D | mmci.c | 528 "unsupported block size (%d bytes)\n", data->blksz); in mmci_validate_data() 887 * Limit the maximum segment size in any SG entry according to in mmci_dmae_setup() 1038 /* If less than or equal to the fifo size, don't bother with DMA */ in _mmci_dmae_prep_data() 1242 host->size = data->blksz * data->blocks; in mmci_start_data() 1252 writel(host->size, base + MMCIDATALENGTH); in mmci_start_data() 1269 (host->size < 8 || in mmci_start_data() 1270 (host->size <= 8 && host->mclk > 50000000))) in mmci_start_data() 1300 if (host->size < variant->fifohalfsize) in mmci_start_data() 1611 int host_remain = host->size; in mmci_pio_read() 1732 host->size in mmci_pio_irq() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/microsoft/mana/ |
H A D | mana_en.c | 98 ash->size[sg_i] = sge_len; in mana_add_sge() 102 tp->wqe_req.sgl[sg_i].size = sge_len; in mana_add_sge() 164 dma_unmap_page(dev, ash->dma_handle[i], ash->size[i], in mana_map_skb() 168 dma_unmap_single(dev, ash->dma_handle[i], ash->size[i], in mana_map_skb() 201 /* Get the GSO packet's header size */ 593 /* Get RX buffer's data size, alloc size, XDP headroom based on MTU */ 1336 hsg = (skb_is_gso(skb) && skb_headlen(skb) > ash->size[0]) ? 2 : 1; in mana_unmap_skb() 1339 dma_unmap_single(dev, ash->dma_handle[i], ash->size[i], in mana_unmap_skb() 1343 dma_unmap_page(dev, ash->dma_handle[i], ash->size[ in mana_unmap_skb() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/falcon/ |
H A D | falcon.c | 234 * SFC4000 small EEPROM (size < 0x400) is used for VPD only. 235 * SFC4000 large EEPROM (size >= 0x400) is partitioned into: 938 if (falcon_spi_present(spi) && spi->size > FALCON_FLASH_BOOTCODE_START) { in falcon_mtd_probe() 945 parts[n_parts].common.mtd.size = spi->size - FALCON_FLASH_BOOTCODE_START; in falcon_mtd_probe() 951 if (falcon_spi_present(spi) && spi->size > FALCON_EEPROM_BOOTCONFIG_START) { in falcon_mtd_probe() 958 parts[n_parts].common.mtd.size = in falcon_mtd_probe() 959 min(spi->size, FALCON_EEPROM_BOOTCONFIG_END) - in falcon_mtd_probe() 2157 spi_device->size = in falcon_spi_device_init() 2161 spi_device->munge_address = (spi_device->size in falcon_spi_device_init() [all...] |
/kernel/linux/linux-6.6/fs/reiserfs/ |
H A D | inode.c | 176 * The size of the cache could be dynamic based on the size of the file. 710 * If file is of such a size, that it might have a tail and in reiserfs_get_block() 900 * item(s) up to block size and convert it in reiserfs_get_block() 1084 * We need to mark new file size in case in reiserfs_get_block() 1275 * i_blocks based on file size. Just 2 notes: this can be in init_inode() 1364 static void inode2sd(void *sd, struct inode *inode, loff_t size) in inode2sd() argument 1371 set_sd_v2_size(sd_v2, size); in inode2sd() 1385 static void inode2sd_v1(void *sd, struct inode *inode, loff_t size) in inode2sd_v1() argument 1393 set_sd_v1_size(sd_v1, size); in inode2sd_v1() 1412 update_stat_data(struct treepath *path, struct inode *inode, loff_t size) update_stat_data() argument 1427 inode2sd_v1(ih_item_body(bh, ih), inode, size); update_stat_data() local 1429 inode2sd(ih_item_body(bh, ih), inode, size); update_stat_data() local 1435 reiserfs_update_sd_size(struct reiserfs_transaction_handle *th, struct inode *inode, loff_t size) reiserfs_update_sd_size() argument [all...] |
/kernel/linux/linux-6.6/drivers/staging/media/av7110/ |
H A D | av7110.c | 511 event.u.size.w = av7110->video_size.w; in gpioirq() 512 event.u.size.h = av7110->video_size.h; in gpioirq() 517 event.u.size.aspect_ratio = VIDEO_FORMAT_16_9; in gpioirq() 522 event.u.size.aspect_ratio = VIDEO_FORMAT_221_1; in gpioirq() 527 event.u.size.aspect_ratio = VIDEO_FORMAT_4_3; in gpioirq() 1482 printk("dvb-ttpci: root file has strange size (%d). aborting.\n", len); in check_firmware() 1517 if (fw->size <= 200000) { in get_firmware() 1524 av7110->bin_fw = vmalloc(fw->size); in get_firmware() 1531 memcpy(av7110->bin_fw, fw->data, fw->size); in get_firmware() 1532 av7110->size_fw = fw->size; in get_firmware() [all...] |
/kernel/linux/linux-6.6/drivers/bus/ |
H A D | ti-sysc.c | 99 * @module_size: size of the interconnect target module 663 ddata->module_size = range.size; in sysc_parse_and_check_child_range() 792 * register size to configure things far enough to be able to properly read 900 int size; in sysc_ioremap() local 905 size = ddata->module_size; in sysc_ioremap() 907 size = max3(ddata->offsets[SYSC_REVISION], in sysc_ioremap() 911 if (size < SZ_1K) in sysc_ioremap() 912 size = SZ_1K; in sysc_ioremap() 914 if ((size + sizeof(u32)) > ddata->module_size) in sysc_ioremap() 915 size in sysc_ioremap() [all...] |
/kernel/linux/linux-6.6/drivers/cxl/core/ |
H A D | region.c | 27 * 2. Interleave size 523 static int alloc_hpa(struct cxl_region *cxlr, resource_size_t size) in alloc_hpa() argument 533 if (p->res && resource_size(p->res) == size) in alloc_hpa() 536 /* To change size the old size must be freed first */ in alloc_hpa() 548 div64_u64_rem(size, (u64)SZ_256M * p->interleave_ways, &remainder); in alloc_hpa() 552 res = alloc_free_mem_region(cxlrd->res, size, SZ_256M, in alloc_hpa() 633 u64 size = 0; in size_show() local 640 size = resource_size(p->res); in size_show() 641 rc = sysfs_emit(buf, "%#llx\n", size); in size_show() [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/mlx5/ |
H A D | fs.c | 135 #define LAST_DROP_FIELD size 602 ib_spec = (void *)ib_spec + ib_spec->size; in is_valid_ethertype() 1080 ib_flow += ((union ib_flow_spec *)ib_flow)->size; in _create_flow_rule() 1193 .size = sizeof(leftovers_specs[0]) in create_leftovers_rule() 1197 .size = sizeof(struct ib_flow_spec_eth), in create_leftovers_rule() 1205 .size = sizeof(leftovers_specs[0]) in create_leftovers_rule() 1209 .size = sizeof(struct ib_flow_spec_eth), in create_leftovers_rule() 1248 .size = sizeof(flow_attr) in create_sniffer_rule() 2631 reformat_params.size = len; in mlx5_ib_flow_action_create_packet_reformat_ctx()
|
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7615/ |
H A D | mcu.c | 706 dev_err(dev->mt76.dev, "Bcn size limit exceed\n"); in mt7615_mcu_add_beacon_offload() 1082 dev_err(dev->mt76.dev, "beacon size limit exceed\n"); in mt7615_mcu_uni_add_beacon_offload() 1231 if (!fw || !fw->data || fw->size < sizeof(*hdr)) { in mt7615_load_patch() 1254 len = fw->size - sizeof(*hdr); in mt7615_load_patch() 1336 if (!fw || !fw->data || fw->size < N9_REGION_NUM * sizeof(*hdr)) { in mt7615_load_n9() 1342 hdr = (const struct mt7615_fw_trailer *)(fw->data + fw->size - in mt7615_load_n9() 1387 if (!fw || !fw->data || fw->size < CR4_REGION_NUM * sizeof(*hdr)) { in mt7615_load_cr4() 1393 hdr = (const struct mt7615_fw_trailer *)(fw->data + fw->size - in mt7615_load_cr4() 1529 if (!fw || !fw->data || fw->size < FW_V3_COMMON_TAILER_SIZE) { in mt7663_load_n9() 1535 hdr = (const void *)(fw->data + fw->size in mt7663_load_n9() [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_main.c | 1330 for (i = 0; i < htbl->size; i++) { in __ipoib_reap_neigh() 1522 u32 size; in ipoib_neigh_hash_init() local 1529 size = roundup_pow_of_two(arp_tbl.gc_thresh3); in ipoib_neigh_hash_init() 1530 buckets = kvcalloc(size, sizeof(*buckets), GFP_KERNEL); in ipoib_neigh_hash_init() 1535 htbl->size = size; in ipoib_neigh_hash_init() 1536 htbl->mask = (size - 1); in ipoib_neigh_hash_init() 1579 for (i = 0; i < htbl->size; i++) { in ipoib_del_neighs_by_gid() 1624 for (i = 0; i < htbl->size; i++) { in ipoib_flush_neighs()
|
/kernel/linux/linux-6.6/sound/pci/ |
H A D | intel8x0.c | 315 unsigned int size; member 643 if (ichdev->size == ichdev->fragsize) { in snd_intel8x0_setup_periods() 650 bdbar[idx + 2] = cpu_to_le32(ichdev->physbuf + (ichdev->size >> 1)); in snd_intel8x0_setup_periods() 661 ichdev->size)); in snd_intel8x0_setup_periods() 669 ichdev->frags = ichdev->size / ichdev->fragsize; in snd_intel8x0_setup_periods() 721 ichdev->position %= ichdev->size; in snd_intel8x0_update() 979 ichdev->size = snd_pcm_lib_buffer_bytes(substream); in snd_intel8x0_pcm_prepare() 1040 if (ptr >= ichdev->size) in snd_intel8x0_pcm_pointer() 2662 ichdev->size = ichdev->fragsize = INTEL8X0_TESTBUF_SIZE; in intel8x0_measure_ac97_clock()
|
/kernel/linux/linux-6.6/sound/soc/ |
H A D | soc-pcm.c | 111 int stream, char *buf, size_t size) in dpcm_show_state() 118 offset += scnprintf(buf + offset, size - offset, in dpcm_show_state() 122 offset += scnprintf(buf + offset, size - offset, "State: %s\n", in dpcm_show_state() 127 offset += scnprintf(buf + offset, size - offset, in dpcm_show_state() 135 offset += scnprintf(buf + offset, size - offset, "Backends:\n"); in dpcm_show_state() 138 offset += scnprintf(buf + offset, size - offset, in dpcm_show_state() 147 offset += scnprintf(buf + offset, size - offset, in dpcm_show_state() 150 offset += scnprintf(buf + offset, size - offset, in dpcm_show_state() 156 offset += scnprintf(buf + offset, size - offset, in dpcm_show_state() 110 dpcm_show_state(struct snd_soc_pcm_runtime *fe, int stream, char *buf, size_t size) dpcm_show_state() argument
|
/kernel/linux/linux-6.6/tools/lib/bpf/ |
H A D | linker.c | 114 /* final output section size */ 1113 /* no need to re-align final size */ in extend_sec() 1134 /* pad dst section, if it's alignment forced size increase */ in extend_sec() 1375 if (t1->size != t2->size) { in glob_sym_btf_matches() 1376 pr_warn("global '%s': incompatible %s '%s' size %u and %u\n", in glob_sym_btf_matches() 1377 sym_name, btf_kind_str(t1), n1, t1->size, t2->size); in glob_sym_btf_matches() 1391 /* ignore index type and array size */ in glob_sym_btf_matches() 1507 /* check key type/size matc in map_defs_match() [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | vaapi_encode.c | 529 av_assert0(roi_size && sd->size % roi_size == 0); in vaapi_encode_issue() 530 nb_roi = sd->size / roi_size; in vaapi_encode_issue() 678 total_size += buf->size; in vaapi_encode_output() 688 "(status %08x).\n", buf->size, buf->status); in vaapi_encode_output() 690 memcpy(ptr, buf->buf, buf->size); in vaapi_encode_output() 691 ptr += buf->size; in vaapi_encode_output() 1281 void *buffer, size_t size) in vaapi_encode_add_global_param() 1289 ctx->global_params_size[ctx->nb_global_params] = size; in vaapi_encode_add_global_param() 1697 // Convergence period in frames. The GOP size reflects the in vaapi_encode_init_rate_control() 1698 // user's intended block size fo in vaapi_encode_init_rate_control() 1280 vaapi_encode_add_global_param(AVCodecContext *avctx, int type, void *buffer, size_t size) vaapi_encode_add_global_param() argument 2412 vaapi_encode_alloc_output_buffer(void *opaque, size_t size) vaapi_encode_alloc_output_buffer() argument [all...] |
/third_party/glfw/src/ |
H A D | x11_window.c | 440 size_t size = 1; in convertLatin1toUTF8() local 444 size += (*sp & 0x80) ? 2 : 1; in convertLatin1toUTF8() 446 char* target = _glfw_calloc(size, 1); in convertLatin1toUTF8() 715 _glfwInputError(GLFW_OUT_OF_MEMORY, "X11: Failed to allocate size hints"); in createNativeWindow() 1007 size_t size = 1; in getSelectionString() local 1036 size += itemCount; in getSelectionString() 1037 string = _glfw_realloc(string, size); in getSelectionString() 1038 string[size - itemCount - 1] = '\0'; in getSelectionString() 2956 const int size = XcursorGetDefaultSize(_glfw.x11.display); in _glfwCreateStandardCursorX11() local 2993 XcursorImage* image = XcursorLibraryLoadImage(name, theme, size); in _glfwCreateStandardCursorX11() [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/normalizer/ |
H A D | BasicTest.java | 1702 int size = 0; in TestCheckFCD() 1709 while (size != 19) { in TestCheckFCD() 1710 data[size] = datachar[rand.nextInt(RAND_MAX)*50/RAND_MAX]; in TestCheckFCD() 1711 logln("0x"+data[size]); in TestCheckFCD() 1712 normStart += Normalizer.normalize(data,size,size+1, in TestCheckFCD() 1715 size ++; in TestCheckFCD() 1719 nfdsize = Normalizer.normalize(data,0,size, nfd,0,nfd.length,Normalizer.NFD,0); in TestCheckFCD() 1720 // nfdsize = unorm_normalize(data, size, UNORM_NFD, UCOL_IGNORE_HANGUL, in TestCheckFCD() 2375 int numCombineBack=combineBack.size(); in initSkippables() [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/ |
H A D | BasicTest.java | 1699 int size = 0; in TestCheckFCD() 1706 while (size != 19) { in TestCheckFCD() 1707 data[size] = datachar[rand.nextInt(RAND_MAX)*50/RAND_MAX]; in TestCheckFCD() 1708 logln("0x"+data[size]); in TestCheckFCD() 1709 normStart += Normalizer.normalize(data,size,size+1, in TestCheckFCD() 1712 size ++; in TestCheckFCD() 1716 nfdsize = Normalizer.normalize(data,0,size, nfd,0,nfd.length,Normalizer.NFD,0); in TestCheckFCD() 1717 // nfdsize = unorm_normalize(data, size, UNORM_NFD, UCOL_IGNORE_HANGUL, in TestCheckFCD() 2372 int numCombineBack=combineBack.size(); in initSkippables() [all...] |
/third_party/libbpf/src/ |
H A D | linker.c | 114 /* final output section size */ 1113 /* no need to re-align final size */ in extend_sec() 1134 /* pad dst section, if it's alignment forced size increase */ in extend_sec() 1375 if (t1->size != t2->size) { in glob_sym_btf_matches() 1376 pr_warn("global '%s': incompatible %s '%s' size %u and %u\n", in glob_sym_btf_matches() 1377 sym_name, btf_kind_str(t1), n1, t1->size, t2->size); in glob_sym_btf_matches() 1391 /* ignore index type and array size */ in glob_sym_btf_matches() 1507 /* check key type/size matc in map_defs_match() [all...] |
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_serialize.c | 2072 size_t size = nir_xfb_info_size(xfb->output_count); in write_xfb_info() local 2073 assert(size <= UINT32_MAX); in write_xfb_info() 2074 blob_write_uint32(ctx->blob, size); in write_xfb_info() 2075 blob_write_bytes(ctx->blob, xfb, size); in write_xfb_info() 2082 uint32_t size = blob_read_uint32(ctx->blob); in read_xfb_info() local 2083 if (size == 0) in read_xfb_info() 2086 struct nir_xfb_info *xfb = ralloc_size(ctx->nir, size); in read_xfb_info() 2087 blob_copy_bytes(ctx->blob, (void *)xfb, size); in read_xfb_info() 2229 blob_reader_init(&reader, writer.data, writer.size); in nir_shader_serialize_deserialize()
|
/third_party/ntfs-3g/libntfs-3g/ |
H A D | dir.c | 292 ntfs_log_error("Index block size %u is invalid.\n", in ntfs_inode_lookup_by_name() 386 /* Determine the size of a vcn in the directory index. */ in ntfs_inode_lookup_by_name() 949 * @ivcn_bits: log(2) of index vcn size 1195 /* Determine the size of a vcn in the directory index. */ in ntfs_readdir() 1199 ntfs_log_error("Index block size %u is invalid.\n", in ntfs_readdir() 1299 "size.\n"); in ntfs_readdir() 1546 * unless NTFS version < 3.0 or cluster size > 4K in __ntfs_create() 2333 * Returns size if found 2385 * Returns size if found 2456 char *value, size_t size) in ntfs_get_ntfs_dos_name() 2455 ntfs_get_ntfs_dos_name(ntfs_inode *ni, ntfs_inode *dir_ni, char *value, size_t size) ntfs_get_ntfs_dos_name() argument 2676 ntfs_set_ntfs_dos_name(ntfs_inode *ni, ntfs_inode *dir_ni, const char *value, size_t size, int flags) ntfs_set_ntfs_dos_name() argument [all...] |
/third_party/node/deps/openssl/openssl/crypto/aes/asm/ |
H A D | aes-armv4.pl | 195 .size AES_Te,.-AES_Te 309 .size AES_encrypt,.-AES_encrypt 446 .size _armv4_AES_encrypt,.-_armv4_AES_encrypt 752 .size AES_set_encrypt_key,.-AES_set_encrypt_key 767 .size AES_set_decrypt_key,.-AES_set_decrypt_key 869 .size AES_set_enc2dec_key,.-AES_set_enc2dec_key 971 .size AES_Td,.-AES_Td 1085 .size AES_decrypt,.-AES_decrypt 1231 .size _armv4_AES_decrypt,.-_armv4_AES_decrypt
|
/third_party/node/deps/openssl/openssl/crypto/sha/asm/ |
H A D | keccak1600-armv4.pl | 154 .size iotas32,.-iotas32 704 .size KeccakF1600_int,.-KeccakF1600_int 750 .size KeccakF1600,.-KeccakF1600 932 .size SHA3_absorb,.-SHA3_absorb 1089 .size SHA3_squeeze,.-SHA3_squeeze 1124 .size iotas64,.-iotas64 1299 .size KeccakF1600_neon,.-KeccakF1600_neon 1474 .size SHA3_absorb_neon,.-SHA3_absorb_neon 1595 .size SHA3_squeeze_neon,.-SHA3_squeeze_neon
|
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/ |
H A D | PhoneNumberUtil.java | 708 if (regionCodes.size() == 1 && REGION_CODE_FOR_NON_GEO_ENTITY.equals(regionCodes.get(0))) { in PhoneNumberUtil() 1949 (intlNumberFormats.size() == 0 || numberFormat == PhoneNumberFormat.NATIONAL) in formatNsn() 1961 int size = numFormat.getLeadingDigitsPatternCount(); in chooseFormattingPatternForNumber() 1962 if (size == 0 || regexCache.getPatternForRegex( in chooseFormattingPatternForNumber() 1964 numFormat.getLeadingDigitsPattern(size - 1)).matcher(nationalNumber).lookingAt()) { in chooseFormattingPatternForNumber() 2343 if (possibleLengths.size() > 0 && !possibleLengths.contains(actualLength)) { in isNumberMatchingDesc() 2411 if (regions.size() == 1) { in getRegionCodeForNumber() 2612 // For size efficiency, where a sub-description (e.g. fixed-line) has the same possibleLengths in testNumberLength() 2670 } else if (possibleLengths.get(possibleLengths.size() - 1) < actualLength) { in testNumberLength() 2674 return possibleLengths.subList(1, possibleLengths.size()) in testNumberLength() [all...] |