/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...] |
/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/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,
|
H A D | cifssmb.c | 849 const struct nls_table *nls_codepage, int remap) in CIFSPOSIXDelFile() 869 PATH_MAX, nls_codepage, remap); in CIFSPOSIXDelFile() 929 int remap = cifs_remap(cifs_sb); in CIFSSMBDelFile() local 940 remap); in CIFSSMBDelFile() 973 int remap = cifs_remap(cifs_sb); in CIFSSMBRmDir() local 985 remap); in CIFSSMBRmDir() 1017 int remap = cifs_remap(cifs_sb); in CIFSSMBMkDir() local 1029 remap); in CIFSSMBMkDir() 1056 int remap) in CIFSPOSIXCreate() 1077 PATH_MAX, nls_codepage, remap); in CIFSPOSIXCreate() 847 CIFSPOSIXDelFile(const unsigned int xid, struct cifs_tcon *tcon, const char *fileName, __u16 type, const struct nls_table *nls_codepage, int remap) CIFSPOSIXDelFile() argument 1052 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 1217 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 1332 int remap = cifs_remap(cifs_sb); CIFS_open() local 2699 int remap = cifs_remap(cifs_sb); CIFSSMBRename() local 2753 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 2836 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 2899 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 2985 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 3077 int remap = cifs_remap(cifs_sb); CIFSCreateHardLink() local 3136 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 3552 CIFSSMBGetPosixACL(const unsigned int xid, struct cifs_tcon *tcon, const unsigned char *searchName, char *acl_inf, const int buflen, const int acl_type, const struct nls_table *nls_codepage, int remap) CIFSSMBGetPosixACL() argument 3639 CIFSSMBSetPosixACL(const unsigned int xid, struct cifs_tcon *tcon, const unsigned char *fileName, const char *local_acl, const int buflen, const int acl_type, const struct nls_table *nls_codepage, int remap) CIFSSMBSetPosixACL() argument 4046 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 4180 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 4347 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 4440 int name_len, remap; CIFSFindFirst() local 4751 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 4842 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 5527 int remap = cifs_remap(cifs_sb); CIFSSMBSetEOF() local 5855 int remap = cifs_remap(cifs_sb); CIFSSMBSetPathInfo() local 6089 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 6183 int remap = cifs_remap(cifs_sb); CIFSSMBQAllEAs() local 6373 int remap = cifs_remap(cifs_sb); CIFSSMBSetEA() local [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()
|
/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/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...] |
/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()
|
/kernel/linux/linux-6.6/drivers/regulator/ |
H A D | twl-regulator.c | 44 u8 remap; member 462 .remap = remap_conf, \ 480 .remap = remap_conf, \ 500 .remap = remap_conf, \ 636 twlreg_write(info, TWL_MODULE_PM_RECEIVER, VREG_REMAP, info->remap); in twlreg_probe()
|
/foundation/graphic/graphic_3d/lume/LumeBinaryCompile/LumeShaderCompiler/src/ |
H A D | main.cpp | 1238 for (auto& remap : resources.push_constant_buffers) {
1239 const auto& blockType = compiler.get_type(remap.base_type_id);
1240 auto name = compiler.get_name(remap.id);
1243 Gles::ProcessStruct(std::string_view(name.data(), name.size()), 0, compiler, remap.base_type_id,
1401 for (const auto& remap : resources) {
1402 const auto binding = get_binding(compiler, remap.id);
1410 if (auto origname = compiler.get_name(remap.id); origname.empty()) {
1411 compiler.set_name(remap.base_type_id, name);
1413 compiler.set_name(remap.id, name);
1416 compiler.set_name(remap [all...] |
/kernel/linux/linux-5.10/arch/arm/include/asm/ |
H A D | patch.h | 6 void __patch_text_real(void *addr, unsigned int insn, bool remap);
|
/kernel/linux/linux-6.6/arch/arm/include/asm/ |
H A D | patch.h | 6 void __patch_text_real(void *addr, unsigned int insn, bool remap);
|
/kernel/linux/linux-6.6/drivers/gpu/drm/ |
H A D | drm_gpuva_mgr.c | 80 * containing map, unmap and remap operations for a given newly requested 87 * amount of unmap operations, a maximum of two remap operations and a single 101 * for remap operations. This is possible since &drm_gpuva_op_remap consists of 107 * maximum of two remap operations. 113 * are only partically located within the given range, remap operations are 458 * va = op->remap.unmap->va; 460 * if (op->remap.prev) { 468 * if (op->remap.next) { 477 * drm_gpuva_remap(prev, next, &op->remap); 572 * drm_gpuva_remap(ctx->prev_va, ctx->next_va, &op->remap); [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | swiotlb.h | 40 int (*remap)(void *tlb, unsigned long nslabs)); 42 int (*remap)(void *tlb, unsigned long nslabs));
|
/kernel/linux/linux-6.6/kernel/dma/ |
H A D | swiotlb.c | 316 int (*remap)(void *tlb, unsigned long nslabs)) in swiotlb_memblock_alloc() 337 if (remap && remap(tlb, nslabs) < 0) { in swiotlb_memblock_alloc() 339 pr_warn("%s: Failed to remap %zu bytes\n", __func__, bytes); in swiotlb_memblock_alloc() 351 int (*remap)(void *tlb, unsigned long nslabs)) in swiotlb_init_remap() 368 if (!remap) in swiotlb_init_remap() 381 while ((tlb = swiotlb_memblock_alloc(nslabs, flags, remap)) == NULL) { in swiotlb_init_remap() 427 int (*remap)(void *tlb, unsigned long nslabs)) in swiotlb_init_late() 446 if (!remap) in swiotlb_init_late() 476 if (remap) in swiotlb_init_late() [all...] |