Home
last modified time | relevance | path

Searched refs:base_addr (Results 1 – 25 of 31) sorted by relevance

12

/third_party/f2fs-tools/fsck/
Dxattr.c68 static struct f2fs_xattr_entry *__find_xattr(void *base_addr, int index, in __find_xattr() argument
72 list_for_each_xattr(entry, base_addr) { in __find_xattr()
137 void *base_addr; in f2fs_setxattr() local
169 base_addr = read_all_xattrs(sbi, inode); in f2fs_setxattr()
170 ASSERT(base_addr); in f2fs_setxattr()
172 here = __find_xattr(base_addr, index, len, name); in f2fs_setxattr()
197 free = MIN_OFFSET - ((char *)last - (char *)base_addr); in f2fs_setxattr()
221 new_hsize = (char *)last - (char *)base_addr; in f2fs_setxattr()
240 write_all_xattrs(sbi, inode, new_hsize, base_addr); in f2fs_setxattr()
246 free(base_addr); in f2fs_setxattr()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_image.c175 tu_cs_emit_qw(cs, iview->base_addr + iview->layer_size * layer); in tu_cs_image_ref()
189 tu_cs_emit_qw(cs, iview->base_addr + iview->layer_size * layer); in tu_cs_image_ref_2d()
239 uint64_t base_addr = image->bo->iova + image->bo_offset + in tu_image_view_init() local
289 iview->descriptor[4] = base_addr; in tu_image_view_init()
290 iview->descriptor[5] = (base_addr >> 32) | A6XX_TEX_CONST_5_DEPTH(depth); in tu_image_view_init()
306 uint64_t base_addr[3]; in tu_image_view_init() local
313 base_addr[i] = image->bo->iova + image->bo_offset + in tu_image_view_init()
318 base_addr[i] = image->bo->iova + image->bo_offset + in tu_image_view_init()
323 iview->descriptor[4] = base_addr[0]; in tu_image_view_init()
324 iview->descriptor[5] |= base_addr[0] >> 32; in tu_image_view_init()
[all …]
/third_party/mesa3d/src/intel/vulkan/
Danv_nir_lower_ubo_loads.c40 nir_ssa_def *base_addr = load->src[0].ssa; in lower_ubo_load_instr() local
72 nir_ssa_def *addr = nir_iadd_imm(b, base_addr, in lower_ubo_load_instr()
82 nir_ssa_def *addr = nir_iadd(b, base_addr, nir_u2u64(b, offset)); in lower_ubo_load_instr()
Danv_nir_apply_pipeline_layout.c259 nir_ssa_def *base_addr = in build_load_descriptor_mem() local
265 base_addr, offset32, in build_load_descriptor_mem()
465 nir_ssa_def *base_addr = in build_desc_addr() local
467 return nir_vec4(b, nir_unpack_64_2x32_split_x(b, base_addr), in build_desc_addr()
468 nir_unpack_64_2x32_split_y(b, base_addr), in build_desc_addr()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_draw_feedback.c335 uintptr_t base_addr; in st_feedback_draw_vbo() local
341 base_addr = UINTPTR_MAX; in st_feedback_draw_vbo()
362 base_addr = MIN2(base_addr, mip_addr[j]); in st_feedback_draw_vbo()
368 assert(mip_addr[j] - base_addr <= UINT32_MAX); in st_feedback_draw_vbo()
369 mip_offset[j] = mip_addr[j] - base_addr; in st_feedback_draw_vbo()
380 base_addr = (uintptr_t) in st_feedback_draw_vbo()
389 last_level, 0, 0, (void*)base_addr, row_stride, in st_feedback_draw_vbo()
/third_party/ltp/testcases/kernel/syscalls/fork/
Dfork05.c121 unsigned long int base_addr; member
147 ldt0.base_addr = (long)&a; in main()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm_tess.c176 LLVMValueRef base_addr, LLVMValueRef vertex_index, in get_dw_address_from_generic_indices() argument
180 base_addr = ac_build_imad(&ctx->ac, vertex_index, vertex_dw_stride, base_addr); in get_dw_address_from_generic_indices()
184 base_addr = ac_build_imad(&ctx->ac, param_index, LLVMConstInt(ctx->ac.i32, 4, 0), base_addr); in get_dw_address_from_generic_indices()
194 return LLVMBuildAdd(ctx->ac.builder, base_addr, LLVMConstInt(ctx->ac.i32, param * 4, 0), ""); in get_dw_address_from_generic_indices()
219 LLVMValueRef base_addr, vertices_per_patch, num_patches, total_vertices; in get_tcs_tes_buffer_address() local
229 base_addr = ac_build_imad(&ctx->ac, rel_patch_id, vertices_per_patch, vertex_index); in get_tcs_tes_buffer_address()
232 base_addr = rel_patch_id; in get_tcs_tes_buffer_address()
236 base_addr = ac_build_imad(&ctx->ac, param_index, param_stride, base_addr); in get_tcs_tes_buffer_address()
237 base_addr = LLVMBuildMul(ctx->ac.builder, base_addr, constant16, ""); in get_tcs_tes_buffer_address()
242 base_addr = LLVMBuildAdd(ctx->ac.builder, base_addr, patch_data_offset, ""); in get_tcs_tes_buffer_address()
[all …]
/third_party/ltp/testcases/kernel/syscalls/modify_ldt/
Dmodify_ldt02.c72 unsigned long int base_addr; member
150 entry.base_addr = (unsigned long)seg; in create_segment()
Dmodify_ldt01.c76 unsigned long int base_addr; member
191 entry.base_addr = (unsigned long)seg; in create_segment()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/util/
Darena.h97 …void *get_user_addr(void *base_addr) const { return reinterpret_cast<char *>(base_addr) + ARENA_WA… in get_user_addr() argument
/third_party/ltp/testcases/kernel/syscalls/set_thread_area/
Dset_thread_area.h20 unsigned long int base_addr; member
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_io.c876 nir_ssa_def *base_addr; in build_addr_for_var() local
879 base_addr = nir_load_scratch_base_ptr(b, num_comps, bit_size, 0); in build_addr_for_var()
883 base_addr = nir_load_scratch_base_ptr(b, num_comps, bit_size, 1); in build_addr_for_var()
887 base_addr = nir_load_constant_base_ptr(b, num_comps, bit_size); in build_addr_for_var()
891 base_addr = nir_load_shared_base_ptr(b, num_comps, bit_size); in build_addr_for_var()
898 return build_addr_iadd_imm(b, base_addr, addr_format, var->data.mode, in build_addr_for_var()
1709 nir_ssa_def *base_addr, in nir_explicit_io_address_from_deref() argument
1722 index = nir_i2i(b, index, addr_get_offset_bit_size(base_addr, addr_format)); in nir_explicit_io_address_from_deref()
1723 return build_addr_iadd(b, base_addr, addr_format, deref->modes, in nir_explicit_io_address_from_deref()
1729 index = nir_i2i(b, index, addr_get_offset_bit_size(base_addr, addr_format)); in nir_explicit_io_address_from_deref()
[all …]
/third_party/toybox/porting/liteos_a/toys/net/
Difconfig.c284 ifre.ifr_map.mem_start || ifre.ifr_map.dma || ifre.ifr_map.base_addr)) in display_ifconfig()
288 if(ifre.ifr_map.base_addr >= 0x100) // IO_MAP_INDEX in display_ifconfig()
289 xprintf("Base address:0x%x ", ifre.ifr_map.base_addr); in display_ifconfig()
426 {"io_addr", IFREQ_OFFSZ(ifr_map.base_addr), SIOCSIFMAP}, in ifconfig_main()
/third_party/toybox/toys/net/
Difconfig.c285 ifre.ifr_map.mem_start || ifre.ifr_map.dma || ifre.ifr_map.base_addr)) in display_ifconfig()
289 if(ifre.ifr_map.base_addr >= 0x100) // IO_MAP_INDEX in display_ifconfig()
290 xprintf("Base address:0x%x ", ifre.ifr_map.base_addr); in display_ifconfig()
413 {"io_addr", IFREQ_OFFSZ(ifr_map.base_addr), SIOCSIFMAP}, in ifconfig_main()
/third_party/boost/boost/interprocess/detail/
Dwin32_api.hpp742 … unsigned long file_access, ::boost::ulong_long_type offset, std::size_t numbytes, void *base_addr) in map_view_of_file_ex() argument
746 return MapViewOfFileEx(handle, file_access, offset_high, offset_low, numbytes, base_addr); in map_view_of_file_ex()
770 inline bool flush_view_of_file(void *base_addr, std::size_t numbytes) in flush_view_of_file() argument
771 { return 0 != boost::winapi::FlushViewOfFile(base_addr, numbytes); } in flush_view_of_file()
773 inline bool virtual_unlock(void *base_addr, std::size_t numbytes) in virtual_unlock() argument
774 { return 0 != boost::ipwinapiext::VirtualUnlock(base_addr, numbytes); } in virtual_unlock()
776 inline bool virtual_protect(void *base_addr, std::size_t numbytes, unsigned long flNewProtect, unsi… in virtual_protect() argument
777 { return 0 != boost::ipwinapiext::VirtualProtect(base_addr, numbytes, flNewProtect, &lpflOldProtec… in virtual_protect()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_instruction_export.cpp249 unsigned base_addr, unsigned ncomp, in MemRingOutIntruction() argument
254 m_base_address(base_addr), in MemRingOutIntruction()
Dsfn_instruction_export.h153 const GPRVector& value, unsigned base_addr,
/third_party/musl/ndk_musl_include/net/
Dif.h67 unsigned short int base_addr; member
/third_party/musl/porting/liteos_a/kernel/include/net/
Dif.h67 unsigned short int base_addr; member
/third_party/musl/porting/uniproton/kernel/include/net/
Dif.h67 unsigned short int base_addr; member
/third_party/musl/porting/liteos_m/kernel/include/net/
Dif.h67 unsigned short int base_addr; member
/third_party/musl/porting/liteos_m_iccarm/kernel/include/net/
Dif.h67 unsigned short int base_addr; member
/third_party/musl/include/net/
Dif.h67 unsigned short int base_addr; member
/third_party/libnl/include/linux-private/linux/
Dif.h195 unsigned short base_addr; member
/third_party/ltp/testcases/cve/
Dcve-2015-3290.c187 .base_addr = 0, in set_ldt()

12