/kernel/linux/linux-6.6/fs/ocfs2/ |
H A D | dir.c | 1186 int size, this_hole, largest_hole = 0; in ocfs2_find_max_rec_len() local 1191 size = ocfs2_dir_trailer_blk_off(sb); in ocfs2_find_max_rec_len() 1192 limit = start + size; in ocfs2_find_max_rec_len() 1592 unsigned int size = sb->s_blocksize; in __ocfs2_add_entry() local 1627 size = i_size_read(dir); in __ocfs2_add_entry() 1636 BUG_ON((char *)de >= (size + data_start)); in __ocfs2_add_entry() 1652 mlog_bug_on_msg(ocfs2_skip_dir_trailer(dir, de, offset, size), in __ocfs2_add_entry() 2154 unsigned int size) in ocfs2_fill_initial_dirents() 2167 de->rec_len = cpu_to_le16(size - OCFS2_DIR_REC_LEN(1)); in ocfs2_fill_initial_dirents() 2188 unsigned int size in ocfs2_fill_new_dir_id() local 2151 ocfs2_fill_initial_dirents(struct inode *inode, struct inode *parent, char *start, unsigned int size) ocfs2_fill_initial_dirents() argument 2221 unsigned int size = osb->sb->s_blocksize; ocfs2_fill_new_dir_el() local 2247 int size = le16_to_cpu(de->rec_len); ocfs2_fill_new_dir_el() local 3504 dx_leaf_sort_swap(void *a, void *b, int size) dx_leaf_sort_swap() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/ |
H A D | evergreen_cs.c | 451 unsigned long tmp, nby, bsize, size, min = 0; in evergreen_cs_track_validate_cb() local 460 size = nby * surf.nbx * surf.bpe * surf.nsamples; in evergreen_cs_track_validate_cb() 461 if ((tmp + size * mslice) <= bsize) { in evergreen_cs_track_validate_cb() 478 dev_warn(p->dev, "%s:%d cb[%d] bo too small (layer size %d, " in evergreen_cs_track_validate_cb() 479 "offset %d, max layer %d, bo size %ld, slice %d)\n", in evergreen_cs_track_validate_cb() 499 unsigned long size; in evergreen_cs_track_validate_htile() local 547 /* size must be aligned on npipes * 2K boundary */ in evergreen_cs_track_validate_htile() 548 size = roundup(nbx * nby * 4, track->npipes * (2 << 10)); in evergreen_cs_track_validate_htile() 549 size += track->htile_offset; in evergreen_cs_track_validate_htile() 551 if (size > radeon_bo_siz in evergreen_cs_track_validate_htile() 2032 u64 size = pkt->opcode == PACKET3_DRAW_INDIRECT ? 16 : 20; evergreen_packet3_check() local 2113 u32 command, size, info; evergreen_packet3_check() local 2349 u32 size, offset, mip_address, tex_dim; evergreen_packet3_check() local [all...] |
/test/xts/hats/hdf/wlan/wifi/hal/ |
H A D | wifi_hal_test.cpp | 1596 uint32_t size = MAX_CHANNEL_NUM; 1602 ret = staFeature->baseFeature.getValidFreqsWithBand(nullptr, band, freqs, size, &num); 1620 uint32_t size = MAX_CHANNEL_NUM; 1626 ret = staFeature->baseFeature.getValidFreqsWithBand(nullptr, band, freqs, size, &num); 1629 band, nullptr, size, &num); 1670 uint32_t size = MAX_CHANNEL_NUM; 1676 band, freqs, size, nullptr); 1694 uint32_t size = MAX_CHANNEL_NUM; 1701 bandNotSupport, freqs, size, &num); 1719 uint32_t size [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | vp9.c | 129 memset(f->extradata->data, 0, f->extradata->size); in vp9_frame_alloc() 503 const uint8_t *data, int size, int *ref) in decode_frame_header() 511 if ((ret = init_get_bits8(&s->gb, data, size)) < 0) { in decode_frame_header() 551 if (get_bits1(&s->gb)) // display size in decode_frame_header() 576 if (get_bits1(&s->gb)) // display size in decode_frame_header() 610 if (get_bits1(&s->gb)) // display size in decode_frame_header() 836 "Invalid ref frame dimensions %dx%d for frame size %dx%d\n", in decode_frame_header() 871 // next 16 bits is size of the rest of the header (arith-coded) in decode_frame_header() 876 if (size2 > size - (data2 - data)) { in decode_frame_header() 877 av_log(avctx, AV_LOG_ERROR, "Invalid compressed header size\ in decode_frame_header() 502 decode_frame_header(AVCodecContext *avctx, const uint8_t *data, int size, int *ref) decode_frame_header() argument 1258 decode_tiles(AVCodecContext *avctx, const uint8_t *data, int size) decode_tiles() argument 1557 int size = pkt->size; vp9_decode_frame() local [all...] |
/third_party/ltp/tools/sparse/sparse-src/ |
H A D | evaluate.c | 188 * If size(signed type) > size(unsigned type) 590 /* Get the size of whatever the pointer points to */ in evaluate_ptr_add() 851 info(expr->pos, " '%s' has a non-power-of-2 size: %lu", show_typename(lbase), value); in evaluate_ptr_sub() 2207 int size; in evaluate_sizeof() local 2213 size = type->bit_size; in evaluate_sizeof() 2215 if (size < 0 && is_void_type(type)) { in evaluate_sizeof() 2218 size = bits_in_char; in evaluate_sizeof() 2224 size = bits_to_bytes(bits_in_bool) * bits_in_char; in evaluate_sizeof() 2230 size in evaluate_sizeof() 2237 struct expression *base, *size; evaluate_sizeof() local 2281 int size; evaluate_ptrsizeof() local [all...] |
/third_party/node/deps/v8/src/codegen/s390/ |
H A D | constants-s390.h | 1949 uint32_t size = (sizeof(T) == 8) ? 6 : sizeof(T); in InstructionBits() 1951 for (T i = 0; i < size; i++) { in InstructionBits() 2069 inline int size() const { return 2; } in size() function in v8::internal::TwoByteInstruction 2074 inline int size() const { return 4; } in size() function in v8::internal::FourByteInstruction 2079 inline int size() const { return 6; } in size() function in v8::internal::SixByteInstruction 2128 inline int size() const { return 2; } in size() function in v8::internal::RRInstruction 2138 inline int size() const { return 4; } in size() function in v8::internal::RREInstruction 2149 inline int size() const { return 4; } in size() function in v8::internal::RRFInstruction 2158 inline int size() const { return 4; } in size() function in v8::internal::RRDInstruction 2170 inline int size() cons in D2Value() function in v8::internal::RSInstruction 2181 inline int size() const { return 4; } size() function in v8::internal::RSIInstruction 2195 inline int size() const { return 6; } size() function in v8::internal::RSYInstruction 2207 inline int size() const { return 4; } size() function in v8::internal::RXInstruction 2221 inline int size() const { return 6; } size() function in v8::internal::RXYInstruction 2232 inline int size() const { return 6; } size() function in v8::internal::RILInstruction 2245 inline int size() const { return 4; } size() function in v8::internal::SIInstruction 2258 inline int size() const { return 6; } size() function in v8::internal::SIYInstruction 2267 inline int size() const { return 6; } size() function in v8::internal::SILInstruction 2278 inline int size() const { return 6; } size() function in v8::internal::SSInstruction 2288 inline int size() const { return 6; } size() function in v8::internal::RXEInstruction 2302 inline int size() const { return 6; } size() function in v8::internal::RIEInstruction [all...] |
/third_party/mesa3d/src/gallium/drivers/r600/ |
H A D | r600_state.c | 506 /* Force the point size to be as if the vertex output was disabled. */ in r600_create_rs_state() 538 /* point size 12.4 fixed point (divide by two, because 0.5 = 1 pixel. */ in r600_create_rs_state() 636 unsigned size = view->base.u.buf.size; in texture_buffer_sampler_view() local 646 view->tex_resource_words[1] = size - 1; in texture_buffer_sampler_view() 926 (desc->channel[i].size < 12 && in r600_init_color_surface() 942 ((desc->channel[i].size < 12 && in r600_init_color_surface() 945 (desc->channel[i].size < 17 && in r600_init_color_surface() 963 if (rtex->cmask.size) { in r600_init_color_surface() 967 if (rtex->fmask.size) { in r600_init_color_surface() 2868 unsigned array_mode, lbpp, pitch_tile_max, slice_tile_max, size; r600_dma_copy_tile() local 3011 uint64_t dst_offset, src_offset, size; r600_dma_copy() local [all...] |
/third_party/node/deps/openssl/openssl/crypto/aes/asm/ |
H A D | vpaes-armv8.pl | 145 .size _vpaes_consts,.-_vpaes_consts 173 .size _vpaes_encrypt_preheat,.-_vpaes_encrypt_preheat 257 .size _vpaes_encrypt_core,.-_vpaes_encrypt_core 275 .size vpaes_encrypt,.-vpaes_encrypt 380 .size _vpaes_encrypt_2x,.-_vpaes_encrypt_2x 393 .size _vpaes_decrypt_preheat,.-_vpaes_decrypt_preheat 490 .size _vpaes_decrypt_core,.-_vpaes_decrypt_core 508 .size vpaes_decrypt,.-vpaes_decrypt 643 .size _vpaes_decrypt_2x,.-_vpaes_decrypt_2x 673 .size _vpaes_key_prehea [all...] |
/third_party/pcre2/pcre2/src/sljit/ |
H A D | sljitNativePPC_common.c | 280 compiler->size++; in push_inst() 302 target_addr = (sljit_uw)(code + jump->u.label->size) + (sljit_uw)executable_offset; in detect_jump_type() 427 compiler->size += (compiler->size & 0x1) + (sizeof(struct sljit_function_context) / sizeof(sljit_ins)); in sljit_generate_code() 429 compiler->size += (sizeof(struct sljit_function_context) / sizeof(sljit_ins)); in sljit_generate_code() 432 code = (sljit_ins*)SLJIT_MALLOC_EXEC(compiler->size * sizeof(sljit_ins), compiler->exec_allocator_data); in sljit_generate_code() 452 SLJIT_ASSERT(!label || label->size >= word_count); in sljit_generate_code() 458 if (label && label->size == word_count) { in sljit_generate_code() 461 label->size = (sljit_uw)(code_ptr - code); in sljit_generate_code() 513 code_ptr += put_label_get_length(put_label, (sljit_uw)(SLJIT_ADD_EXEC_OFFSET(code, executable_offset) + put_label->label->size)); in sljit_generate_code() 1869 sljit_emit_op_custom(struct sljit_compiler *compiler, void *instruction, sljit_u32 size) sljit_emit_op_custom() argument [all...] |
/third_party/openssl/crypto/aes/asm/ |
H A D | vpaes-armv8.pl | 145 .size _vpaes_consts,.-_vpaes_consts 177 .size _vpaes_encrypt_preheat,.-_vpaes_encrypt_preheat 262 .size _vpaes_encrypt_core,.-_vpaes_encrypt_core 280 .size vpaes_encrypt,.-vpaes_encrypt 386 .size _vpaes_encrypt_2x,.-_vpaes_encrypt_2x 401 .size _vpaes_decrypt_preheat,.-_vpaes_decrypt_preheat 500 .size _vpaes_decrypt_core,.-_vpaes_decrypt_core 518 .size vpaes_decrypt,.-vpaes_decrypt 655 .size _vpaes_decrypt_2x,.-_vpaes_decrypt_2x 689 .size _vpaes_key_prehea [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/ |
H A D | CodeViewDebug.cpp | 195 // that would increase the IR size and probably not needed for other users. in getFullFilepath() 240 unsigned NextId = FileIdMap.size() + 1; in maybeRecordFile() 248 void *CKMem = OS.getContext().allocate(Checksum.size(), 1); in maybeRecordFile() 249 memcpy(CKMem, Checksum.data(), Checksum.size()); in maybeRecordFile() 251 reinterpret_cast<const uint8_t *>(CKMem), Checksum.size()); in maybeRecordFile() 417 if (TypeArray.size()) in getFunctionOptions() 630 // overall record size is less than the maximum allowed. in emitNullTerminatedSymbolName() 696 assert(GHR.Hash.size() == 8); in emitTypeGlobalHashes() 698 GHR.Hash.size()); in emitTypeGlobalHashes() 964 OS.AddComment("Code size"); in emitDebugInfoForThunk() [all...] |
/third_party/skia/third_party/externals/imgui/ |
H A D | imgui_internal.h | 293 static inline ImGuiID ImHash(const void* data, int size, ImU32 seed = 0) { return size ? ImHashData(data, (size_t)size, seed) : ImHashStr((const char*)data, 0, seed); } // [moved to ImHashStr/ImHashData in 1.68] in ImHash() argument 376 IMGUI_API ImU64 ImFileRead(void* data, ImU64 size, ImU64 count, ImFileHandle file); 377 IMGUI_API ImU64 ImFileWrite(const void* data, ImU64 size, ImU64 count, ImFileHandle file); 465 // Helper: ImVec2ih (2D vector, half-size integer, for long-term packed storage) 567 inline ImSpan(T* data, int size) { Data = data; DataEnd = data + size; } 570 inline void set(T* data, int size) { Data = data; DataEnd = data + size; } [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/ |
H A D | AddressSanitizer.cpp | 251 "asan-max-inline-poisoning-size", 253 "Inline shadow poisoning for blocks up to the given size in bytes."), 604 assert(CI && "non-constant array size"); in getAllocaSizeInBytes() 1053 // If size argument is undefined, don't do anything. in visitIntrinsicInst() 1055 // Check that size doesn't saturate uint64_t and can in visitIntrinsicInst() 1329 // alloca() may be called with 0 size, ignore it. in isInterestingAlloca() 1646 // (Addr & (Granularity - 1)) + size - 1 in createSlowPathCmp() 1650 // (uint8_t) ((Addr & (Granularity-1)) + size - 1) in createSlowPathCmp() 1653 // ((uint8_t) ((Addr & (Granularity-1)) + size - 1)) >= ShadowValue in createSlowPathCmp() 1735 // Instrument unusual size o [all...] |
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fDrawTests.cpp | 221 static std::string sizeToString (int size) in sizeToString() argument 223 if (size < 1024) in sizeToString() 224 return de::toString(size) + " byte(s)"; in sizeToString() 225 if (size < 1024*1024) in sizeToString() 226 return de::toString(size / 1024) + " KB"; in sizeToString() 227 return de::toString(size / 1024 / 1024) + " MB"; in sizeToString() 868 ctx.bufferData(GL_ARRAY_BUFFER, offsets.size() * sizeof(tcu::Vec4), &offsets[0], GL_STATIC_DRAW); in renderTo() 875 ctx.bufferData(GL_ARRAY_BUFFER, colors.size() * sizeof(tcu::Vec4), &colors[0], GL_STATIC_DRAW); in renderTo() 974 const std::string desc = std::string("DrawArraysIndirect, Grid size ") + de::toString(gridWidths[ndx]) + "x" + de::toString(gridWidths[ndx]); in init() 983 const std::string desc = std::string("DrawElementsIndirect, Grid size ") in init() [all...] |
/kernel/linux/linux-6.6/tools/lib/bpf/ |
H A D | libbpf.c | 422 * entry-point BPF programs this includes the size of main program 472 * kern_vdata-size == sizeof(struct bpf_struct_ops_tcp_congestion_ops) 753 pr_warn("sec '%s': corrupted program '%s', offset %zu, size %zu\n", in bpf_object__init_prog() 852 pr_debug("sec '%s': found program '%s' at insn offset %zu (%zu bytes), code size %zu insns (%zu bytes)\n", in bpf_object__add_programs() 1015 map->def.value_size = kern_vtype->size; in bpf_map__init_kern_struct_ops() 1018 st_ops->kern_vdata = calloc(1, kern_vtype->size); in bpf_map__init_kern_struct_ops() 1105 pr_warn("struct_ops init_kern %s: Error in size of member %s: %zd != %zd(kernel)\n", in bpf_map__init_kern_struct_ops() 1201 map->def.value_size = type->size; in init_struct_ops_maps() 1209 st_ops->data = malloc(type->size); in init_struct_ops_maps() 1216 if (vsi->offset + type->size > dat in init_struct_ops_maps() 1411 bpf_object__init_license(struct bpf_object *obj, void *data, size_t size) bpf_object__init_license() argument 1426 bpf_object__init_kversion(struct bpf_object *obj, void *data, size_t size) bpf_object__init_kversion() argument 1448 find_elf_sec_sz(const struct bpf_object *obj, const char *name, __u32 *size) find_elf_sec_sz() argument 2914 __u32 size = 0, i, vars = btf_vlen(t); btf_fixup_datasec() local 9550 bpf_map__set_key_size(struct bpf_map *map, __u32 size) bpf_map__set_key_size() argument 9563 map_btf_datasec_resize(struct bpf_map *map, __u32 size) map_btf_datasec_resize() argument 9634 bpf_map__set_value_size(struct bpf_map *map, __u32 size) bpf_map__set_value_size() argument 9674 bpf_map__set_initial_value(struct bpf_map *map, const void *data, size_t size) bpf_map__set_initial_value() argument 12636 uint32_t size; global() member [all...] |
/kernel/linux/linux-5.10/drivers/net/usb/ |
H A D | r8152.c | 1034 int get_registers(struct r8152 *tp, u16 value, u16 index, u16 size, void *data) in get_registers() argument 1039 tmp = kmalloc(size, GFP_KERNEL); in get_registers() 1045 value, index, tmp, size, USB_CTRL_GET_TIMEOUT); in get_registers() 1047 memset(data, 0xff, size); in get_registers() 1049 memcpy(data, tmp, size); in get_registers() 1057 int set_registers(struct r8152 *tp, u16 value, u16 index, u16 size, void *data) in set_registers() argument 1062 tmp = kmemdup(data, size, GFP_KERNEL); in set_registers() 1068 value, index, tmp, size, USB_CTRL_SET_TIMEOUT); in set_registers() 1083 static int generic_ocp_read(struct r8152 *tp, u16 index, u16 size, in generic_ocp_read() argument 1092 /* both size an in generic_ocp_read() 1126 generic_ocp_write(struct r8152 *tp, u16 index, u16 byteen, u16 size, void *data, u16 type) generic_ocp_write() argument 1197 pla_ocp_read(struct r8152 *tp, u16 index, u16 size, void *data) pla_ocp_read() argument 1203 pla_ocp_write(struct r8152 *tp, u16 index, u16 byteen, u16 size, void *data) pla_ocp_write() argument 1209 usb_ocp_write(struct r8152 *tp, u16 index, u16 byteen, u16 size, void *data) usb_ocp_write() argument 3729 rtl8152_fw_verify_checksum(struct r8152 *tp, struct fw_header *fw_hdr, size_t size) rtl8152_fw_verify_checksum() argument [all...] |
/third_party/node/deps/v8/src/wasm/ |
H A D | function-body-decoder-impl.h | 240 // We use capacity over size so this works mid-DecodeTypeSection. in read_heap_type() 350 // We use capacity over size so this works mid-DecodeTypeSection. in read_value_type() 1008 const Value& src, const Value& size) \ 1011 const Value& src, const Value& size) \ 1013 const Value& value, const Value& size) \ 1093 DCHECK_EQ(num_locals_, local_types_.size()); in num_locals() 1101 DCHECK_EQ(0, this->local_types_.size()); in InitializeLocalsFromSig() 1103 num_locals_ = static_cast<uint32_t>(sig_->parameters().size()); in InitializeLocalsFromSig() 1144 DCHECK_LE(local_types_.size(), kV8MaxWasmFunctionLocals); in DecodeLocals() 1145 if (!VALIDATE(count <= kV8MaxWasmFunctionLocals - local_types_.size())) { in DecodeLocals() 3702 int size = static_cast<int>(arg_types.size()); PeekArgs() local 5009 Value size = Peek(0, 2, kWasmI32); DecodeNumericOpcode() local 5029 Value size = Peek(0, 2, mem_type); DecodeNumericOpcode() local 5040 Value size = Peek(0, 2, mem_type); DecodeNumericOpcode() local [all...] |
/third_party/node/test/fixtures/postject-copy/node_modules/postject/dist/ |
H A D | api.js | [all...] |
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/flashboot/secure/ |
H A D | crypto.c | 738 hi_u32 size = para->cryptoed_size + buf_len; in upg_check_encrypt() local 739 if (size > para->crypto_total_size) { in upg_check_encrypt() 752 ret = hi_flash_write(para->kernel_addr + para->crypto_end_addr, size - para->crypto_total_size, in upg_check_encrypt() 759 } else if (size == para->crypto_total_size) { in upg_check_encrypt() 989 hi_u32 size = para->cryptoed_size + buf_len; in upg_check_decrypt() local 990 if (size > para->crypto_total_size) { in upg_check_decrypt() 999 ret = hi_flash_read(para->kernel_addr + para->crypto_end_addr, size - para->crypto_total_size, in upg_check_decrypt() 1007 } else if (size == para->crypto_total_size) { in upg_check_decrypt()
|
/drivers/hdf_core/framework/model/audio/common/src/ |
H A D | audio_platform_base.c | 51 uint32_t AudioBytesToFrames(uint32_t frameBits, uint32_t size) in AudioBytesToFrames() argument 53 if (size == 0) { in AudioBytesToFrames() 54 AUDIO_DRIVER_LOG_ERR("size is null."); in AudioBytesToFrames() 57 return (frameBits / size); in AudioBytesToFrames() 188 uint32_t size; in AudioSetRenderBufInfo() local 204 size = data->renderBufInfo.periodCount * data->renderBufInfo.periodSize; in AudioSetRenderBufInfo() 205 if (size < MIN_BUFF_SIZE || size > MAX_BUFF_SIZE) { in AudioSetRenderBufInfo() 210 data->renderBufInfo.cirBufSize = size; in AudioSetRenderBufInfo() 315 // 1. Computed buffer size in AudioPcmWrite() [all...] |
/drivers/peripheral/usb/test/unittest/hal/src/ |
H A D | usbfn_mtp_test.cpp | 83 size_t printLen = data.size(); in PrintVector() 160 HDF_LOGE("UsbfnMtpTest::GenerateFile fail to truncate file to size: %{public}" PRId64 "", fileSize); in GenerateFile() 239 * @tc.desc: Positive test: parameters correctly, read length less then one packet size 248 std::cout << "UsbfnMtpRead001===>use libusb in PC launch bulk-out transfer(size=" << BULK_OUT_LESS_THEN_ONCE in HWTEST_F() 255 EXPECT_EQ(devData.size(), static_cast<size_t>(BULK_OUT_LESS_THEN_ONCE)); in HWTEST_F() 262 * @tc.desc: Positive test: parameters correctly, read length exactly one packet size 271 std::cout << "UsbfnMtpRead002===>use libusb in PC launch bulk-out transfer(size=" << BULK_OUT_ONCE_MAX_SIZE in HWTEST_F() 278 EXPECT_EQ(devData.size(), static_cast<size_t>(BULK_OUT_ONCE_MAX_SIZE)); in HWTEST_F() 285 * @tc.desc: Positive test: parameters correctly, read length more then one packet size, please read again 294 std::cout << "UsbfnMtpRead003===>use libusb in PC launch bulk-out transfer(size in HWTEST_F() [all...] |
/kernel/linux/linux-5.10/arch/arc/kernel/ |
H A D | unwind.c | 122 unsigned long size; member 198 table->size = table_size; in init_unwind_table() 243 static void swap_eh_frame_hdr_table_entries(void *p1, void *p2, int size) in swap_eh_frame_hdr_table_entries() argument 261 unsigned long tableSize = table->size, hdrSize; in init_unwind_hdr() 332 for (fde = table->address, tableSize = table->size, n = 0; in init_unwind_hdr() 385 module->core_layout.base, module->core_layout.size, in unwind_add_table() 386 module->init_layout.base, module->init_layout.size, in unwind_add_table() 618 /* check if augmentation size is first (and thus present) */ in fde_pointer_type() 934 && !(table->size & (sizeof(*fde) - 1))) { in arc_unwind() 1025 /* check if augmentation size i in arc_unwind() [all...] |
/kernel/linux/linux-5.10/arch/x86/kernel/acpi/ |
H A D | boot.c | 104 * with sanity checks for phys == 0 and size == 0. 106 void __init __iomem *__acpi_map_table(unsigned long phys, unsigned long size) in __acpi_map_table() argument 109 if (!phys || !size) in __acpi_map_table() 112 return early_memremap(phys, size); in __acpi_map_table() 115 void __init __acpi_unmap_table(void __iomem *map, unsigned long size) in __acpi_unmap_table() argument 117 if (!map || !size) in __acpi_unmap_table() 120 early_memunmap(map, size); in __acpi_unmap_table() 212 * counting disabled CPUs. This allows us to size in acpi_parse_x2apic() 249 * counting disabled CPUs. This allows us to size in acpi_parse_lapic() 1791 void __init arch_reserve_mem_area(acpi_physical_address addr, size_t size) in arch_reserve_mem_area() argument [all...] |
/kernel/linux/linux-5.10/arch/sparc/kernel/ |
H A D | smp_64.c | 1532 * @size: size allocation in bytes 1535 * Allocate @size bytes aligned at @align for cpu @cpu. This wrapper 1542 static void * __init pcpu_alloc_bootmem(unsigned int cpu, size_t size, in pcpu_alloc_bootmem() argument 1551 ptr = memblock_alloc_from(size, align, goal); in pcpu_alloc_bootmem() 1555 cpu, size, __pa(ptr)); in pcpu_alloc_bootmem() 1557 ptr = memblock_alloc_try_nid(size, align, goal, in pcpu_alloc_bootmem() 1560 "%016lx\n", cpu, size, node, __pa(ptr)); in pcpu_alloc_bootmem() 1564 return memblock_alloc_from(size, align, goal); in pcpu_alloc_bootmem() 1568 static void __init pcpu_free_bootmem(void *ptr, size_t size) in pcpu_free_bootmem() argument 1570 memblock_free(__pa(ptr), size); pcpu_free_bootmem() local [all...] |
/kernel/linux/linux-5.10/drivers/char/agp/ |
H A D | generic.c | 90 void agp_alloc_page_array(size_t size, struct agp_memory *mem) in agp_alloc_page_array() argument 92 mem->pages = kvmalloc(size, GFP_KERNEL); in agp_alloc_page_array() 293 current_size = A_SIZE_8(temp)->size; in agp_return_size() 296 current_size = A_SIZE_16(temp)->size; in agp_return_size() 299 current_size = A_SIZE_32(temp)->size; in agp_return_size() 302 current_size = A_SIZE_LVL2(temp)->size; in agp_return_size() 305 current_size = A_SIZE_FIX(temp)->size; in agp_return_size() 1356 return values[i].size; in agp3_generic_fetch_size() 1382 /* set aperture size */ in agp3_generic_configure()
|