Searched refs:to (Results 301 - 325 of 1529) sorted by relevance

<<11121314151617181920>>

/linux-master/drivers/media/pci/ivtv/
H A Divtv-queue.c44 /* clear the buffer if it is going to be enqueued to the free queue */
77 struct ivtv_queue *to, int clear)
81 list_move_tail(from->list.next, &to->list);
88 to->buffers++;
89 to->length += s->buf_size;
90 to->bytesused += buf->bytesused - buf->readpos;
93 /* Move 'needed_bytes' worth of buffers from queue 'from' into queue 'to'.
94 If 'needed_bytes' == 0, then move all buffers from 'from' into 'to'.
98 The buffer is automatically cleared if it goes to th
76 ivtv_queue_move_buf(struct ivtv_stream *s, struct ivtv_queue *from, struct ivtv_queue *to, int clear) argument
110 ivtv_queue_move(struct ivtv_stream *s, struct ivtv_queue *from, struct ivtv_queue *steal, struct ivtv_queue *to, int needed_bytes) argument
[all...]
/linux-master/drivers/base/
H A Darch_numa.c44 * Returns a pointer to the bitmask of CPUs on Node 'node'.
95 * Requires node_possible_map to be valid.
98 * (Use CONFIG_DEBUG_PER_CPU_MAPS to check this.)
115 pr_debug("Node to cpumask map for %u nodes\n", nr_node_ids);
119 * Set the cpu to node and mem mapping
128 /* fallback to node 0 */
152 static int __init pcpu_cpu_distance(unsigned int from, unsigned int to) argument
154 return node_distance(early_cpu_to_node(from), early_cpu_to_node(to));
174 pr_warn("PERCPU: %s allocator failed (%d), falling back to page size\n",
184 panic("Failed to initializ
308 numa_set_distance(int from, int to, int distance) argument
335 __node_distance(int from, int to) argument
[all...]
/linux-master/arch/x86/events/amd/
H A Dlbr.c59 } to; member in struct:branch_entry
103 u64 from, to; local
105 /* If sampling all branches, there is nothing to filter */
112 to = cpuc->lbr_entries[i].to;
113 type = branch_type_fused(from, to, 0, &offset);
117 * fusion where it points to an instruction preceding the
172 entry.to.full = amd_pmu_lbr_get_to(i);
179 if ((!entry.to.split.valid && !entry.to
[all...]
/linux-master/arch/powerpc/kernel/ptrace/
H A Dptrace-tm.c14 * If task is not current, it will have been flushed already to
73 * @to: Destination of copy.
78 * GPR register values for the current transaction to fall back on if it
87 struct membuf to)
89 struct membuf to_msr = membuf_at(&to, offsetof(struct pt_regs, msr));
91 struct membuf to_softe = membuf_at(&to, offsetof(struct pt_regs, softe));
104 membuf_write(&to, &target->thread.ckpt_regs, sizeof(struct user_pt_regs));
110 return membuf_zero(&to, ELF_NGREG * sizeof(unsigned long) -
119 * @count: Number of bytes to copy.
120 * @kbuf: Kernel buffer to cop
86 tm_cgpr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
229 tm_cfpr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
342 tm_cvmx_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
469 tm_cvsx_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
574 tm_spr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
664 tm_tar_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
705 tm_ppr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
745 tm_dscr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
774 tm_cgpr32_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
[all...]
/linux-master/drivers/gpu/drm/i915/
H A Di915_request.c4 * Permission is hereby granted, free of charge, to any person obtaining a
6 * to deal in the Software without restriction, including without limitation
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8 * and/or sell copies of the Software, and to permit persons to whom the
9 * Software is furnished to do so, subject to the following conditions:
72 * We could extend the life of a context to beyond that of all
130 * caught trying to reuse dead objects.
138 * We do not hold a reference to th
1143 __emit_semaphore_wait(struct i915_request *to, struct i915_request *from, u32 seqno) argument
1194 can_use_semaphore_wait(struct i915_request *to, struct i915_request *from) argument
1200 emit_semaphore_wait(struct i915_request *to, struct i915_request *from, gfp_t gfp) argument
1263 __i915_request_await_execution(struct i915_request *to, struct i915_request *from) argument
1393 is_same_parallel_context(struct i915_request *to, struct i915_request *from) argument
1449 await_request_submit(struct i915_request *to, struct i915_request *from) argument
1468 i915_request_await_request(struct i915_request *to, struct i915_request *from) argument
1602 i915_request_await_object(struct i915_request *to, struct drm_i915_gem_object *obj, bool write) argument
[all...]
/linux-master/arch/m68k/fpsp040/
H A Dslog2.S10 | INPUT: Double-extended value in memory location pointed to
18 | to 53 bits if the result is subsequently rounded
19 | to double precision. The result is provably monotonic
33 | flag. Otherwise, save FPCR in D1; set FpCR to default.
34 | Notes: Default means round-to-nearest mode, no floating-point
37 | Step 1. Call slognd to obtain Y = log(X), the natural log of X.
48 | flag. Otherwise, save FPCR in D1; set FpCR to default.
49 | Notes: Default means round-to-nearest mode, no floating-point
52 | Step 1. Call sLogN to obtain Y = log(X), the natural log of X.
62 | flag. Otherwise, save FPCR in D1; set FpCR to defaul
[all...]
H A Dround.S21 | round --- round result according to precision/mode
23 | a0 points to the input operand in the internal extended format
35 | On return the value pointed to by a0 is correctly rounded,
53 bne rnd_cont |lower bits to zero for size
78 | If sign of fp number = 0 (positive), then add 1 to l.
84 movel #0xffffffff,%d0 |force g,r,s to be all f's
91 | If sign of fp number = 1 (negative), then add 1 to l.
97 movel #0xffffffff,%d0 |force g,r,s to be all f's
112 | If (g=1), then add 1 to l and if (r=s=0), then clear l
113 | Note that this will round to eve
[all...]
H A Dstwotox.S9 | Input: Double-extended number X in location pointed to
15 | 64 significant bit, i.e. within 0.5001 ulp to 53 bits if the
16 | result is subsequently rounded to double precision. The
25 | 1. If |X| > 16480, go to ExpBig.
27 | 2. If |X| < 2**(-70), go to ExpSm.
35 | Go to expr to compute that expression.
38 | 1. If |X| > 16480*log_10(2) (base 10 log of 2), go to ExpBig.
40 | 2. If |X| < 2**(-70), go to ExpSm.
43 | N := round-to
[all...]
H A Dx_fline.S53 addl #4,%a6 |to offset the sub.l #4,a7 above so that
54 | ;a6 can point correctly to the stack frame
55 | ;before branching to mem_read
66 | ;and go to FPSP_UNIMP
83 movew EXC_SR+4(%a6),EXC_SR(%a6) |move stacked sr to new position
84 movel EXC_PC+4(%a6),EXC_PC(%a6) |move stacked pc to new position
85 fmovel EXC_PC(%a6),%FPIAR |point FPIAR to fline inst
87 addl %d1,EXC_PC(%a6) |increment stacked pc value to next inst
88 movew #0x202c,EXC_VEC(%a6) |reformat vector to unimp
H A Dx_operr.S12 | the upper 32 bits of the mantissa are sent to the integer unit). If
73 | If so, fall through, else branch to operr_end
109 moveql #4,%d1 |write size to d1
156 moveql #2,%d1 |write size to d1
183 moveql #1,%d1 |write size to d1
212 | and aiop and write the portion of the nan to memory for the
244 | to memory or data register as required. A read of the fline
245 | is required to determine the destination.
248 movel %d0,L_SCR1(%a6) |move write data to L_SCR1
269 bral reg_dest |call to reg_des
[all...]
/linux-master/arch/sh/include/asm/
H A Duaccess.h16 * Careful to not
25 * doing multiple accesses to the same area (the user has to do the
85 __kernel_size_t __copy_user(void *to, const void *from, __kernel_size_t n);
88 raw_copy_from_user(void *to, const void __user *from, unsigned long n) argument
90 return __copy_user(to, (__force void *)from, n);
94 raw_copy_to_user(void __user *to, const void *from, unsigned long n) argument
96 return __copy_user((__force void *)to, from, n);
127 unsigned long (*to)(void __user *dst, const void *src, unsigned long cnt); member in struct:mem_access
/linux-master/arch/xtensa/include/asm/
H A Duaccess.h6 * These routines provide basic accessing functions to the user memory
9 * This file is subject to the terms and conditions of the GNU General Public
29 * This gets kind of ugly. We want to return _two_ values in
30 * "get_user()" and yet we don't want to do any pointers, because that
34 * Careful to not
45 * accesses to the same area of user memory).
92 * User code passes a bad variable ptr to a system call.
93 * Kernel tries to access the variable.
95 * Unaligned exception handler tries to make aligned accesses.
97 * do_page_fault() thinks the fault address belongs to th
229 raw_copy_from_user(void *to, const void __user *from, unsigned long n) argument
235 raw_copy_to_user(void __user *to, const void *from, unsigned long n) argument
[all...]
/linux-master/arch/loongarch/include/asm/
H A Duaccess.h29 * @x: Variable to store result.
35 * This macro copies a single simple variable from user space to kernel
39 * @ptr must have pointer-to-simple-variable type, and the result of
40 * dereferencing @ptr must be assignable to @x without a cast.
43 * On error, the variable @x is set to zero.
56 * @x: Value to copy to user space.
62 * This macro copies a single simple value from kernel space to user
66 * @ptr must have pointer-to-simple-variable type, and @x must be assignable
67 * to th
217 raw_copy_from_user(void *to, const void __user *from, unsigned long n) argument
223 raw_copy_to_user(void __user *to, const void *from, unsigned long n) argument
[all...]
/linux-master/drivers/net/wireless/ath/ath9k/
H A Ddynack.c4 * Permission to use, copy, modify, and/or distribute this software for any
27 * ath_dynack_get_max_to - set max timeout according to channel width
102 * @to: timeout value
105 static void ath_dynack_set_timeout(struct ath_hw *ah, int to) argument
108 int slottime = (to - 3) / 2;
111 to, slottime);
113 ath9k_hw_set_ack_timeout(ah, to);
114 ath9k_hw_set_cts_timeout(ah, to);
127 int to = 0; local
130 if (an->ackto > to)
[all...]
/linux-master/fs/ceph/
H A Dcache.h34 static inline void ceph_fscache_resize(struct inode *inode, loff_t to) argument
41 fscache_resize_cookie(cookie, to);
99 static inline void ceph_fscache_resize(struct inode *inode, loff_t to) argument
/linux-master/arch/csky/include/asm/
H A Dpage.h23 * are two segment registers (MSA0 + MSA1) to mapping 512MB + 512MB physical
41 extern void *memcpy(void *to, const void *from, size_t l);
44 #define copy_page(to, from) memcpy((to), (from), PAGE_SIZE)
/linux-master/arch/x86/lib/
H A Dcopy_mc.c23 * Similar to copy_user_handle_tail, probe for the write fault point, or
27 copy_mc_fragile_handle_tail(char *to, char *from, unsigned len) argument
29 for (; len; --len, to++, from++)
30 if (copy_mc_fragile(to, from, 1))
52 * @len: number of bytes to copy
58 * recoverable copy, or fallback to plain memcpy.
/linux-master/arch/sh/lib/
H A Dmemcpy.S20 sub r4,r5 ! From here, r5 has the distance to r0
39 mov r0,r3 ! Save the value on R0 to R3
44 mov r3,r0 ! and back to R0
68 ! First, align to long word boundary
100 ! First, align to long word boundary
152 ! First, align to word boundary
181 ! First, align to long word boundary
/linux-master/arch/sh/boards/mach-hp6xx/
H A Dpm_wakeup.S28 ! jump to handler
/linux-master/fs/hpfs/
H A Dname.c57 unsigned char *to; local
64 pr_err("It's nothing serious. It could happen because of bug in OS/2.\nSet checks=normal to disable this message.\n");
67 if (!(to = kmalloc(len, GFP_KERNEL))) {
71 for (i = 0; i < len; i++) to[i] = locase(hpfs_sb(s)->sb_cp_table,from[i]);
72 return to;
105 /* OS/2 clears dots and spaces at the end of file name, so we have to */
/linux-master/arch/arm/mach-omap2/
H A Dsleep24xx.S35 * The if the DPLL is going to AutoIdle. It seems like the DPLL may be back on
43 * To work around this the code will switch to the 32kHz source prior to sleep.
44 * Post sleep we will shift back to using the DPLL. Apparently,
45 * CM_IDLEST_CLKGEN does not reflect the full clock change so you need to wait
48 * The DLL load value is not kept in RETENTION or OFF. It needs to be restored
69 /* The DPLL has to be on before we take the DDR out of self refresh */
71 str r4, [r2] @ write to SDRC_POWER
76 strne r0, [r1] @ rewrite DLLA to force DLL reload
77 addne r1, r1, #0x8 @ move to DLL
[all...]
/linux-master/drivers/media/pci/cobalt/
H A Dcobalt-flash.c46 static void flash_copy_from(struct map_info *map, void *to, argument
50 u8 *dest = to;
64 static void flash_copy_to(struct map_info *map, unsigned long to, argument
68 u32 dest = to;
/linux-master/drivers/staging/media/atomisp/pci/isp/kernels/s3a/s3a_1.0/
H A Dia_css_s3a.host.h31 struct sh_css_isp_s3a_params *to,
/linux-master/include/linux/
H A Dparser.h27 char *to; member in struct:__anon987
/linux-master/tools/testing/selftests/futex/functional/
H A Dfutex_wait.c33 struct timespec to; local
39 to.tv_sec = 0;
40 to.tv_nsec = timeout_ns;
42 if (futex_wait(futex, 0, &to, flags))

Completed in 249 milliseconds

<<11121314151617181920>>