/linux-master/fs/netfs/ |
H A D | write_collect.c | 20 #define MAYBE_DISCONTIG 0x08 /* A front op may be discontiguous (rounded to PAGE_SIZE) */ 21 #define NEED_REASSESS 0x10 /* Need to loop round and reassess */ 29 * Successful completion of write of a folio to the server and/or cache. Note 30 * that we are not allowed to lock the folio here on pain of deadlocking with 59 /* Need to detach the group pointer if the page didn't get 78 * Get hold of a folio we have under writeback. We don't want to get the 176 /* If there's no renegotiation to do, just resend each failed subreq. */ 195 struct netfs_io_subrequest *subreq = NULL, *from, *to, *tmp; local 205 to = from; 219 to [all...] |
/linux-master/arch/m68k/fpsp040/ |
H A D | setox.S | 11 | Double-extended value in memory location pointed to by address 21 | within 0.5001 ulp to 53 bits if the result is subsequently rounded 22 | to double precision. The result is provably monotonic in double 60 | 1.1 If |X| >= 2^(-65), go to Step 1.3. 61 | 1.2 Go to Step 7. 62 | 1.3 If |X| < 16380 log(2), go to Step 2. 63 | 1.4 Go to Step 8. 74 | to Step 2 guarantees |X| < 16380 log(2). There is no harm 75 | to have a small number of cases where |X| is less than, 76 | but close to, 1638 [all...] |
H A D | stanh.S | 8 | 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| >= (5/2) log2 or |X| <= 2**(-40), go to 3. 31 | go to 7. 33 | 4. (|X| >= (5/2) log2) If |X| >= 50 log2, go to 6. 40 | 6. (|X| >= 50 log2) Tanh(X) = +-1 (round to nearest). Thus, we
|
/linux-master/arch/mips/kernel/ |
H A D | ptrace.c | 2 * This file is subject to the terms and conditions of the GNU General Public 72 * Registers are sign extended to fill the available space. 99 * (according to endianness) will be used. 219 struct membuf to) 225 return membuf_write(&to, uregs, sizeof(uregs)); 251 * Cast all values to signed here so that if this is a 64-bit 284 struct membuf to) 290 return membuf_write(&to, uregs, sizeof(uregs)); 345 * Poke at FCSR according to its mask. Set the Cause bits even 347 * the time the thread is switched to an 217 gpr32_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument 282 gpr64_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument 413 fpr_get_fpa(struct task_struct *target, struct membuf *to) argument 426 fpr_get_msa(struct task_struct *target, struct membuf *to) argument 440 fpr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument 551 fp_mode_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument 602 copy_pad_fprs(struct task_struct *target, const struct user_regset *regset, struct membuf *to, unsigned int live_sz) argument 622 msa_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument 700 dsp32_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument 766 dsp64_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument [all...] |
H A D | scall32-o32.S | 2 * This file is subject to the terms and conditions of the GNU General Public 34 addiu t1, 4 # skip to next instruction 40 * More than four arguments. Try to deal with it by copying the 41 * stack arguments from the user stack to the kernel stack. 48 * userspace so we don't have to do a slower byte accurate check here. 54 * Ok, copy the args from the luser stack to the kernel stack. 67 sw t5, 16(sp) # argument #5 to ksp 68 sw t6, 20(sp) # argument #6 to ksp 69 sw t7, 24(sp) # argument #7 to ksp 70 sw t8, 28(sp) # argument #8 to ks [all...] |
/linux-master/arch/m68k/ifpsp060/src/ |
H A D | pfpsp.S | 13 and any warranty against infringement with regard to the SOFTWARE 23 You are hereby granted a copyright license to use, modify, and distribute the SOFTWARE 30 # This file is appended to the top of the 060FPSP package 32 # effect, branches to one of the branch table entries located 36 # to call a given routine. The stub routine actually performs the 37 # callout. The FPSP code does a "bsr" to the stub routine. This 39 # it makes the FPSP code easier to read and more mainatinable. 291 # in order to promote readability within the corecode itself. 522 set rn_mode, 0x0 # round-to-nearest 523 set rz_mode, 0x1 # round-to [all...] |
/linux-master/tools/testing/selftests/powerpc/math/ |
H A D | fpu_asm.S | 104 # r3 holds pointer to where to put the result of fork 105 # r4 holds pointer to the pid 118 # pass the result of the fork to the caller 133 # has been loaded with darray. Will proceed to check the validity of the FPU
|
/linux-master/arch/arc/kernel/ |
H A D | head.S | 9 * to skip certain things during boot on simulator 71 /* On HSDK, CCMs need to remapped super early */ 115 ; Non-Masters wait for Master to boot enough and bring them up 116 ; when they resume, tail-call to entry point 135 ; r2 = pointer to uboot provided cmdline or external DTB in mem 156 ; First lines of code run by secondary before jumping to 'C' 168 ; set its stack base to tsk->thread_info bottom
|
/linux-master/arch/arm/mm/ |
H A D | proc-arm940.S | 50 * Params : r0 = address to jump to 105 * There is no efficient way to flush a range of cache entries 121 bcs 2b @ entries 63 to 0 123 bcs 1b @ segments 3 to 0 136 * Harvard caches, you need to implement this function. 150 * Harvard caches, you need to implement this function. 176 bcs 2b @ entries 63 to 0 178 bcs 1b @ segments 7 to 0 187 * There is no efficient way to invalidat [all...] |
/linux-master/sound/soc/intel/avs/ |
H A D | debugfs.c | 28 /* Make sure data copied from SRAM is visible to all CPUs. */ 51 static ssize_t fw_regs_read(struct file *file, char __user *to, size_t count, loff_t *ppos) argument 63 ret = simple_read_from_buffer(to, count, ppos, buf, AVS_FW_REGS_SIZE); 74 static ssize_t debug_window_read(struct file *file, char __user *to, size_t count, loff_t *ppos) argument 88 ret = simple_read_from_buffer(to, count, ppos, buf, size); 99 static ssize_t probe_points_read(struct file *file, char __user *to, size_t count, loff_t *ppos) argument 130 ret = simple_read_from_buffer(to, count, ppos, buf, len); 213 static ssize_t strace_read(struct file *file, char __user *to, size_t count, loff_t *ppos) argument 228 if (kfifo_to_user(fifo, to, count, &copied)) 331 /* Check if there's anything to d 354 trace_control_read(struct file *file, char __user *to, size_t count, loff_t *ppos) argument [all...] |
/linux-master/arch/arc/lib/ |
H A D | memcpy-archs.S | 61 ;;; Convert len to Dwords, unfold x4 95 ;; Hence I need to read 1 byte for a 16bit alignment 96 ;; and 2bytes to reach 32bit alignment 99 ;; Convert to words, unfold x2 144 ;; Convert to words, unfold x2 181 ;;; Hence, I need to read 1byte for achieve the 32bit alignment 184 ;; Convert to words, unfold x2
|
/linux-master/arch/xtensa/lib/ |
H A D | strnlen_user.S | 4 * This file is subject to the terms and conditions of the GNU General 93 # Actually, we don't need to check. Zero or nonzero, we'll add one. 101 # NOTE that in several places below, we point to the byte just after 102 # the zero byte in order to include the NULL terminator in the count. 105 addi a4, a4, 3 # point to zero byte 108 sub a2, a4, a2 # subtract to get length 112 sub a2, a4, a2 # subtract to get length 116 sub a2, a4, a2 # subtract to get length 132 sub a2, a4, a2 # subtract to get length
|
/linux-master/arch/um/drivers/ |
H A D | cow_user.c | 60 * Add cow_format field to allow for the possibility of different ways 63 * Move the backing_file field to the end of the header. This allows 67 * by the alignment field. This is to allow COW files to be 70 * allows the data to be more aligned more strictly than on 72 * the data to be page aligned. 78 * definition, leading on 64-bit systems to 4 bytes of padding after mtime, to 79 * align size to 8-byte alignment. This shifted all fields above (no padding 84 * impossible to fin 146 absolutize(char *to, int size, char *from) argument [all...] |
/linux-master/arch/arm/mach-omap1/ |
H A D | sleep.S | 31 * with this program; if not, write to the Free Software Foundation, Inc., 56 * Note: This code get's copied to internal SRAM at boot. When the OMAP 57 * wakes up it continues execution at the point it went to sleep. 86 @ prepare to put SDRAM into self-refresh manually 92 @ prepare to put EMIFS to Sleep 118 * Let's wait for the next wake up event to wake us up. r0 can't be 156 @ Prepare to put SDRAM into self-refresh manually 162 @ Prepare to put EMIFS to Slee [all...] |
/linux-master/fs/smb/client/ |
H A D | cifs_unicode.c | 34 * BB: Cannot handle remapping UNI_SLASH until all the calls to 107 * cifs_mapchar - convert a host-endian char to proper char in codepage 110 * @cp - codepage to which character should be converted 111 * @map_type - How should the 7 NTFS/SMB reserved characters be mapped to UCS2? 114 * responsibility of the caller to ensure that the target buffer is large 115 * enough to hold the result of the conversion (at least NLS_MAX_CHARSET_SIZE). 155 * cifs_from_utf16 - convert utf16le string to local charset 156 * @to - destination buffer 160 * @codepage - codepage to which characters should be converted 161 * @mapchar - should characters be remapped according to th 177 cifs_from_utf16(char *to, const __le16 *from, int tolen, int fromlen, const struct nls_table *codepage, int map_type) argument 248 cifs_strtoUTF16(__le16 *to, const char *from, int len, const struct nls_table *codepage) argument [all...] |
/linux-master/fs/nfs/ |
H A D | client.c | 249 * Release a reference to a shared client record 286 /* Don't match clients that failed to initialise properly */ 290 /* If a client is still initializing then we need to wait */ 338 * Use nfs_client_init_status to check if it was successful. 453 void nfs_init_timeout_values(struct rpc_timeout *to, int proto, argument 456 to->to_initval = timeo * HZ / 10; 457 to->to_retries = retrans; 464 to->to_retries = NFS_DEF_TCP_RETRANS; 465 if (timeo == NFS_UNSPEC_TIMEO || to->to_initval == 0) 466 to [all...] |
/linux-master/tools/testing/selftests/kvm/x86_64/ |
H A D | xapic_ipi_test.c | 9 * Test that when the APIC is in xAPIC mode, a vCPU can send an IPI to wake 16 * the host continually calls migrate_pages to move all of the process' pages 41 * Vector for IPI from sender vCPU to halting vCPU. 48 * Incremented in the IPI handler. Provides evidence to the sender that the IPI 70 * to determine whether APIC access exits are working. 99 * each time around to minimize window between signaling the pending 100 * halt to the sender vCPU and executing the halt. No need to disable on 101 * first run as this vCPU executes first and the host waits for it to 115 * Runs on halter vCPU when IPI arrives. Write an arbitrary non-zero value to 259 int from, to; local [all...] |
/linux-master/drivers/nfc/st21nfca/ |
H A D | dep.c | 80 u8 to; member in struct:st21nfca_atr_res 166 atr_res->to = ST21NFCA_DEFAULT_TIMEOUT; 251 * PSL_REQ BRS value != 0 has only a meaning to 252 * change technology to type F. 253 * We change to BITRATE 424Kbits. 254 * In other case switch to BITRATE 106Kbits. 262 /* Send an event to change bitrate change event to card f */ 438 *(u8 *)skb_push(skb, 1) = info->dep_info.to | 0x10; 467 if (atr_res->to > [all...] |
/linux-master/lib/ |
H A D | string_helpers.c | 26 * @size: The size to be converted in blocks 28 * @units: Units to use (powers of 1000 or 1024), whether to include space separator 29 * @buf: buffer to format to 32 * This function returns a string formatted to 3 significant figures 70 /* This is Napier's algorithm. Reduce the original block size to 78 * Note: it's safe to throw away the remainders here because all the 115 /* add a 5 to the digit below what will be printed to ensur 368 unsigned char to; local 404 unsigned char to; local [all...] |
/linux-master/net/core/ |
H A D | utils.c | 45 * Convert an ASCII string to binary IP. 107 * in4_pton - convert an IPv4 address from literal to binary representation 112 * @end: A pointer to the end of the parsed string will be placed here 115 * and @end will point to the end of the parsed string. 173 * in6_pton - convert an IPv6 address from literal to binary representation 178 * @end: A pointer to the end of the parsed string will be placed here 181 * and @end will point to the end of the parsed string. 360 * inet_pton_with_scope - convert an IPv4/IPv6 and port to socket address 426 __be32 from, __be32 to, bool pseudohdr) 429 csum_replace4(sum, from, to); 425 inet_proto_csum_replace4(__sum16 *sum, struct sk_buff *skb, __be32 from, __be32 to, bool pseudohdr) argument 458 inet_proto_csum_replace16(__sum16 *sum, struct sk_buff *skb, const __be32 *from, const __be32 *to, bool pseudohdr) argument [all...] |
/linux-master/arch/x86/kvm/svm/ |
H A D | nested.c | 144 * any interrupt KVM may want to inject. 146 * Similarly, disable intercept of virtual interrupts (used to 157 * We want to see VMMCALLs from a nested guest only when Hyper-V L2 TLB 173 * we must intercept these instructions to correctly 195 * - Nested hypervisor (L1) is attempting to launch the same L2 as 283 /* Common checks that apply to both L1 and L2 state. */ 337 struct vmcb_ctrl_area_cached *to, 343 to->intercepts[i] = from->intercepts[i]; 345 to->iopm_base_pa = from->iopm_base_pa; 346 to 336 __nested_copy_vmcb_control_to_cache(struct kvm_vcpu *vcpu, struct vmcb_ctrl_area_cached *to, struct vmcb_control_area *from) argument 388 __nested_copy_vmcb_save_to_cache(struct vmcb_save_area_cached *to, struct vmcb_save_area *from) argument [all...] |
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | test_tcp_estats.c | 8 /* This program shows clang/llvm is able to generate code pattern 30 * is reasonable. The "r1" is assigned to different values in basic 32 * The verifier should be able to handle such code patterns. 99 * Some fields are not used due to test simplification. 132 * llvm compiler to generate expected code. 171 static __always_inline void unaligned_u32_set(unsigned char *to, __u8 *from) argument 173 to[0] = _(from[0]); 174 to[1] = _(from[1]); 175 to[2] = _(from[2]); 176 to[ [all...] |
/linux-master/arch/x86/um/ |
H A D | tls_32.c | 89 static int load_TLS(int flags, struct task_struct *to) argument 96 &to->thread.arch.tls_array[idx - GDT_ENTRY_TLS_MIN]; 100 * flushed to the host, which will clear it. 126 * Verify if we need to do a flush for the new process, i.e. if there are any 139 * Can't test curr->present, we may need to clear a descriptor 163 * Still correct to do this, if it wasn't present on the host it 180 * And this will not need be used when (and if) we'll add support to the host 184 int arch_switch_tls(struct task_struct *to) argument 190 * We have no need whatsoever to switch TLS for kernel threads; beyond 194 if (likely(to [all...] |
/linux-master/net/qrtr/ |
H A D | af_qrtr.c | 156 struct sockaddr_qrtr *to); 159 struct sockaddr_qrtr *to); 166 * kref_put_mutex. As such, the node mutex is expected to be locked on call. 178 * multiple entries pointing to our released node, delete them all. 200 /* Increment reference to node. */ 208 /* Decrement reference to node and release as necessary. */ 246 * @node: qrtr_node that the packet is to be send to 253 * message, which will trigger the remote to send a control message of the type 254 * QRTR_TYPE_RESUME_TX to rese 340 qrtr_node_enqueue(struct qrtr_node *node, struct sk_buff *skb, int type, struct sockaddr_qrtr *from, struct sockaddr_qrtr *to) argument 695 struct sockaddr_qrtr to; local 848 qrtr_local_enqueue(struct qrtr_node *node, struct sk_buff *skb, int type, struct sockaddr_qrtr *from, struct sockaddr_qrtr *to) argument 879 qrtr_bcast_enqueue(struct qrtr_node *node, struct sk_buff *skb, int type, struct sockaddr_qrtr *from, struct sockaddr_qrtr *to) argument [all...] |
/linux-master/arch/s390/include/asm/ |
H A D | idals.h | 5 * Bugreports.to..: <Linux390@de.ibm.com> 109 * Releases any allocated IDAL related to the CCW. 194 * Set channel data address to idal buffer. 207 * dma64_t to virt and then to dma32_t only because of type 208 * checking. The physical address is known to be below 2GB. 217 * Copy count bytes from an idal buffer to user memory 219 static inline size_t idal_buffer_to_user(struct idal_buffer *ib, void __user *to, size_t count) argument 228 left = copy_to_user(to, vaddr, IDA_BLOCK_SIZE); 231 to [all...] |