Searched refs:to (Results 276 - 300 of 1522) sorted by relevance

<<11121314151617181920>>

/linux-master/arch/m68k/fpsp040/
H A Ddecbin.S4 | Description: Converts normalized packed bcd value pointed to by
5 | register A6 to extended-precision value in FP0.
13 | Speed: The program decbin takes ??? cycles to execute.
24 | A1. Convert the bcd exponent to binary by successive adds and muls.
25 | Set the sign according to SE. Subtract 16 to compensate
26 | for the mantissa which is to be interpreted as 17 integer
30 | A2. Convert the bcd mantissa to binary by successive
31 | adds and muls in FP0. Set the sign according to SM.
39 | exponent equal to th
[all...]
H A Dbugfix.S6 | relating to the Floating-Point Software Package (FPSP)
14 | * the handler permanently to improve throughput.
17 | * corresponds to FP0, bit 17 corresponds to FP1,
35 | /* Note: for 6d43b or 8d43b, you may want to add the following code
36 | * to get better coverage. (If you do not insert this code, the part
66 | * Otherwise, we would have to include OVFL/UNFL handler
67 | * code here to get the correct answer.
80 | /* Make sure that the cmdreg3b dest reg is not going to
115 | * Otherwise, we would have to includ
[all...]
H A Dbindec.S8 | to bcd format.
11 | a0 points to the input extended precision value
13 | to 32-bits. The input may be either normalized,
44 | LEN is the number of digits to be displayed. The
47 | after the decimal point which are to be included as
49 | If LEN is computed to be greater than 17, set OPERR in
53 | SCALE is equal to 10^ISCALE, where ISCALE is the number
54 | of decimal places needed to insure LEN integer digits
55 | in the output before conversion to bcd. LAMBDA is the
63 | RZ mode is forced for the scaling operation to insur
[all...]
H A Dsacos.S8 | Input: Double-extended number X in location pointed to
14 | 64 significant bit, i.e. within 0.5001 ulp to 53 bits if the
15 | result is subsequently rounded to double precision. The
23 | 1. If |X| >= 1, go to 3.
30 | 3. If |X| > 1, go to 5.
104 fadds #0x00800000,%fp0 |cause an inexact exception to be put
H A Dscale.S9 | The entry point sscale is called from do_func to emulate
15 | Output: The function returns scale(X,Y) to fp0.
53 smi L_SCR1(%a6) |use L_SCR1 to hold sign
83 | move it to d0.
88 fmovel %fp0,%d0 |int src to d0
93 | Source is positive. Add the src to the dest exponent.
100 addl %d0,%d1 |add src to dest exp
110 fmovex FPTEMP(%a6),%fp0 |write result to fp0
138 fmovex FPTEMP(%a6),%fp0 |write result to fp0
142 | Source is negative. Add the src to th
[all...]
H A Dx_unfl.S11 | it is equal to the denormalized exponent for the destination
12 | format. After denormalization, the result is rounded to the
17 | operand needs to made available to the user with a bias of $6000
18 | added to the exponent.
65 | to b1238_fix.
80 | It is possible to have either inex2 or inex1 exceptions with the
82 | inex2 or inex1 occurred, we must clean up and branch to the
99 | to b1238_fix.
120 | to b1238_fi
[all...]
/linux-master/fs/
H A Dselect.c11 * parameter to reflect time remaining.
14 * Changed sys_poll()/do_poll() to use PAGE_SIZE chunk-based allocation
15 * of fds to overcome nfds < 16390 descriptors limit (Tigran Aivazian).
47 * Consider this comment an open invitation to come up with even
109 * I have rewritten this, taking some shortcuts: This code may not be easy to
116 * as all select/poll functions have to call it to add an entry to the
194 * smp_wmb() is equivalent to smp_wmb() in try_to_wake_up()
204 * TODO: This is hacky but there currently is no interface to
274 poll_select_set_timeout(struct timespec64 *to, time64_t sec, long nsec) argument
481 ktime_t expire, *to = NULL; local
707 struct timespec64 end_time, *to = NULL; local
737 struct timespec64 ts, end_time, *to = NULL; local
778 get_sigset_argpack(struct sigset_argpack *to, struct sigset_argpack __user *from) argument
889 ktime_t expire, *to = NULL; local
1052 struct timespec64 *to = NULL, end_time; local
1072 struct timespec64 end_time, *to = NULL; local
1106 struct timespec64 ts, end_time, *to = NULL; local
1132 struct timespec64 ts, end_time, *to = NULL; local
1270 struct timespec64 end_time, *to = NULL; local
1319 struct timespec64 ts, end_time, *to = NULL; local
1353 get_compat_sigset_argpack(struct compat_sigset_argpack *to, struct compat_sigset_argpack __user *from) argument
1404 struct timespec64 ts, end_time, *to = NULL; local
1430 struct timespec64 ts, end_time, *to = NULL; local
[all...]
/linux-master/drivers/s390/cio/
H A Didset.c77 /* Clear ids starting from @schid up to end of subchannel set. */
95 void idset_add_set(struct idset *to, struct idset *from) argument
97 int len = min(to->num_ssid * to->num_id, from->num_ssid * from->num_id);
99 bitmap_or(to->bitmap, to->bitmap, from->bitmap, len);
/linux-master/io_uring/
H A Dslist.h71 struct io_wq_work_node *to)
73 list->last->next = to->next;
74 to->next = list->first;
79 struct io_wq_work_node *to)
82 __wq_list_splice(list, to);
70 __wq_list_splice(struct io_wq_work_list *list, struct io_wq_work_node *to) argument
78 wq_list_splice(struct io_wq_work_list *list, struct io_wq_work_node *to) argument
/linux-master/block/
H A Dholder.c24 static int add_symlink(struct kobject *from, struct kobject *to) argument
26 return sysfs_create_link(from, to, kobject_name(to));
29 static void del_symlink(struct kobject *from, struct kobject *to) argument
31 sysfs_remove_link(from, kobject_name(to));
43 * - from "slaves" directory of the holder @disk to the claimed @bdev
44 * - from "holders" directory of the @bdev to the holder @disk
46 * For example, if /dev/dm-0 maps to /dev/sda and disk for dm-0 is
47 * passed to bd_link_disk_holder(), then:
74 * del_gendisk drops the initial reference to bd_holder_di
[all...]
/linux-master/drivers/ras/
H A Dcec.c21 * We've opted for possibly the simplest data structure to collect those - an
27 * The generation in the two highest order bits is two bits which are set to 11b
29 * generation field gets decremented during spring cleaning to 10b, then 01b and
32 * This way we're employing the natural numeric ordering to make sure that newly
39 * If, after decay, an element gets inserted again, its generation is set to 11b
40 * to make sure it has higher numerical count than other, older elements and
41 * thus emulate an LRU-like behavior when deleting elements to free up space
44 * When an element reaches it's max count of action_threshold, we try to poison
47 * initialized to COUNT_MASK which is the maximum.
49 * That error event entry causes cec_add_elem() to retur
186 __find_elem(struct ce_array *ca, u64 pfn, unsigned int *to) argument
223 find_elem(struct ce_array *ca, u64 pfn, unsigned int *to) argument
325 unsigned int to = 0; local
[all...]
/linux-master/drivers/mtd/maps/
H A Ddc21285.c28 * This is really ugly, but it seams to be the only
29 * realiable way to do it, as the cpld state machine
38 * we want to write a bit pattern XXX1 to Xilinx to enable
46 * let the ISA bus to catch on...
75 static void dc21285_copy_from(struct map_info *map, void *to, unsigned long from, ssize_t len) argument
77 memcpy(to, (void*)(map->virt + from), len);
105 static void dc21285_copy_to_32(struct map_info *map, unsigned long to, const void *from, ssize_t len) argument
110 dc21285_write32(map, d, to);
117 dc21285_copy_to_16(struct map_info *map, unsigned long to, const void *from, ssize_t len) argument
129 dc21285_copy_to_8(struct map_info *map, unsigned long to, const void *from, ssize_t len) argument
[all...]
/linux-master/arch/x86/events/amd/
H A Dbrs.c27 msroff:4, /* index of next entry to write */
46 /* bits[4:3] must always be set to 11b */
106 * Due to interrupt holding, BRS is not recommended in
113 * Due to the way BRS operates by holding the interrupt until
115 * to allow sampling on BRS with an event that does not match
125 * Where X is the number of taken branches due to interrupt
167 * msroff: index of next entry to write so top-of-stack is one off
168 * if BRS is full then msroff is set back to 0.
174 * make sure we have a sane BRS offset to begin with
247 * already stopped BRS, no need to issu
262 amd_brs_match_plm(struct perf_event *event, u64 to) argument
326 u64 from, to; local
328 rdmsrl(brs_to(brs_idx), to); local
[all...]
/linux-master/arch/um/kernel/skas/
H A Duaccess.c140 unsigned long *to_ptr = arg, to = *to_ptr; local
142 memcpy((void *) to, (void *) from, len);
147 unsigned long raw_copy_from_user(void *to, const void __user *from, unsigned long n) argument
149 return buffer_op((unsigned long) from, n, 0, copy_chunk_from_user, &to);
153 static int copy_chunk_to_user(unsigned long to, int len, void *arg) argument
157 memcpy((void *) to, (void *) from, len);
162 unsigned long raw_copy_to_user(void __user *to, const void *from, unsigned long n) argument
164 return buffer_op((unsigned long) to, n, 1, copy_chunk_to_user, &from);
170 char **to_ptr = arg, *to = *to_ptr; local
173 strncpy(to, (voi
[all...]
/linux-master/arch/arm/mach-omap2/
H A Dsram242x.S5 * Omap2 specific functions that need to be run in internal SRAM
11 * Richard Woodruff notes that any changes to this code must be carefully
12 * audited and tested to ensure that they don't cause a TLB miss while
14 * since it will cause the ARM MMU to attempt to walk the page tables.
39 str r3, [r2] @ go to L1-freq operation
49 addeq r11, r11, #0x8 @ if cs1 base, move to DLLB
50 mvn r9, #0x4 @ mask to get clear bit2
54 str r10, [r11] @ commit to DLLA_CTRL
55 bl i_dll_wait @ wait for dll to loc
[all...]
H A Dsram243x.S5 * Omap2 specific functions that need to be run in internal SRAM
11 * Richard Woodruff notes that any changes to this code must be carefully
12 * audited and tested to ensure that they don't cause a TLB miss while
14 * since it will cause the ARM MMU to attempt to walk the page tables.
39 str r3, [r2] @ go to L1-freq operation
49 addeq r11, r11, #0x8 @ if cs1 base, move to DLLB
50 mvn r9, #0x4 @ mask to get clear bit2
54 str r10, [r11] @ commit to DLLA_CTRL
55 bl i_dll_wait @ wait for dll to loc
[all...]
/linux-master/arch/openrisc/kernel/
H A Dptrace.c35 * Copy the thread state to a regset that can be interpreted by userspace.
39 * to userspace. As such, we need to make sure that the regset remains
50 struct membuf to)
55 membuf_zero(&to, 4);
56 membuf_write(&to, regs->gpr + 1, 31 * 4);
57 membuf_store(&to, regs->pc);
58 return membuf_store(&to, regs->sr);
82 * Skip SR and padding... userspace isn't allowed to changes bits in
92 * As OpenRISC shares GPRs and floating point registers we don't need to expor
48 genregs_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
96 fpregs_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
[all...]
/linux-master/arch/x86/events/
H A Dutils.c81 * address to be that of an instruction preceding the actual branch
82 * when instruction fusion occurs. If fusion is expected, attempt to
87 static int get_branch_type(unsigned long from, unsigned long to, int abort, argument
102 to_plm = kernel_ip(to) ? X86_BR_KERNEL : X86_BR_USER;
109 if (from == 0 || to == 0)
144 * executing up next to a memory hole, but
145 * it is very unlikely to be a problem.
154 * decoder needs to know the ABI especially
184 * occur on any instructions. Thus, to classify them correctly,
185 * we need to firs
207 branch_type(unsigned long from, unsigned long to, int abort) argument
212 branch_type_fused(unsigned long from, unsigned long to, int abort, int *offset) argument
[all...]
/linux-master/arch/s390/include/asm/
H A Duaccess.h25 raw_copy_from_user(void *to, const void __user *from, unsigned long n);
28 raw_copy_to_user(void __user *to, const void *from, unsigned long n);
36 _copy_from_user_key(void *to, const void __user *from, unsigned long n, unsigned long key);
39 copy_from_user_key(void *to, const void __user *from, unsigned long n, unsigned long key) argument
41 if (check_copy_size(to, n, false))
42 n = _copy_from_user_key(to, from, n, key);
47 _copy_to_user_key(void __user *to, const void *from, unsigned long n, unsigned long key);
50 copy_to_user_key(void __user *to, const void *from, unsigned long n, unsigned long key) argument
53 n = _copy_to_user_key(to, from, n, key);
81 #define __put_user_asm(to, fro
281 clear_user(void __user *to, unsigned long n) argument
[all...]
/linux-master/kernel/futex/
H A Dwaitwake.c11 * READ this before attempting to hack on futexes!
30 * optimization to work, ordering guarantees must exist so that the waiter
31 * being added to the list is acknowledged when the list is concurrently being
50 * This would cause the waiter on CPU 0 to wait forever because it
51 * missed the transition of the user space value from val to newval
84 * to futex and the waiters read (see futex_hb_waiters_pending()).
100 * Refer to the comment in futex_q_lock().
102 * Similarly, in order to account for waiters being requeued on another
112 if (WARN(q->pi_state || q->rt_waiter, "refusing to wake PI futex\n"))
120 * to preven
511 futex_sleep_multiple(struct futex_vector *vs, unsigned int count, struct hrtimer_sleeper *to) argument
539 futex_wait_multiple(struct futex_vector *vs, unsigned int count, struct hrtimer_sleeper *to) argument
647 __futex_wait(u32 __user *uaddr, unsigned int flags, u32 val, struct hrtimer_sleeper *to, u32 bitset) argument
690 struct hrtimer_sleeper timeout, *to; local
[all...]
/linux-master/arch/powerpc/include/asm/
H A Duaccess.h21 * This gets kind of ugly. We want to return _two_ values in "get_user()"
22 * and yet we don't want to do any pointers, because that is too much
29 * accesses to the same area of user memory).
71 * because we do not write to any memory gcc knows about, so there
126 * Upto caller to do enable_kernel_vmx() before calling!
301 extern unsigned long __copy_tofrom_user(void __user *to,
306 raw_copy_in_user(void __user *to, const void __user *from, unsigned long n) argument
310 allow_read_write_user(to, from, n);
311 ret = __copy_tofrom_user(to, from, n);
312 prevent_read_write_user(to, fro
317 raw_copy_from_user(void *to, const void __user *from, unsigned long n) argument
329 raw_copy_to_user(void __user *to, const void *from, unsigned long n) argument
365 copy_mc_to_kernel(void *to, const void *from, unsigned long size) argument
372 copy_mc_to_user(void __user *to, const void *from, unsigned long n) argument
[all...]
/linux-master/arch/arc/kernel/
H A Dentry-compact.S13 * into user reg-file when traded task rets to user space.
40 * we need to explicitly do this. The problem in macros
49 * Minor Surgery of Low Level ISR to make it SMP safe
80 * across sections (.vector to .text) we are guaranteed that 'j somewhere'
154 ; This is to avoid a potential L1-L2-L1 scenario
157 ; -preemption off IRQ, user task in syscall picked to run
158 ; -RTIE to userspace
167 ; need to check STATUS32_L2 to determine if L1 was active
208 ; User process needs to b
[all...]
/linux-master/arch/mips/include/asm/mach-cavium-octeon/
H A Dkernel-entry-init.h2 * This file is subject to the terms and conditions of the GNU General Public
21 # addresses, and need to have the appropriate memory region set
41 # counters interrupt to IRQ 6
72 # Zero all of CVMSEG to make sure parity is correct
91 # Jump the master to kernel_entry
98 # All cores other than the master need to wait here for SMP bootstrap
99 # to begin
114 # This is the variable where the next core to boot is stored
116 # Get the core id of the next to be booted
127 # Set the SP global variable to zer
[all...]
/linux-master/arch/loongarch/kernel/
H A Dptrace.c56 /* Begin with data registers set to all 1s... */
77 struct membuf to)
82 r = membuf_write(&to, &regs->regs, sizeof(u64) * GPR_NUM);
83 r = membuf_write(&to, &regs->orig_a0, sizeof(u64));
84 r = membuf_write(&to, &regs->csr_era, sizeof(u64));
85 r = membuf_write(&to, &regs->csr_badvaddr, sizeof(u64));
121 static int gfpr_get(struct task_struct *target, struct membuf *to) argument
123 return membuf_write(to, &target->thread.fpu.fpr,
127 static int gfpr_get_simd(struct task_struct *target, struct membuf *to) argument
135 r = membuf_write(to,
75 gpr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
145 fpr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
229 cfg_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
258 copy_pad_fprs(struct task_struct *target, const struct user_regset *regset, struct membuf *to, unsigned int live_sz) argument
278 simd_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
343 lbt_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
661 hw_break_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
[all...]
/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...]

Completed in 238 milliseconds

<<11121314151617181920>>