/linux-master/fs/xfs/ |
H A D | xfs_inode_item_recover.c | 47 * If we have been told that we have to reparent the inode fork, it's because an 49 * replaying it. We need to walk the BMBT of the appropriate fork and change the 52 * The complexity here is that we don't have an inode context to work with, so 53 * after we've replayed the inode we need to instantiate one. This is where the 60 * count to zero (i.e. it's been unlinked), then xfs_inactive() will run 63 * So, to avoid this, we instantiate an inode directly from the inode core we've 64 * just recovered. We have the buffer still locked, and all we really need to 67 * xfs_inode without having to run any transactions at all. 69 * Also, because we don't have a transaction context available here but need to 71 * instead for the operation to us 153 xfs_log_dinode_to_disk_iext_counters( struct xfs_log_dinode *from, struct xfs_dinode *to) argument 169 xfs_log_dinode_to_disk( struct xfs_log_dinode *from, struct xfs_dinode *to, xfs_lsn_t lsn) argument [all...] |
/linux-master/arch/arm/kernel/ |
H A D | fiqasm.S | 12 * FIQ support re-written by Russell King to be more generic 29 mov r0, r0 @ avoid hazard prior to ARMv4 33 msr cpsr_c, r1 @ return to SVC mode 34 mov r0, r0 @ avoid hazard prior to ARMv4 42 mov r0, r0 @ avoid hazard prior to ARMv4 46 msr cpsr_c, r1 @ return to SVC mode 47 mov r0, r0 @ avoid hazard prior to ARMv4
|
H A D | io.c | 12 * Allows thread-safe access to registers shared by unrelated subsystems. 42 * Copy data from IO memory space to "real" memory space. 43 * This needs to be optimized. 45 void _memcpy_fromio(void *to, const volatile void __iomem *from, size_t count) argument 47 unsigned char *t = to; 58 * Copy data from "real" memory space to IO memory space. 59 * This needs to be optimized. 61 void _memcpy_toio(volatile void __iomem *to, const void *from, size_t count) argument 66 writeb(*f, to); 68 to [all...] |
/linux-master/drivers/staging/media/atomisp/pci/isp/kernels/iterator/iterator_1.0/ |
H A D | ia_css_iterator.host.c | 29 struct sh_css_isp_iterator_isp_config *to, 34 ia_css_frame_info_to_frame_sp_info(&to->input_info, from->input_info); 35 ia_css_frame_info_to_frame_sp_info(&to->internal_info, from->internal_info); 36 ia_css_frame_info_to_frame_sp_info(&to->output_info, from->output_info); 37 ia_css_frame_info_to_frame_sp_info(&to->vf_info, from->vf_info); 38 ia_css_resolution_to_sp_resolution(&to->dvs_envelope, from->dvs_envelope); 64 * we assign vf_out res to out res, but for ISP internal processing, we need 28 ia_css_iterator_config( struct sh_css_isp_iterator_isp_config *to, const struct ia_css_iterator_configuration *from, unsigned int size) argument
|
/linux-master/drivers/clocksource/ |
H A D | timer-of.c | 24 struct timer_of *to = container_of(of_irq, struct timer_of, of_irq); local 26 struct clock_event_device *clkevt = &to->clkevt; 54 struct timer_of *to = container_of(of_irq, struct timer_of, of_irq); local 55 struct clock_event_device *clkevt = &to->clkevt; 60 pr_err("Failed to get interrupt %s for %pOF\n", 68 pr_err("Failed to map interrupt for %pOF\n", np); 79 pr_err("Failed to request irq %d for %pOF\n", of_irq->irq, np); 120 pr_err("Failed to get clock for %pOF\n", np); 133 pr_err("Failed to get clock rate for %pOF\n", np); 161 pr_err("Failed to ioma 168 timer_of_init(struct device_node *np, struct timer_of *to) argument 220 timer_of_cleanup(struct timer_of *to) argument [all...] |
H A D | timer-gx6605s.c | 57 /* use reset to pause timer */ 77 static struct timer_of to = { variable in typeref:struct:timer_of 98 base = timer_of_base(&to) + CLKSRC_OFFSET; 108 clockevents_config_and_register(&to.clkevt, timer_of_rate(&to), 2, 123 sched_clock_register(gx6605s_sched_clock_read, 32, timer_of_rate(&to)); 126 timer_of_rate(&to), 200, 32, clocksource_mmio_readl_up); 137 * The timer is mmio map to access, so we need give mmio address in dts. 147 ret = timer_of_init(np, &to); 151 gx6605s_clkevt_init(timer_of_base(&to)); [all...] |
H A D | timer-npcm7xx.c | 58 struct timer_of *to = to_timer_of(evt); local 61 val = readl(timer_of_base(to) + NPCM7XX_REG_TCSR0); 63 writel(val, timer_of_base(to) + NPCM7XX_REG_TCSR0); 70 struct timer_of *to = to_timer_of(evt); local 73 val = readl(timer_of_base(to) + NPCM7XX_REG_TCSR0); 75 writel(val, timer_of_base(to) + NPCM7XX_REG_TCSR0); 82 struct timer_of *to = to_timer_of(evt); local 85 val = readl(timer_of_base(to) + NPCM7XX_REG_TCSR0); 88 writel(val, timer_of_base(to) + NPCM7XX_REG_TCSR0); 95 struct timer_of *to local 111 struct timer_of *to = to_timer_of(clk); local 125 struct timer_of *to = to_timer_of(evt); local [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | sd.h | 22 #define mlx5_sd_for_each_dev_from_to(i, primary, ix_from, to, pos) \ 24 (pos = mlx5_sd_primary_get_peer(primary, i)) && pos != (to); i++) 29 #define mlx5_sd_for_each_dev_to(i, primary, to, pos) \ 30 mlx5_sd_for_each_dev_from_to(i, primary, 0, to, pos) 35 #define mlx5_sd_for_each_secondary_to(i, primary, to, pos) \ 36 mlx5_sd_for_each_dev_from_to(i, primary, 1, to, pos)
|
/linux-master/arch/sh/mm/ |
H A D | nommu.c | 22 void copy_page(void *to, void *from) argument 24 memcpy(to, from, PAGE_SIZE); 27 __kernel_size_t __copy_user(void *to, const void *from, __kernel_size_t n) argument 29 memcpy(to, from, n); 33 __kernel_size_t __clear_user(void __user *to, __kernel_size_t n) argument 35 memset((__force void *)to, 0, n);
|
/linux-master/arch/arm64/include/asm/ |
H A D | io.h | 105 * Create a dummy control dependency from the IO read to any \ 106 * later instructions. This ensures that a subsequent call to \ 107 * udelay() will be ordered due to the ISB in get_cycles(). \ 143 * The ARM64 iowrite implementation is intended to support drivers that want to 145 * byte __iowrite64_copy() expect to get a 64 byte MemWr TLP on the PCIe bus. 149 * approaches have a very low chance to generate write combining. 152 * it also integrates the DGH hint which is supposed to lower the latency to 156 static inline void __const_memcpy_toio_aligned32(volatile u32 __iomem *to, argument 199 __const_iowrite32_copy(void __iomem *to, const void *from, size_t count) argument 215 __const_memcpy_toio_aligned64(volatile u64 __iomem *to, const u64 *from, size_t count) argument 258 __const_iowrite64_copy(void __iomem *to, const void *from, size_t count) argument [all...] |
/linux-master/drivers/net/fddi/skfp/ |
H A D | pmf.c | 115 * only accessible locally to get/set passwd 204 * only accessible locally to get/set TMIN 552 char *to ; local 575 to = (char *) (pcon->pc_p) ; /* destination pointer */ 578 pa = (struct smt_para *) to ; /* type/length pointer */ 579 to += PARA_LEN ; /* skip smt_para */ 588 to[0] = 0 ; 589 to[1] = 0 ; 590 to[2] = 0 ; 591 to[ 1075 char *to ; local [all...] |
/linux-master/arch/powerpc/kernel/ |
H A D | signal.h | 35 extern unsigned long copy_vsx_to_user(void __user *to, 37 extern unsigned long copy_ckvsx_to_user(void __user *to, 43 unsigned long copy_fpr_to_user(void __user *to, struct task_struct *task); 44 unsigned long copy_ckfpr_to_user(void __user *to, struct task_struct *task); 48 #define unsafe_copy_fpr_to_user(to, task, label) do { \ 50 u64 __user *buf = (u64 __user *)to; \ 58 #define unsafe_copy_vsx_to_user(to, task, label) do { \ 60 u64 __user *buf = (u64 __user *)to; \ 89 #define unsafe_copy_ckfpr_to_user(to, task, label) do { \ 91 u64 __user *buf = (u64 __user *)to; \ 140 copy_fpr_to_user(void __user *to, struct task_struct *task) argument 158 copy_ckfpr_to_user(void __user *to, struct task_struct *task) argument 177 copy_fpr_to_user(void __user *to, struct task_struct *task) argument [all...] |
/linux-master/arch/nios2/kernel/ |
H A D | ptrace.c | 5 * This file is subject to the terms and conditions of the GNU General 23 struct membuf to) 28 membuf_zero(&to, 4); // R0 29 membuf_write(&to, ®s->r1, 7 * 4); // R1..R7 30 membuf_write(&to, ®s->r8, 8 * 4); // R8..R15 31 membuf_write(&to, sw, 8 * 4); // R16..R23 32 membuf_zero(&to, 2 * 4); /* et and bt */ 33 membuf_store(&to, regs->gp); 34 membuf_store(&to, regs->sp); 35 membuf_store(&to, reg 21 genregs_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument [all...] |
/linux-master/arch/arm/mach-omap2/ |
H A D | pm44xx.c | 40 * @to: to clockdomain 44 const char *to; member in struct:static_dep_map 71 * For MPUSS to hit power domain retention(CSWR or OSWR), 72 * CPU0 and CPU1 power domains need to be in OFF or DORMANT state, 96 * versions of bootloaders. This is due to missing code in the 97 * kernel to properly reset and initialize some devices. 104 pr_info("Successfully put all powerdomains to target state\n"); 165 * expected. The hardware recommendation is to enable static 166 * dependencies for these to avoi 193 struct clockdomain *from, *to; local [all...] |
/linux-master/include/net/ |
H A D | seg6.h | 18 __be32 to) 20 __be32 diff[] = { ~from, to }; 26 __be32 *to) 30 to[0], to[1], to[2], to[3], 17 update_csum_diff4(struct sk_buff *skb, __be32 from, __be32 to) argument 25 update_csum_diff16(struct sk_buff *skb, __be32 *from, __be32 *to) argument
|
/linux-master/arch/m68k/include/asm/ |
H A D | page_mm.h | 11 * We don't need to check for alignment etc. 14 static inline void copy_page(void *to, void *from) argument 24 : "=a" (to), "=a" (from), "=d" (tmp) 25 : "0" (to), "1" (from), "2" (PAGE_SIZE / 32 - 1)); 52 #define copy_page(to,from) memcpy((to), (from), PAGE_SIZE) 59 #define copy_user_page(to, from, vaddr, page) \ 60 do { copy_page(to, from); \ 93 /* This #define is a horrible hack to suppress lots of warnings. --m */
|
/linux-master/include/linux/ |
H A D | highmem.h | 18 * @page: Pointer to the page to be mapped 28 * The returned virtual address is globally visible and valid up to the 29 * point where it is unmapped via kunmap(). The pointer can be handed to 41 * @page: Pointer to the page which was mapped by kmap() 43 * Counterpart to kmap(). A NOOP for CONFIG_HIGHMEM=n and for mappings of 50 * @addr: The address to look up 52 * Returns: The page which is mapped to @addr. 57 * kmap_flush_unused - Flush all unused kmap mappings in order to 64 * @page: Pointer to th 303 copy_user_highpage(struct page *to, struct page *from, unsigned long vaddr, struct vm_area_struct *vma) argument 320 copy_highpage(struct page *to, struct page *from) argument 341 copy_mc_user_highpage(struct page *to, struct page *from, unsigned long vaddr, struct vm_area_struct *vma) argument 358 copy_mc_highpage(struct page *to, struct page *from) argument 374 copy_mc_user_highpage(struct page *to, struct page *from, unsigned long vaddr, struct vm_area_struct *vma) argument 381 copy_mc_highpage(struct page *to, struct page *from) argument 411 memcpy_from_page(char *to, struct page *page, size_t offset, size_t len) argument 424 char *to = kmap_local_page(page); local 449 memcpy_from_folio(char *to, struct folio *folio, size_t offset, size_t len) argument 483 char *to = kmap_local_folio(folio, offset); local 553 char *to = kmap_local_folio(folio, offset); local 588 memcpy_from_file_folio(char *to, struct folio *folio, loff_t pos, size_t len) argument [all...] |
H A D | projid.h | 12 * to detect when we overlook these differences. 55 extern projid_t from_kprojid(struct user_namespace *to, kprojid_t projid); 56 extern projid_t from_kprojid_munged(struct user_namespace *to, kprojid_t projid); 70 static inline projid_t from_kprojid(struct user_namespace *to, kprojid_t kprojid) argument 75 static inline projid_t from_kprojid_munged(struct user_namespace *to, kprojid_t kprojid) argument 77 projid_t projid = from_kprojid(to, kprojid);
|
/linux-master/drivers/staging/media/atomisp/pci/isp/kernels/xnr/xnr_3.0/ |
H A D | ia_css_xnr3.host.c | 26 /* Minimum value for sigma on host interface. Lower values translate to 33 * Refers to XNR3.0.5 58 * to the ineffective values as possible. Due to the chroma down+upsampling, 60 * 'blending' parameter is used to create a bypass. 105 /* Convert from public host-side scale factor to isp-side scale 106 * factor. Clip to [0, isp_scale-1). 124 /* Convert from public host-side scale factor to isp-side scale 135 struct sh_css_isp_xnr3_params *to, 168 to 134 ia_css_xnr3_encode( struct sh_css_isp_xnr3_params *to, const struct ia_css_xnr3_config *from, unsigned int size) argument 191 ia_css_xnr3_vmem_encode( struct sh_css_isp_xnr3_vmem_params *to, const struct ia_css_xnr3_config *from, unsigned int size) argument [all...] |
/linux-master/tools/testing/selftests/futex/functional/ |
H A D | futex_waitv.c | 39 struct timespec to; local 43 if (clock_gettime(CLOCK_MONOTONIC, &to)) 46 to.tv_sec++; 48 res = futex_waitv(waitv, NR_FUTEXES, 0, &to, CLOCK_MONOTONIC); 64 struct timespec to; local 151 if (clock_gettime(CLOCK_MONOTONIC, &to)) 154 to.tv_sec++; 156 res = futex_waitv(waitv, NR_FUTEXES, 0, &to, CLOCK_MONOTONIC); 170 if (clock_gettime(CLOCK_MONOTONIC, &to)) 173 to [all...] |
/linux-master/arch/x86/lib/ |
H A D | usercopy_32.c | 53 * @to: Destination address, in user space. 54 * @n: Number of bytes to zero. 62 clear_user(void __user *to, unsigned long n) argument 65 if (access_ok(to, n)) 66 __do_clear_user(to, n); 73 * @to: Destination address, in user space. 74 * @n: Number of bytes to zero. 83 __clear_user(void __user *to, unsigned long n) argument 85 __do_clear_user(to, n); 92 __copy_user_intel(void __user *to, cons argument 191 __copy_user_intel_nocache(void *to, const void __user *from, unsigned long size) argument 313 __copy_user_ll(void *to, const void *from, unsigned long n) argument 325 __copy_from_user_ll_nocache_nozero(void *to, const void __user *from, unsigned long n) argument [all...] |
/linux-master/arch/arc/mm/ |
H A D | tlbex.S | 20 * Now 40 and 135 instructions apiece as compared to 131 and 449 resp. 22 * Used Conditional arithmetic to replace excessive branching 26 * -Passing ECR (Exception Cause REG) to do_page_fault( ) for printing 30 * -Added Debug Code to check if sw-ASID == hw-ASID 48 ; For Non-SMP, the scratch AUX reg is repurposed to cache task PGD, so a 49 ; "global" is used to free-up FIRST core reg to be able to code the rest of 52 ; need to be saved as well by extending the "global" to b [all...] |
/linux-master/net/dccp/ |
H A D | options.c | 45 * @dreq: request socket to use during connection setup, or NULL 46 * @skb: frame to parse 97 * The same applies to Ack Vectors, as these depend on the CCID. 134 * RFC 4340 13.1: "The precise time corresponding to 136 * zero to indicate absence of a meaningful timestamp. 190 /* Give precedence to the biggest ELAPSED_TIME */ 266 void dccp_encode_value_var(const u64 value, u8 *to, const u8 len) argument 269 *to++ = (value & 0xFF0000000000ull) >> 40; 271 *to++ = (value & 0xFF00000000ull) >> 32; 273 *to 292 unsigned char *to; local 357 unsigned char *to; local 407 unsigned char *to; local 507 u8 tot_len, *to; local [all...] |
/linux-master/include/asm-generic/ |
H A D | uaccess.h | 17 __get_user_fn(size_t size, const void __user *from, void *to) argument 23 *(u8 *)to = *((u8 __force *)from); 26 *(u16 *)to = get_unaligned((u16 __force *)from); 29 *(u32 *)to = get_unaligned((u32 __force *)from); 32 *(u64 *)to = get_unaligned((u64 __force *)from); 43 __put_user_fn(size_t size, void __user *to, void *from) argument 49 *(u8 __force *)to = *(u8 *)from; 52 put_unaligned(*(u16 *)from, (u16 __force *)to); 55 put_unaligned(*(u32 *)from, (u32 __force *)to); 58 put_unaligned(*(u64 *)from, (u64 __force *)to); 82 raw_copy_from_user(void *to, const void __user * from, unsigned long n) argument 89 raw_copy_to_user(void __user *to, const void *from, unsigned long n) argument 212 __clear_user(void __user *to, unsigned long n) argument 220 clear_user(void __user *to, unsigned long n) argument [all...] |
/linux-master/fs/jffs2/ |
H A D | writev.c | 17 unsigned long count, loff_t to, size_t *retlen) 22 res = jffs2_sum_add_kvec(c, vecs, count, (uint32_t) to); 29 return mtd_writev(c->mtd, vecs, count, to, retlen); 16 jffs2_flash_direct_writev(struct jffs2_sb_info *c, const struct kvec *vecs, unsigned long count, loff_t to, size_t *retlen) argument
|