/third_party/ltp/testcases/kernel/mem/vma/ |
H A D | vma03.c | 34 * This program tries to remap a mapping with a new size that would 73 void *map, *remap; in main() local 102 remap = mremap(map, pgsz, 2 * pgsz, 0); in main() 103 if (remap == MAP_FAILED) { in main() 111 munmap(remap, 2 * pgsz); in main()
|
/kernel/liteos_a/testsuites/unittest/basic/mem/shm/full/ |
H A D | shm_test_006.cpp | 39 void *remap = NULL; in Testcase() local 50 remap = shared; in Testcase() 51 shared = shmat(shmid, remap, SHM_REMAP); in Testcase()
|
/kernel/linux/linux-5.10/drivers/staging/fbtft/ |
H A D | fb_ssd1351.c | 69 unsigned int remap; in set_var() local 79 remap = 0x60 | (par->bgr << 2); /* Set Colour Depth */ in set_var() 83 write_reg(par, 0xA0, remap | 0x00 | BIT(4)); in set_var() 86 write_reg(par, 0xA0, remap | 0x03 | BIT(4)); in set_var() 89 write_reg(par, 0xA0, remap | 0x02); in set_var() 92 write_reg(par, 0xA0, remap | 0x01); in set_var()
|
/kernel/linux/linux-6.6/drivers/staging/fbtft/ |
H A D | fb_ssd1351.c | 69 unsigned int remap; in set_var() local 79 remap = 0x60 | (par->bgr << 2); /* Set Colour Depth */ in set_var() 83 write_reg(par, 0xA0, remap | 0x00 | BIT(4)); in set_var() 86 write_reg(par, 0xA0, remap | 0x03 | BIT(4)); in set_var() 89 write_reg(par, 0xA0, remap | 0x02); in set_var() 92 write_reg(par, 0xA0, remap | 0x01); in set_var()
|
/kernel/linux/linux-6.6/fs/smb/client/ |
H A D | cifsproto.h | 349 const struct nls_table *nls_codepage, int remap); 352 const struct nls_table *nls_codepage, int remap); 360 const struct nls_table *nls_codepage, int remap); 366 const struct nls_table *nls_codepage, int remap); 371 const struct nls_table *nls_codepage, int remap, 427 int remap); 461 const struct nls_table *nls_codepage, int remap); 465 const struct nls_table *nls_codepage, int remap); 483 const struct nls_table *nls_codepage, int remap); 488 const struct nls_table *nls_codepage, int remap); 678 get_dfs_path(const unsigned int xid, struct cifs_ses *ses, const char *old_path, const struct nls_table *nls_codepage, struct dfs_info3_param *referral, int remap) get_dfs_path() argument [all...] |
H A D | dfs_cache.h | 41 int remap, const char *path, struct dfs_info3_param *ref, 50 char *dfs_cache_canonical_path(const char *path, const struct nls_table *cp, int remap);
|
H A D | cifssmb.c | 665 const struct nls_table *nls_codepage, int remap) in CIFSPOSIXDelFile() 685 PATH_MAX, nls_codepage, remap); in CIFSPOSIXDelFile() 748 int remap = cifs_remap(cifs_sb); in CIFSSMBDelFile() local 759 remap); in CIFSSMBDelFile() 792 int remap = cifs_remap(cifs_sb); in CIFSSMBRmDir() local 804 remap); in CIFSSMBRmDir() 836 int remap = cifs_remap(cifs_sb); in CIFSSMBMkDir() local 848 remap); in CIFSSMBMkDir() 875 int remap) in CIFSPOSIXCreate() 896 PATH_MAX, nls_codepage, remap); in CIFSPOSIXCreate() 663 CIFSPOSIXDelFile(const unsigned int xid, struct cifs_tcon *tcon, const char *fileName, __u16 type, const struct nls_table *nls_codepage, int remap) CIFSPOSIXDelFile() argument 871 CIFSPOSIXCreate(const unsigned int xid, struct cifs_tcon *tcon, __u32 posix_flags, __u64 mode, __u16 *netfid, FILE_UNIX_BASIC_INFO *pRetData, __u32 *pOplock, const char *name, const struct nls_table *nls_codepage, int remap) CIFSPOSIXCreate() argument 1037 SMBLegacyOpen(const unsigned int xid, struct cifs_tcon *tcon, const char *fileName, const int openDisposition, const int access_flags, const int create_options, __u16 *netfid, int *pOplock, FILE_ALL_INFO *pfile_info, const struct nls_table *nls_codepage, int remap) SMBLegacyOpen() argument 1152 int remap = cifs_remap(cifs_sb); CIFS_open() local 2163 int remap = cifs_remap(cifs_sb); CIFSSMBRename() local 2217 CIFSSMBRenameOpenFile(const unsigned int xid, struct cifs_tcon *pTcon, int netfid, const char *target_name, const struct nls_table *nls_codepage, int remap) CIFSSMBRenameOpenFile() argument 2301 CIFSSMBCopy(const unsigned int xid, struct cifs_tcon *tcon, const char *fromName, const __u16 target_tid, const char *toName, const int flags, const struct nls_table *nls_codepage, int remap) CIFSSMBCopy() argument 2364 CIFSUnixCreateSymLink(const unsigned int xid, struct cifs_tcon *tcon, const char *fromName, const char *toName, const struct nls_table *nls_codepage, int remap) CIFSUnixCreateSymLink() argument 2451 CIFSUnixCreateHardLink(const unsigned int xid, struct cifs_tcon *tcon, const char *fromName, const char *toName, const struct nls_table *nls_codepage, int remap) CIFSUnixCreateHardLink() argument 2545 int remap = cifs_remap(cifs_sb); CIFSCreateHardLink() local 2604 CIFSSMBUnixQuerySymLink(const unsigned int xid, struct cifs_tcon *tcon, const unsigned char *searchName, char **symlinkinfo, const struct nls_table *nls_codepage, int remap) CIFSSMBUnixQuerySymLink() argument 3019 cifs_do_get_acl(const unsigned int xid, struct cifs_tcon *tcon, const unsigned char *searchName, struct posix_acl **acl, const int acl_type, const struct nls_table *nls_codepage, int remap) cifs_do_get_acl() argument 3110 cifs_do_set_acl(const unsigned int xid, struct cifs_tcon *tcon, const unsigned char *fileName, const struct posix_acl *acl, const int acl_type, const struct nls_table *nls_codepage, int remap) cifs_do_set_acl() argument 3185 cifs_do_get_acl(const unsigned int xid, struct cifs_tcon *tcon, const unsigned char *searchName, struct posix_acl **acl, const int acl_type, const struct nls_table *nls_codepage, int remap) cifs_do_get_acl() argument 3193 cifs_do_set_acl(const unsigned int xid, struct cifs_tcon *tcon, const unsigned char *fileName, const struct posix_acl *acl, const int acl_type, const struct nls_table *nls_codepage, int remap) cifs_do_set_acl() argument 3532 SMBQueryInformation(const unsigned int xid, struct cifs_tcon *tcon, const char *search_name, FILE_ALL_INFO *data, const struct nls_table *nls_codepage, int remap) SMBQueryInformation() argument 3666 CIFSSMBQPathInfo(const unsigned int xid, struct cifs_tcon *tcon, const char *search_name, FILE_ALL_INFO *data, int legacy , const struct nls_table *nls_codepage, int remap) CIFSSMBQPathInfo() argument 3833 CIFSSMBUnixQPathInfo(const unsigned int xid, struct cifs_tcon *tcon, const unsigned char *searchName, FILE_UNIX_BASIC_INFO *pFindData, const struct nls_table *nls_codepage, int remap) CIFSSMBUnixQPathInfo() argument 3928 int name_len, remap; CIFSFindFirst() local 4218 CIFSGetSrvInodeNumber(const unsigned int xid, struct cifs_tcon *tcon, const char *search_name, __u64 *inode_number, const struct nls_table *nls_codepage, int remap) CIFSGetSrvInodeNumber() argument 4309 CIFSGetDFSRefer(const unsigned int xid, struct cifs_ses *ses, const char *search_name, struct dfs_info3_param **target_nodes, unsigned int *num_of_nodes, const struct nls_table *nls_codepage, int remap) CIFSGetDFSRefer() argument 4994 int remap = cifs_remap(cifs_sb); CIFSSMBSetEOF() local 5324 int remap = cifs_remap(cifs_sb); CIFSSMBSetPathInfo() local 5508 CIFSSMBUnixSetPathInfo(const unsigned int xid, struct cifs_tcon *tcon, const char *file_name, const struct cifs_unix_set_info_args *args, const struct nls_table *nls_codepage, int remap) CIFSSMBUnixSetPathInfo() argument 5601 int remap = cifs_remap(cifs_sb); CIFSSMBQAllEAs() local 5791 int remap = cifs_remap(cifs_sb); CIFSSMBSetEA() local [all...] |
/third_party/mesa3d/src/intel/vulkan/ |
H A D | anv_nir_lower_multiview.c | 103 uint64_t remap = 0; in build_view_index() local 107 remap |= (uint64_t)bit << (i++ * 4); in build_view_index() 116 if (remap <= UINT32_MAX) { in build_view_index() 117 shifted = nir_ushr(b, nir_imm_int(b, remap), shift); in build_view_index() 120 nir_ushr(b, nir_imm_int(b, remap), shift); in build_view_index() 122 nir_ushr(b, nir_imm_int(b, remap >> 32), in build_view_index()
|
/kernel/linux/linux-5.10/fs/cifs/ |
H A D | cifsproto.h | 311 const struct nls_table *nls_codepage, int remap); 314 const struct nls_table *nls_codepage, int remap); 322 const struct nls_table *nls_codepage, int remap); 328 const struct nls_table *nls_codepage, int remap); 333 const struct nls_table *nls_codepage, int remap, 394 int remap); 425 const struct nls_table *nls_codepage, int remap); 429 const struct nls_table *nls_codepage, int remap); 441 const struct nls_table *nls_codepage, int remap); 446 const struct nls_table *nls_codepage, int remap); 627 get_dfs_path(const unsigned int xid, struct cifs_ses *ses, const char *old_path, const struct nls_table *nls_codepage, struct dfs_info3_param *referral, int remap) get_dfs_path() argument [all...] |
H A D | dfs_cache.h | 31 const struct nls_table *nls_codepage, int remap, 39 int remap, const char *path,
|
/kernel/linux/linux-5.10/arch/arm/plat-orion/include/plat/ |
H A D | addr-map.h | 41 const int remap; member 50 const u8 attr, const int remap);
|
/kernel/linux/linux-6.6/arch/arm/plat-orion/include/plat/ |
H A D | addr-map.h | 41 const int remap; member 50 const u8 attr, const int remap);
|
/kernel/linux/linux-5.10/drivers/pci/controller/ |
H A D | pci-mvebu.c | 81 phys_addr_t remap; member 309 phys_addr_t remap) in mvebu_pcie_add_windows() 318 sz, remap); in mvebu_pcie_add_windows() 333 if (remap != MVEBU_MBUS_NO_REMAP) in mvebu_pcie_add_windows() 334 remap += sz; in mvebu_pcie_add_windows() 343 if (desired->base == cur->base && desired->remap == cur->remap && in mvebu_pcie_set_window() 363 desired->size, desired->remap); in mvebu_pcie_set_window() 394 desired.remap = ((conf->iobase & 0xF0) << 8) | in mvebu_pcie_handle_iobase_change() 396 desired.base = port->pcie->io.start + desired.remap; in mvebu_pcie_handle_iobase_change() 306 mvebu_pcie_add_windows(struct mvebu_pcie_port *port, unsigned int target, unsigned int attribute, phys_addr_t base, size_t size, phys_addr_t remap) mvebu_pcie_add_windows() argument [all...] |
/kernel/linux/linux-5.10/arch/arm/kernel/ |
H A D | patch.c | 58 void __kprobes __patch_text_real(void *addr, unsigned int insn, bool remap) in __patch_text_real() argument 67 if (remap) in __patch_text_real() 80 if (twopage && remap) in __patch_text_real()
|
/kernel/linux/linux-6.6/arch/arm/kernel/ |
H A D | patch.c | 58 void __kprobes __patch_text_real(void *addr, unsigned int insn, bool remap) in __patch_text_real() argument 67 if (remap) in __patch_text_real() 80 if (twopage && remap) in __patch_text_real()
|
/third_party/ffmpeg/libavcodec/ |
H A D | msvideo1enc.c | 65 static const int remap[16] = { 0, 1, 4, 5, 2, 3, 6, 7, 8, 9, 12, 13, 10, 11, 14, 15 }; variable 105 c->block2[remap[i + j*4]*3 + k] = (val >> (10-k*5)) & 0x1F; in encode_frame() 187 int t = c->codebook2[(c->output2[remap[i+j*4]] + (i&2) + (j&2)*2)*3+k] - c->block[i*3+k + j*4*3]; in encode_frame() 231 flags |= (c->output2[remap[i + j*4]]^1) << (i + j*4); in encode_frame() 233 prevptr[x*3 + i*3 + k - j*3*avctx->width] = c->codebook2[(c->output2[remap[i+j*4]] + (i&2) + (j&2)*2)*3 + k]; in encode_frame()
|
H A D | dv.c | 68 static const uint8_t remap[][2] = { in dv_calc_mb_coordinates() local 119 x = remap[y][0] + ((x - 80) << (y > 59)); in dv_calc_mb_coordinates() 120 y = remap[y][1]; in dv_calc_mb_coordinates()
|
/third_party/skia/third_party/externals/spirv-cross/ |
H A D | main.cpp | 758 "\t[--glsl-remap-ext-framebuffer-fetch input-attachment color-location]:\n\t\tRemaps an input attachment to use GL_EXT_shader_framebuffer_fetch.\n" in print_help_glsl() 774 "\t[--remap source_name target_name components]:\n\t\tRemaps a variable to a different name with N components.\n" in print_help_glsl() 775 "\t\tMain use case is to remap a subpass input to gl_LastFragDepthARM.\n" in print_help_glsl() 778 "\t\t--remap uDepth gl_LastFragDepthARM 1 --extension GL_ARM_shader_framebuffer_fetch_depth_stencil\n" in print_help_glsl() 780 "\t[--remap-variable-type <variable_name> <new_variable_type>]:\n\t\tRemaps a variable type based on name.\n" in print_help_glsl() 781 "\t\tPrimary use case is supporting external samplers in ESSL for video rendering on Android where you could remap a texture to a YUV one.\n" in print_help_glsl() 961 static bool remap_generic(Compiler &compiler, const SmallVector<Resource> &resources, const Remap &remap) in remap_generic() argument 964 find_if(begin(resources), end(resources), [&remap](const Resource &res) { return res.name == remap.src_name; }); in remap_generic() 969 compiler.set_name(itr->id, remap in remap_generic() [all...] |
/kernel/linux/linux-5.10/drivers/bus/ |
H A D | mvebu-mbus.c | 189 /* Checks whether the given window has remap capability */ 203 u64 *remap) in mvebu_mbus_read_window() 226 if (remap) { in mvebu_mbus_read_window() 233 *remap = ((u64)remap_hi << 32) | remap_low; in mvebu_mbus_read_window() 235 *remap = 0; in mvebu_mbus_read_window() 330 phys_addr_t remap, u8 target, in mvebu_mbus_setup_window() 362 if (remap == MVEBU_MBUS_NO_REMAP) in mvebu_mbus_setup_window() 365 remap_addr = remap; in mvebu_mbus_setup_window() 375 phys_addr_t remap, u8 target, in mvebu_mbus_alloc_window() 380 if (remap in mvebu_mbus_alloc_window() 200 mvebu_mbus_read_window(struct mvebu_mbus_state *mbus, int win, int *enabled, u64 *base, u32 *size, u8 *target, u8 *attr, u64 *remap) mvebu_mbus_read_window() argument 328 mvebu_mbus_setup_window(struct mvebu_mbus_state *mbus, int win, phys_addr_t base, size_t size, phys_addr_t remap, u8 target, u8 attr) mvebu_mbus_setup_window() argument 373 mvebu_mbus_alloc_window(struct mvebu_mbus_state *mbus, phys_addr_t base, size_t size, phys_addr_t remap, u8 target, u8 attr) mvebu_mbus_alloc_window() argument 902 mvebu_mbus_add_window_remap_by_id(unsigned int target, unsigned int attribute, phys_addr_t base, size_t size, phys_addr_t remap) mvebu_mbus_add_window_remap_by_id() argument [all...] |
/kernel/linux/linux-6.6/drivers/bus/ |
H A D | mvebu-mbus.c | 186 /* Checks whether the given window has remap capability */ 200 u64 *remap) in mvebu_mbus_read_window() 223 if (remap) { in mvebu_mbus_read_window() 230 *remap = ((u64)remap_hi << 32) | remap_low; in mvebu_mbus_read_window() 232 *remap = 0; in mvebu_mbus_read_window() 327 phys_addr_t remap, u8 target, in mvebu_mbus_setup_window() 359 if (remap == MVEBU_MBUS_NO_REMAP) in mvebu_mbus_setup_window() 362 remap_addr = remap; in mvebu_mbus_setup_window() 372 phys_addr_t remap, u8 target, in mvebu_mbus_alloc_window() 377 if (remap in mvebu_mbus_alloc_window() 197 mvebu_mbus_read_window(struct mvebu_mbus_state *mbus, int win, int *enabled, u64 *base, u32 *size, u8 *target, u8 *attr, u64 *remap) mvebu_mbus_read_window() argument 325 mvebu_mbus_setup_window(struct mvebu_mbus_state *mbus, int win, phys_addr_t base, size_t size, phys_addr_t remap, u8 target, u8 attr) mvebu_mbus_setup_window() argument 370 mvebu_mbus_alloc_window(struct mvebu_mbus_state *mbus, phys_addr_t base, size_t size, phys_addr_t remap, u8 target, u8 attr) mvebu_mbus_alloc_window() argument 877 mvebu_mbus_add_window_remap_by_id(unsigned int target, unsigned int attribute, phys_addr_t base, size_t size, phys_addr_t remap) mvebu_mbus_add_window_remap_by_id() argument [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/mm/ |
H A D | mremap_test.c | 69 * Returns false if the requested remap region overlaps with an 159 char *remap, *start; in mremap_expand_merge() local 170 remap = mremap(start, page_size, 2 * page_size, 0); in mremap_expand_merge() 171 if (remap == MAP_FAILED) { in mremap_expand_merge() 190 * we remove the last then attempt to remap offset from the second page. This 198 char *remap, *start; in mremap_expand_merge_offset() local 210 remap = mremap(start + page_size, page_size, 2 * page_size, 0); in mremap_expand_merge_offset() 211 if (remap == MAP_FAILED) { in mremap_expand_merge_offset() 276 /* Returns the time taken for the remap on success else returns -1. */ 317 ksft_print_msg("Couldn't find a valid region to remap t in remap_region() [all...] |
/third_party/mesa3d/src/gallium/drivers/r300/compiler/ |
H A D | radeon_emulate_branches.c | 282 struct remap_output_data remap; in fix_output_writes() local 285 remap.Output = inst->U.I.DstReg.Index; in fix_output_writes() 286 remap.Temporary = rc_find_free_temporary(s->C); in fix_output_writes() 291 rc_remap_registers(inst, &remap_output_function, &remap); in fix_output_writes() 297 inst_mov->U.I.DstReg.Index = remap.Output; in fix_output_writes() 300 inst_mov->U.I.SrcReg[0].Index = remap.Temporary; in fix_output_writes()
|
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/ |
H A D | indic.pl | 14 # Usage - $0 <remap file> 19 # The remap file should have lines of the form 142 # Oriya, then the character 0B56 (Oriya AI Length Mark) will remap to 164 #print STDERR "Ignoring NOOP remap of $from\n"; 166 print STDERR "ERROR in $EXCEPTIONS_FILE - Duplicate remap entries for $from\n"; 168 print STDERR "ERROR in $EXCEPTIONS_FILE - Ignoring multichar remap: ", hexArray(@from), "->", hexArray(@to), "\n"; 173 print STDERR "ERROR in $EXCEPTIONS_FILE - Invalid remap; left side defined: ", hexArray(@from), "->", hexArray(@to), "\n"; 175 print STDERR "ERROR in $EXCEPTIONS_FILE - Invalid remap; right side undefined: ", hexArray(@from), "->", hexArray(@to), "\n"; 303 foreach my $remap (@REMAP) { $REMAP{$remap} [all...] |
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/ |
H A D | ToposortStructs.cpp | 43 if (const TStructure *z = symbolEnv.remap(f->type()->getStruct())) in BuildGraphImpl() 226 if (const TStructure *structure = symbolEnv.remap(type.getStruct())) in GetAsDeclaredStructure() 266 if (const TStructure *structure = mSymbolEnv.remap(leftType.getStruct())) 287 if (const TStructure *subStruct = mSymbolEnv.remap(field->type()->getStruct())) in useStruct()
|
/kernel/linux/linux-5.10/drivers/regulator/ |
H A D | twl-regulator.c | 45 u8 remap; member 469 .remap = remap_conf, \ 487 .remap = remap_conf, \ 507 .remap = remap_conf, \ 643 twlreg_write(info, TWL_MODULE_PM_RECEIVER, VREG_REMAP, info->remap); in twlreg_probe()
|