/linux-master/arch/arm64/include/asm/vdso/ |
H A D | compat_barrier.h | 10 * Warning: This code is meant to be used with 14 #error This header is meant to be used with ENABLE_COMPAT_VDSO only
|
/linux-master/arch/mips/include/asm/ |
H A D | msa.h | 19 extern void read_msa_wr_b(unsigned idx, union fpureg *to); 20 extern void read_msa_wr_h(unsigned idx, union fpureg *to); 21 extern void read_msa_wr_w(unsigned idx, union fpureg *to); 22 extern void read_msa_wr_d(unsigned idx, union fpureg *to); 26 * @idx: The index of the vector register to read 27 * @to: The FPU register union to store the registers value in 31 * union to, using the format fmt. 33 static inline void read_msa_wr(unsigned idx, union fpureg *to, argument 38 read_msa_wr_b(idx, to); [all...] |
/linux-master/arch/powerpc/platforms/powernv/ |
H A D | powernv.h | 7 * that needs to call into powernv platform stuff. The prototypes for those 41 ssize_t memcons_copy(struct memcons *mc, char *to, loff_t pos, size_t count);
|
/linux-master/arch/powerpc/kernel/ptrace/ |
H A D | ptrace-vsx.c | 22 struct membuf to) 29 /* copy to local buffer then write that out */ 33 return membuf_write(&to, buf, 33 * sizeof(u64)); 62 /* copy to local buffer then write that out */ 74 * Currently to set and get all the vsx state, you need to call 98 struct membuf to) 111 return membuf_write(&to, buf, 32 * sizeof(double)); 21 fpr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument 97 vsr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | xfrm_info.c | 17 struct bpf_xfrm_info___local *to) __ksym;
|
H A D | get_branch_snapshot.c | 34 if (gbs_in_range(entries[i].from) && gbs_in_range(entries[i].to))
|
/linux-master/sound/soc/sh/ |
H A D | hac.c | 7 // dont forget to set IPSEL/OMSEL register bits (in your board code) to 11 * the FIRST can be used since ASoC does not pass any information to the 12 * ac97_read/write() functions regarding WHICH unit to use. You'll have 13 * to edit the code a bit to use the other AC97 unit. --mlau 107 /* wait for HAC to receive something from the codec */ 139 unsigned int i, to; local 148 for (to = TMO_E3; 149 to 167 unsigned int i, to; local [all...] |
/linux-master/arch/powerpc/include/asm/ |
H A D | page_32.h | 37 * memory traffic (except to write out any cache lines which get 49 extern void copy_page(void *to, void *from);
|
/linux-master/arch/x86/kernel/fpu/ |
H A D | regset.c | 39 * - coredump to dump the current task's fpstate. If the current task 40 * owns the FPU then the memory state has to be synchronized and the 43 * - ptrace to dump fpstate of a stopped task, in which case the registers 44 * have already been saved to fpstate on context switch. 56 * This forces the target task on resume to restore the FPU registers from 63 * Only stopped child tasks can be used to modify the FPU 72 struct membuf to) 82 return membuf_write(&to, &fpu->fpstate->regs.fxsave, 86 copy_xstate_to_uabi_buf(to, target, XSTATE_COPY_FX); 131 struct membuf to) 71 xfpregs_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument 130 xstateregs_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument 187 ssp_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument 334 struct _fpreg *to = (struct _fpreg *) &env->st_space[0]; local 378 struct _fpxreg *to = (struct _fpxreg *) &fxsave->st_space[0]; local 400 fpregs_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument [all...] |
/linux-master/arch/arm/nwfpe/ |
H A D | entry.S | 7 Direct questions, comments to Scott Bambrough <scottb@netwinder.org> 15 It is called from the kernel with code similar to this: 29 The kernel expects the emulator to return via one of two possible 30 points of return it passes to the emulator. The emulator, if 31 successful in its emulation, jumps to ret_from_exception (passed in 32 r9) and the kernel takes care of returning control from the trap to 33 the user code. If the emulator is unable to emulate the instruction, 37 On entry to the emulator r10 points to an area of private FP workspace 40 is used as a flag to detec [all...] |
/linux-master/arch/alpha/lib/ |
H A D | ev6-clear_user.S | 8 * We have to make sure that $0 is always up-to-date and contains the 9 * right "bytes left to zero" value (and that it is updated only _after_ 21 * Try not to change the actual algorithm if possible for consistency. 22 * Determining actual stalls (other than slotting) doesn't appear to be easy to do. 25 * it's going to be worth the effort to hand-unroll a big loop, and use wh64. 29 * want to leave a hole (and we also want to avoi [all...] |
/linux-master/arch/mips/cavium-octeon/ |
H A D | flash_setup.c | 4 * This file is subject to the terms and conditions of the GNU General Public 50 static void octeon_flash_map_copy_from(struct map_info *map, void *to, argument 54 inline_map_copy_from(map, to, from, len); 58 static void octeon_flash_map_copy_to(struct map_info *map, unsigned long to, argument 62 inline_map_copy_to(map, to, from, len); 83 * Read the bootbus region 0 setup to determine the base 91 * 0x1fc00000. This way the flash aliases to 116 pr_err("Failed to register MTD device for flash\n");
|
/linux-master/include/linux/platform_data/ |
H A D | keypad-omap.h | 9 #warning Please update the board to use matrix-keypad driver 26 * in order to workaround certain crappy HW designs that produce ghost
|
/linux-master/block/ |
H A D | bounce.c | 73 * queue gfp mask set, *to may or may not be a highmem page. kmap it 76 static void copy_to_high_bio_irq(struct bio *to, struct bio *from) argument 82 * its bvec from start to end, but the @from->bi_iter can't be 87 bio_for_each_segment(tovec, to, iter) { 148 * Pre immutable biovecs, __bio_clone() used to just do a memcpy from 149 * bio_src->bi_io_vec to bio->bi_io_vec. 153 * - The point of cloning the biovec is to produce a bio with a biovec 157 * we tried to clone the whole thing bio_alloc_bioset() would fail. 159 * actually need to allocate is fewer than BIO_MAX_VECS. 163 * iterating over the biovec anymore, so expecting it to b 207 struct bio_vec *to, from; local 253 memcpy_from_bvec(page_address(bounce_page), to); local [all...] |
/linux-master/arch/sparc/include/asm/ |
H A D | page_32.h | 21 #define copy_page(to,from) memcpy((void *)(to), (void *)(from), PAGE_SIZE) 26 #define copy_user_page(to, from, vaddr, page) \ 27 do { copy_page(to, from); \ 31 /* The following structure is used to hold the physical 33 * prom_meminit() and is later used by mem_init() to set up 53 * These are used to make use of C type-checking..
|
/linux-master/arch/riscv/include/asm/ |
H A D | uaccess.h | 33 * address of an instruction that is allowed to fault, and the second is 35 * modified, so it is entirely up to the continuation code to figure out 36 * what to do. 40 * we don't even have to jump over them. Further, they do not intrude 113 * @x: Variable to store result. 118 * This macro copies a single simple variable from user space to kernel 122 * @ptr must have pointer-to-simple-variable type, and the result of 123 * dereferencing @ptr must be assignable to @x without a cast. 129 * On error, the variable @x is set to zer 294 raw_copy_from_user(void *to, const void __user *from, unsigned long n) argument 300 raw_copy_to_user(void __user *to, const void *from, unsigned long n) argument 313 clear_user(void __user *to, unsigned long n) argument [all...] |
/linux-master/arch/loongarch/include/asm/ |
H A D | page.h | 36 extern void copy_page(void *to, void *from); 39 #define copy_user_page(to, from, vaddr, pg) copy_page(to, from) 45 void copy_user_highpage(struct page *to, struct page *from,
|
/linux-master/arch/arm/lib/ |
H A D | uaccess_with_memcpy.c | 50 * A pmd can be bad if it refers to a HugeTLB or THP page. 56 * to see that it's still huge and whether or not we will 57 * need to fault on write. 93 __copy_to_user_memcpy(void __user *to, const void *from, unsigned long n) argument 108 while (!pin_page_for_write(to, &pte, &ptl)) { 111 if (__put_user(0, (char __user *)to)) 117 tocopy = (~(unsigned long)to & ~PAGE_MASK) + 1; 122 __memcpy((void *)to, from, tocopy); 124 to += tocopy; 141 arm_copy_to_user(void __user *to, cons argument [all...] |
/linux-master/fs/udf/ |
H A D | symlink.c | 29 int fromlen, unsigned char *to, int tolen) 34 unsigned char *p = to; 44 * Symlink points to some place which should be agreed 55 p = to; 93 if (p > to + 1) 28 udf_pc_to_char(struct super_block *sb, unsigned char *from, int fromlen, unsigned char *to, int tolen) argument
|
/linux-master/arch/m68k/fpsp040/ |
H A D | x_snan.S | 11 | is set to one and the resulting non-signaling NAN (truncated if 12 | necessary) is transferred to the dest. If the dest format is b, w, 13 | or l, then garbage is written to the dest (actually the upper 32 bits 14 | of the mantissa are sent to the integer unit). 57 | It is possible to have an inex1 exception with the 59 | inex2 or inex1 occurred, we must clean up and branch to the 80 | Make any corrections to the 040 output as necessary. 92 moveql #13,%d0 |need to zero 14 lwords 95 moveql #11,%d0 |need to zero 12 lwords 120 moveql #13,%d0 |need to zer [all...] |
/linux-master/arch/arm/kernel/ |
H A D | phys2virt.S | 23 * PHYS_OFFSET and PAGE_OFFSET, which is assumed to be 26 * Called from head.S, which expects the following registers to be preserved: 32 mov r0, r8, lsr #PAGE_SHIFT @ convert to PFN 38 strcc ip, [r0, #HIGH_OFFSET] @ save to __pv_offset high bits 39 str r3, [r0, #LOW_OFFSET] @ save to __pv_offset low bits 63 @ phys-to-virt: movw <reg>, #offset<31:21> 67 @ virt-to-phys (non-LPAE): movw <reg>, #offset<31:21> 71 @ virt-to-phys (LPAE): movw <reg>, #offset<31:21> 78 @ instructions, where we need to patch in the offset into the 87 @ In the LPAE case, we also need to patc [all...] |
/linux-master/tools/scripts/ |
H A D | utilities.mak | 1 # This allows us to work with the newline character: 12 # This is used as the common way to specify 22 # GNU make's $(shell ...) function converts to a 27 # The only solution is to change each newline into 46 # Use this to escape newlines from within a shell call; 62 # Use this to unescape newlines from within a shell call; 110 # (this is in constrast to a `$(shell ...)' function call, 117 # If the text to be wordified contains a newline, then 119 # to render the text as a single line; when the shell 141 # (It's necessary to us [all...] |
/linux-master/drivers/spi/ |
H A D | spi-hisi-sfc-v3xx.c | 112 dev_err(host->dev, "fail to access protected address\n"); 169 * Quad mode. Double sanitize the ops here to avoid OOB access. 190 * memcpy_{to,from}io doesn't gurantee 32b accesses - which we require for the 195 * For efficient data read/write, we try to put any start 32b unaligned data 199 u8 *to, unsigned int len) 206 if (IS_ALIGNED((uintptr_t)to, 4)) { 209 __ioread32_copy(to, from, words); 215 to += words * 4; 220 for (i = 0; i < len; i++, val >>= 8, to++) 221 *to 198 hisi_sfc_v3xx_read_databuf(struct hisi_sfc_v3xx_host *host, u8 *to, unsigned int len) argument 238 void __iomem *to; local [all...] |
/linux-master/tools/testing/selftests/mm/ |
H A D | charge_reserved_hugetlb.sh | 118 # Wait for hugetlbfs memory to get depleted. 120 echo Waiting for hugetlb memory to get depleted. 131 # Wait for hugetlbfs memory to get written. 133 echo Waiting for hugetlb memory reservation to reach size $size. 144 # Wait for hugetlbfs memory to get written. 146 echo Waiting for hugetlb memory to reach size $size. 213 # to wait for the async process to start and execute... 406 # Skip mmap(MAP_HUGETLB | MAP_SHARED). Doesn't seem to be supported. 411 # Skip populated shmem tests. Doesn't seem to b [all...] |
/linux-master/arch/arm/include/asm/ |
H A D | uaccess.h | 24 * These two functions allow hooking accesses to userspace to increase 35 /* Set the current domain access to permit user accesses */ 85 * code generates any references to them, that's a bug. 129 * which read from user space (*get_*) need to take care not to leak 130 * kernel data even if the calling code is buggy and fails to check 134 * main code path. When we only write to user space, there is no 263 * verifying accessors, because we need to add verification of the 264 * address space there. Force these to us 537 raw_copy_from_user(void *to, const void __user *from, unsigned long n) argument 553 raw_copy_to_user(void __user *to, const void *from, unsigned long n) argument 582 raw_copy_from_user(void *to, const void __user *from, unsigned long n) argument 588 raw_copy_to_user(void __user *to, const void *from, unsigned long n) argument 598 clear_user(void __user *to, unsigned long n) argument [all...] |