/linux-4.4.14/include/uapi/linux/netfilter/ |
H A D | nf_conntrack_ftp.h | 7 /* PORT command from client */ 9 /* PASV response from server */ 11 /* EPRT command from client */ 13 /* EPSV response from server */
|
H A D | xt_connbytes.h | 20 __aligned_u64 from; /* count to be matched */ member in struct:xt_connbytes_info::__anon14290
|
H A D | nfnetlink_acct.h | 20 NFACCT_F_OVERQUOTA = (1 << 2), /* can't be set from userspace */
|
/linux-4.4.14/arch/x86/kernel/ |
H A D | signal_compat.c | 4 int copy_siginfo_to_user32(compat_siginfo_t __user *to, const siginfo_t *from) copy_siginfo_to_user32() argument 18 put_user_ex(from->si_signo, &to->si_signo); copy_siginfo_to_user32() 19 put_user_ex(from->si_errno, &to->si_errno); copy_siginfo_to_user32() 20 put_user_ex((short)from->si_code, &to->si_code); copy_siginfo_to_user32() 22 if (from->si_code < 0) { copy_siginfo_to_user32() 23 put_user_ex(from->si_pid, &to->si_pid); copy_siginfo_to_user32() 24 put_user_ex(from->si_uid, &to->si_uid); copy_siginfo_to_user32() 25 put_user_ex(ptr_to_compat(from->si_ptr), &to->si_ptr); copy_siginfo_to_user32() 31 put_user_ex(from->_sifields._pad[0], copy_siginfo_to_user32() 33 switch (from->si_code >> 16) { copy_siginfo_to_user32() 37 put_user_ex(from->si_syscall, &to->si_syscall); copy_siginfo_to_user32() 38 put_user_ex(from->si_arch, &to->si_arch); copy_siginfo_to_user32() 42 put_user_ex(from->si_utime, &to->si_utime); copy_siginfo_to_user32() 43 put_user_ex(from->si_stime, &to->si_stime); copy_siginfo_to_user32() 45 put_user_ex(from->si_utime, &to->_sifields._sigchld_x32._utime); copy_siginfo_to_user32() 46 put_user_ex(from->si_stime, &to->_sifields._sigchld_x32._stime); copy_siginfo_to_user32() 48 put_user_ex(from->si_status, &to->si_status); copy_siginfo_to_user32() 52 put_user_ex(from->si_uid, &to->si_uid); copy_siginfo_to_user32() 55 put_user_ex(from->si_fd, &to->si_fd); copy_siginfo_to_user32() 58 put_user_ex(from->si_overrun, &to->si_overrun); copy_siginfo_to_user32() 59 put_user_ex(ptr_to_compat(from->si_ptr), copy_siginfo_to_user32() 65 put_user_ex(from->si_uid, &to->si_uid); copy_siginfo_to_user32() 66 put_user_ex(from->si_int, &to->si_int); copy_siginfo_to_user32() 75 int copy_siginfo_from_user32(siginfo_t *to, compat_siginfo_t __user *from) copy_siginfo_from_user32() argument 80 if (!access_ok(VERIFY_READ, from, sizeof(compat_siginfo_t))) copy_siginfo_from_user32() 84 get_user_ex(to->si_signo, &from->si_signo); copy_siginfo_from_user32() 85 get_user_ex(to->si_errno, &from->si_errno); copy_siginfo_from_user32() 86 get_user_ex(to->si_code, &from->si_code); copy_siginfo_from_user32() 88 get_user_ex(to->si_pid, &from->si_pid); copy_siginfo_from_user32() 89 get_user_ex(to->si_uid, &from->si_uid); copy_siginfo_from_user32() 90 get_user_ex(ptr32, &from->si_ptr); copy_siginfo_from_user32()
|
/linux-4.4.14/arch/alpha/include/asm/ |
H A D | xor.h | 62 xor $0,$1,$0 # 7 cycles from $1 load \n\ 119 xor $0,$1,$1 # 8 cycles from $0 load \n\ 120 xor $3,$4,$4 # 6 cycles from $4 load \n\ 121 xor $6,$7,$7 # 6 cycles from $7 load \n\ 122 xor $21,$22,$22 # 5 cycles from $22 load \n\ 124 xor $1,$2,$2 # 9 cycles from $2 load \n\ 125 xor $24,$25,$25 # 5 cycles from $25 load \n\ 127 xor $4,$5,$5 # 6 cycles from $5 load \n\ 130 xor $7,$20,$20 # 7 cycles from $20 load \n\ 132 xor $22,$23,$23 # 7 cycles from $23 load \n\ 135 xor $25,$27,$27 # 7 cycles from $27 load \n\ 150 xor $0,$1,$1 # 4 cycles from $1 load \n\ 151 xor $3,$4,$4 # 5 cycles from $4 load \n\ 152 xor $6,$7,$7 # 5 cycles from $7 load \n\ 154 xor $1,$2,$2 # 4 cycles from $2 load \n\ 155 xor $4,$5,$5 # 5 cycles from $5 load \n\ 157 xor $7,$20,$20 # 4 cycles from $20 load \n\ 193 xor $0,$1,$1 # 6 cycles from $1 load \n\ 195 xor $2,$3,$3 # 6 cycles from $3 load \n\ 200 xor $4,$5,$5 # 7 cycles from $5 load \n\ 204 xor $21,$22,$22 # 7 cycles from $22 load \n\ 208 xor $23,$24,$24 # 7 cycles from $24 load \n\ 215 xor $25,$27,$27 # 8 cycles from $27 load \n\ 223 xor $0,$1,$1 # 9 cycles from $1 load \n\ 224 xor $2,$3,$3 # 5 cycles from $3 load \n\ 228 xor $4,$5,$5 # 5 cycles from $5 load \n\ 239 xor $6,$7,$7 # 8 cycles from $6 load \n\ 243 xor $21,$22,$22 # 8 cycles from $22 load \n\ 245 xor $23,$24,$24 # 5 cycles from $24 load \n\ 248 xor $25,$27,$27 # 5 cycles from $27 load \n\ 250 xor $0,$1,$1 # 5 cycles from $1 load \n\ 253 xor $2,$3,$3 # 4 cycles from $3 load \n\ 290 xor $0,$1,$1 # 6 cycles from $1 load \n\ 292 xor $2,$3,$3 # 6 cycles from $3 load \n\ 297 xor $3,$4,$4 # 7 cycles from $4 load \n\ 300 xor $5,$6,$6 # 7 cycles from $6 load \n\ 301 xor $7,$22,$22 # 7 cycles from $22 load \n\ 302 xor $6,$23,$23 # 7 cycles from $23 load \n\ 307 xor $24,$25,$25 # 8 cycles from $25 load \n\ 310 xor $25,$27,$27 # 8 cycles from $27 load \n\ 312 xor $28,$0,$0 # 7 cycles from $0 load \n\ 320 xor $1,$2,$2 # 6 cycles from $2 load \n\ 322 xor $3,$4,$4 # 4 cycles from $4 load \n\ 332 xor $4,$5,$5 # 7 cycles from $5 load \n\ 335 xor $6,$7,$7 # 7 cycles from $7 load \n\ 340 xor $7,$22,$22 # 7 cycles from $22 load \n\ 342 xor $23,$24,$24 # 6 cycles from $24 load \n\ 347 xor $25,$27,$27 # 7 cycles from $27 load \n\ 350 xor $27,$28,$28 # 8 cycles from $28 load \n\ 352 xor $0,$1,$1 # 6 cycles from $1 load \n\ 360 xor $2,$3,$3 # 9 cycles from $3 load \n\ 361 xor $3,$4,$4 # 9 cycles from $4 load \n\ 362 xor $5,$6,$6 # 8 cycles from $6 load \n\ 366 xor $7,$22,$22 # 7 cycles from $22 load \n\ 367 xor $23,$24,$24 # 6 cycles from $24 load \n\ 372 xor $24,$25,$25 # 8 cycles from $25 load \n\ 425 xor $0,$1,$0 # 8 cycles from $1 load \n\ 497 xor $0,$1,$1 # 8 cycles from $0 load \n\ 498 xor $3,$4,$4 # 7 cycles from $4 load \n\ 499 xor $6,$7,$7 # 6 cycles from $7 load \n\ 500 xor $21,$22,$22 # 5 cycles from $22 load \n\ 502 xor $1,$2,$2 # 9 cycles from $2 load \n\ 503 xor $24,$25,$25 # 5 cycles from $25 load \n\ 505 xor $4,$5,$5 # 6 cycles from $5 load \n\ 508 xor $7,$20,$20 # 7 cycles from $20 load \n\ 510 xor $22,$23,$23 # 7 cycles from $23 load \n\ 513 xor $25,$27,$27 # 7 cycles from $27 load \n\ 532 xor $0,$1,$1 # 6 cycles from $1 load \n\ 533 xor $3,$4,$4 # 5 cycles from $4 load \n\ 534 xor $6,$7,$7 # 5 cycles from $7 load \n\ 535 xor $1,$2,$2 # 4 cycles from $2 load \n\ 537 xor $4,$5,$5 # 5 cycles from $5 load \n\ 538 xor $7,$20,$20 # 4 cycles from $20 load \n\ 595 xor $0,$1,$1 # 6 cycles from $1 load \n\ 597 xor $2,$3,$3 # 6 cycles from $3 load \n\ 602 xor $4,$5,$5 # 7 cycles from $5 load \n\ 606 xor $21,$22,$22 # 7 cycles from $22 load \n\ 610 xor $23,$24,$24 # 7 cycles from $24 load \n\ 617 xor $25,$27,$27 # 8 cycles from $27 load \n\ 625 xor $0,$1,$1 # 9 cycles from $1 load \n\ 626 xor $2,$3,$3 # 5 cycles from $3 load \n\ 630 xor $4,$5,$5 # 5 cycles from $5 load \n\ 642 xor $6,$7,$7 # 8 cycles from $6 load \n\ 645 xor $21,$22,$22 # 8 cycles from $22 load \n\ 650 xor $23,$24,$24 # 6 cycles from $24 load \n\ 652 xor $25,$27,$27 # 6 cycles from $27 load \n\ 656 xor $0,$1,$1 # 7 cycles from $1 load \n\ 657 xor $2,$3,$3 # 6 cycles from $3 load \n\ 721 xor $0,$1,$1 # 6 cycles from $1 load \n\ 723 xor $2,$3,$3 # 6 cycles from $3 load \n\ 728 xor $3,$4,$4 # 7 cycles from $4 load \n\ 731 xor $5,$6,$6 # 7 cycles from $6 load \n\ 732 xor $7,$22,$22 # 7 cycles from $22 load \n\ 733 xor $6,$23,$23 # 7 cycles from $23 load \n\ 738 xor $24,$25,$25 # 8 cycles from $25 load \n\ 741 xor $25,$27,$27 # 8 cycles from $27 load \n\ 743 xor $28,$0,$0 # 7 cycles from $0 load \n\ 751 xor $1,$2,$2 # 6 cycles from $2 load \n\ 753 xor $3,$4,$4 # 4 cycles from $4 load \n\ 763 xor $4,$5,$5 # 7 cycles from $5 load \n\ 766 xor $6,$7,$7 # 7 cycles from $7 load \n\ 771 xor $7,$22,$22 # 7 cycles from $22 load \n\ 773 xor $23,$24,$24 # 6 cycles from $24 load \n\ 778 xor $25,$27,$27 # 7 cycles from $27 load \n\ 781 xor $27,$28,$28 # 8 cycles from $28 load \n\ 783 xor $0,$1,$1 # 6 cycles from $1 load \n\ 793 xor $2,$3,$3 # 9 cycles from $3 load \n\ 796 xor $3,$4,$4 # 9 cycles from $4 load \n\ 798 xor $5,$6,$6 # 8 cycles from $6 load \n\ 802 xor $7,$22,$22 # 7 cycles from $22 load \n\ 803 xor $23,$24,$24 # 6 cycles from $24 load \n\ 808 xor $24,$25,$25 # 8 cycles from $25 load \n\
|
H A D | percpu.h | 6 * 32-bit displacement from the GP. Which doesn't work for per cpu
|
/linux-4.4.14/arch/ia64/include/asm/ |
H A D | siginfo.h | 14 copy_siginfo (siginfo_t *to, siginfo_t *from) copy_siginfo() argument 16 if (from->si_code < 0) copy_siginfo() 17 memcpy(to, from, sizeof(siginfo_t)); copy_siginfo() 20 memcpy(to, from, 4*sizeof(int) + sizeof(from->_sifields._sigchld)); copy_siginfo()
|
H A D | mutex.h | 13 * from 1 to a 0 value 17 * Change the count from 1 to a value lower than 1, and call <fail_fn> if 30 * from 1 to a 0 value 33 * Change the count from 1 to a value lower than 1. This function returns 0 45 * __mutex_fastpath_unlock - try to promote the count from 0 to 1 49 * Try to promote the count from 0 to 1. If it wasn't 0, call <fail_fn>. 73 * Change the count from 1 to a value lower than 1, and return 0 (failure)
|
/linux-4.4.14/arch/cris/include/arch-v10/arch/ |
H A D | uaccess.h | 82 * Copy a null terminated string from userspace. 102 * This code is deduced from: __do_strncpy_from_user() 150 /* A few copy asms to build up the more complex ones from. 156 #define __asm_copy_user_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 167 : "=r" (to), "=r" (from), "=r" (ret) \ 168 : "0" (to), "1" (from), "2" (ret) \ 171 #define __asm_copy_from_user_1(to, from, ret) \ 172 __asm_copy_user_cont(to, from, ret, \ 179 #define __asm_copy_from_user_2x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 180 __asm_copy_user_cont(to, from, ret, \ 187 #define __asm_copy_from_user_2(to, from, ret) \ 188 __asm_copy_from_user_2x_cont(to, from, ret, "", "", "") 190 #define __asm_copy_from_user_3(to, from, ret) \ 191 __asm_copy_from_user_2x_cont(to, from, ret, \ 198 #define __asm_copy_from_user_4x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 199 __asm_copy_user_cont(to, from, ret, \ 206 #define __asm_copy_from_user_4(to, from, ret) \ 207 __asm_copy_from_user_4x_cont(to, from, ret, "", "", "") 209 #define __asm_copy_from_user_5(to, from, ret) \ 210 __asm_copy_from_user_4x_cont(to, from, ret, \ 217 #define __asm_copy_from_user_6x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 218 __asm_copy_from_user_4x_cont(to, from, ret, \ 225 #define __asm_copy_from_user_6(to, from, ret) \ 226 __asm_copy_from_user_6x_cont(to, from, ret, "", "", "") 228 #define __asm_copy_from_user_7(to, from, ret) \ 229 __asm_copy_from_user_6x_cont(to, from, ret, \ 236 #define __asm_copy_from_user_8x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 237 __asm_copy_from_user_4x_cont(to, from, ret, \ 244 #define __asm_copy_from_user_8(to, from, ret) \ 245 __asm_copy_from_user_8x_cont(to, from, ret, "", "", "") 247 #define __asm_copy_from_user_9(to, from, ret) \ 248 __asm_copy_from_user_8x_cont(to, from, ret, \ 255 #define __asm_copy_from_user_10x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 256 __asm_copy_from_user_8x_cont(to, from, ret, \ 263 #define __asm_copy_from_user_10(to, from, ret) \ 264 __asm_copy_from_user_10x_cont(to, from, ret, "", "", "") 266 #define __asm_copy_from_user_11(to, from, ret) \ 267 __asm_copy_from_user_10x_cont(to, from, ret, \ 274 #define __asm_copy_from_user_12x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 275 __asm_copy_from_user_8x_cont(to, from, ret, \ 282 #define __asm_copy_from_user_12(to, from, ret) \ 283 __asm_copy_from_user_12x_cont(to, from, ret, "", "", "") 285 #define __asm_copy_from_user_13(to, from, ret) \ 286 __asm_copy_from_user_12x_cont(to, from, ret, \ 293 #define __asm_copy_from_user_14x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 294 __asm_copy_from_user_12x_cont(to, from, ret, \ 301 #define __asm_copy_from_user_14(to, from, ret) \ 302 __asm_copy_from_user_14x_cont(to, from, ret, "", "", "") 304 #define __asm_copy_from_user_15(to, from, ret) \ 305 __asm_copy_from_user_14x_cont(to, from, ret, \ 312 #define __asm_copy_from_user_16x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 313 __asm_copy_from_user_12x_cont(to, from, ret, \ 320 #define __asm_copy_from_user_16(to, from, ret) \ 321 __asm_copy_from_user_16x_cont(to, from, ret, "", "", "") 323 #define __asm_copy_from_user_20x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 324 __asm_copy_from_user_16x_cont(to, from, ret, \ 331 #define __asm_copy_from_user_20(to, from, ret) \ 332 __asm_copy_from_user_20x_cont(to, from, ret, "", "", "") 334 #define __asm_copy_from_user_24x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 335 __asm_copy_from_user_20x_cont(to, from, ret, \ 342 #define __asm_copy_from_user_24(to, from, ret) \ 343 __asm_copy_from_user_24x_cont(to, from, ret, "", "", "") 347 #define __asm_copy_to_user_1(to, from, ret) \ 348 __asm_copy_user_cont(to, from, ret, \ 354 #define __asm_copy_to_user_2x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 355 __asm_copy_user_cont(to, from, ret, \ 361 #define __asm_copy_to_user_2(to, from, ret) \ 362 __asm_copy_to_user_2x_cont(to, from, ret, "", "", "") 364 #define __asm_copy_to_user_3(to, from, ret) \ 365 __asm_copy_to_user_2x_cont(to, from, ret, \ 371 #define __asm_copy_to_user_4x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 372 __asm_copy_user_cont(to, from, ret, \ 378 #define __asm_copy_to_user_4(to, from, ret) \ 379 __asm_copy_to_user_4x_cont(to, from, ret, "", "", "") 381 #define __asm_copy_to_user_5(to, from, ret) \ 382 __asm_copy_to_user_4x_cont(to, from, ret, \ 388 #define __asm_copy_to_user_6x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 389 __asm_copy_to_user_4x_cont(to, from, ret, \ 395 #define __asm_copy_to_user_6(to, from, ret) \ 396 __asm_copy_to_user_6x_cont(to, from, ret, "", "", "") 398 #define __asm_copy_to_user_7(to, from, ret) \ 399 __asm_copy_to_user_6x_cont(to, from, ret, \ 405 #define __asm_copy_to_user_8x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 406 __asm_copy_to_user_4x_cont(to, from, ret, \ 412 #define __asm_copy_to_user_8(to, from, ret) \ 413 __asm_copy_to_user_8x_cont(to, from, ret, "", "", "") 415 #define __asm_copy_to_user_9(to, from, ret) \ 416 __asm_copy_to_user_8x_cont(to, from, ret, \ 422 #define __asm_copy_to_user_10x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 423 __asm_copy_to_user_8x_cont(to, from, ret, \ 429 #define __asm_copy_to_user_10(to, from, ret) \ 430 __asm_copy_to_user_10x_cont(to, from, ret, "", "", "") 432 #define __asm_copy_to_user_11(to, from, ret) \ 433 __asm_copy_to_user_10x_cont(to, from, ret, \ 439 #define __asm_copy_to_user_12x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 440 __asm_copy_to_user_8x_cont(to, from, ret, \ 446 #define __asm_copy_to_user_12(to, from, ret) \ 447 __asm_copy_to_user_12x_cont(to, from, ret, "", "", "") 449 #define __asm_copy_to_user_13(to, from, ret) \ 450 __asm_copy_to_user_12x_cont(to, from, ret, \ 456 #define __asm_copy_to_user_14x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 457 __asm_copy_to_user_12x_cont(to, from, ret, \ 463 #define __asm_copy_to_user_14(to, from, ret) \ 464 __asm_copy_to_user_14x_cont(to, from, ret, "", "", "") 466 #define __asm_copy_to_user_15(to, from, ret) \ 467 __asm_copy_to_user_14x_cont(to, from, ret, \ 473 #define __asm_copy_to_user_16x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 474 __asm_copy_to_user_12x_cont(to, from, ret, \ 480 #define __asm_copy_to_user_16(to, from, ret) \ 481 __asm_copy_to_user_16x_cont(to, from, ret, "", "", "") 483 #define __asm_copy_to_user_20x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 484 __asm_copy_to_user_16x_cont(to, from, ret, \ 490 #define __asm_copy_to_user_20(to, from, ret) \ 491 __asm_copy_to_user_20x_cont(to, from, ret, "", "", "") 493 #define __asm_copy_to_user_24x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 494 __asm_copy_to_user_20x_cont(to, from, ret, \ 500 #define __asm_copy_to_user_24(to, from, ret) \ 501 __asm_copy_to_user_24x_cont(to, from, ret, "", "", "") 614 * This code is deduced from: strnlen_user()
|
H A D | thread_info.h | 4 /* how to get the thread information struct from C */ current_thread_info()
|
/linux-4.4.14/arch/cris/include/arch-v32/arch/ |
H A D | uaccess.h | 88 * Copy a null terminated string from userspace. 108 * This code is deduced from: __do_strncpy_from_user() 156 /* A few copy asms to build up the more complex ones from. 162 #define __asm_copy_user_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 172 : "=b" (to), "=b" (from), "=r" (ret) \ 173 : "0" (to), "1" (from), "2" (ret) \ 176 #define __asm_copy_from_user_1(to, from, ret) \ 177 __asm_copy_user_cont(to, from, ret, \ 185 #define __asm_copy_from_user_2x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 186 __asm_copy_user_cont(to, from, ret, \ 197 #define __asm_copy_from_user_2(to, from, ret) \ 198 __asm_copy_from_user_2x_cont(to, from, ret, "", "", "") 200 #define __asm_copy_from_user_3(to, from, ret) \ 201 __asm_copy_from_user_2x_cont(to, from, ret, \ 208 #define __asm_copy_from_user_4x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 209 __asm_copy_user_cont(to, from, ret, \ 220 #define __asm_copy_from_user_4(to, from, ret) \ 221 __asm_copy_from_user_4x_cont(to, from, ret, "", "", "") 223 #define __asm_copy_from_user_5(to, from, ret) \ 224 __asm_copy_from_user_4x_cont(to, from, ret, \ 231 #define __asm_copy_from_user_6x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 232 __asm_copy_from_user_4x_cont(to, from, ret, \ 242 #define __asm_copy_from_user_6(to, from, ret) \ 243 __asm_copy_from_user_6x_cont(to, from, ret, "", "", "") 245 #define __asm_copy_from_user_7(to, from, ret) \ 246 __asm_copy_from_user_6x_cont(to, from, ret, \ 253 #define __asm_copy_from_user_8x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 254 __asm_copy_from_user_4x_cont(to, from, ret, \ 264 #define __asm_copy_from_user_8(to, from, ret) \ 265 __asm_copy_from_user_8x_cont(to, from, ret, "", "", "") 267 #define __asm_copy_from_user_9(to, from, ret) \ 268 __asm_copy_from_user_8x_cont(to, from, ret, \ 275 #define __asm_copy_from_user_10x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 276 __asm_copy_from_user_8x_cont(to, from, ret, \ 286 #define __asm_copy_from_user_10(to, from, ret) \ 287 __asm_copy_from_user_10x_cont(to, from, ret, "", "", "") 289 #define __asm_copy_from_user_11(to, from, ret) \ 290 __asm_copy_from_user_10x_cont(to, from, ret, \ 297 #define __asm_copy_from_user_12x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 298 __asm_copy_from_user_8x_cont(to, from, ret, \ 308 #define __asm_copy_from_user_12(to, from, ret) \ 309 __asm_copy_from_user_12x_cont(to, from, ret, "", "", "") 311 #define __asm_copy_from_user_13(to, from, ret) \ 312 __asm_copy_from_user_12x_cont(to, from, ret, \ 319 #define __asm_copy_from_user_14x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 320 __asm_copy_from_user_12x_cont(to, from, ret, \ 330 #define __asm_copy_from_user_14(to, from, ret) \ 331 __asm_copy_from_user_14x_cont(to, from, ret, "", "", "") 333 #define __asm_copy_from_user_15(to, from, ret) \ 334 __asm_copy_from_user_14x_cont(to, from, ret, \ 341 #define __asm_copy_from_user_16x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 342 __asm_copy_from_user_12x_cont(to, from, ret, \ 352 #define __asm_copy_from_user_16(to, from, ret) \ 353 __asm_copy_from_user_16x_cont(to, from, ret, "", "", "") 355 #define __asm_copy_from_user_20x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 356 __asm_copy_from_user_16x_cont(to, from, ret, \ 366 #define __asm_copy_from_user_20(to, from, ret) \ 367 __asm_copy_from_user_20x_cont(to, from, ret, "", "", "") 369 #define __asm_copy_from_user_24x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 370 __asm_copy_from_user_20x_cont(to, from, ret, \ 380 #define __asm_copy_from_user_24(to, from, ret) \ 381 __asm_copy_from_user_24x_cont(to, from, ret, "", "", "") 385 #define __asm_copy_to_user_1(to, from, ret) \ 386 __asm_copy_user_cont(to, from, ret, \ 393 #define __asm_copy_to_user_2x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 394 __asm_copy_user_cont(to, from, ret, \ 404 #define __asm_copy_to_user_2(to, from, ret) \ 405 __asm_copy_to_user_2x_cont(to, from, ret, "", "", "") 407 #define __asm_copy_to_user_3(to, from, ret) \ 408 __asm_copy_to_user_2x_cont(to, from, ret, \ 414 #define __asm_copy_to_user_4x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 415 __asm_copy_user_cont(to, from, ret, \ 425 #define __asm_copy_to_user_4(to, from, ret) \ 426 __asm_copy_to_user_4x_cont(to, from, ret, "", "", "") 428 #define __asm_copy_to_user_5(to, from, ret) \ 429 __asm_copy_to_user_4x_cont(to, from, ret, \ 435 #define __asm_copy_to_user_6x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 436 __asm_copy_to_user_4x_cont(to, from, ret, \ 445 #define __asm_copy_to_user_6(to, from, ret) \ 446 __asm_copy_to_user_6x_cont(to, from, ret, "", "", "") 448 #define __asm_copy_to_user_7(to, from, ret) \ 449 __asm_copy_to_user_6x_cont(to, from, ret, \ 455 #define __asm_copy_to_user_8x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 456 __asm_copy_to_user_4x_cont(to, from, ret, \ 465 #define __asm_copy_to_user_8(to, from, ret) \ 466 __asm_copy_to_user_8x_cont(to, from, ret, "", "", "") 468 #define __asm_copy_to_user_9(to, from, ret) \ 469 __asm_copy_to_user_8x_cont(to, from, ret, \ 475 #define __asm_copy_to_user_10x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 476 __asm_copy_to_user_8x_cont(to, from, ret, \ 485 #define __asm_copy_to_user_10(to, from, ret) \ 486 __asm_copy_to_user_10x_cont(to, from, ret, "", "", "") 488 #define __asm_copy_to_user_11(to, from, ret) \ 489 __asm_copy_to_user_10x_cont(to, from, ret, \ 495 #define __asm_copy_to_user_12x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 496 __asm_copy_to_user_8x_cont(to, from, ret, \ 505 #define __asm_copy_to_user_12(to, from, ret) \ 506 __asm_copy_to_user_12x_cont(to, from, ret, "", "", "") 508 #define __asm_copy_to_user_13(to, from, ret) \ 509 __asm_copy_to_user_12x_cont(to, from, ret, \ 515 #define __asm_copy_to_user_14x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 516 __asm_copy_to_user_12x_cont(to, from, ret, \ 525 #define __asm_copy_to_user_14(to, from, ret) \ 526 __asm_copy_to_user_14x_cont(to, from, ret, "", "", "") 528 #define __asm_copy_to_user_15(to, from, ret) \ 529 __asm_copy_to_user_14x_cont(to, from, ret, \ 535 #define __asm_copy_to_user_16x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 536 __asm_copy_to_user_12x_cont(to, from, ret, \ 545 #define __asm_copy_to_user_16(to, from, ret) \ 546 __asm_copy_to_user_16x_cont(to, from, ret, "", "", "") 548 #define __asm_copy_to_user_20x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 549 __asm_copy_to_user_16x_cont(to, from, ret, \ 558 #define __asm_copy_to_user_20(to, from, ret) \ 559 __asm_copy_to_user_20x_cont(to, from, ret, "", "", "") 561 #define __asm_copy_to_user_24x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 562 __asm_copy_to_user_20x_cont(to, from, ret, \ 571 #define __asm_copy_to_user_24(to, from, ret) \ 572 __asm_copy_to_user_24x_cont(to, from, ret, "", "", "") 706 * This code is deduced from: strnlen_user()
|
/linux-4.4.14/tools/virtio/linux/ |
H A D | uaccess.h | 28 static void volatile_memcpy(volatile char *to, const volatile char *from, volatile_memcpy() argument 32 *(to++) = *(from++); volatile_memcpy() 35 static inline int copy_from_user(void *to, const void __user volatile *from, copy_from_user() argument 38 __chk_user_ptr(from, n); copy_from_user() 39 volatile_memcpy(to, from, n); copy_from_user() 43 static inline int copy_to_user(void __user volatile *to, const void *from, copy_to_user() argument 47 volatile_memcpy(to, from, n); copy_to_user()
|
/linux-4.4.14/arch/arm64/kernel/ |
H A D | io.c | 24 * Copy data from IO memory space to "real" memory space. 26 void __memcpy_fromio(void *to, const volatile void __iomem *from, size_t count) __memcpy_fromio() argument 28 while (count && (!IS_ALIGNED((unsigned long)from, 8) || __memcpy_fromio() 30 *(u8 *)to = __raw_readb(from); __memcpy_fromio() 31 from++; __memcpy_fromio() 37 *(u64 *)to = __raw_readq(from); __memcpy_fromio() 38 from += 8; __memcpy_fromio() 44 *(u8 *)to = __raw_readb(from); __memcpy_fromio() 45 from++; __memcpy_fromio() 53 * Copy data from "real" memory space to IO memory space. 55 void __memcpy_toio(volatile void __iomem *to, const void *from, size_t count) __memcpy_toio() argument 58 !IS_ALIGNED((unsigned long)from, 8))) { __memcpy_toio() 59 __raw_writeb(*(volatile u8 *)from, to); __memcpy_toio() 60 from++; __memcpy_toio() 66 __raw_writeq(*(volatile u64 *)from, to); __memcpy_toio() 67 from += 8; __memcpy_toio() 73 __raw_writeb(*(volatile u8 *)from, to); __memcpy_toio() 74 from++; __memcpy_toio()
|
/linux-4.4.14/arch/sparc/kernel/ |
H A D | sparc_ksyms_64.c | 25 /* from helpers.S */ 29 /* from head_64.S */ 35 /* from hvcalls.S */ 41 /* from hweight.S */ 47 /* from ffs_ffz.S */ 51 /* Exporting a symbol from /init/main.c */
|
H A D | sparc_ksyms_32.c | 22 /* from entry.S */ 26 /* from head_32.S */ 30 /* Exporting a symbol from /init/main.c */
|
/linux-4.4.14/arch/sh/kernel/ |
H A D | io.c | 17 * Copy data from IO memory space to "real" memory space. 19 void memcpy_fromio(void *to, const volatile void __iomem *from, unsigned long count) memcpy_fromio() argument 27 (((u32)to & 0x1f) == 0) && (((u32)from & 0x3) == 0)) { memcpy_fromio() 55 "=&r" (tmp5), "=&r" (tmp6), "=&r" (from) memcpy_fromio() 56 : "7"(from), "0" (to), "1" (count) memcpy_fromio() 61 if ((((u32)to | (u32)from) & 0x3) == 0) { memcpy_fromio() 63 *(u32 *)to = *(volatile u32 *)from; memcpy_fromio() 65 from += 4; memcpy_fromio() 70 *(u8 *)to = *(volatile u8 *)from; memcpy_fromio() 72 from++; memcpy_fromio() 80 * Copy data from "real" memory space to IO memory space. 82 void memcpy_toio(volatile void __iomem *to, const void *from, unsigned long count) memcpy_toio() argument 84 if ((((u32)to | (u32)from) & 0x3) == 0) { memcpy_toio() 86 *(volatile u32 *)to = *(u32 *)from; memcpy_toio() 88 from += 4; memcpy_toio() 93 *(volatile u8 *)to = *(u8 *)from; memcpy_toio() 95 from++; memcpy_toio()
|
H A D | machvec.c | 4 * The SuperH machine vector setup handlers, yanked from setup.c 42 static int __init early_parse_mv(char *from) early_parse_mv() argument 50 mv_end = strchr(from, ' '); early_parse_mv() 52 mv_end = from + strlen(from); early_parse_mv() 54 mv_comma = strchr(from, ','); early_parse_mv() 55 mv_len = mv_end - from; early_parse_mv() 58 memcpy(mv_name, from, mv_len); early_parse_mv() 60 from = mv_end; early_parse_mv() 104 * vector (usually the only one) from .machvec.init. sh_mv_setup()
|
H A D | ptrace.c | 4 * regs_query_register_offset() - query register offset from its name 8 * pt_regs from its name. If the name is invalid, this returns -EINVAL; 20 * regs_query_register_name() - query register name from its offset 23 * regs_query_register_name() returns the name of a register from its
|
/linux-4.4.14/arch/x86/include/asm/ |
H A D | mmx.h | 10 extern void *_mmx_memcpy(void *to, const void *from, size_t size); 12 extern void mmx_copy_page(void *to, void *from);
|
H A D | uaccess_32.h | 14 (void __user *to, const void *from, unsigned long n); 16 (void *to, const void __user *from, unsigned long n); 18 (void *to, const void __user *from, unsigned long n); 20 (void *to, const void __user *from, unsigned long n); 22 (void *to, const void __user *from, unsigned long n); 27 * @from: Source address, in kernel space. 32 * Copy data from kernel space to user space. Caller must check 44 __copy_to_user_inatomic(void __user *to, const void *from, unsigned long n) __copy_to_user_inatomic() argument 51 __put_user_size(*(u8 *)from, (u8 __user *)to, __copy_to_user_inatomic() 55 __put_user_size(*(u16 *)from, (u16 __user *)to, __copy_to_user_inatomic() 59 __put_user_size(*(u32 *)from, (u32 __user *)to, __copy_to_user_inatomic() 63 __put_user_size(*(u64 *)from, (u64 __user *)to, __copy_to_user_inatomic() 68 return __copy_to_user_ll(to, from, n); __copy_to_user_inatomic() 74 * @from: Source address, in kernel space. 80 * Copy data from kernel space to user space. Caller must check 87 __copy_to_user(void __user *to, const void *from, unsigned long n) __copy_to_user() argument 90 return __copy_to_user_inatomic(to, from, n); __copy_to_user() 94 __copy_from_user_inatomic(void *to, const void __user *from, unsigned long n) __copy_from_user_inatomic() argument 106 __get_user_size(*(u8 *)to, from, 1, ret, 1); __copy_from_user_inatomic() 109 __get_user_size(*(u16 *)to, from, 2, ret, 2); __copy_from_user_inatomic() 112 __get_user_size(*(u32 *)to, from, 4, ret, 4); __copy_from_user_inatomic() 116 return __copy_from_user_ll_nozero(to, from, n); __copy_from_user_inatomic() 120 * __copy_from_user: - Copy a block of data from user space, with less checking. 122 * @from: Source address, in user space. 128 * Copy data from user space to kernel space. Caller must check 137 * An alternate version - __copy_from_user_inatomic() - may be called from 143 __copy_from_user(void *to, const void __user *from, unsigned long n) __copy_from_user() argument 151 __get_user_size(*(u8 *)to, from, 1, ret, 1); __copy_from_user() 154 __get_user_size(*(u16 *)to, from, 2, ret, 2); __copy_from_user() 157 __get_user_size(*(u32 *)to, from, 4, ret, 4); __copy_from_user() 161 return __copy_from_user_ll(to, from, n); __copy_from_user() 165 const void __user *from, unsigned long n) __copy_from_user_nocache() 173 __get_user_size(*(u8 *)to, from, 1, ret, 1); __copy_from_user_nocache() 176 __get_user_size(*(u16 *)to, from, 2, ret, 2); __copy_from_user_nocache() 179 __get_user_size(*(u32 *)to, from, 4, ret, 4); __copy_from_user_nocache() 183 return __copy_from_user_ll_nocache(to, from, n); __copy_from_user_nocache() 187 __copy_from_user_inatomic_nocache(void *to, const void __user *from, __copy_from_user_inatomic_nocache() argument 190 return __copy_from_user_ll_nocache_nozero(to, from, n); __copy_from_user_inatomic_nocache() 164 __copy_from_user_nocache(void *to, const void __user *from, unsigned long n) __copy_from_user_nocache() argument
|
H A D | kasan.h | 9 * from 0. Kernel addresses don't start from 0, so shadow 10 * for kernel really starts from compiler's shadow offset +
|
H A D | page_32.h | 29 static inline void copy_page(void *to, void *from) copy_page() argument 31 mmx_copy_page(to, from); copy_page() 41 static inline void copy_page(void *to, void *from) copy_page() argument 43 memcpy(to, from, PAGE_SIZE); copy_page()
|
H A D | asm.h | 47 # define _ASM_EXTABLE(from,to) \ 50 .long (from) - . ; \ 54 # define _ASM_EXTABLE_EX(from,to) \ 57 .long (from) - . ; \ 92 # define _ASM_EXTABLE(from,to) \ 95 " .long (" #from ") - .\n" \ 99 # define _ASM_EXTABLE_EX(from,to) \ 102 " .long (" #from ") - .\n" \
|
H A D | sta2x11.h | 9 /* This needs to be called from the MFD to configure its sub-devices */
|
H A D | string_32.h | 32 static __always_inline void *__memcpy(void *to, const void *from, size_t n) __memcpy() argument 42 : "0" (n / 4), "g" (n), "1" ((long)to), "2" ((long)from) __memcpy() 51 static __always_inline void *__constant_memcpy(void *to, const void *from, __constant_memcpy() argument 60 *(char *)to = *(char *)from; __constant_memcpy() 63 *(short *)to = *(short *)from; __constant_memcpy() 66 *(int *)to = *(int *)from; __constant_memcpy() 69 *(short *)to = *(short *)from; __constant_memcpy() 70 *((char *)to + 2) = *((char *)from + 2); __constant_memcpy() 73 *(int *)to = *(int *)from; __constant_memcpy() 74 *((char *)to + 4) = *((char *)from + 4); __constant_memcpy() 77 *(int *)to = *(int *)from; __constant_memcpy() 78 *((short *)to + 2) = *((short *)from + 2); __constant_memcpy() 81 *(int *)to = *(int *)from; __constant_memcpy() 82 *((int *)to + 1) = *((int *)from + 1); __constant_memcpy() 86 esi = (long)from; __constant_memcpy() 154 static inline void *__constant_memcpy3d(void *to, const void *from, size_t len) __constant_memcpy3d() argument 157 return __constant_memcpy(to, from, len); __constant_memcpy3d() 158 return _mmx_memcpy(to, from, len); __constant_memcpy3d() 161 static inline void *__memcpy3d(void *to, const void *from, size_t len) __memcpy3d() argument 164 return __memcpy(to, from, len); __memcpy3d() 165 return _mmx_memcpy(to, from, len); __memcpy3d()
|
H A D | frame.h | 5 /* The annotation hides the frame from the unwinder and makes it look
|
/linux-4.4.14/include/net/netfilter/ipv6/ |
H A D | nf_conntrack_icmpv6.h | 5 * - separated from nf_conntrack_icmp.h 7 * Derived from include/linux/netfiter_ipv4/ip_conntrack_icmp.h
|
/linux-4.4.14/arch/powerpc/lib/ |
H A D | usercopy_64.c | 12 unsigned long copy_from_user(void *to, const void __user *from, unsigned long n) copy_from_user() argument 14 if (likely(access_ok(VERIFY_READ, from, n))) copy_from_user() 15 n = __copy_from_user(to, from, n); copy_from_user() 21 unsigned long copy_to_user(void __user *to, const void *from, unsigned long n) copy_to_user() argument 24 n = __copy_to_user(to, from, n); copy_to_user() 28 unsigned long copy_in_user(void __user *to, const void __user *from, copy_in_user() argument 32 if (likely(access_ok(VERIFY_READ, from, n) && copy_in_user() 34 n =__copy_tofrom_user(to, from, n); copy_in_user()
|
/linux-4.4.14/include/linux/ |
H A D | fanotify.h | 6 /* not valid from userspace, only kernel internal */
|
H A D | sonet.h | 15 extern void sonet_copy_stats(struct k_sonet_stats *from,struct sonet_stats *to); 16 extern void sonet_subtract_stats(struct k_sonet_stats *from,
|
H A D | uaccess.h | 22 * User access methods will not sleep when called from a pagefault_disabled() 65 const void __user *from, unsigned long n) __copy_from_user_inatomic_nocache() 67 return __copy_from_user_inatomic(to, from, n); __copy_from_user_inatomic_nocache() 71 const void __user *from, unsigned long n) __copy_from_user_nocache() 73 return __copy_from_user(to, from, n); __copy_from_user_nocache() 79 * probe_kernel_read(): safely attempt to read from a location 81 * @src: address to read from 84 * Safely read from address @src to the buffer at @dst. If a kernel fault 96 * Safely write to address @dst from the buffer at @src. If a kernel fault 105 * probe_kernel_address(): safely attempt to read from a location 106 * @addr: address to read from 64 __copy_from_user_inatomic_nocache(void *to, const void __user *from, unsigned long n) __copy_from_user_inatomic_nocache() argument 70 __copy_from_user_nocache(void *to, const void __user *from, unsigned long n) __copy_from_user_nocache() argument
|
H A D | mc6821.h | 11 * Data came from MFC-31-Developer Kit (from Ralph Seidel, 12 * zodiac@darkness.gun.de) and Motorola Data Sheet (from
|
H A D | hp_sdc.h | 14 * derived from this software without specific prior written permission. 101 #define HP_SDC_STATUS_REG 0x40 /* Data from an i8042 register */ 102 #define HP_SDC_STATUS_HILCMD 0x50 /* Command from HIL MLC */ 103 #define HP_SDC_STATUS_HILDATA 0x60 /* Data from HIL MLC */ 105 #define HP_SDC_STATUS_KCOOKED 0x80 /* Key from cooked kbd */ 106 #define HP_SDC_STATUS_KRPG 0xc0 /* Key from Repeat Gen */ 150 #define HP_SDC_CFG_KBD_NEW 0x07 /* keyboard code from HIL autoconfig */ 175 #define HP_SDC_CMD_LOAD_RT 0x31 /* Load real time (from 8042) */ 187 #define HP_SDC_CMD_READ_RAM 0x00 /* Load from i8042 RAM (autoinc) */ 188 #define HP_SDC_CMD_READ_USE 0x02 /* Undocumented! Load from usage reg */ 197 #define HP_SDC_CMD_READ_D0 0xf0 /* Load from i8042 RAM location 0x70 */ 198 #define HP_SDC_CMD_READ_D1 0xf1 /* Load from i8042 RAM location 0x71 */ 199 #define HP_SDC_CMD_READ_D2 0xf2 /* Load from i8042 RAM location 0x72 */ 200 #define HP_SDC_CMD_READ_D3 0xf3 /* Load from i8042 RAM location 0x73 */ 201 #define HP_SDC_CMD_READ_VT1 0xf4 /* Load from i8042 RAM location 0x74 */ 202 #define HP_SDC_CMD_READ_VT2 0xf5 /* Load from i8042 RAM location 0x75 */ 203 #define HP_SDC_CMD_READ_VT3 0xf6 /* Load from i8042 RAM location 0x76 */ 204 #define HP_SDC_CMD_READ_VT4 0xf7 /* Load from i8042 RAM location 0x77 */ 205 #define HP_SDC_CMD_READ_KBN 0xf8 /* Load from i8042 RAM location 0x78 */ 206 #define HP_SDC_CMD_READ_KBC 0xf9 /* Load from i8042 RAM location 0x79 */ 207 #define HP_SDC_CMD_READ_LPS 0xfa /* Load from i8042 RAM location 0x7a */ 208 #define HP_SDC_CMD_READ_LPC 0xfb /* Load from i8042 RAM location 0x7b */ 209 #define HP_SDC_CMD_READ_RSV 0xfc /* Load from i8042 RAM location 0x7c */ 210 #define HP_SDC_CMD_READ_LPR 0xfd /* Load from i8042 RAM location 0x7d */ 211 #define HP_SDC_CMD_READ_XTD 0xfe /* Load from i8042 RAM location 0x7e */ 212 #define HP_SDC_CMD_READ_STR 0xff /* Load from i8042 RAM location 0x7f */ 248 /* Values used to (de)mangle input/output to/from the HIL MLC */ 249 #define HP_SDC_DATA 0x40 /* Data from an 8042 register */ 250 #define HP_SDC_HIL_CMD 0x50 /* Data from HIL MLC R1/8042 */ 252 #define HP_SDC_HIL_AUTO 0x10 /* Set if POL results from i8042 */ 258 #define HP_SDC_HIL_DAT 0x60 /* Data from HIL MLC R0 */ 276 uint8_t r11, r7e; /* Values from version/revision regs */ 287 int dev_err; /* carries status from registration */
|
H A D | llist.h | 31 * entries can not be traversed safely before deleted from the list. 32 * The order of deleted entries is from the newest to the oldest added 33 * one. If you want to traverse from the oldest to the newest, you 96 * safely only after being deleted from list, so start with an entry 99 * If being used on entries deleted from lock-less list directly, the 100 * traverse order is from the newest to the oldest added entry. If 101 * you want to traverse from the oldest to the newest, you must 114 * safely only after being removed from list, so start with an entry 117 * If being used on entries deleted from lock-less list directly, the 118 * traverse order is from the newest to the oldest added entry. If 119 * you want to traverse from the oldest to the newest, you must 136 * safely only after being removed from list, so start with an entry 139 * If being used on entries deleted from lock-less list directly, the 140 * traverse order is from the newest to the oldest added entry. If 141 * you want to traverse from the oldest to the newest, you must 155 * test whether the list is empty without deleting something from the 184 * llist_del_all - delete all entries from lock-less list 189 * deleted is from the newest to the oldest added one.
|
H A D | tpm_command.h | 5 * TPM Command constants from specifications at
|
H A D | count_zeros.h | 18 * count_leading_zeros - Count the number of zeros from the MSB back 21 * Count the number of leading zeros from the MSB going towards the LSB in @x. 38 * count_trailing_zeros - Count the number of zeros from the LSB forwards 41 * Count the number of trailing zeros from the LSB going towards the MSB in @x.
|
/linux-4.4.14/arch/s390/include/asm/ |
H A D | types.h | 4 * Derived from "include/asm-i386/types.h"
|
H A D | shmparam.h | 4 * Derived from "include/asm-i386/shmparam.h"
|
H A D | cache.h | 5 * Derived from "include/asm-i386/cache.h"
|
H A D | current.h | 6 * Derived from "include/asm-i386/current.h"
|
H A D | uaccess.h | 7 * Derived from "include/asm-i386/uaccess.h" 96 * __copy_from_user: - Copy a block of data from user space, with less checking. 98 * @from: Source address, in user space. 104 * Copy data from user space to kernel space. Caller must check 113 unsigned long __must_check __copy_from_user(void *to, const void __user *from, 119 * @from: Source address, in kernel space. 125 * Copy data from kernel space to user space. Caller must check 131 unsigned long __must_check __copy_to_user(void __user *to, const void *from, 139 #define __put_get_user_asm(to, from, size, spec) \ 154 : "d" (size), "Q" (*(from)), \ 266 * @from: Source address, in kernel space. 272 * Copy data from kernel space to user space. 278 copy_to_user(void __user *to, const void *from, unsigned long n) copy_to_user() argument 281 return __copy_to_user(to, from, n); copy_to_user() 291 * copy_from_user: - Copy a block of data from user space. 293 * @from: Source address, in user space. 299 * Copy data from user space to kernel space. 308 copy_from_user(void *to, const void __user *from, unsigned long n) copy_from_user() argument 317 return __copy_from_user(to, from, n); copy_from_user() 321 __copy_in_user(void __user *to, const void __user *from, unsigned long n); 324 copy_in_user(void __user *to, const void __user *from, unsigned long n) copy_in_user() argument 327 return __copy_in_user(to, from, n); copy_in_user() 331 * Copy a null terminated string from userspace.
|
H A D | bugs.h | 6 * Derived from "include/asm-i386/bugs.h"
|
H A D | hardirq.h | 7 * Derived from "include/asm-i386/hardirq.h"
|
H A D | mman.h | 4 * Derived from "include/asm-i386/mman.h"
|
H A D | signal.h | 4 * Derived from "include/asm-i386/signal.h"
|
/linux-4.4.14/arch/s390/include/uapi/asm/ |
H A D | resource.h | 4 * Derived from "include/asm-i386/resources.h"
|
H A D | siginfo.h | 4 * Derived from "include/asm-i386/siginfo.h"
|
/linux-4.4.14/arch/m68k/lib/ |
H A D | memcpy.c | 10 void *memcpy(void *to, const void *from, size_t n) memcpy() argument 19 const char *cfrom = from; memcpy() 22 from = cfrom; memcpy() 26 if ((long)from & 1) { memcpy() 28 const char *cfrom = from; memcpy() 36 const short *sfrom = from; memcpy() 39 from = sfrom; memcpy() 45 const long *lfrom = from; memcpy() 73 from = lfrom; memcpy() 77 const short *sfrom = from; memcpy() 80 from = sfrom; memcpy() 84 const char *cfrom = from; memcpy()
|
/linux-4.4.14/arch/cris/include/asm/ |
H A D | uaccess.h | 84 * and hide all the ugliness from the user. 193 extern unsigned long __copy_user(void __user *to, const void *from, unsigned long n); 194 extern unsigned long __copy_user_zeroing(void *to, const void __user *from, unsigned long n); 198 __generic_copy_to_user(void __user *to, const void *from, unsigned long n) __generic_copy_to_user() argument 201 return __copy_user(to, from, n); __generic_copy_to_user() 206 __generic_copy_from_user(void *to, const void __user *from, unsigned long n) __generic_copy_from_user() argument 208 if (access_ok(VERIFY_READ, from, n)) __generic_copy_from_user() 209 return __copy_user_zeroing(to, from, n); __generic_copy_from_user() 242 __constant_copy_from_user(void *to, const void __user *from, unsigned long n) __constant_copy_from_user() argument 249 __asm_copy_from_user_1(to, from, ret); __constant_copy_from_user() 251 __asm_copy_from_user_2(to, from, ret); __constant_copy_from_user() 253 __asm_copy_from_user_3(to, from, ret); __constant_copy_from_user() 255 __asm_copy_from_user_4(to, from, ret); __constant_copy_from_user() 257 __asm_copy_from_user_5(to, from, ret); __constant_copy_from_user() 259 __asm_copy_from_user_6(to, from, ret); __constant_copy_from_user() 261 __asm_copy_from_user_7(to, from, ret); __constant_copy_from_user() 263 __asm_copy_from_user_8(to, from, ret); __constant_copy_from_user() 265 __asm_copy_from_user_9(to, from, ret); __constant_copy_from_user() 267 __asm_copy_from_user_10(to, from, ret); __constant_copy_from_user() 269 __asm_copy_from_user_11(to, from, ret); __constant_copy_from_user() 271 __asm_copy_from_user_12(to, from, ret); __constant_copy_from_user() 273 __asm_copy_from_user_13(to, from, ret); __constant_copy_from_user() 275 __asm_copy_from_user_14(to, from, ret); __constant_copy_from_user() 277 __asm_copy_from_user_15(to, from, ret); __constant_copy_from_user() 279 __asm_copy_from_user_16(to, from, ret); __constant_copy_from_user() 281 __asm_copy_from_user_20(to, from, ret); __constant_copy_from_user() 283 __asm_copy_from_user_24(to, from, ret); __constant_copy_from_user() 285 ret = __generic_copy_from_user(to, from, n); __constant_copy_from_user() 293 __constant_copy_to_user(void __user *to, const void *from, unsigned long n) __constant_copy_to_user() argument 300 __asm_copy_to_user_1(to, from, ret); __constant_copy_to_user() 302 __asm_copy_to_user_2(to, from, ret); __constant_copy_to_user() 304 __asm_copy_to_user_3(to, from, ret); __constant_copy_to_user() 306 __asm_copy_to_user_4(to, from, ret); __constant_copy_to_user() 308 __asm_copy_to_user_5(to, from, ret); __constant_copy_to_user() 310 __asm_copy_to_user_6(to, from, ret); __constant_copy_to_user() 312 __asm_copy_to_user_7(to, from, ret); __constant_copy_to_user() 314 __asm_copy_to_user_8(to, from, ret); __constant_copy_to_user() 316 __asm_copy_to_user_9(to, from, ret); __constant_copy_to_user() 318 __asm_copy_to_user_10(to, from, ret); __constant_copy_to_user() 320 __asm_copy_to_user_11(to, from, ret); __constant_copy_to_user() 322 __asm_copy_to_user_12(to, from, ret); __constant_copy_to_user() 324 __asm_copy_to_user_13(to, from, ret); __constant_copy_to_user() 326 __asm_copy_to_user_14(to, from, ret); __constant_copy_to_user() 328 __asm_copy_to_user_15(to, from, ret); __constant_copy_to_user() 330 __asm_copy_to_user_16(to, from, ret); __constant_copy_to_user() 332 __asm_copy_to_user_20(to, from, ret); __constant_copy_to_user() 334 __asm_copy_to_user_24(to, from, ret); __constant_copy_to_user() 336 ret = __generic_copy_to_user(to, from, n); __constant_copy_to_user() 380 #define copy_from_user(to, from, n) \ 382 __constant_copy_from_user(to, from, n) : \ 383 __generic_copy_from_user(to, from, n)) 385 #define copy_to_user(to, from, n) \ 387 __constant_copy_to_user(to, from, n) : \ 388 __generic_copy_to_user(to, from, n)) 395 __generic_copy_from_user_nocheck(void *to, const void __user *from, __generic_copy_from_user_nocheck() argument 398 return __copy_user_zeroing(to, from, n); __generic_copy_from_user_nocheck() 402 __generic_copy_to_user_nocheck(void __user *to, const void *from, __generic_copy_to_user_nocheck() argument 405 return __copy_user(to, from, n); __generic_copy_to_user_nocheck() 416 #define __copy_to_user(to, from, n) \ 417 __generic_copy_to_user_nocheck((to), (from), (n)) 418 #define __copy_from_user(to, from, n) \ 419 __generic_copy_from_user_nocheck((to), (from), (n))
|
/linux-4.4.14/arch/x86/lib/ |
H A D | usercopy.c | 14 * We rely on the nested NMI work to allow atomic faults from the NMI path; the 18 copy_from_user_nmi(void *to, const void __user *from, unsigned long n) copy_from_user_nmi() argument 22 if (__range_not_ok(from, n, TASK_SIZE)) copy_from_user_nmi() 26 * Even though this function is typically called from NMI/IRQ context copy_from_user_nmi() 31 ret = __copy_from_user_inatomic(to, from, n); copy_from_user_nmi()
|
H A D | usercopy_32.c | 101 __copy_user_intel(void __user *to, const void *from, unsigned long size) __copy_user_intel() argument 199 : "1"(to), "2"(from), "0"(size) __copy_user_intel() 205 __copy_user_zeroing_intel(void *to, const void __user *from, unsigned long size) __copy_user_zeroing_intel() argument 291 : "1"(to), "2"(from), "0"(size) __copy_user_zeroing_intel() 302 const void __user *from, unsigned long size) __copy_user_zeroing_intel_nocache() 390 : "1"(to), "2"(from), "0"(size) __copy_user_zeroing_intel_nocache() 396 const void __user *from, unsigned long size) __copy_user_intel_nocache() 478 : "1"(to), "2"(from), "0"(size) __copy_user_intel_nocache() 489 unsigned long __copy_user_zeroing_intel(void *to, const void __user *from, 491 unsigned long __copy_user_intel(void __user *to, const void *from, 494 const void __user *from, unsigned long size); 498 #define __copy_user(to, from, size) \ 527 : "3"(size), "0"(size), "1"(to), "2"(from) \ 531 #define __copy_user_zeroing(to, from, size) \ 566 : "3"(size), "0"(size), "1"(to), "2"(from) \ 570 unsigned long __copy_to_user_ll(void __user *to, const void *from, __copy_to_user_ll() argument 574 if (movsl_is_ok(to, from, n)) __copy_to_user_ll() 575 __copy_user(to, from, n); __copy_to_user_ll() 577 n = __copy_user_intel(to, from, n); __copy_to_user_ll() 583 unsigned long __copy_from_user_ll(void *to, const void __user *from, __copy_from_user_ll() argument 587 if (movsl_is_ok(to, from, n)) __copy_from_user_ll() 588 __copy_user_zeroing(to, from, n); __copy_from_user_ll() 590 n = __copy_user_zeroing_intel(to, from, n); __copy_from_user_ll() 596 unsigned long __copy_from_user_ll_nozero(void *to, const void __user *from, __copy_from_user_ll_nozero() argument 600 if (movsl_is_ok(to, from, n)) __copy_from_user_ll_nozero() 601 __copy_user(to, from, n); __copy_from_user_ll_nozero() 604 (const void *)from, n); __copy_from_user_ll_nozero() 610 unsigned long __copy_from_user_ll_nocache(void *to, const void __user *from, __copy_from_user_ll_nocache() argument 616 n = __copy_user_zeroing_intel_nocache(to, from, n); __copy_from_user_ll_nocache() 618 __copy_user_zeroing(to, from, n); __copy_from_user_ll_nocache() 620 __copy_user_zeroing(to, from, n); __copy_from_user_ll_nocache() 627 unsigned long __copy_from_user_ll_nocache_nozero(void *to, const void __user *from, __copy_from_user_ll_nocache_nozero() argument 633 n = __copy_user_intel_nocache(to, from, n); __copy_from_user_ll_nocache_nozero() 635 __copy_user(to, from, n); __copy_from_user_ll_nocache_nozero() 637 __copy_user(to, from, n); __copy_from_user_ll_nocache_nozero() 647 * @from: Source address, in kernel space. 653 * Copy data from kernel space to user space. 658 unsigned long _copy_to_user(void __user *to, const void *from, unsigned n) _copy_to_user() argument 661 n = __copy_to_user(to, from, n); _copy_to_user() 667 * copy_from_user: - Copy a block of data from user space. 669 * @from: Source address, in user space. 675 * Copy data from user space to kernel space. 683 unsigned long _copy_from_user(void *to, const void __user *from, unsigned n) _copy_from_user() argument 685 if (access_ok(VERIFY_READ, from, n)) _copy_from_user() 686 n = __copy_from_user(to, from, n); _copy_from_user() 301 __copy_user_zeroing_intel_nocache(void *to, const void __user *from, unsigned long size) __copy_user_zeroing_intel_nocache() argument 395 __copy_user_intel_nocache(void *to, const void __user *from, unsigned long size) __copy_user_intel_nocache() argument
|
H A D | misc.c | 4 * (Typed on and submitted from hpa's mobile phone.)
|
H A D | mmx_32.c | 28 void *_mmx_memcpy(void *to, const void *from, size_t len) _mmx_memcpy() argument 34 return __memcpy(to, from, len); _mmx_memcpy() 53 : : "r" (from)); _mmx_memcpy() 79 : : "r" (from), "r" (to) : "memory"); _mmx_memcpy() 81 from += 64; _mmx_memcpy() 103 : : "r" (from), "r" (to) : "memory"); _mmx_memcpy() 105 from += 64; _mmx_memcpy() 111 __memcpy(to, from, len & 63); _mmx_memcpy() 158 static void fast_copy_page(void *to, void *from) fast_copy_page() argument 179 _ASM_EXTABLE(1b, 3b) : : "r" (from)); fast_copy_page() 204 _ASM_EXTABLE(1b, 3b) : : "r" (from), "r" (to) : "memory"); fast_copy_page() 206 from += 64; fast_copy_page() 228 : : "r" (from), "r" (to) : "memory"); fast_copy_page() 229 from += 64; fast_copy_page() 280 static void fast_copy_page(void *to, void *from) fast_copy_page() argument 297 _ASM_EXTABLE(1b, 3b) : : "r" (from)); fast_copy_page() 323 : : "r" (from), "r" (to) : "memory"); fast_copy_page() 325 from += 64; fast_copy_page() 358 static void slow_copy_page(void *to, void *from) slow_copy_page() argument 366 : "0" (1024), "1" ((long) to), "2" ((long) from) slow_copy_page() 370 void mmx_copy_page(void *to, void *from) mmx_copy_page() argument 373 slow_copy_page(to, from); mmx_copy_page() 375 fast_copy_page(to, from); mmx_copy_page()
|
H A D | usercopy_64.c | 57 unsigned long copy_in_user(void __user *to, const void __user *from, unsigned len) copy_in_user() argument 59 if (access_ok(VERIFY_WRITE, to, len) && access_ok(VERIFY_READ, from, len)) { copy_in_user() 60 return copy_user_generic((__force void *)to, (__force void *)from, len); copy_in_user() 72 copy_user_handle_tail(char *to, char *from, unsigned len) copy_user_handle_tail() argument 77 if (__get_user_nocheck(c, from++, sizeof(char))) copy_user_handle_tail()
|
H A D | memcpy_32.c | 7 __visible void *memcpy(void *to, const void *from, size_t n) memcpy() argument 10 return __memcpy3d(to, from, n); memcpy() 12 return __memcpy(to, from, n); memcpy() 144 * Move data from 8 bytes to 15 bytes. memmove() 162 * Move data from 4 bytes to 7 bytes. memmove() 175 * Move data from 2 bytes to 3 bytes. memmove()
|
/linux-4.4.14/fs/xfs/libxfs/ |
H A D | xfs_inode_buf.c | 67 * from disk. We don't report the error otherwise to avoid warnings during log 70 * the error to, so this will distinguish it from a non-ra verifier failure. 200 xfs_dinode_t *from) xfs_dinode_from_disk() 202 to->di_magic = be16_to_cpu(from->di_magic); xfs_dinode_from_disk() 203 to->di_mode = be16_to_cpu(from->di_mode); xfs_dinode_from_disk() 204 to->di_version = from ->di_version; xfs_dinode_from_disk() 205 to->di_format = from->di_format; xfs_dinode_from_disk() 206 to->di_onlink = be16_to_cpu(from->di_onlink); xfs_dinode_from_disk() 207 to->di_uid = be32_to_cpu(from->di_uid); xfs_dinode_from_disk() 208 to->di_gid = be32_to_cpu(from->di_gid); xfs_dinode_from_disk() 209 to->di_nlink = be32_to_cpu(from->di_nlink); xfs_dinode_from_disk() 210 to->di_projid_lo = be16_to_cpu(from->di_projid_lo); xfs_dinode_from_disk() 211 to->di_projid_hi = be16_to_cpu(from->di_projid_hi); xfs_dinode_from_disk() 212 memcpy(to->di_pad, from->di_pad, sizeof(to->di_pad)); xfs_dinode_from_disk() 213 to->di_flushiter = be16_to_cpu(from->di_flushiter); xfs_dinode_from_disk() 214 to->di_atime.t_sec = be32_to_cpu(from->di_atime.t_sec); xfs_dinode_from_disk() 215 to->di_atime.t_nsec = be32_to_cpu(from->di_atime.t_nsec); xfs_dinode_from_disk() 216 to->di_mtime.t_sec = be32_to_cpu(from->di_mtime.t_sec); xfs_dinode_from_disk() 217 to->di_mtime.t_nsec = be32_to_cpu(from->di_mtime.t_nsec); xfs_dinode_from_disk() 218 to->di_ctime.t_sec = be32_to_cpu(from->di_ctime.t_sec); xfs_dinode_from_disk() 219 to->di_ctime.t_nsec = be32_to_cpu(from->di_ctime.t_nsec); xfs_dinode_from_disk() 220 to->di_size = be64_to_cpu(from->di_size); xfs_dinode_from_disk() 221 to->di_nblocks = be64_to_cpu(from->di_nblocks); xfs_dinode_from_disk() 222 to->di_extsize = be32_to_cpu(from->di_extsize); xfs_dinode_from_disk() 223 to->di_nextents = be32_to_cpu(from->di_nextents); xfs_dinode_from_disk() 224 to->di_anextents = be16_to_cpu(from->di_anextents); xfs_dinode_from_disk() 225 to->di_forkoff = from->di_forkoff; xfs_dinode_from_disk() 226 to->di_aformat = from->di_aformat; xfs_dinode_from_disk() 227 to->di_dmevmask = be32_to_cpu(from->di_dmevmask); xfs_dinode_from_disk() 228 to->di_dmstate = be16_to_cpu(from->di_dmstate); xfs_dinode_from_disk() 229 to->di_flags = be16_to_cpu(from->di_flags); xfs_dinode_from_disk() 230 to->di_gen = be32_to_cpu(from->di_gen); xfs_dinode_from_disk() 233 to->di_changecount = be64_to_cpu(from->di_changecount); xfs_dinode_from_disk() 234 to->di_crtime.t_sec = be32_to_cpu(from->di_crtime.t_sec); xfs_dinode_from_disk() 235 to->di_crtime.t_nsec = be32_to_cpu(from->di_crtime.t_nsec); xfs_dinode_from_disk() 236 to->di_flags2 = be64_to_cpu(from->di_flags2); xfs_dinode_from_disk() 237 to->di_ino = be64_to_cpu(from->di_ino); xfs_dinode_from_disk() 238 to->di_lsn = be64_to_cpu(from->di_lsn); xfs_dinode_from_disk() 239 memcpy(to->di_pad2, from->di_pad2, sizeof(to->di_pad2)); xfs_dinode_from_disk() 240 uuid_copy(&to->di_uuid, &from->di_uuid); xfs_dinode_from_disk() 247 xfs_icdinode_t *from) xfs_dinode_to_disk() 249 to->di_magic = cpu_to_be16(from->di_magic); xfs_dinode_to_disk() 250 to->di_mode = cpu_to_be16(from->di_mode); xfs_dinode_to_disk() 251 to->di_version = from ->di_version; xfs_dinode_to_disk() 252 to->di_format = from->di_format; xfs_dinode_to_disk() 253 to->di_onlink = cpu_to_be16(from->di_onlink); xfs_dinode_to_disk() 254 to->di_uid = cpu_to_be32(from->di_uid); xfs_dinode_to_disk() 255 to->di_gid = cpu_to_be32(from->di_gid); xfs_dinode_to_disk() 256 to->di_nlink = cpu_to_be32(from->di_nlink); xfs_dinode_to_disk() 257 to->di_projid_lo = cpu_to_be16(from->di_projid_lo); xfs_dinode_to_disk() 258 to->di_projid_hi = cpu_to_be16(from->di_projid_hi); xfs_dinode_to_disk() 259 memcpy(to->di_pad, from->di_pad, sizeof(to->di_pad)); xfs_dinode_to_disk() 260 to->di_atime.t_sec = cpu_to_be32(from->di_atime.t_sec); xfs_dinode_to_disk() 261 to->di_atime.t_nsec = cpu_to_be32(from->di_atime.t_nsec); xfs_dinode_to_disk() 262 to->di_mtime.t_sec = cpu_to_be32(from->di_mtime.t_sec); xfs_dinode_to_disk() 263 to->di_mtime.t_nsec = cpu_to_be32(from->di_mtime.t_nsec); xfs_dinode_to_disk() 264 to->di_ctime.t_sec = cpu_to_be32(from->di_ctime.t_sec); xfs_dinode_to_disk() 265 to->di_ctime.t_nsec = cpu_to_be32(from->di_ctime.t_nsec); xfs_dinode_to_disk() 266 to->di_size = cpu_to_be64(from->di_size); xfs_dinode_to_disk() 267 to->di_nblocks = cpu_to_be64(from->di_nblocks); xfs_dinode_to_disk() 268 to->di_extsize = cpu_to_be32(from->di_extsize); xfs_dinode_to_disk() 269 to->di_nextents = cpu_to_be32(from->di_nextents); xfs_dinode_to_disk() 270 to->di_anextents = cpu_to_be16(from->di_anextents); xfs_dinode_to_disk() 271 to->di_forkoff = from->di_forkoff; xfs_dinode_to_disk() 272 to->di_aformat = from->di_aformat; xfs_dinode_to_disk() 273 to->di_dmevmask = cpu_to_be32(from->di_dmevmask); xfs_dinode_to_disk() 274 to->di_dmstate = cpu_to_be16(from->di_dmstate); xfs_dinode_to_disk() 275 to->di_flags = cpu_to_be16(from->di_flags); xfs_dinode_to_disk() 276 to->di_gen = cpu_to_be32(from->di_gen); xfs_dinode_to_disk() 278 if (from->di_version == 3) { xfs_dinode_to_disk() 279 to->di_changecount = cpu_to_be64(from->di_changecount); xfs_dinode_to_disk() 280 to->di_crtime.t_sec = cpu_to_be32(from->di_crtime.t_sec); xfs_dinode_to_disk() 281 to->di_crtime.t_nsec = cpu_to_be32(from->di_crtime.t_nsec); xfs_dinode_to_disk() 282 to->di_flags2 = cpu_to_be64(from->di_flags2); xfs_dinode_to_disk() 283 to->di_ino = cpu_to_be64(from->di_ino); xfs_dinode_to_disk() 284 to->di_lsn = cpu_to_be64(from->di_lsn); xfs_dinode_to_disk() 285 memcpy(to->di_pad2, from->di_pad2, sizeof(to->di_pad2)); xfs_dinode_to_disk() 286 uuid_copy(&to->di_uuid, &from->di_uuid); xfs_dinode_to_disk() 289 to->di_flushiter = cpu_to_be16(from->di_flushiter); xfs_dinode_to_disk() 343 * initialised from the current on-disk value and hence we must also read the 198 xfs_dinode_from_disk( xfs_icdinode_t *to, xfs_dinode_t *from) xfs_dinode_from_disk() argument 245 xfs_dinode_to_disk( xfs_dinode_t *to, xfs_icdinode_t *from) xfs_dinode_to_disk() argument
|
H A D | xfs_sb.c | 69 * search from @first to find the next perag with the given tag set. 226 * More sanity checking. Most of these were stolen directly from xfs_mount_validate_sb() 353 xfs_dsb_t *from, __xfs_sb_from_disk() 356 to->sb_magicnum = be32_to_cpu(from->sb_magicnum); __xfs_sb_from_disk() 357 to->sb_blocksize = be32_to_cpu(from->sb_blocksize); __xfs_sb_from_disk() 358 to->sb_dblocks = be64_to_cpu(from->sb_dblocks); __xfs_sb_from_disk() 359 to->sb_rblocks = be64_to_cpu(from->sb_rblocks); __xfs_sb_from_disk() 360 to->sb_rextents = be64_to_cpu(from->sb_rextents); __xfs_sb_from_disk() 361 memcpy(&to->sb_uuid, &from->sb_uuid, sizeof(to->sb_uuid)); __xfs_sb_from_disk() 362 to->sb_logstart = be64_to_cpu(from->sb_logstart); __xfs_sb_from_disk() 363 to->sb_rootino = be64_to_cpu(from->sb_rootino); __xfs_sb_from_disk() 364 to->sb_rbmino = be64_to_cpu(from->sb_rbmino); __xfs_sb_from_disk() 365 to->sb_rsumino = be64_to_cpu(from->sb_rsumino); __xfs_sb_from_disk() 366 to->sb_rextsize = be32_to_cpu(from->sb_rextsize); __xfs_sb_from_disk() 367 to->sb_agblocks = be32_to_cpu(from->sb_agblocks); __xfs_sb_from_disk() 368 to->sb_agcount = be32_to_cpu(from->sb_agcount); __xfs_sb_from_disk() 369 to->sb_rbmblocks = be32_to_cpu(from->sb_rbmblocks); __xfs_sb_from_disk() 370 to->sb_logblocks = be32_to_cpu(from->sb_logblocks); __xfs_sb_from_disk() 371 to->sb_versionnum = be16_to_cpu(from->sb_versionnum); __xfs_sb_from_disk() 372 to->sb_sectsize = be16_to_cpu(from->sb_sectsize); __xfs_sb_from_disk() 373 to->sb_inodesize = be16_to_cpu(from->sb_inodesize); __xfs_sb_from_disk() 374 to->sb_inopblock = be16_to_cpu(from->sb_inopblock); __xfs_sb_from_disk() 375 memcpy(&to->sb_fname, &from->sb_fname, sizeof(to->sb_fname)); __xfs_sb_from_disk() 376 to->sb_blocklog = from->sb_blocklog; __xfs_sb_from_disk() 377 to->sb_sectlog = from->sb_sectlog; __xfs_sb_from_disk() 378 to->sb_inodelog = from->sb_inodelog; __xfs_sb_from_disk() 379 to->sb_inopblog = from->sb_inopblog; __xfs_sb_from_disk() 380 to->sb_agblklog = from->sb_agblklog; __xfs_sb_from_disk() 381 to->sb_rextslog = from->sb_rextslog; __xfs_sb_from_disk() 382 to->sb_inprogress = from->sb_inprogress; __xfs_sb_from_disk() 383 to->sb_imax_pct = from->sb_imax_pct; __xfs_sb_from_disk() 384 to->sb_icount = be64_to_cpu(from->sb_icount); __xfs_sb_from_disk() 385 to->sb_ifree = be64_to_cpu(from->sb_ifree); __xfs_sb_from_disk() 386 to->sb_fdblocks = be64_to_cpu(from->sb_fdblocks); __xfs_sb_from_disk() 387 to->sb_frextents = be64_to_cpu(from->sb_frextents); __xfs_sb_from_disk() 388 to->sb_uquotino = be64_to_cpu(from->sb_uquotino); __xfs_sb_from_disk() 389 to->sb_gquotino = be64_to_cpu(from->sb_gquotino); __xfs_sb_from_disk() 390 to->sb_qflags = be16_to_cpu(from->sb_qflags); __xfs_sb_from_disk() 391 to->sb_flags = from->sb_flags; __xfs_sb_from_disk() 392 to->sb_shared_vn = from->sb_shared_vn; __xfs_sb_from_disk() 393 to->sb_inoalignmt = be32_to_cpu(from->sb_inoalignmt); __xfs_sb_from_disk() 394 to->sb_unit = be32_to_cpu(from->sb_unit); __xfs_sb_from_disk() 395 to->sb_width = be32_to_cpu(from->sb_width); __xfs_sb_from_disk() 396 to->sb_dirblklog = from->sb_dirblklog; __xfs_sb_from_disk() 397 to->sb_logsectlog = from->sb_logsectlog; __xfs_sb_from_disk() 398 to->sb_logsectsize = be16_to_cpu(from->sb_logsectsize); __xfs_sb_from_disk() 399 to->sb_logsunit = be32_to_cpu(from->sb_logsunit); __xfs_sb_from_disk() 400 to->sb_features2 = be32_to_cpu(from->sb_features2); __xfs_sb_from_disk() 401 to->sb_bad_features2 = be32_to_cpu(from->sb_bad_features2); __xfs_sb_from_disk() 402 to->sb_features_compat = be32_to_cpu(from->sb_features_compat); __xfs_sb_from_disk() 403 to->sb_features_ro_compat = be32_to_cpu(from->sb_features_ro_compat); __xfs_sb_from_disk() 404 to->sb_features_incompat = be32_to_cpu(from->sb_features_incompat); __xfs_sb_from_disk() 406 be32_to_cpu(from->sb_features_log_incompat); __xfs_sb_from_disk() 409 to->sb_spino_align = be32_to_cpu(from->sb_spino_align); __xfs_sb_from_disk() 410 to->sb_pquotino = be64_to_cpu(from->sb_pquotino); __xfs_sb_from_disk() 411 to->sb_lsn = be64_to_cpu(from->sb_lsn); __xfs_sb_from_disk() 413 * sb_meta_uuid is only on disk if it differs from sb_uuid and the __xfs_sb_from_disk() 417 uuid_copy(&to->sb_meta_uuid, &from->sb_meta_uuid); __xfs_sb_from_disk() 419 uuid_copy(&to->sb_meta_uuid, &from->sb_uuid); __xfs_sb_from_disk() 428 xfs_dsb_t *from) xfs_sb_from_disk() 430 __xfs_sb_from_disk(to, from, true); xfs_sb_from_disk() 436 struct xfs_sb *from) xfs_sb_quota_to_disk() 438 __uint16_t qflags = from->sb_qflags; xfs_sb_quota_to_disk() 440 to->sb_uquotino = cpu_to_be64(from->sb_uquotino); xfs_sb_quota_to_disk() 441 if (xfs_sb_version_has_pquotino(from)) { xfs_sb_quota_to_disk() 442 to->sb_qflags = cpu_to_be16(from->sb_qflags); xfs_sb_quota_to_disk() 443 to->sb_gquotino = cpu_to_be64(from->sb_gquotino); xfs_sb_quota_to_disk() 444 to->sb_pquotino = cpu_to_be64(from->sb_pquotino); xfs_sb_quota_to_disk() 456 if (from->sb_qflags & xfs_sb_quota_to_disk() 459 if (from->sb_qflags & xfs_sb_quota_to_disk() 466 * of superblock that do not have pquotino. from->sb_flags xfs_sb_quota_to_disk() 473 if (from->sb_qflags & XFS_GQUOTA_ACCT) xfs_sb_quota_to_disk() 474 to->sb_gquotino = cpu_to_be64(from->sb_gquotino); xfs_sb_quota_to_disk() 475 else if (from->sb_qflags & XFS_PQUOTA_ACCT) xfs_sb_quota_to_disk() 476 to->sb_gquotino = cpu_to_be64(from->sb_pquotino); xfs_sb_quota_to_disk() 484 if (from->sb_gquotino == NULLFSINO && xfs_sb_quota_to_disk() 485 from->sb_pquotino == NULLFSINO) xfs_sb_quota_to_disk() 495 struct xfs_sb *from) xfs_sb_to_disk() 497 xfs_sb_quota_to_disk(to, from); xfs_sb_to_disk() 499 to->sb_magicnum = cpu_to_be32(from->sb_magicnum); xfs_sb_to_disk() 500 to->sb_blocksize = cpu_to_be32(from->sb_blocksize); xfs_sb_to_disk() 501 to->sb_dblocks = cpu_to_be64(from->sb_dblocks); xfs_sb_to_disk() 502 to->sb_rblocks = cpu_to_be64(from->sb_rblocks); xfs_sb_to_disk() 503 to->sb_rextents = cpu_to_be64(from->sb_rextents); xfs_sb_to_disk() 504 memcpy(&to->sb_uuid, &from->sb_uuid, sizeof(to->sb_uuid)); xfs_sb_to_disk() 505 to->sb_logstart = cpu_to_be64(from->sb_logstart); xfs_sb_to_disk() 506 to->sb_rootino = cpu_to_be64(from->sb_rootino); xfs_sb_to_disk() 507 to->sb_rbmino = cpu_to_be64(from->sb_rbmino); xfs_sb_to_disk() 508 to->sb_rsumino = cpu_to_be64(from->sb_rsumino); xfs_sb_to_disk() 509 to->sb_rextsize = cpu_to_be32(from->sb_rextsize); xfs_sb_to_disk() 510 to->sb_agblocks = cpu_to_be32(from->sb_agblocks); xfs_sb_to_disk() 511 to->sb_agcount = cpu_to_be32(from->sb_agcount); xfs_sb_to_disk() 512 to->sb_rbmblocks = cpu_to_be32(from->sb_rbmblocks); xfs_sb_to_disk() 513 to->sb_logblocks = cpu_to_be32(from->sb_logblocks); xfs_sb_to_disk() 514 to->sb_versionnum = cpu_to_be16(from->sb_versionnum); xfs_sb_to_disk() 515 to->sb_sectsize = cpu_to_be16(from->sb_sectsize); xfs_sb_to_disk() 516 to->sb_inodesize = cpu_to_be16(from->sb_inodesize); xfs_sb_to_disk() 517 to->sb_inopblock = cpu_to_be16(from->sb_inopblock); xfs_sb_to_disk() 518 memcpy(&to->sb_fname, &from->sb_fname, sizeof(to->sb_fname)); xfs_sb_to_disk() 519 to->sb_blocklog = from->sb_blocklog; xfs_sb_to_disk() 520 to->sb_sectlog = from->sb_sectlog; xfs_sb_to_disk() 521 to->sb_inodelog = from->sb_inodelog; xfs_sb_to_disk() 522 to->sb_inopblog = from->sb_inopblog; xfs_sb_to_disk() 523 to->sb_agblklog = from->sb_agblklog; xfs_sb_to_disk() 524 to->sb_rextslog = from->sb_rextslog; xfs_sb_to_disk() 525 to->sb_inprogress = from->sb_inprogress; xfs_sb_to_disk() 526 to->sb_imax_pct = from->sb_imax_pct; xfs_sb_to_disk() 527 to->sb_icount = cpu_to_be64(from->sb_icount); xfs_sb_to_disk() 528 to->sb_ifree = cpu_to_be64(from->sb_ifree); xfs_sb_to_disk() 529 to->sb_fdblocks = cpu_to_be64(from->sb_fdblocks); xfs_sb_to_disk() 530 to->sb_frextents = cpu_to_be64(from->sb_frextents); xfs_sb_to_disk() 532 to->sb_flags = from->sb_flags; xfs_sb_to_disk() 533 to->sb_shared_vn = from->sb_shared_vn; xfs_sb_to_disk() 534 to->sb_inoalignmt = cpu_to_be32(from->sb_inoalignmt); xfs_sb_to_disk() 535 to->sb_unit = cpu_to_be32(from->sb_unit); xfs_sb_to_disk() 536 to->sb_width = cpu_to_be32(from->sb_width); xfs_sb_to_disk() 537 to->sb_dirblklog = from->sb_dirblklog; xfs_sb_to_disk() 538 to->sb_logsectlog = from->sb_logsectlog; xfs_sb_to_disk() 539 to->sb_logsectsize = cpu_to_be16(from->sb_logsectsize); xfs_sb_to_disk() 540 to->sb_logsunit = cpu_to_be32(from->sb_logsunit); xfs_sb_to_disk() 547 from->sb_bad_features2 = from->sb_features2; xfs_sb_to_disk() 548 to->sb_features2 = cpu_to_be32(from->sb_features2); xfs_sb_to_disk() 549 to->sb_bad_features2 = cpu_to_be32(from->sb_bad_features2); xfs_sb_to_disk() 551 if (xfs_sb_version_hascrc(from)) { xfs_sb_to_disk() 552 to->sb_features_compat = cpu_to_be32(from->sb_features_compat); xfs_sb_to_disk() 554 cpu_to_be32(from->sb_features_ro_compat); xfs_sb_to_disk() 556 cpu_to_be32(from->sb_features_incompat); xfs_sb_to_disk() 558 cpu_to_be32(from->sb_features_log_incompat); xfs_sb_to_disk() 559 to->sb_spino_align = cpu_to_be32(from->sb_spino_align); xfs_sb_to_disk() 560 to->sb_lsn = cpu_to_be64(from->sb_lsn); xfs_sb_to_disk() 561 if (xfs_sb_version_hasmetauuid(from)) xfs_sb_to_disk() 562 uuid_copy(&to->sb_meta_uuid, &from->sb_meta_uuid); xfs_sb_to_disk() 575 * Use call variant which doesn't convert quota flags from disk xfs_sb_verify() 582 * mkfs.xfs doesn't clear it from secondary superblocks. xfs_sb_verify() 610 * superblock from disk order just to check the version number xfs_sb_read_verify() 697 * fields from the superblock associated with the given 803 * level of locking that is needed to protect the in-core superblock from 351 __xfs_sb_from_disk( struct xfs_sb *to, xfs_dsb_t *from, bool convert_xquota) __xfs_sb_from_disk() argument 426 xfs_sb_from_disk( struct xfs_sb *to, xfs_dsb_t *from) xfs_sb_from_disk() argument 434 xfs_sb_quota_to_disk( struct xfs_dsb *to, struct xfs_sb *from) xfs_sb_quota_to_disk() argument 493 xfs_sb_to_disk( struct xfs_dsb *to, struct xfs_sb *from) xfs_sb_to_disk() argument
|
H A D | xfs_da_format.c | 128 xfs_dir2_inou_t *from) xfs_dir2_sf_get_ino() 131 return get_unaligned_be64(&from->i8.i) & 0x00ffffffffffffffULL; xfs_dir2_sf_get_ino() 133 return get_unaligned_be32(&from->i4.i); xfs_dir2_sf_get_ino() 455 struct xfs_dir2_leaf *from) xfs_dir2_leaf_hdr_from_disk() 457 to->forw = be32_to_cpu(from->hdr.info.forw); xfs_dir2_leaf_hdr_from_disk() 458 to->back = be32_to_cpu(from->hdr.info.back); xfs_dir2_leaf_hdr_from_disk() 459 to->magic = be16_to_cpu(from->hdr.info.magic); xfs_dir2_leaf_hdr_from_disk() 460 to->count = be16_to_cpu(from->hdr.count); xfs_dir2_leaf_hdr_from_disk() 461 to->stale = be16_to_cpu(from->hdr.stale); xfs_dir2_leaf_hdr_from_disk() 470 struct xfs_dir3_icleaf_hdr *from) xfs_dir2_leaf_hdr_to_disk() 472 ASSERT(from->magic == XFS_DIR2_LEAF1_MAGIC || xfs_dir2_leaf_hdr_to_disk() 473 from->magic == XFS_DIR2_LEAFN_MAGIC); xfs_dir2_leaf_hdr_to_disk() 475 to->hdr.info.forw = cpu_to_be32(from->forw); xfs_dir2_leaf_hdr_to_disk() 476 to->hdr.info.back = cpu_to_be32(from->back); xfs_dir2_leaf_hdr_to_disk() 477 to->hdr.info.magic = cpu_to_be16(from->magic); xfs_dir2_leaf_hdr_to_disk() 478 to->hdr.count = cpu_to_be16(from->count); xfs_dir2_leaf_hdr_to_disk() 479 to->hdr.stale = cpu_to_be16(from->stale); xfs_dir2_leaf_hdr_to_disk() 485 struct xfs_dir2_leaf *from) xfs_dir3_leaf_hdr_from_disk() 487 struct xfs_dir3_leaf_hdr *hdr3 = (struct xfs_dir3_leaf_hdr *)from; xfs_dir3_leaf_hdr_from_disk() 502 struct xfs_dir3_icleaf_hdr *from) xfs_dir3_leaf_hdr_to_disk() 506 ASSERT(from->magic == XFS_DIR3_LEAF1_MAGIC || xfs_dir3_leaf_hdr_to_disk() 507 from->magic == XFS_DIR3_LEAFN_MAGIC); xfs_dir3_leaf_hdr_to_disk() 509 hdr3->info.hdr.forw = cpu_to_be32(from->forw); xfs_dir3_leaf_hdr_to_disk() 510 hdr3->info.hdr.back = cpu_to_be32(from->back); xfs_dir3_leaf_hdr_to_disk() 511 hdr3->info.hdr.magic = cpu_to_be16(from->magic); xfs_dir3_leaf_hdr_to_disk() 512 hdr3->count = cpu_to_be16(from->count); xfs_dir3_leaf_hdr_to_disk() 513 hdr3->stale = cpu_to_be16(from->stale); xfs_dir3_leaf_hdr_to_disk() 535 struct xfs_da_intnode *from) xfs_da2_node_hdr_from_disk() 537 ASSERT(from->hdr.info.magic == cpu_to_be16(XFS_DA_NODE_MAGIC)); xfs_da2_node_hdr_from_disk() 538 to->forw = be32_to_cpu(from->hdr.info.forw); xfs_da2_node_hdr_from_disk() 539 to->back = be32_to_cpu(from->hdr.info.back); xfs_da2_node_hdr_from_disk() 540 to->magic = be16_to_cpu(from->hdr.info.magic); xfs_da2_node_hdr_from_disk() 541 to->count = be16_to_cpu(from->hdr.__count); xfs_da2_node_hdr_from_disk() 542 to->level = be16_to_cpu(from->hdr.__level); xfs_da2_node_hdr_from_disk() 548 struct xfs_da3_icnode_hdr *from) xfs_da2_node_hdr_to_disk() 550 ASSERT(from->magic == XFS_DA_NODE_MAGIC); xfs_da2_node_hdr_to_disk() 551 to->hdr.info.forw = cpu_to_be32(from->forw); xfs_da2_node_hdr_to_disk() 552 to->hdr.info.back = cpu_to_be32(from->back); xfs_da2_node_hdr_to_disk() 553 to->hdr.info.magic = cpu_to_be16(from->magic); xfs_da2_node_hdr_to_disk() 554 to->hdr.__count = cpu_to_be16(from->count); xfs_da2_node_hdr_to_disk() 555 to->hdr.__level = cpu_to_be16(from->level); xfs_da2_node_hdr_to_disk() 561 struct xfs_da_intnode *from) xfs_da3_node_hdr_from_disk() 563 struct xfs_da3_node_hdr *hdr3 = (struct xfs_da3_node_hdr *)from; xfs_da3_node_hdr_from_disk() 565 ASSERT(from->hdr.info.magic == cpu_to_be16(XFS_DA3_NODE_MAGIC)); xfs_da3_node_hdr_from_disk() 576 struct xfs_da3_icnode_hdr *from) xfs_da3_node_hdr_to_disk() 580 ASSERT(from->magic == XFS_DA3_NODE_MAGIC); xfs_da3_node_hdr_to_disk() 581 hdr3->info.hdr.forw = cpu_to_be32(from->forw); xfs_da3_node_hdr_to_disk() 582 hdr3->info.hdr.back = cpu_to_be32(from->back); xfs_da3_node_hdr_to_disk() 583 hdr3->info.hdr.magic = cpu_to_be16(from->magic); xfs_da3_node_hdr_to_disk() 584 hdr3->__count = cpu_to_be16(from->count); xfs_da3_node_hdr_to_disk() 585 hdr3->__level = cpu_to_be16(from->level); xfs_da3_node_hdr_to_disk() 659 struct xfs_dir2_free *from) xfs_dir2_free_hdr_from_disk() 661 to->magic = be32_to_cpu(from->hdr.magic); xfs_dir2_free_hdr_from_disk() 662 to->firstdb = be32_to_cpu(from->hdr.firstdb); xfs_dir2_free_hdr_from_disk() 663 to->nvalid = be32_to_cpu(from->hdr.nvalid); xfs_dir2_free_hdr_from_disk() 664 to->nused = be32_to_cpu(from->hdr.nused); xfs_dir2_free_hdr_from_disk() 671 struct xfs_dir3_icfree_hdr *from) xfs_dir2_free_hdr_to_disk() 673 ASSERT(from->magic == XFS_DIR2_FREE_MAGIC); xfs_dir2_free_hdr_to_disk() 675 to->hdr.magic = cpu_to_be32(from->magic); xfs_dir2_free_hdr_to_disk() 676 to->hdr.firstdb = cpu_to_be32(from->firstdb); xfs_dir2_free_hdr_to_disk() 677 to->hdr.nvalid = cpu_to_be32(from->nvalid); xfs_dir2_free_hdr_to_disk() 678 to->hdr.nused = cpu_to_be32(from->nused); xfs_dir2_free_hdr_to_disk() 684 struct xfs_dir2_free *from) xfs_dir3_free_hdr_from_disk() 686 struct xfs_dir3_free_hdr *hdr3 = (struct xfs_dir3_free_hdr *)from; xfs_dir3_free_hdr_from_disk() 699 struct xfs_dir3_icfree_hdr *from) xfs_dir3_free_hdr_to_disk() 703 ASSERT(from->magic == XFS_DIR3_FREE_MAGIC); xfs_dir3_free_hdr_to_disk() 705 hdr3->hdr.magic = cpu_to_be32(from->magic); xfs_dir3_free_hdr_to_disk() 706 hdr3->firstdb = cpu_to_be32(from->firstdb); xfs_dir3_free_hdr_to_disk() 707 hdr3->nvalid = cpu_to_be32(from->nvalid); xfs_dir3_free_hdr_to_disk() 708 hdr3->nused = cpu_to_be32(from->nused); xfs_dir3_free_hdr_to_disk() 126 xfs_dir2_sf_get_ino( struct xfs_dir2_sf_hdr *hdr, xfs_dir2_inou_t *from) xfs_dir2_sf_get_ino() argument 453 xfs_dir2_leaf_hdr_from_disk( struct xfs_dir3_icleaf_hdr *to, struct xfs_dir2_leaf *from) xfs_dir2_leaf_hdr_from_disk() argument 468 xfs_dir2_leaf_hdr_to_disk( struct xfs_dir2_leaf *to, struct xfs_dir3_icleaf_hdr *from) xfs_dir2_leaf_hdr_to_disk() argument 483 xfs_dir3_leaf_hdr_from_disk( struct xfs_dir3_icleaf_hdr *to, struct xfs_dir2_leaf *from) xfs_dir3_leaf_hdr_from_disk() argument 500 xfs_dir3_leaf_hdr_to_disk( struct xfs_dir2_leaf *to, struct xfs_dir3_icleaf_hdr *from) xfs_dir3_leaf_hdr_to_disk() argument 533 xfs_da2_node_hdr_from_disk( struct xfs_da3_icnode_hdr *to, struct xfs_da_intnode *from) xfs_da2_node_hdr_from_disk() argument 546 xfs_da2_node_hdr_to_disk( struct xfs_da_intnode *to, struct xfs_da3_icnode_hdr *from) xfs_da2_node_hdr_to_disk() argument 559 xfs_da3_node_hdr_from_disk( struct xfs_da3_icnode_hdr *to, struct xfs_da_intnode *from) xfs_da3_node_hdr_from_disk() argument 574 xfs_da3_node_hdr_to_disk( struct xfs_da_intnode *to, struct xfs_da3_icnode_hdr *from) xfs_da3_node_hdr_to_disk() argument 657 xfs_dir2_free_hdr_from_disk( struct xfs_dir3_icfree_hdr *to, struct xfs_dir2_free *from) xfs_dir2_free_hdr_from_disk() argument 669 xfs_dir2_free_hdr_to_disk( struct xfs_dir2_free *to, struct xfs_dir3_icfree_hdr *from) xfs_dir2_free_hdr_to_disk() argument 682 xfs_dir3_free_hdr_from_disk( struct xfs_dir3_icfree_hdr *to, struct xfs_dir2_free *from) xfs_dir3_free_hdr_from_disk() argument 697 xfs_dir3_free_hdr_to_disk( struct xfs_dir2_free *to, struct xfs_dir3_icfree_hdr *from) xfs_dir3_free_hdr_to_disk() argument
|
/linux-4.4.14/arch/m68k/include/asm/ |
H A D | uaccess_mm.h | 26 * the "moves" instruction to access user space from kernel space. Other 202 unsigned long __generic_copy_from_user(void *to, const void __user *from, unsigned long n); 203 unsigned long __generic_copy_to_user(void __user *to, const void *from, unsigned long n); 205 #define __constant_copy_from_user_asm(res, to, from, tmp, n, s1, s2, s3)\ 235 : "+d" (res), "+&a" (to), "+a" (from), "=&d" (tmp) \ 239 __constant_copy_from_user(void *to, const void __user *from, unsigned long n) __constant_copy_from_user() argument 245 __get_user_asm(res, *(u8 *)to, (u8 __user *)from, u8, b, d, 1); __constant_copy_from_user() 248 __get_user_asm(res, *(u16 *)to, (u16 __user *)from, u16, w, r, 2); __constant_copy_from_user() 251 __constant_copy_from_user_asm(res, to, from, tmp, 3, w, b,); __constant_copy_from_user() 254 __get_user_asm(res, *(u32 *)to, (u32 __user *)from, u32, l, r, 4); __constant_copy_from_user() 257 __constant_copy_from_user_asm(res, to, from, tmp, 5, l, b,); __constant_copy_from_user() 260 __constant_copy_from_user_asm(res, to, from, tmp, 6, l, w,); __constant_copy_from_user() 263 __constant_copy_from_user_asm(res, to, from, tmp, 7, l, w, b); __constant_copy_from_user() 266 __constant_copy_from_user_asm(res, to, from, tmp, 8, l, l,); __constant_copy_from_user() 269 __constant_copy_from_user_asm(res, to, from, tmp, 9, l, l, b); __constant_copy_from_user() 272 __constant_copy_from_user_asm(res, to, from, tmp, 10, l, l, w); __constant_copy_from_user() 275 __constant_copy_from_user_asm(res, to, from, tmp, 12, l, l, l); __constant_copy_from_user() 279 return __generic_copy_from_user(to, from, n); __constant_copy_from_user() 285 #define __constant_copy_to_user_asm(res, to, from, tmp, n, s1, s2, s3) \ 316 : "+d" (res), "+a" (to), "+a" (from), "=&d" (tmp) \ 320 __constant_copy_to_user(void __user *to, const void *from, unsigned long n) __constant_copy_to_user() argument 326 __put_user_asm(res, *(u8 *)from, (u8 __user *)to, b, d, 1); __constant_copy_to_user() 329 __put_user_asm(res, *(u16 *)from, (u16 __user *)to, w, r, 2); __constant_copy_to_user() 332 __constant_copy_to_user_asm(res, to, from, tmp, 3, w, b,); __constant_copy_to_user() 335 __put_user_asm(res, *(u32 *)from, (u32 __user *)to, l, r, 4); __constant_copy_to_user() 338 __constant_copy_to_user_asm(res, to, from, tmp, 5, l, b,); __constant_copy_to_user() 341 __constant_copy_to_user_asm(res, to, from, tmp, 6, l, w,); __constant_copy_to_user() 344 __constant_copy_to_user_asm(res, to, from, tmp, 7, l, w, b); __constant_copy_to_user() 347 __constant_copy_to_user_asm(res, to, from, tmp, 8, l, l,); __constant_copy_to_user() 350 __constant_copy_to_user_asm(res, to, from, tmp, 9, l, l, b); __constant_copy_to_user() 353 __constant_copy_to_user_asm(res, to, from, tmp, 10, l, l, w); __constant_copy_to_user() 356 __constant_copy_to_user_asm(res, to, from, tmp, 12, l, l, l); __constant_copy_to_user() 360 return __generic_copy_to_user(to, from, n); __constant_copy_to_user() 366 #define __copy_from_user(to, from, n) \ 368 __constant_copy_from_user(to, from, n) : \ 369 __generic_copy_from_user(to, from, n)) 371 #define __copy_to_user(to, from, n) \ 373 __constant_copy_to_user(to, from, n) : \ 374 __generic_copy_to_user(to, from, n)) 379 #define copy_from_user(to, from, n) __copy_from_user(to, from, n) 380 #define copy_to_user(to, from, n) __copy_to_user(to, from, n)
|
H A D | page_no.h | 13 #define copy_page(to,from) memcpy((to), (from), PAGE_SIZE) 16 #define copy_user_page(to, from, vaddr, pg) copy_page(to, from)
|
H A D | uaccess_no.h | 84 * Tell gcc we read from memory instead of writing: this is because 130 #define copy_from_user(to, from, n) (memcpy(to, from, n), 0) 131 #define copy_to_user(to, from, n) (memcpy(to, from, n), 0) 133 #define __copy_from_user(to, from, n) copy_from_user(to, from, n) 134 #define __copy_to_user(to, from, n) copy_to_user(to, from, n) 138 #define copy_to_user_ret(to,from,n,retval) ({ if (copy_to_user(to,from,n)) return retval; }) 140 #define copy_from_user_ret(to,from,n,retval) ({ if (copy_from_user(to,from,n)) return retval; }) 143 * Copy a null terminated string from userspace.
|
/linux-4.4.14/drivers/pnp/isapnp/ |
H A D | compat.c | 24 struct pnp_card *from) pnp_find_card() 33 list = from ? from->global_list.next : pnp_cards.next; pnp_find_card() 46 unsigned short function, struct pnp_dev *from) pnp_find_dev() 53 if (card == NULL) { /* look for a logical device from all cards */ pnp_find_dev() 57 if (from) pnp_find_dev() 58 list = from->global_list.next; pnp_find_dev() 72 if (from) { pnp_find_dev() 73 list = from->card_list.next; pnp_find_dev() 74 if (from->card != card) /* something is wrong */ pnp_find_dev() 23 pnp_find_card(unsigned short vendor, unsigned short device, struct pnp_card *from) pnp_find_card() argument 45 pnp_find_dev(struct pnp_card *card, unsigned short vendor, unsigned short function, struct pnp_dev *from) pnp_find_dev() argument
|
/linux-4.4.14/arch/c6x/include/asm/ |
H A D | uaccess.h | 26 const void __user *from, unsigned long n) __copy_from_user() 34 *(u8 *)to = *(u8 __force *)from; __copy_from_user() 41 : "A"(to), "a"(from) __copy_from_user() 49 : "a"(to), "a"(from) __copy_from_user() 57 memcpy(to, (const void __force *)from, n); __copy_from_user() 62 const void *from, unsigned long n) __copy_to_user() 70 *(u8 __force *)to = *(u8 *)from; __copy_to_user() 77 : "a"(to), "a"(from) __copy_to_user() 85 : "a"(to), "a"(from) __copy_to_user() 93 memcpy((void __force *)to, from, n); __copy_to_user() 25 __copy_from_user(void *to, const void __user *from, unsigned long n) __copy_from_user() argument 61 __copy_to_user(void __user *to, const void *from, unsigned long n) __copy_to_user() argument
|
/linux-4.4.14/arch/alpha/kernel/ |
H A D | sys_sx164.c | 72 * 8 Interrupt Line A from slot 3 73 * 9 Interrupt Line A from slot 2 74 *10 Interrupt Line A from slot 1 75 *11 Interrupt Line A from slot 0 76 *12 Interrupt Line B from slot 3 77 *13 Interrupt Line B from slot 2 78 *14 Interrupt Line B from slot 1 79 *15 Interrupt line B from slot 0 80 *16 Interrupt Line C from slot 3 81 *17 Interrupt Line C from slot 2 82 *18 Interrupt Line C from slot 1 83 *19 Interrupt Line C from slot 0 84 *20 Interrupt Line D from slot 3 85 *21 Interrupt Line D from slot 2 86 *22 Interrupt Line D from slot 1 87 *23 Interrupt Line D from slot 0
|
H A D | sys_noritake.c | 105 * reports PCI vectors *lower* than I expected from the bit numbers noritake_srm_device_interrupt() 145 * 0 All valid ints from summary regs 2 & 3 147 * 2 Interrupt Line A from slot 0 148 * 3 Interrupt Line B from slot 0 149 * 4 Interrupt Line A from slot 1 150 * 5 Interrupt line B from slot 1 151 * 6 Interrupt Line A from slot 2 152 * 7 Interrupt Line B from slot 2 153 * 8 Interrupt Line A from slot 3 154 * 9 Interrupt Line B from slot 3 155 *10 Interrupt Line A from slot 4 156 *11 Interrupt Line B from slot 4 157 *12 Interrupt Line A from slot 5 158 *13 Interrupt Line B from slot 5 159 *14 Interrupt Line A from slot 6 160 *15 Interrupt Line B from slot 6 166 * 2 Interrupt Line C from slot 0 167 * 3 Interrupt Line D from slot 0 168 * 4 Interrupt Line C from slot 1 169 * 5 Interrupt line D from slot 1 170 * 6 Interrupt Line C from slot 2 171 * 7 Interrupt Line D from slot 2 172 * 8 Interrupt Line C from slot 3 173 * 9 Interrupt Line D from slot 3 174 *10 Interrupt Line C from slot 4 175 *11 Interrupt Line D from slot 4 176 *12 Interrupt Line C from slot 5 177 *13 Interrupt Line D from slot 5 178 *14 Interrupt Line C from slot 6 179 *15 Interrupt Line D from slot 6
|
H A D | sys_rawhide.c | 144 * it line up with the actual bit numbers from the REQ registers, rawhide_srm_device_interrupt() 155 /* Adjust by which hose it is from. */ rawhide_srm_device_interrupt() 196 * 0 Interrupt Line A from slot 2 PCI0 197 * 1 Interrupt Line B from slot 2 PCI0 198 * 2 Interrupt Line C from slot 2 PCI0 199 * 3 Interrupt Line D from slot 2 PCI0 200 * 4 Interrupt Line A from slot 3 PCI0 201 * 5 Interrupt Line B from slot 3 PCI0 202 * 6 Interrupt Line C from slot 3 PCI0 203 * 7 Interrupt Line D from slot 3 PCI0 204 * 8 Interrupt Line A from slot 4 PCI0 205 * 9 Interrupt Line B from slot 4 PCI0 206 * 10 Interrupt Line C from slot 4 PCI0 207 * 11 Interrupt Line D from slot 4 PCI0 208 * 12 Interrupt Line A from slot 5 PCI0 209 * 13 Interrupt Line B from slot 5 PCI0 210 * 14 Interrupt Line C from slot 5 PCI0 211 * 15 Interrupt Line D from slot 5 PCI0
|
H A D | sys_wildfire.c | 253 *40 Interrupt Line A from slot 2 PCI0 254 *41 Interrupt Line B from slot 2 PCI0 255 *42 Interrupt Line C from slot 2 PCI0 256 *43 Interrupt Line D from slot 2 PCI0 257 *44 Interrupt Line A from slot 3 PCI0 258 *45 Interrupt Line B from slot 3 PCI0 259 *46 Interrupt Line C from slot 3 PCI0 260 *47 Interrupt Line D from slot 3 PCI0 262 *48 Interrupt Line A from slot 4 PCI1 263 *49 Interrupt Line B from slot 4 PCI1 264 *50 Interrupt Line C from slot 4 PCI1 265 *51 Interrupt Line D from slot 4 PCI1 266 *52 Interrupt Line A from slot 5 PCI1 267 *53 Interrupt Line B from slot 5 PCI1 268 *54 Interrupt Line C from slot 5 PCI1 269 *55 Interrupt Line D from slot 5 PCI1 270 *56 Interrupt Line A from slot 6 PCI1 271 *57 Interrupt Line B from slot 6 PCI1 272 *58 Interrupt Line C from slot 6 PCI1 273 *50 Interrupt Line D from slot 6 PCI1 274 *60 Interrupt Line A from slot 7 PCI1 275 *61 Interrupt Line B from slot 7 PCI1 276 *62 Interrupt Line C from slot 7 PCI1 277 *63 Interrupt Line D from slot 7 PCI1
|
H A D | sys_miata.c | 44 * vector 0x80 *lower* than I expected from the bit numbering in miata_srm_device_interrupt() 105 *12 Interrupt Line A from slot 4 106 *13 Interrupt Line B from slot 4 107 *14 Interrupt Line C from slot 4 108 *15 Interrupt Line D from slot 4 109 *16 Interrupt Line A from slot 5 110 *17 Interrupt line B from slot 5 111 *18 Interrupt Line C from slot 5 112 *19 Interrupt Line D from slot 5 113 *20 Interrupt Line A from slot 1 114 *21 Interrupt Line B from slot 1 115 *22 Interrupt Line C from slot 1 116 *23 Interrupt Line D from slot 1 117 *24 Interrupt Line A from slot 2 118 *25 Interrupt Line B from slot 2 119 *26 Interrupt Line C from slot 2 120 *27 Interrupt Line D from slot 2 121 *27 Interrupt Line A from slot 3 122 *29 Interrupt Line B from slot 3 123 *30 Interrupt Line C from slot 3 124 *31 Interrupt Line D from slot 3
|
H A D | sys_alcor.c | 144 * 0 Interrupt Line A from slot 2 145 * 1 Interrupt Line B from slot 2 146 * 2 Interrupt Line C from slot 2 147 * 3 Interrupt Line D from slot 2 148 * 4 Interrupt Line A from slot 1 149 * 5 Interrupt line B from slot 1 150 * 6 Interrupt Line C from slot 1 151 * 7 Interrupt Line D from slot 1 152 * 8 Interrupt Line A from slot 0 153 * 9 Interrupt Line B from slot 0 154 *10 Interrupt Line C from slot 0 155 *11 Interrupt Line D from slot 0 156 *12 Interrupt Line A from slot 4 157 *13 Interrupt Line B from slot 4 158 *14 Interrupt Line C from slot 4 159 *15 Interrupt Line D from slot 4 160 *16 Interrupt Line D from slot 3 161 *17 Interrupt Line D from slot 3 162 *18 Interrupt Line D from slot 3 163 *19 Interrupt Line D from slot 3
|
H A D | sys_mikasa.c | 116 * 0 Interrupt Line A from slot 0 117 * 1 Interrupt Line B from slot 0 118 * 2 Interrupt Line C from slot 0 119 * 3 Interrupt Line D from slot 0 120 * 4 Interrupt Line A from slot 1 121 * 5 Interrupt line B from slot 1 122 * 6 Interrupt Line C from slot 1 123 * 7 Interrupt Line D from slot 1 124 * 8 Interrupt Line A from slot 2 125 * 9 Interrupt Line B from slot 2 126 *10 Interrupt Line C from slot 2 127 *11 Interrupt Line D from slot 2
|
H A D | sys_dp264.c | 312 *20 Interrupt Line D from slot 2 PCI0 313 *21 Interrupt Line C from slot 2 PCI0 314 *22 Interrupt Line B from slot 2 PCI0 315 *23 Interrupt Line A from slot 2 PCI0 316 *24 Interrupt Line D from slot 1 PCI0 317 *25 Interrupt Line C from slot 1 PCI0 318 *26 Interrupt Line B from slot 1 PCI0 319 *27 Interrupt Line A from slot 1 PCI0 320 *28 Interrupt Line D from slot 0 PCI0 321 *29 Interrupt Line C from slot 0 PCI0 322 *30 Interrupt Line B from slot 0 PCI0 323 *31 Interrupt Line A from slot 0 PCI0 325 *32 Interrupt Line D from slot 3 PCI1 326 *33 Interrupt Line C from slot 3 PCI1 327 *34 Interrupt Line B from slot 3 PCI1 328 *35 Interrupt Line A from slot 3 PCI1 329 *36 Interrupt Line D from slot 2 PCI1 330 *37 Interrupt Line C from slot 2 PCI1 331 *38 Interrupt Line B from slot 2 PCI1 332 *39 Interrupt Line A from slot 2 PCI1 333 *40 Interrupt Line D from slot 1 PCI1 334 *41 Interrupt Line C from slot 1 PCI1 335 *42 Interrupt Line B from slot 1 PCI1 336 *43 Interrupt Line A from slot 1 PCI1 337 *44 Interrupt Line D from slot 0 PCI1 338 *45 Interrupt Line C from slot 0 PCI1 339 *46 Interrupt Line B from slot 0 PCI1 340 *47 Interrupt Line A from slot 0 PCI1 342 *53 PCI0 NMI (from Cypress) 343 *54 PCI0 SMI INT (from Cypress) 344 *55 PCI0 ISA Interrupt (from Cypress)
|
H A D | io.c | 211 * Read COUNT 8-bit bytes from port PORT into memory starting at SRC. 250 * Read COUNT 16-bit words from port PORT into memory starting at 291 * Read COUNT 32-bit words from port PORT into memory starting at 417 * Copy data from IO memory space to "real" memory space. 420 void memcpy_fromio(void *to, const volatile void __iomem *from, long count) memcpy_fromio() argument 425 if (count >= 8 && ((u64)to & 7) == ((u64)from & 7)) { memcpy_fromio() 428 *(u64 *)to = __raw_readq(from); memcpy_fromio() 431 from += 8; memcpy_fromio() 436 if (count >= 4 && ((u64)to & 3) == ((u64)from & 3)) { memcpy_fromio() 439 *(u32 *)to = __raw_readl(from); memcpy_fromio() 442 from += 4; memcpy_fromio() 447 if (count >= 2 && ((u64)to & 1) == ((u64)from & 1)) { memcpy_fromio() 450 *(u16 *)to = __raw_readw(from); memcpy_fromio() 453 from += 2; memcpy_fromio() 459 *(u8 *) to = __raw_readb(from); memcpy_fromio() 462 from++; memcpy_fromio() 471 * Copy data from "real" memory space to IO memory space. 474 void memcpy_toio(volatile void __iomem *to, const void *from, long count) memcpy_toio() argument 480 if (count >= 8 && ((u64)to & 7) == ((u64)from & 7)) { memcpy_toio() 483 __raw_writeq(*(const u64 *)from, to); memcpy_toio() 486 from += 8; memcpy_toio() 491 if (count >= 4 && ((u64)to & 3) == ((u64)from & 3)) { memcpy_toio() 494 __raw_writel(*(const u32 *)from, to); memcpy_toio() 497 from += 4; memcpy_toio() 502 if (count >= 2 && ((u64)to & 1) == ((u64)from & 1)) { memcpy_toio() 505 __raw_writew(*(const u16 *)from, to); memcpy_toio() 508 from += 2; memcpy_toio() 514 __raw_writeb(*(const u8 *) from, to); memcpy_toio() 517 from++; memcpy_toio()
|
/linux-4.4.14/arch/mips/include/asm/mach-bcm63xx/ |
H A D | bcm63xx_nvram.h | 10 * Initialized the local nvram copy from the target address and checks 18 * Returns the board name field from nvram. Note that it might not be 27 * Registers and returns a mac address from the allocated macs from nvram.
|
/linux-4.4.14/sound/pci/asihpi/ |
H A D | hpi_version.h | 22 /** Construct hpi version number from major, minor, release numbers */ 25 /** Extract major version from hpi version number */ 27 /** Extract minor version from hpi version number */ 29 /** Extract release from hpi version number */
|
/linux-4.4.14/arch/metag/lib/ |
H A D | usercopy.c | 9 * Pieces used from memcpy, originally by Kenny Ranerup long time ago. 27 #define __asm_copy_user_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 40 : "=r" (to), "=r" (from), "=r" (ret) \ 41 : "0" (to), "1" (from), "2" (ret) \ 45 #define __asm_copy_to_user_1(to, from, ret) \ 46 __asm_copy_user_cont(to, from, ret, \ 53 #define __asm_copy_to_user_2x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 54 __asm_copy_user_cont(to, from, ret, \ 61 #define __asm_copy_to_user_2(to, from, ret) \ 62 __asm_copy_to_user_2x_cont(to, from, ret, "", "", "") 64 #define __asm_copy_to_user_3(to, from, ret) \ 65 __asm_copy_to_user_2x_cont(to, from, ret, \ 72 #define __asm_copy_to_user_4x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 73 __asm_copy_user_cont(to, from, ret, \ 80 #define __asm_copy_to_user_4(to, from, ret) \ 81 __asm_copy_to_user_4x_cont(to, from, ret, "", "", "") 83 #define __asm_copy_to_user_5(to, from, ret) \ 84 __asm_copy_to_user_4x_cont(to, from, ret, \ 91 #define __asm_copy_to_user_6x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 92 __asm_copy_to_user_4x_cont(to, from, ret, \ 99 #define __asm_copy_to_user_6(to, from, ret) \ 100 __asm_copy_to_user_6x_cont(to, from, ret, "", "", "") 102 #define __asm_copy_to_user_7(to, from, ret) \ 103 __asm_copy_to_user_6x_cont(to, from, ret, \ 110 #define __asm_copy_to_user_8x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 111 __asm_copy_to_user_4x_cont(to, from, ret, \ 118 #define __asm_copy_to_user_8(to, from, ret) \ 119 __asm_copy_to_user_8x_cont(to, from, ret, "", "", "") 121 #define __asm_copy_to_user_9(to, from, ret) \ 122 __asm_copy_to_user_8x_cont(to, from, ret, \ 129 #define __asm_copy_to_user_10x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 130 __asm_copy_to_user_8x_cont(to, from, ret, \ 137 #define __asm_copy_to_user_10(to, from, ret) \ 138 __asm_copy_to_user_10x_cont(to, from, ret, "", "", "") 140 #define __asm_copy_to_user_11(to, from, ret) \ 141 __asm_copy_to_user_10x_cont(to, from, ret, \ 148 #define __asm_copy_to_user_12x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 149 __asm_copy_to_user_8x_cont(to, from, ret, \ 155 #define __asm_copy_to_user_12(to, from, ret) \ 156 __asm_copy_to_user_12x_cont(to, from, ret, "", "", "") 158 #define __asm_copy_to_user_13(to, from, ret) \ 159 __asm_copy_to_user_12x_cont(to, from, ret, \ 166 #define __asm_copy_to_user_14x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 167 __asm_copy_to_user_12x_cont(to, from, ret, \ 174 #define __asm_copy_to_user_14(to, from, ret) \ 175 __asm_copy_to_user_14x_cont(to, from, ret, "", "", "") 177 #define __asm_copy_to_user_15(to, from, ret) \ 178 __asm_copy_to_user_14x_cont(to, from, ret, \ 185 #define __asm_copy_to_user_16x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 186 __asm_copy_to_user_12x_cont(to, from, ret, \ 193 #define __asm_copy_to_user_16(to, from, ret) \ 194 __asm_copy_to_user_16x_cont(to, from, ret, "", "", "") 196 #define __asm_copy_to_user_8x64(to, from, ret) \ 210 : "=r" (to), "=r" (from), "=r" (ret) \ 211 : "0" (to), "1" (from), "2" (ret) \ 225 * > {'to','from'} will be rewind back so that 248 to, from, ret, n, id, FIXUP) \ 317 : "=r" (to), "=r" (from), "=r" (ret), "=d" (n) \ 318 : "0" (to), "1" (from), "2" (ret), "3" (n) \ 321 /* rewind 'to' and 'from' pointers when a fault occurs 327 * Since we do a complete read from kernel buffer before 342 #define __asm_copy_to_user_64bit_rapf_loop(to, from, ret, n, id)\ 343 __asm_copy_user_64bit_rapf_loop(to, from, ret, n, id, \ 368 * > {'to','from'} will be rewind back so that 391 to, from, ret, n, id, FIXUP) \ 488 : "=r" (to), "=r" (from), "=r" (ret), "=d" (n) \ 489 : "0" (to), "1" (from), "2" (ret), "3" (n) \ 492 /* rewind 'to' and 'from' pointers when a fault occurs 498 * Since we do a complete read from kernel buffer before 513 #define __asm_copy_to_user_32bit_rapf_loop(to, from, ret, n, id)\ 514 __asm_copy_user_32bit_rapf_loop(to, from, ret, n, id, \ 616 #define __asm_copy_from_user_1(to, from, ret) \ 617 __asm_copy_user_cont(to, from, ret, \ 624 #define __asm_copy_from_user_2x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 625 __asm_copy_user_cont(to, from, ret, \ 632 #define __asm_copy_from_user_2(to, from, ret) \ 633 __asm_copy_from_user_2x_cont(to, from, ret, "", "", "") 635 #define __asm_copy_from_user_3(to, from, ret) \ 636 __asm_copy_from_user_2x_cont(to, from, ret, \ 643 #define __asm_copy_from_user_4x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 644 __asm_copy_user_cont(to, from, ret, \ 651 #define __asm_copy_from_user_4(to, from, ret) \ 652 __asm_copy_from_user_4x_cont(to, from, ret, "", "", "") 654 #define __asm_copy_from_user_5(to, from, ret) \ 655 __asm_copy_from_user_4x_cont(to, from, ret, \ 662 #define __asm_copy_from_user_6x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 663 __asm_copy_from_user_4x_cont(to, from, ret, \ 670 #define __asm_copy_from_user_6(to, from, ret) \ 671 __asm_copy_from_user_6x_cont(to, from, ret, "", "", "") 673 #define __asm_copy_from_user_7(to, from, ret) \ 674 __asm_copy_from_user_6x_cont(to, from, ret, \ 681 #define __asm_copy_from_user_8x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 682 __asm_copy_from_user_4x_cont(to, from, ret, \ 689 #define __asm_copy_from_user_8(to, from, ret) \ 690 __asm_copy_from_user_8x_cont(to, from, ret, "", "", "") 692 #define __asm_copy_from_user_9(to, from, ret) \ 693 __asm_copy_from_user_8x_cont(to, from, ret, \ 700 #define __asm_copy_from_user_10x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 701 __asm_copy_from_user_8x_cont(to, from, ret, \ 708 #define __asm_copy_from_user_10(to, from, ret) \ 709 __asm_copy_from_user_10x_cont(to, from, ret, "", "", "") 711 #define __asm_copy_from_user_11(to, from, ret) \ 712 __asm_copy_from_user_10x_cont(to, from, ret, \ 719 #define __asm_copy_from_user_12x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 720 __asm_copy_from_user_8x_cont(to, from, ret, \ 727 #define __asm_copy_from_user_12(to, from, ret) \ 728 __asm_copy_from_user_12x_cont(to, from, ret, "", "", "") 730 #define __asm_copy_from_user_13(to, from, ret) \ 731 __asm_copy_from_user_12x_cont(to, from, ret, \ 738 #define __asm_copy_from_user_14x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 739 __asm_copy_from_user_12x_cont(to, from, ret, \ 746 #define __asm_copy_from_user_14(to, from, ret) \ 747 __asm_copy_from_user_14x_cont(to, from, ret, "", "", "") 749 #define __asm_copy_from_user_15(to, from, ret) \ 750 __asm_copy_from_user_14x_cont(to, from, ret, \ 757 #define __asm_copy_from_user_16x_cont(to, from, ret, COPY, FIXUP, TENTRY) \ 758 __asm_copy_from_user_12x_cont(to, from, ret, \ 765 #define __asm_copy_from_user_16(to, from, ret) \ 766 __asm_copy_from_user_16x_cont(to, from, ret, "", "", "") 768 #define __asm_copy_from_user_8x64(to, from, ret) \ 784 : "=a" (to), "=r" (from), "=r" (ret) \ 785 : "0" (to), "1" (from), "2" (ret) \ 788 /* rewind 'from' pointer when a fault occurs 791 * A fault occurs while reading from user buffer, which is the 798 #define __asm_copy_from_user_64bit_rapf_loop(to, from, ret, n, id) \ 799 __asm_copy_user_64bit_rapf_loop(to, from, ret, n, id, \ 802 /* rewind 'from' pointer when a fault occurs 805 * A fault occurs while reading from user buffer, which is the 812 #define __asm_copy_from_user_32bit_rapf_loop(to, from, ret, n, id) \ 813 __asm_copy_user_32bit_rapf_loop(to, from, ret, n, id, \ 817 /* Copy from user to kernel, zeroing the bytes that were inaccessible in 1313 * This code is deduced from: __strncpy_from_user()
|
/linux-4.4.14/include/linux/netfilter/ipset/ |
H A D | ip_set_bitmap.h | 17 range_to_mask(u32 from, u32 to, u8 *bits) range_to_mask() argument 22 while (--(*bits) > 0 && mask && (to & mask) != from) range_to_mask()
|
H A D | pfxlen.h | 36 extern u32 ip_set_range_to_cidr(u32 from, u32 to, u8 *cidr); 38 #define ip_set_mask_from_to(from, to, cidr) \ 40 from &= ip_set_hostmask(cidr); \ 41 to = from | ~ip_set_hostmask(cidr); \
|
/linux-4.4.14/arch/mips/include/asm/mach-loongson64/ |
H A D | topology.h | 17 #define node_distance(from, to) (__node_distances[(from)][(to)])
|
/linux-4.4.14/net/rds/ |
H A D | rdma_transport.h | 14 /* from ib.c */ 19 /* from iw.c */
|
/linux-4.4.14/fs/jfs/ |
H A D | jfs_unicode.c | 32 int jfs_strfromUCS_le(char *to, const __le16 * from, jfs_strfromUCS_le() argument 41 for (i = 0; (i < len) && from[i]; i++) { jfs_strfromUCS_le() 44 codepage->uni2char(le16_to_cpu(from[i]), jfs_strfromUCS_le() 53 for (i = 0; (i < len) && from[i]; i++) { jfs_strfromUCS_le() 54 if (unlikely(le16_to_cpu(from[i]) & 0xff00)) { jfs_strfromUCS_le() 61 le16_to_cpu(from[i])); jfs_strfromUCS_le() 68 to[i] = (char) (le16_to_cpu(from[i])); jfs_strfromUCS_le() 82 static int jfs_strtoUCS(wchar_t * to, const unsigned char *from, int len, jfs_strtoUCS() argument 89 for (i = 0; len && *from; i++, from += charlen, len -= charlen) jfs_strtoUCS() 91 charlen = codepage->char2uni(from, len, &to[i]); jfs_strtoUCS() 96 codepage->charset, *from); jfs_strtoUCS() 101 for (i = 0; (i < len) && from[i]; i++) jfs_strtoUCS() 102 to[i] = (wchar_t) from[i]; jfs_strtoUCS()
|
/linux-4.4.14/arch/arc/mm/ |
H A D | extable.c | 8 * Borrowed heavily from MIPS 30 long arc_copy_from_user_noinline(void *to, const void __user *from, arc_copy_from_user_noinline() argument 33 return __arc_copy_from_user(to, from, n); arc_copy_from_user_noinline() 37 long arc_copy_to_user_noinline(void __user *to, const void *from, arc_copy_to_user_noinline() argument 40 return __arc_copy_to_user(to, from, n); arc_copy_to_user_noinline()
|
/linux-4.4.14/arch/arm/include/asm/ |
H A D | neon.h | 19 * using NEON code /and/ calling the kernel_neon_begin() function from the same 20 * compilation unit. To prevent issues that may arise from GCC reordering or 23 * separate compilation unit, and calling it from another unit from inside a 31 BUILD_BUG_ON_MSG(1, "kernel_neon_begin() called from NEON code")
|
H A D | page-nommu.h | 24 #define copy_page(to,from) memcpy((to), (from), PAGE_SIZE) 27 #define copy_user_page(to, from, vaddr, pg) copy_page(to, from)
|
/linux-4.4.14/tools/include/linux/ |
H A D | list.h | 10 * list_del_range - deletes range of entries from list. 11 * @begin: first element in the range to delete from the list. 12 * @end: last element in the range to delete from the list. 24 * list_for_each_from - iterate over a list from one of its nodes 25 * @pos: the &struct list_head to use as a loop cursor, from where to start
|
/linux-4.4.14/drivers/media/pci/ivtv/ |
H A D | ivtv-queue.c | 88 static void ivtv_queue_move_buf(struct ivtv_stream *s, struct ivtv_queue *from, ivtv_queue_move_buf() argument 91 struct ivtv_buffer *buf = list_entry(from->list.next, struct ivtv_buffer, list); ivtv_queue_move_buf() 93 list_move_tail(from->list.next, &to->list); ivtv_queue_move_buf() 94 from->buffers--; ivtv_queue_move_buf() 95 from->length -= s->buf_size; ivtv_queue_move_buf() 96 from->bytesused -= buf->bytesused - buf->readpos; ivtv_queue_move_buf() 105 /* Move 'needed_bytes' worth of buffers from queue 'from' into queue 'to'. 106 If 'needed_bytes' == 0, then move all buffers from 'from' into 'to'. 107 If 'steal' != NULL, then buffers may also taken from that queue if 108 needed, but only if 'from' is the free queue. 111 also cleared if buffers need to be taken from the 'steal' queue and 112 the 'from' queue is the free queue. 114 When 'from' is q_free, then needed_bytes is compared to the total 120 buffers where obtained from the 'from' list and if non-zero then 122 int ivtv_queue_move(struct ivtv_stream *s, struct ivtv_queue *from, struct ivtv_queue *steal, ivtv_queue_move() argument 127 int from_free = from == &s->q_free; ivtv_queue_move() 134 needed_bytes = from->length; ivtv_queue_move() 137 bytes_available = from_free ? from->length : from->bytesused; ivtv_queue_move() 148 /* move buffers from the tail of the 'steal' queue to the tail of the ivtv_queue_move() 149 'from' queue. Always copy all the buffers with the same dma_xfer_cnt ivtv_queue_move() 153 list_move_tail(steal->list.prev, &from->list); ivtv_queue_move() 159 from->buffers++; ivtv_queue_move() 160 from->length += s->buf_size; ivtv_queue_move() 171 ivtv_queue_move_buf(s, from, to, 1); ivtv_queue_move() 178 ivtv_queue_move_buf(s, from, to, to_free); ivtv_queue_move()
|
/linux-4.4.14/arch/tile/kernel/ |
H A D | compat_signal.c | 52 int copy_siginfo_to_user32(struct compat_siginfo __user *to, const siginfo_t *from) copy_siginfo_to_user32() argument 64 err = __put_user(from->si_signo, &to->si_signo); copy_siginfo_to_user32() 65 err |= __put_user(from->si_errno, &to->si_errno); copy_siginfo_to_user32() 66 err |= __put_user((short)from->si_code, &to->si_code); copy_siginfo_to_user32() 68 if (from->si_code < 0) { copy_siginfo_to_user32() 69 err |= __put_user(from->si_pid, &to->si_pid); copy_siginfo_to_user32() 70 err |= __put_user(from->si_uid, &to->si_uid); copy_siginfo_to_user32() 71 err |= __put_user(from->si_int, &to->si_int); copy_siginfo_to_user32() 77 err |= __put_user(from->_sifields._pad[0], copy_siginfo_to_user32() 79 switch (from->si_code >> 16) { copy_siginfo_to_user32() 83 err |= __put_user(from->si_utime, &to->si_utime); copy_siginfo_to_user32() 84 err |= __put_user(from->si_stime, &to->si_stime); copy_siginfo_to_user32() 85 err |= __put_user(from->si_status, &to->si_status); copy_siginfo_to_user32() 89 err |= __put_user(from->si_uid, &to->si_uid); copy_siginfo_to_user32() 92 err |= __put_user(from->si_fd, &to->si_fd); copy_siginfo_to_user32() 95 err |= __put_user(from->si_overrun, &to->si_overrun); copy_siginfo_to_user32() 96 err |= __put_user(from->si_int, &to->si_int); copy_siginfo_to_user32() 101 err |= __put_user(from->si_uid, &to->si_uid); copy_siginfo_to_user32() 102 err |= __put_user(from->si_int, &to->si_int); copy_siginfo_to_user32() 109 int copy_siginfo_from_user32(siginfo_t *to, struct compat_siginfo __user *from) copy_siginfo_from_user32() argument 113 if (!access_ok(VERIFY_READ, from, sizeof(struct compat_siginfo))) copy_siginfo_from_user32() 116 err = __get_user(to->si_signo, &from->si_signo); copy_siginfo_from_user32() 117 err |= __get_user(to->si_errno, &from->si_errno); copy_siginfo_from_user32() 118 err |= __get_user(to->si_code, &from->si_code); copy_siginfo_from_user32() 120 err |= __get_user(to->si_pid, &from->si_pid); copy_siginfo_from_user32() 121 err |= __get_user(to->si_uid, &from->si_uid); copy_siginfo_from_user32() 122 err |= __get_user(to->si_int, &from->si_int); copy_siginfo_from_user32() 227 * Registers that we don't modify keep the value they had from compat_setup_rt_frame()
|
/linux-4.4.14/arch/arm/kernel/ |
H A D | io.c | 41 * Copy data from IO memory space to "real" memory space. 44 void _memcpy_fromio(void *to, const volatile void __iomem *from, size_t count) _memcpy_fromio() argument 49 *t = readb(from); _memcpy_fromio() 51 from++; _memcpy_fromio() 57 * Copy data from "real" memory space to IO memory space. 60 void _memcpy_toio(volatile void __iomem *to, const void *from, size_t count) _memcpy_toio() argument 62 const unsigned char *f = from; _memcpy_toio()
|
/linux-4.4.14/lib/ |
H A D | iomap_copy.c | 24 * @from: source (must be 32-bit aligned) 27 * Copy data from kernel space to MMIO space, in units of 32 bits at a 32 const void *from, __iowrite32_copy() 36 const u32 *src = from; __iowrite32_copy() 47 * @from: source (must be 64-bit aligned) 50 * Copy data from kernel space to MMIO space, in units of 32 or 64 bits at a 55 const void *from, __iowrite64_copy() 60 const u64 *src = from; __iowrite64_copy() 66 __iowrite32_copy(to, from, count * 2); __iowrite64_copy() 31 __iowrite32_copy(void __iomem *to, const void *from, size_t count) __iowrite32_copy() argument 54 __iowrite64_copy(void __iomem *to, const void *from, size_t count) __iowrite64_copy() argument
|
H A D | int_sqrt.c | 5 * square root from Guy L. Steele.
|
/linux-4.4.14/drivers/gpu/drm/msm/dsi/ |
H A D | sfpb.xml.h | 10 The rules-ng-ng source files this header was generated from are: 11 - /home/robclark/src/freedreno/envytools/rnndb/msm.xml ( 676 bytes, from 2015-05-20 20:03:14) 12 - /home/robclark/src/freedreno/envytools/rnndb/freedreno_copyright.xml ( 1453 bytes, from 2015-05-20 20:03:07) 13 - /home/robclark/src/freedreno/envytools/rnndb/mdp/mdp4.xml ( 20915 bytes, from 2015-05-20 20:03:14) 14 - /home/robclark/src/freedreno/envytools/rnndb/mdp/mdp_common.xml ( 2849 bytes, from 2015-09-18 12:07:28) 15 - /home/robclark/src/freedreno/envytools/rnndb/mdp/mdp5.xml ( 37194 bytes, from 2015-09-18 12:07:28) 16 - /home/robclark/src/freedreno/envytools/rnndb/dsi/dsi.xml ( 27887 bytes, from 2015-10-22 16:34:52) 17 - /home/robclark/src/freedreno/envytools/rnndb/dsi/sfpb.xml ( 602 bytes, from 2015-10-22 16:35:02) 18 - /home/robclark/src/freedreno/envytools/rnndb/dsi/mmss_cc.xml ( 1686 bytes, from 2015-05-20 20:03:14) 19 - /home/robclark/src/freedreno/envytools/rnndb/hdmi/qfprom.xml ( 600 bytes, from 2015-05-20 20:03:07) 20 - /home/robclark/src/freedreno/envytools/rnndb/hdmi/hdmi.xml ( 29154 bytes, from 2015-08-10 21:25:43) 21 - /home/robclark/src/freedreno/envytools/rnndb/edp/edp.xml ( 10416 bytes, from 2015-05-20 20:03:14)
|
H A D | mmss_cc.xml.h | 10 The rules-ng-ng source files this header was generated from are: 11 - /home/robclark/src/freedreno/envytools/rnndb/msm.xml ( 676 bytes, from 2015-05-20 20:03:14) 12 - /home/robclark/src/freedreno/envytools/rnndb/freedreno_copyright.xml ( 1453 bytes, from 2015-05-20 20:03:07) 13 - /home/robclark/src/freedreno/envytools/rnndb/mdp/mdp4.xml ( 20915 bytes, from 2015-05-20 20:03:14) 14 - /home/robclark/src/freedreno/envytools/rnndb/mdp/mdp_common.xml ( 2849 bytes, from 2015-09-18 12:07:28) 15 - /home/robclark/src/freedreno/envytools/rnndb/mdp/mdp5.xml ( 37194 bytes, from 2015-09-18 12:07:28) 16 - /home/robclark/src/freedreno/envytools/rnndb/dsi/dsi.xml ( 27887 bytes, from 2015-10-22 16:34:52) 17 - /home/robclark/src/freedreno/envytools/rnndb/dsi/sfpb.xml ( 602 bytes, from 2015-10-22 16:35:02) 18 - /home/robclark/src/freedreno/envytools/rnndb/dsi/mmss_cc.xml ( 1686 bytes, from 2015-05-20 20:03:14) 19 - /home/robclark/src/freedreno/envytools/rnndb/hdmi/qfprom.xml ( 600 bytes, from 2015-05-20 20:03:07) 20 - /home/robclark/src/freedreno/envytools/rnndb/hdmi/hdmi.xml ( 29154 bytes, from 2015-08-10 21:25:43) 21 - /home/robclark/src/freedreno/envytools/rnndb/edp/edp.xml ( 10416 bytes, from 2015-05-20 20:03:14)
|
/linux-4.4.14/drivers/gpu/drm/msm/hdmi/ |
H A D | qfprom.xml.h | 10 The rules-ng-ng source files this header was generated from are: 11 - /home/robclark/src/freedreno/envytools/rnndb/msm.xml ( 676 bytes, from 2015-05-20 20:03:14) 12 - /home/robclark/src/freedreno/envytools/rnndb/freedreno_copyright.xml ( 1453 bytes, from 2015-05-20 20:03:07) 13 - /home/robclark/src/freedreno/envytools/rnndb/mdp/mdp4.xml ( 20915 bytes, from 2015-05-20 20:03:14) 14 - /home/robclark/src/freedreno/envytools/rnndb/mdp/mdp_common.xml ( 2849 bytes, from 2015-09-18 12:07:28) 15 - /home/robclark/src/freedreno/envytools/rnndb/mdp/mdp5.xml ( 37194 bytes, from 2015-09-18 12:07:28) 16 - /home/robclark/src/freedreno/envytools/rnndb/dsi/dsi.xml ( 27887 bytes, from 2015-10-22 16:34:52) 17 - /home/robclark/src/freedreno/envytools/rnndb/dsi/sfpb.xml ( 602 bytes, from 2015-10-22 16:35:02) 18 - /home/robclark/src/freedreno/envytools/rnndb/dsi/mmss_cc.xml ( 1686 bytes, from 2015-05-20 20:03:14) 19 - /home/robclark/src/freedreno/envytools/rnndb/hdmi/qfprom.xml ( 600 bytes, from 2015-05-20 20:03:07) 20 - /home/robclark/src/freedreno/envytools/rnndb/hdmi/hdmi.xml ( 29154 bytes, from 2015-08-10 21:25:43) 21 - /home/robclark/src/freedreno/envytools/rnndb/edp/edp.xml ( 10416 bytes, from 2015-05-20 20:03:14)
|
/linux-4.4.14/drivers/gpu/drm/msm/mdp/ |
H A D | mdp_common.xml.h | 10 The rules-ng-ng source files this header was generated from are: 11 - /home/robclark/src/freedreno/envytools/rnndb/msm.xml ( 676 bytes, from 2015-05-20 20:03:14) 12 - /home/robclark/src/freedreno/envytools/rnndb/freedreno_copyright.xml ( 1453 bytes, from 2015-05-20 20:03:07) 13 - /home/robclark/src/freedreno/envytools/rnndb/mdp/mdp4.xml ( 20915 bytes, from 2015-05-20 20:03:14) 14 - /home/robclark/src/freedreno/envytools/rnndb/mdp/mdp_common.xml ( 2849 bytes, from 2015-09-18 12:07:28) 15 - /home/robclark/src/freedreno/envytools/rnndb/mdp/mdp5.xml ( 37194 bytes, from 2015-09-18 12:07:28) 16 - /home/robclark/src/freedreno/envytools/rnndb/dsi/dsi.xml ( 27887 bytes, from 2015-10-22 16:34:52) 17 - /home/robclark/src/freedreno/envytools/rnndb/dsi/sfpb.xml ( 602 bytes, from 2015-10-22 16:35:02) 18 - /home/robclark/src/freedreno/envytools/rnndb/dsi/mmss_cc.xml ( 1686 bytes, from 2015-05-20 20:03:14) 19 - /home/robclark/src/freedreno/envytools/rnndb/hdmi/qfprom.xml ( 600 bytes, from 2015-05-20 20:03:07) 20 - /home/robclark/src/freedreno/envytools/rnndb/hdmi/hdmi.xml ( 29154 bytes, from 2015-08-10 21:25:43) 21 - /home/robclark/src/freedreno/envytools/rnndb/edp/edp.xml ( 10416 bytes, from 2015-05-20 20:03:14)
|
/linux-4.4.14/include/linux/irqchip/ |
H A D | metag-ext.h | 11 /* called from core irq code at init */ 15 * called from SoC init_irq() callback to dynamically indicate the lack of 21 * These allow SoCs to specialise the interrupt controller from their init_irq
|
/linux-4.4.14/arch/mn10300/include/asm/ |
H A D | uaccess.h | 116 * case of just returning from the function xxx_ret is used. 295 #define __copy_user(to, from, size) \ 299 const void *__from = from; \ 323 #define __copy_user_zeroing(to, from, size) \ 327 const void *__from = from; \ 363 unsigned long __generic_copy_from_user_nocheck(void *to, const void *from, __generic_copy_from_user_nocheck() argument 366 __copy_user_zeroing(to, from, n); __generic_copy_from_user_nocheck() 371 unsigned long __generic_copy_to_user_nocheck(void *to, const void *from, __generic_copy_to_user_nocheck() argument 374 __copy_user(to, from, n); __generic_copy_to_user_nocheck() 380 #error "don't use - these macros don't increment to & from pointers" 382 #define __constant_copy_user(to, from, size) \ 400 : "d"(size), "d"(to), "d"(from) \ 405 #define __constant_copy_user_zeroing(to, from, size) \ 423 : "d"(size), "d"(to), "d"(from) \ 428 unsigned long __constant_copy_to_user(void *to, const void *from, 432 __constant_copy_user(to, from, n); 437 unsigned long __constant_copy_from_user(void *to, const void *from, 440 if (access_ok(VERIFY_READ, from, n)) 441 __constant_copy_user_zeroing(to, from, n); 446 unsigned long __constant_copy_to_user_nocheck(void *to, const void *from, 449 __constant_copy_user(to, from, n); 454 unsigned long __constant_copy_from_user_nocheck(void *to, const void *from, 457 __constant_copy_user_zeroing(to, from, n); 467 #define __copy_to_user_inatomic(to, from, n) \ 468 __generic_copy_to_user_nocheck((to), (from), (n)) 469 #define __copy_from_user_inatomic(to, from, n) \ 470 __generic_copy_from_user_nocheck((to), (from), (n)) 472 #define __copy_to_user(to, from, n) \ 475 __copy_to_user_inatomic((to), (from), (n)); \ 478 #define __copy_from_user(to, from, n) \ 481 __copy_from_user_inatomic((to), (from), (n)); \ 485 #define copy_to_user(to, from, n) __generic_copy_to_user((to), (from), (n)) 486 #define copy_from_user(to, from, n) __generic_copy_from_user((to), (from), (n))
|
/linux-4.4.14/lib/zlib_inflate/ |
H A D | inffast.c | 97 unsigned dmax; /* maximum distance from zlib header */ inflate_fast() 114 unsigned char *from; /* where to copy match from */ inflate_fast() local 201 if (dist > op) { /* see if copy from window */ inflate_fast() 208 from = window - OFF; inflate_fast() 210 from += wsize - op; inflate_fast() 211 if (op < len) { /* some from window */ inflate_fast() 214 PUP(out) = PUP(from); inflate_fast() 216 from = out - dist; /* rest from output */ inflate_fast() 220 from += wsize + write - op; inflate_fast() 222 if (op < len) { /* some from end of window */ inflate_fast() 225 PUP(out) = PUP(from); inflate_fast() 227 from = window - OFF; inflate_fast() 228 if (write < len) { /* some from start of window */ inflate_fast() 232 PUP(out) = PUP(from); inflate_fast() 234 from = out - dist; /* rest from output */ inflate_fast() 239 from += write - op; inflate_fast() 240 if (op < len) { /* some from window */ inflate_fast() 243 PUP(out) = PUP(from); inflate_fast() 245 from = out - dist; /* rest from output */ inflate_fast() 249 PUP(out) = PUP(from); inflate_fast() 250 PUP(out) = PUP(from); inflate_fast() 251 PUP(out) = PUP(from); inflate_fast() 255 PUP(out) = PUP(from); inflate_fast() 257 PUP(out) = PUP(from); inflate_fast() 264 from = out - dist; /* copy direct from output */ inflate_fast() 268 PUP(out) = PUP(from); inflate_fast() 275 sfrom = (unsigned short *)(from - OFF); inflate_fast() 285 from = (unsigned char *)sfrom + OFF; inflate_fast() 304 PUP(out) = PUP(from); inflate_fast()
|
/linux-4.4.14/drivers/media/usb/cx231xx/ |
H A D | cx231xx-dif.h | 35 /* BEGIN - DIF BPF register values from 30_quant.dat*/ 55 /* END - DIF BPF register values from 30_quant.dat*/ 59 /* BEGIN - DIF BPF register values from 31_quant.dat*/ 79 /* END - DIF BPF register values from 31_quant.dat*/ 83 /* BEGIN - DIF BPF register values from 32_quant.dat*/ 103 /* END - DIF BPF register values from 32_quant.dat*/ 107 /* BEGIN - DIF BPF register values from 33_quant.dat*/ 127 /* END - DIF BPF register values from 33_quant.dat*/ 131 /* BEGIN - DIF BPF register values from 34_quant.dat*/ 151 /* END - DIF BPF register values from 34_quant.dat*/ 155 /* BEGIN - DIF BPF register values from 35_quant.dat*/ 175 /* END - DIF BPF register values from 35_quant.dat*/ 179 /* BEGIN - DIF BPF register values from 36_quant.dat*/ 199 /* END - DIF BPF register values from 36_quant.dat*/ 203 /* BEGIN - DIF BPF register values from 37_quant.dat*/ 223 /* END - DIF BPF register values from 37_quant.dat*/ 227 /* BEGIN - DIF BPF register values from 38_quant.dat*/ 247 /* END - DIF BPF register values from 38_quant.dat*/ 251 /* BEGIN - DIF BPF register values from 39_quant.dat*/ 271 /* END - DIF BPF register values from 39_quant.dat*/ 275 /* BEGIN - DIF BPF register values from 40_quant.dat*/ 295 /* END - DIF BPF register values from 40_quant.dat*/ 299 /* BEGIN - DIF BPF register values from 41_quant.dat*/ 319 /* END - DIF BPF register values from 41_quant.dat*/ 323 /* BEGIN - DIF BPF register values from 42_quant.dat*/ 343 /* END - DIF BPF register values from 42_quant.dat*/ 347 /* BEGIN - DIF BPF register values from 43_quant.dat*/ 367 /* END - DIF BPF register values from 43_quant.dat*/ 371 /* BEGIN - DIF BPF register values from 44_quant.dat*/ 391 /* END - DIF BPF register values from 44_quant.dat*/ 395 /* BEGIN - DIF BPF register values from 45_quant.dat*/ 415 /* END - DIF BPF register values from 45_quant.dat*/ 419 /* BEGIN - DIF BPF register values from 46_quant.dat*/ 439 /* END - DIF BPF register values from 46_quant.dat*/ 443 /* BEGIN - DIF BPF register values from 47_quant.dat*/ 463 /* END - DIF BPF register values from 47_quant.dat*/ 467 /* BEGIN - DIF BPF register values from 48_quant.dat*/ 487 /* END - DIF BPF register values from 48_quant.dat*/ 491 /* BEGIN - DIF BPF register values from 49_quant.dat*/ 511 /* END - DIF BPF register values from 49_quant.dat*/ 515 /* BEGIN - DIF BPF register values from 50_quant.dat*/ 535 /* END - DIF BPF register values from 50_quant.dat*/ 539 /* BEGIN - DIF BPF register values from 51_quant.dat*/ 559 /* END - DIF BPF register values from 51_quant.dat*/ 563 /* BEGIN - DIF BPF register values from 52_quant.dat*/ 583 /* END - DIF BPF register values from 52_quant.dat*/ 587 /* BEGIN - DIF BPF register values from 53_quant.dat*/ 607 /* END - DIF BPF register values from 53_quant.dat*/ 611 /* BEGIN - DIF BPF register values from 54_quant.dat*/ 631 /* END - DIF BPF register values from 54_quant.dat*/ 635 /* BEGIN - DIF BPF register values from 55_quant.dat*/ 655 /* END - DIF BPF register values from 55_quant.dat*/ 659 /* BEGIN - DIF BPF register values from 56_quant.dat*/ 679 /* END - DIF BPF register values from 56_quant.dat*/ 683 /* BEGIN - DIF BPF register values from 57_quant.dat*/ 703 /* END - DIF BPF register values from 57_quant.dat*/ 707 /* BEGIN - DIF BPF register values from 58_quant.dat*/ 727 /* END - DIF BPF register values from 58_quant.dat*/ 731 /* BEGIN - DIF BPF register values from 59_quant.dat*/ 751 /* END - DIF BPF register values from 59_quant.dat*/ 755 /* BEGIN - DIF BPF register values from 60_quant.dat*/ 775 /* END - DIF BPF register values from 60_quant.dat*/ 779 /* BEGIN - DIF BPF register values from 61_quant.dat*/ 799 /* END - DIF BPF register values from 61_quant.dat*/ 803 /* BEGIN - DIF BPF register values from 62_quant.dat*/ 823 /* END - DIF BPF register values from 62_quant.dat*/ 827 /* BEGIN - DIF BPF register values from 63_quant.dat*/ 847 /* END - DIF BPF register values from 63_quant.dat*/ 851 /* BEGIN - DIF BPF register values from 64_quant.dat*/ 871 /* END - DIF BPF register values from 64_quant.dat*/ 875 /* BEGIN - DIF BPF register values from 65_quant.dat*/ 895 /* END - DIF BPF register values from 65_quant.dat*/ 899 /* BEGIN - DIF BPF register values from 66_quant.dat*/ 919 /* END - DIF BPF register values from 66_quant.dat*/ 923 /* BEGIN - DIF BPF register values from 67_quant.dat*/ 943 /* END - DIF BPF register values from 67_quant.dat*/ 947 /* BEGIN - DIF BPF register values from 68_quant.dat*/ 967 /* END - DIF BPF register values from 68_quant.dat*/ 971 /* BEGIN - DIF BPF register values from 69_quant.dat*/ 991 /* END - DIF BPF register values from 69_quant.dat*/ 995 /* BEGIN - DIF BPF register values from 70_quant.dat*/ 1015 /* END - DIF BPF register values from 70_quant.dat*/ 1019 /* BEGIN - DIF BPF register values from 71_quant.dat*/ 1039 /* END - DIF BPF register values from 71_quant.dat*/ 1043 /* BEGIN - DIF BPF register values from 72_quant.dat*/ 1063 /* END - DIF BPF register values from 72_quant.dat*/ 1067 /* BEGIN - DIF BPF register values from 73_quant.dat*/ 1087 /* END - DIF BPF register values from 73_quant.dat*/ 1091 /* BEGIN - DIF BPF register values from 74_quant.dat*/ 1111 /* END - DIF BPF register values from 74_quant.dat*/ 1115 /* BEGIN - DIF BPF register values from 75_quant.dat*/ 1135 /* END - DIF BPF register values from 75_quant.dat*/ 1139 /* BEGIN - DIF BPF register values from 76_quant.dat*/ 1159 /* END - DIF BPF register values from 76_quant.dat*/ 1163 /* BEGIN - DIF BPF register values from 77_quant.dat*/ 1183 /* END - DIF BPF register values from 77_quant.dat*/ 1187 /* BEGIN - DIF BPF register values from 78_quant.dat*/ 1207 /* END - DIF BPF register values from 78_quant.dat*/ 1211 /* BEGIN - DIF BPF register values from 79_quant.dat*/ 1231 /* END - DIF BPF register values from 79_quant.dat*/ 1235 /* BEGIN - DIF BPF register values from 80_quant.dat*/ 1255 /* END - DIF BPF register values from 80_quant.dat*/ 1259 /* BEGIN - DIF BPF register values from 81_quant.dat*/ 1279 /* END - DIF BPF register values from 81_quant.dat*/ 1283 /* BEGIN - DIF BPF register values from 82_quant.dat*/ 1303 /* END - DIF BPF register values from 82_quant.dat*/ 1307 /* BEGIN - DIF BPF register values from 83_quant.dat*/ 1327 /* END - DIF BPF register values from 83_quant.dat*/ 1331 /* BEGIN - DIF BPF register values from 84_quant.dat*/ 1351 /* END - DIF BPF register values from 84_quant.dat*/ 1355 /* BEGIN - DIF BPF register values from 85_quant.dat*/ 1375 /* END - DIF BPF register values from 85_quant.dat*/ 1379 /* BEGIN - DIF BPF register values from 86_quant.dat*/ 1399 /* END - DIF BPF register values from 86_quant.dat*/ 1403 /* BEGIN - DIF BPF register values from 87_quant.dat*/ 1423 /* END - DIF BPF register values from 87_quant.dat*/ 1427 /* BEGIN - DIF BPF register values from 88_quant.dat*/ 1447 /* END - DIF BPF register values from 88_quant.dat*/ 1451 /* BEGIN - DIF BPF register values from 89_quant.dat*/ 1471 /* END - DIF BPF register values from 89_quant.dat*/ 1475 /* BEGIN - DIF BPF register values from 90_quant.dat*/ 1495 /* END - DIF BPF register values from 90_quant.dat*/ 1499 /* BEGIN - DIF BPF register values from 91_quant.dat*/ 1519 /* END - DIF BPF register values from 91_quant.dat*/ 1523 /* BEGIN - DIF BPF register values from 92_quant.dat*/ 1543 /* END - DIF BPF register values from 92_quant.dat*/ 1547 /* BEGIN - DIF BPF register values from 93_quant.dat*/ 1567 /* END - DIF BPF register values from 93_quant.dat*/ 1571 /* BEGIN - DIF BPF register values from 94_quant.dat*/ 1591 /* END - DIF BPF register values from 94_quant.dat*/ 1595 /* BEGIN - DIF BPF register values from 95_quant.dat*/ 1615 /* END - DIF BPF register values from 95_quant.dat*/ 1619 /* BEGIN - DIF BPF register values from 96_quant.dat*/ 1639 /* END - DIF BPF register values from 96_quant.dat*/ 1643 /* BEGIN - DIF BPF register values from 97_quant.dat*/ 1663 /* END - DIF BPF register values from 97_quant.dat*/ 1667 /* BEGIN - DIF BPF register values from 98_quant.dat*/ 1687 /* END - DIF BPF register values from 98_quant.dat*/ 1691 /* BEGIN - DIF BPF register values from 99_quant.dat*/ 1711 /* END - DIF BPF register values from 99_quant.dat*/ 1715 /* BEGIN - DIF BPF register values from 100_quant.dat*/ 1735 /* END - DIF BPF register values from 100_quant.dat*/ 1739 /* BEGIN - DIF BPF register values from 101_quant.dat*/ 1759 /* END - DIF BPF register values from 101_quant.dat*/ 1763 /* BEGIN - DIF BPF register values from 102_quant.dat*/ 1783 /* END - DIF BPF register values from 102_quant.dat*/ 1787 /* BEGIN - DIF BPF register values from 103_quant.dat*/ 1807 /* END - DIF BPF register values from 103_quant.dat*/ 1811 /* BEGIN - DIF BPF register values from 104_quant.dat*/ 1831 /* END - DIF BPF register values from 104_quant.dat*/ 1835 /* BEGIN - DIF BPF register values from 105_quant.dat*/ 1855 /* END - DIF BPF register values from 105_quant.dat*/ 1859 /* BEGIN - DIF BPF register values from 106_quant.dat*/ 1879 /* END - DIF BPF register values from 106_quant.dat*/ 1883 /* BEGIN - DIF BPF register values from 107_quant.dat*/ 1903 /* END - DIF BPF register values from 107_quant.dat*/ 1907 /* BEGIN - DIF BPF register values from 108_quant.dat*/ 1927 /* END - DIF BPF register values from 108_quant.dat*/ 1931 /* BEGIN - DIF BPF register values from 109_quant.dat*/ 1951 /* END - DIF BPF register values from 109_quant.dat*/ 1955 /* BEGIN - DIF BPF register values from 110_quant.dat*/ 1975 /* END - DIF BPF register values from 110_quant.dat*/ 1979 /* BEGIN - DIF BPF register values from 111_quant.dat*/ 1999 /* END - DIF BPF register values from 111_quant.dat*/ 2003 /* BEGIN - DIF BPF register values from 112_quant.dat*/ 2023 /* END - DIF BPF register values from 112_quant.dat*/ 2027 /* BEGIN - DIF BPF register values from 113_quant.dat*/ 2047 /* END - DIF BPF register values from 113_quant.dat*/ 2051 /* BEGIN - DIF BPF register values from 114_quant.dat*/ 2071 /* END - DIF BPF register values from 114_quant.dat*/ 2075 /* BEGIN - DIF BPF register values from 115_quant.dat*/ 2095 /* END - DIF BPF register values from 115_quant.dat*/ 2099 /* BEGIN - DIF BPF register values from 116_quant.dat*/ 2119 /* END - DIF BPF register values from 116_quant.dat*/ 2123 /* BEGIN - DIF BPF register values from 117_quant.dat*/ 2143 /* END - DIF BPF register values from 117_quant.dat*/ 2147 /* BEGIN - DIF BPF register values from 118_quant.dat*/ 2167 /* END - DIF BPF register values from 118_quant.dat*/ 2171 /* BEGIN - DIF BPF register values from 119_quant.dat*/ 2191 /* END - DIF BPF register values from 119_quant.dat*/ 2195 /* BEGIN - DIF BPF register values from 120_quant.dat*/ 2215 /* END - DIF BPF register values from 120_quant.dat*/ 2219 /* BEGIN - DIF BPF register values from 121_quant.dat*/ 2239 /* END - DIF BPF register values from 121_quant.dat*/ 2243 /* BEGIN - DIF BPF register values from 122_quant.dat*/ 2263 /* END - DIF BPF register values from 122_quant.dat*/ 2267 /* BEGIN - DIF BPF register values from 123_quant.dat*/ 2287 /* END - DIF BPF register values from 123_quant.dat*/ 2291 /* BEGIN - DIF BPF register values from 124_quant.dat*/ 2311 /* END - DIF BPF register values from 124_quant.dat*/ 2315 /* BEGIN - DIF BPF register values from 125_quant.dat*/ 2335 /* END - DIF BPF register values from 125_quant.dat*/ 2339 /* BEGIN - DIF BPF register values from 126_quant.dat*/ 2359 /* END - DIF BPF register values from 126_quant.dat*/ 2363 /* BEGIN - DIF BPF register values from 127_quant.dat*/ 2383 /* END - DIF BPF register values from 127_quant.dat*/ 2387 /* BEGIN - DIF BPF register values from 128_quant.dat*/ 2407 /* END - DIF BPF register values from 128_quant.dat*/ 2411 /* BEGIN - DIF BPF register values from 129_quant.dat*/ 2431 /* END - DIF BPF register values from 129_quant.dat*/ 2435 /* BEGIN - DIF BPF register values from 130_quant.dat*/ 2455 /* END - DIF BPF register values from 130_quant.dat*/ 2459 /* BEGIN - DIF BPF register values from 131_quant.dat*/ 2479 /* END - DIF BPF register values from 131_quant.dat*/ 2483 /* BEGIN - DIF BPF register values from 132_quant.dat*/ 2503 /* END - DIF BPF register values from 132_quant.dat*/ 2507 /* BEGIN - DIF BPF register values from 133_quant.dat*/ 2527 /* END - DIF BPF register values from 133_quant.dat*/ 2531 /* BEGIN - DIF BPF register values from 134_quant.dat*/ 2551 /* END - DIF BPF register values from 134_quant.dat*/ 2555 /* BEGIN - DIF BPF register values from 135_quant.dat*/ 2575 /* END - DIF BPF register values from 135_quant.dat*/ 2579 /* BEGIN - DIF BPF register values from 136_quant.dat*/ 2599 /* END - DIF BPF register values from 136_quant.dat*/ 2603 /* BEGIN - DIF BPF register values from 137_quant.dat*/ 2623 /* END - DIF BPF register values from 137_quant.dat*/ 2627 /* BEGIN - DIF BPF register values from 138_quant.dat*/ 2647 /* END - DIF BPF register values from 138_quant.dat*/ 2651 /* BEGIN - DIF BPF register values from 139_quant.dat*/ 2671 /* END - DIF BPF register values from 139_quant.dat*/ 2675 /* BEGIN - DIF BPF register values from 140_quant.dat*/ 2695 /* END - DIF BPF register values from 140_quant.dat*/ 2699 /* BEGIN - DIF BPF register values from 141_quant.dat*/ 2719 /* END - DIF BPF register values from 141_quant.dat*/ 2723 /* BEGIN - DIF BPF register values from 142_quant.dat*/ 2743 /* END - DIF BPF register values from 142_quant.dat*/ 2747 /* BEGIN - DIF BPF register values from 143_quant.dat*/ 2767 /* END - DIF BPF register values from 143_quant.dat*/ 2771 /* BEGIN - DIF BPF register values from 144_quant.dat*/ 2791 /* END - DIF BPF register values from 144_quant.dat*/ 2795 /* BEGIN - DIF BPF register values from 145_quant.dat*/ 2815 /* END - DIF BPF register values from 145_quant.dat*/ 2819 /* BEGIN - DIF BPF register values from 146_quant.dat*/ 2839 /* END - DIF BPF register values from 146_quant.dat*/ 2843 /* BEGIN - DIF BPF register values from 147_quant.dat*/ 2863 /* END - DIF BPF register values from 147_quant.dat*/ 2867 /* BEGIN - DIF BPF register values from 148_quant.dat*/ 2887 /* END - DIF BPF register values from 148_quant.dat*/ 2891 /* BEGIN - DIF BPF register values from 149_quant.dat*/ 2911 /* END - DIF BPF register values from 149_quant.dat*/ 2915 /* BEGIN - DIF BPF register values from 150_quant.dat*/ 2935 /* END - DIF BPF register values from 150_quant.dat*/ 2939 /* BEGIN - DIF BPF register values from 151_quant.dat*/ 2959 /* END - DIF BPF register values from 151_quant.dat*/ 2963 /* BEGIN - DIF BPF register values from 152_quant.dat*/ 2983 /* END - DIF BPF register values from 152_quant.dat*/ 2987 /* BEGIN - DIF BPF register values from 153_quant.dat*/ 3007 /* END - DIF BPF register values from 153_quant.dat*/ 3011 /* BEGIN - DIF BPF register values from 154_quant.dat*/ 3031 /* END - DIF BPF register values from 154_quant.dat*/ 3035 /* BEGIN - DIF BPF register values from 155_quant.dat*/ 3055 /* END - DIF BPF register values from 155_quant.dat*/ 3059 /* BEGIN - DIF BPF register values from 156_quant.dat*/ 3079 /* END - DIF BPF register values from 156_quant.dat*/ 3083 /* BEGIN - DIF BPF register values from 157_quant.dat*/ 3103 /* END - DIF BPF register values from 157_quant.dat*/ 3107 /* BEGIN - DIF BPF register values from 158_quant.dat*/ 3127 /* END - DIF BPF register values from 158_quant.dat*/ 3131 /* BEGIN - DIF BPF register values from 159_quant.dat*/ 3151 /* END - DIF BPF register values from 159_quant.dat*/ 3155 /* BEGIN - DIF BPF register values from 160_quant.dat*/ 3175 /* END - DIF BPF register values from 160_quant.dat*/
|
/linux-4.4.14/drivers/video/fbdev/core/ |
H A D | fbcmap.c | 158 * @from: frame buffer colormap structure 161 * Copy contents of colormap from @from to @to. 164 int fb_copy_cmap(const struct fb_cmap *from, struct fb_cmap *to) fb_copy_cmap() argument 169 if (to->start > from->start) fb_copy_cmap() 170 fromoff = to->start - from->start; fb_copy_cmap() 172 tooff = from->start - to->start; fb_copy_cmap() 174 if (size > (int) (from->len - fromoff)) fb_copy_cmap() 175 size = from->len - fromoff; fb_copy_cmap() 180 memcpy(to->red+tooff, from->red+fromoff, size); fb_copy_cmap() 181 memcpy(to->green+tooff, from->green+fromoff, size); fb_copy_cmap() 182 memcpy(to->blue+tooff, from->blue+fromoff, size); fb_copy_cmap() 183 if (from->transp && to->transp) fb_copy_cmap() 184 memcpy(to->transp+tooff, from->transp+fromoff, size); fb_copy_cmap() 188 int fb_cmap_to_user(const struct fb_cmap *from, struct fb_cmap_user *to) fb_cmap_to_user() argument 193 if (to->start > from->start) fb_cmap_to_user() 194 fromoff = to->start - from->start; fb_cmap_to_user() 196 tooff = from->start - to->start; fb_cmap_to_user() 198 if (size > (int) (from->len - fromoff)) fb_cmap_to_user() 199 size = from->len - fromoff; fb_cmap_to_user() 204 if (copy_to_user(to->red+tooff, from->red+fromoff, size)) fb_cmap_to_user() 206 if (copy_to_user(to->green+tooff, from->green+fromoff, size)) fb_cmap_to_user() 208 if (copy_to_user(to->blue+tooff, from->blue+fromoff, size)) fb_cmap_to_user() 210 if (from->transp && to->transp) fb_cmap_to_user() 211 if (copy_to_user(to->transp+tooff, from->transp+fromoff, size)) fb_cmap_to_user()
|
/linux-4.4.14/drivers/mtd/maps/ |
H A D | map_funcs.c | 22 static void __xipram simple_map_copy_from(struct map_info *map, void *to, unsigned long from, ssize_t len) simple_map_copy_from() argument 24 inline_map_copy_from(map, to, from, len); simple_map_copy_from() 27 static void __xipram simple_map_copy_to(struct map_info *map, unsigned long to, const void *from, ssize_t len) simple_map_copy_to() argument 29 inline_map_copy_to(map, to, from, len); simple_map_copy_to()
|
H A D | dc21285.c | 75 static void dc21285_copy_from(struct map_info *map, void *to, unsigned long from, ssize_t len) dc21285_copy_from() argument 77 memcpy(to, (void*)(map->virt + from), len); dc21285_copy_from() 105 static void dc21285_copy_to_32(struct map_info *map, unsigned long to, const void *from, ssize_t len) dc21285_copy_to_32() argument 109 d.x[0] = *((uint32_t*)from); dc21285_copy_to_32() 111 from += 4; dc21285_copy_to_32() 117 static void dc21285_copy_to_16(struct map_info *map, unsigned long to, const void *from, ssize_t len) dc21285_copy_to_16() argument 121 d.x[0] = *((uint16_t*)from); dc21285_copy_to_16() 123 from += 2; dc21285_copy_to_16() 129 static void dc21285_copy_to_8(struct map_info *map, unsigned long to, const void *from, ssize_t len) dc21285_copy_to_8() argument 132 d.x[0] = *((uint8_t*)from); dc21285_copy_to_8() 134 from++; dc21285_copy_to_8()
|
/linux-4.4.14/drivers/misc/cxl/ |
H A D | Makefile | 9 # For tracepoints to include our trace.h from tracepoint infrastructure:
|
/linux-4.4.14/arch/sparc/lib/ |
H A D | csum_copy_from_user.S | 1 /* csum_copy_from_user.S: Checksum+copy from userspace.
|
H A D | user_fixup.c | 35 unsigned long copy_from_user_fixup(void *to, const void __user *from, unsigned long size) copy_from_user_fixup() argument 39 size = compute_size((unsigned long) from, size, &offset); copy_from_user_fixup() 47 unsigned long copy_to_user_fixup(void __user *to, const void *from, unsigned long size) copy_to_user_fixup() argument 55 unsigned long copy_in_user_fixup(void __user *to, void __user *from, unsigned long size) copy_in_user_fixup() argument 64 start = (unsigned long) from; copy_in_user_fixup()
|
H A D | GENcopy_from_user.S | 1 /* GENcopy_from_user.S: Generic sparc64 copy from userspace.
|
H A D | U3copy_from_user.S | 1 /* U3copy_from_user.S: UltraSparc-III optimized copy from userspace.
|
/linux-4.4.14/arch/x86/um/asm/ |
H A D | processor_32.h | 44 static inline void arch_copy_thread(struct arch_thread *from, arch_copy_thread() argument 47 memcpy(&to->tls_array, &from->tls_array, sizeof(from->tls_array)); arch_copy_thread() 53 * from asm-i386/processor.h
|
H A D | processor_64.h | 28 static inline void arch_copy_thread(struct arch_thread *from, arch_copy_thread() argument 31 to->fs = from->fs; arch_copy_thread()
|
H A D | desc.h | 4 /* Taken from asm-i386/desc.h, it's the only thing we need. The rest wouldn't
|
/linux-4.4.14/block/partitions/ |
H A D | check.h | 13 sector_t from; member in struct:parsed_partitions::__anon3261 41 put_partition(struct parsed_partitions *p, int n, sector_t from, sector_t size) put_partition() argument 46 p->parts[n].from = from; put_partition()
|
/linux-4.4.14/arch/c6x/boot/dts/ |
H A D | Makefile | 14 # Generate builtin.dtb from $(DTB).dtb
|
/linux-4.4.14/lib/mpi/ |
H A D | Makefile | 2 # MPI multiprecision maths library (from gpg)
|
/linux-4.4.14/fs/proc/ |
H A D | proc_tty.c | 27 dev_t from, int num) show_tty_range() 32 seq_printf(m, "%3d %d-%d ", MAJOR(from), MINOR(from), show_tty_range() 33 MINOR(from) + num - 1); show_tty_range() 35 seq_printf(m, "%3d %7d ", MAJOR(from), MINOR(from)); show_tty_range() 70 dev_t from = MKDEV(p->major, p->minor_start); show_tty_driver() local 71 dev_t to = from + p->num; show_tty_driver() 93 while (MAJOR(from) < MAJOR(to)) { show_tty_driver() 94 dev_t next = MKDEV(MAJOR(from)+1, 0); show_tty_driver() 95 show_tty_range(m, p, from, next - from); show_tty_driver() 96 from = next; show_tty_driver() 98 if (from != to) show_tty_driver() 99 show_tty_range(m, p, from, to - from); show_tty_driver() 26 show_tty_range(struct seq_file *m, struct tty_driver *p, dev_t from, int num) show_tty_range() argument
|
/linux-4.4.14/arch/sh/mm/ |
H A D | extable_32.c | 3 * Taken from:
|
/linux-4.4.14/arch/blackfin/include/asm/ |
H A D | pci.h | 1 /* Changed from asm-m68k version, Lineo Inc. May 2001 */
|
/linux-4.4.14/arch/arm/mach-omap2/ |
H A D | mmc.h | 11 /* called from board-specific card detection service routine */
|
H A D | pm44xx.c | 42 * @from: from clockdomain 46 const char *from; member in struct:static_dep_map 168 * from the 32K counter. The BUG applies for GPTIMER1 and WDT2 which 172 {.from = "mpuss_clkdm", .to = "l3_emif_clkdm"}, 173 {.from = "mpuss_clkdm", .to = "l3_1_clkdm"}, 174 {.from = "mpuss_clkdm", .to = "l3_2_clkdm"}, 175 {.from = "ducati_clkdm", .to = "l3_1_clkdm"}, 176 {.from = "ducati_clkdm", .to = "l3_2_clkdm"}, 177 {.from = NULL} /* TERMINATION */ 181 {.from = "mpu_clkdm", .to = "emif_clkdm"}, 182 {.from = NULL} /* TERMINATION */ 192 struct clockdomain *from, *to; omap4plus_init_static_deps() local 197 while (map->from) { omap4plus_init_static_deps() 198 from = clkdm_lookup(map->from); omap4plus_init_static_deps() 200 if (!from || !to) { omap4plus_init_static_deps() 202 map->from, map->to); omap4plus_init_static_deps() 205 ret = clkdm_add_wkdep(from, to); omap4plus_init_static_deps() 208 map->from, map->to, ret); omap4plus_init_static_deps()
|
/linux-4.4.14/Documentation/networking/timestamping/ |
H A D | Makefile | 1 # To compile, from the source root
|
/linux-4.4.14/tools/testing/selftests/breakpoints/ |
H A D | Makefile | 1 # Taken from perf makefile
|
/linux-4.4.14/arch/s390/net/ |
H A D | bpf_jit.S | 42 #define SKF_MAX_NEG_OFF -0x200000 /* SKF_LL_OFF from filter.h */ 45 * Load SIZE bytes from SKB 55 LOAD %r14,-SIZE(%r3,%r12); /* Get data from skb */ \ 63 brasl %r14,skb_copy_bits; /* Get data from skb */ \ 64 LOAD %r14,STK_OFF_TMP(%r15); /* Load from temp bufffer */ \ 72 * Load 1 byte from SKB (optimized version) 81 llgc %r14,0(%r3,%r12) # Get byte from skb 89 brasl %r14,skb_copy_bits # Get data from skb 90 llgc %r14,STK_OFF_TMP(%r15) # Load result from temp buffer 104 LOAD %r14,0(%r2); /* Get data from pointer */ \ 113 # force a return 0 from jit handler
|
/linux-4.4.14/drivers/net/ethernet/cavium/liquidio/ |
H A D | octeon_mem_ops.h | 19 * This file may also be available under a different license from Cavium. 30 /** Read a 64-bit value from a BAR1 mapped core memory address. 32 * @param core_addr - the address to read from. 37 * @return 64-bit value read from Core memory 41 /** Read a 32-bit value from a BAR1 mapped core memory address. 43 * @param core_addr - the address to read from. 45 * @return 32-bit value read from Core memory 59 /** Read multiple bytes from Octeon memory.
|
/linux-4.4.14/drivers/clk/versatile/ |
H A D | clk-icst.h | 6 * @vco_offset: offset to the ICST VCO from the provided memory base 7 * @lock_offset: offset to the ICST VCO locking register from the provided
|
/linux-4.4.14/arch/x86/pci/ |
H A D | bus_numa.h | 4 * sub bus (transparent) will use entres from 3 to store extra from
|
/linux-4.4.14/fs/adfs/ |
H A D | file.c | 5 * from: 14 * from
|
/linux-4.4.14/arch/powerpc/include/asm/ |
H A D | uaccess.h | 90 * and hide all the ugliness from the user. 319 const void __user *from, unsigned long size); 324 const void __user *from, unsigned long n) copy_from_user() 328 if (access_ok(VERIFY_READ, from, n)) copy_from_user() 329 return __copy_tofrom_user((__force void __user *)to, from, n); copy_from_user() 330 if ((unsigned long)from < TASK_SIZE) { copy_from_user() 331 over = (unsigned long)from + n - TASK_SIZE; copy_from_user() 332 return __copy_tofrom_user((__force void __user *)to, from, copy_from_user() 339 const void *from, unsigned long n) copy_to_user() 344 return __copy_tofrom_user(to, (__force void __user *)from, n); copy_to_user() 347 return __copy_tofrom_user(to, (__force void __user *)from, copy_to_user() 355 #define __copy_in_user(to, from, size) \ 356 __copy_tofrom_user((to), (from), (size)) 358 extern unsigned long copy_from_user(void *to, const void __user *from, 360 extern unsigned long copy_to_user(void __user *to, const void *from, 362 extern unsigned long copy_in_user(void __user *to, const void __user *from, 368 const void __user *from, unsigned long n) __copy_from_user_inatomic() 375 __get_user_size(*(u8 *)to, from, 1, ret); __copy_from_user_inatomic() 378 __get_user_size(*(u16 *)to, from, 2, ret); __copy_from_user_inatomic() 381 __get_user_size(*(u32 *)to, from, 4, ret); __copy_from_user_inatomic() 384 __get_user_size(*(u64 *)to, from, 8, ret); __copy_from_user_inatomic() 390 return __copy_tofrom_user((__force void __user *)to, from, n); __copy_from_user_inatomic() 394 const void *from, unsigned long n) __copy_to_user_inatomic() 401 __put_user_size(*(u8 *)from, (u8 __user *)to, 1, ret); __copy_to_user_inatomic() 404 __put_user_size(*(u16 *)from, (u16 __user *)to, 2, ret); __copy_to_user_inatomic() 407 __put_user_size(*(u32 *)from, (u32 __user *)to, 4, ret); __copy_to_user_inatomic() 410 __put_user_size(*(u64 *)from, (u64 __user *)to, 8, ret); __copy_to_user_inatomic() 416 return __copy_tofrom_user(to, (__force const void __user *)from, n); __copy_to_user_inatomic() 420 const void __user *from, unsigned long size) __copy_from_user() 423 return __copy_from_user_inatomic(to, from, size); __copy_from_user() 427 const void *from, unsigned long size) __copy_to_user() 430 return __copy_to_user_inatomic(to, from, size); __copy_to_user() 323 copy_from_user(void *to, const void __user *from, unsigned long n) copy_from_user() argument 338 copy_to_user(void __user *to, const void *from, unsigned long n) copy_to_user() argument 367 __copy_from_user_inatomic(void *to, const void __user *from, unsigned long n) __copy_from_user_inatomic() argument 393 __copy_to_user_inatomic(void __user *to, const void *from, unsigned long n) __copy_to_user_inatomic() argument 419 __copy_from_user(void *to, const void __user *from, unsigned long size) __copy_from_user() argument 426 __copy_to_user(void __user *to, const void *from, unsigned long size) __copy_to_user() argument
|
H A D | mutex.h | 66 * from 1 to a 0 value 70 * Change the count from 1 to a value lower than 1, and call <fail_fn> if 83 * from 1 to a 0 value 86 * Change the count from 1 to a value lower than 1. This function returns 0 98 * __mutex_fastpath_unlock - try to promote the count from 0 to 1 102 * Try to promote the count from 0 to 1. If it wasn't 0, call <fail_fn>. 121 * Change the count from 1 to 0, and return 1 (success), or if the count
|
/linux-4.4.14/include/uapi/linux/ |
H A D | kfd_ioctl.h | 33 uint32_t major_version; /* from KFD */ 34 uint32_t minor_version; /* from KFD */ 47 uint64_t write_pointer_address; /* from KFD */ 48 uint64_t read_pointer_address; /* from KFD */ 49 uint64_t doorbell_offset; /* from KFD */ 56 uint32_t queue_id; /* from KFD */ 100 uint64_t gpu_clock_counter; /* from KFD */ 101 uint64_t cpu_clock_counter; /* from KFD */ 102 uint64_t system_clock_counter; /* from KFD */ 103 uint64_t system_clock_freq; /* from KFD */ 112 uint64_t lds_base; /* from KFD */ 113 uint64_t lds_limit; /* from KFD */ 114 uint64_t scratch_base; /* from KFD */ 115 uint64_t scratch_limit; /* from KFD */ 116 uint64_t gpuvm_base; /* from KFD */ 117 uint64_t gpuvm_limit; /* from KFD */ 118 uint32_t gpu_id; /* from KFD */ 124 process_apertures[NUM_OF_SUPPORTED_GPUS];/* from KFD */ 126 /* from KFD, should be in the range [1 - NUM_OF_SUPPORTED_GPUS] */ 175 uint64_t event_page_offset; /* from KFD */ 176 uint32_t event_trigger_data; /* from KFD - signal events only */ 181 uint32_t event_id; /* from KFD */ 182 uint32_t event_slot_index; /* from KFD */ 232 uint32_t wait_result; /* from KFD */
|
H A D | flat.h | 31 with text segment from beginning of file */ 32 unsigned long data_start; /* Offset of data segment from beginning of 35 from beginning of file */ 36 unsigned long bss_end; /* Offset of end of bss segment from beginning 42 unsigned long reloc_start; /* Offset of relocation records from
|
H A D | binfmts.h | 11 * prevent the kernel from being unduly impacted by misaddressed pointers.
|
H A D | ip6_tunnel.h | 11 /* copy the traffic class field from the inner packet */ 13 /* copy the flowlabel from the inner packet */ 17 /* copy DSCP from the outer packet */ 19 /* copy fwmark from inner packet */
|
H A D | kdev_t.h | 7 from the kernel sources. These must be the externally visible ones.
|
H A D | oom.h | 12 * /proc/<pid>/oom_adj set to -17 protects from the oom killer for legacy
|
/linux-4.4.14/arch/parisc/kernel/ |
H A D | signal32.c | 6 * Code was mostly borrowed from kernel/signal.c. 260 DBG(1,"setup_sigcontext32: Copying from regs to sc, " setup_sigcontext32() 278 copy_siginfo_from_user32 (siginfo_t *to, compat_siginfo_t __user *from) copy_siginfo_from_user32() argument 283 if (!access_ok(VERIFY_READ, from, sizeof(compat_siginfo_t))) copy_siginfo_from_user32() 286 err = __get_user(to->si_signo, &from->si_signo); copy_siginfo_from_user32() 287 err |= __get_user(to->si_errno, &from->si_errno); copy_siginfo_from_user32() 288 err |= __get_user(to->si_code, &from->si_code); copy_siginfo_from_user32() 291 err |= __copy_from_user(&to->_sifields._pad, &from->_sifields._pad, SI_PAD_SIZE); copy_siginfo_from_user32() 295 err |= __get_user(to->si_utime, &from->si_utime); copy_siginfo_from_user32() 296 err |= __get_user(to->si_stime, &from->si_stime); copy_siginfo_from_user32() 297 err |= __get_user(to->si_status, &from->si_status); copy_siginfo_from_user32() 299 err |= __get_user(to->si_pid, &from->si_pid); copy_siginfo_from_user32() 300 err |= __get_user(to->si_uid, &from->si_uid); copy_siginfo_from_user32() 303 err |= __get_user(addr, &from->si_addr); copy_siginfo_from_user32() 307 err |= __get_user(to->si_band, &from->si_band); copy_siginfo_from_user32() 308 err |= __get_user(to->si_fd, &from->si_fd); copy_siginfo_from_user32() 312 err |= __get_user(to->si_pid, &from->si_pid); copy_siginfo_from_user32() 313 err |= __get_user(to->si_uid, &from->si_uid); copy_siginfo_from_user32() 314 err |= __get_user(to->si_int, &from->si_int); copy_siginfo_from_user32() 322 copy_siginfo_to_user32 (compat_siginfo_t __user *to, const siginfo_t *from) copy_siginfo_to_user32() argument 336 This routine must convert siginfo from 64bit to 32bit as well copy_siginfo_to_user32() 338 err = __put_user(from->si_signo, &to->si_signo); copy_siginfo_to_user32() 339 err |= __put_user(from->si_errno, &to->si_errno); copy_siginfo_to_user32() 340 err |= __put_user((short)from->si_code, &to->si_code); copy_siginfo_to_user32() 341 if (from->si_code < 0) copy_siginfo_to_user32() 342 err |= __copy_to_user(&to->_sifields._pad, &from->_sifields._pad, SI_PAD_SIZE); copy_siginfo_to_user32() 344 switch (from->si_code >> 16) { copy_siginfo_to_user32() 346 err |= __put_user(from->si_utime, &to->si_utime); copy_siginfo_to_user32() 347 err |= __put_user(from->si_stime, &to->si_stime); copy_siginfo_to_user32() 348 err |= __put_user(from->si_status, &to->si_status); copy_siginfo_to_user32() 350 err |= __put_user(from->si_pid, &to->si_pid); copy_siginfo_to_user32() 351 err |= __put_user(from->si_uid, &to->si_uid); copy_siginfo_to_user32() 354 addr = ptr_to_compat(from->si_addr); copy_siginfo_to_user32() 358 err |= __put_user(from->si_band, &to->si_band); copy_siginfo_to_user32() 359 err |= __put_user(from->si_fd, &to->si_fd); copy_siginfo_to_user32() 362 err |= __put_user(from->si_tid, &to->si_tid); copy_siginfo_to_user32() 363 err |= __put_user(from->si_overrun, &to->si_overrun); copy_siginfo_to_user32() 364 val = (compat_int_t)from->si_int; copy_siginfo_to_user32() 369 err |= __put_user(from->si_uid, &to->si_uid); copy_siginfo_to_user32() 370 err |= __put_user(from->si_pid, &to->si_pid); copy_siginfo_to_user32() 371 val = (compat_int_t)from->si_int; copy_siginfo_to_user32()
|
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
H A D | pio_copy.c | 35 * from this software without specific prior written permission. 63 * @from: source, must be 8 byte aligned 64 * @count: number of DWORD (32-bit) quantities to copy from source 66 * Copy data from source to PIO Send Buffer memory, 8 bytes at a time. 75 const void *from, size_t count) pio_copy() 93 writeq(*(u64 *)from, dest); pio_copy() 94 from += sizeof(u64); pio_copy() 109 writeq(*(u64 *)from, dest); pio_copy() 110 from += sizeof(u64); pio_copy() 128 writeq(*(u64 *)from, dest); pio_copy() 129 from += sizeof(u64); pio_copy() 139 writeq(*(u64 *)from, dest); pio_copy() 140 from += sizeof(u64); pio_copy() 151 val.val32[0] = *(u32 *)from; pio_copy() 188 * Read nbytes bytes from "from" and return them in the LSB bytes 193 * o do not read from from if nbytes is zero 194 * o from may _not_ be u64 aligned 197 static inline void read_low_bytes(struct pio_buf *pbuf, const void *from, read_low_bytes() argument 206 off = (unsigned long)from & 0x7; read_low_bytes() 207 from = (void *)((unsigned long)from & ~0x7l); read_low_bytes() 208 pbuf->carry.val64 = ((*(u64 *)from) read_low_bytes() 216 * Read nbytes bytes from "from" and put them at the next significant bytes 221 * o from may _not_ be u64 aligned 225 const void *from, unsigned int nbytes) read_extra_bytes() 227 unsigned long off = (unsigned long)from & 0x7; read_extra_bytes() 231 from = (void *)((unsigned long)from & ~0x7l); read_extra_bytes() 243 pbuf->carry.val64 |= (((*(u64 *)from) read_extra_bytes() 250 from += sizeof(u64); read_extra_bytes() 255 * Zero extra bytes from the end of pbuf->carry. 355 * Read nbytes from "from" and and place them in the low bytes 360 * o do not read from from if nbytes is zero 361 * o from may _not_ be u64 aligned. 363 static inline void read_low_bytes(struct pio_buf *pbuf, const void *from, read_low_bytes() argument 366 jcopy(&pbuf->carry.val8[0], from, nbytes); read_low_bytes() 371 * Read nbytes bytes from "from" and put them at the end of pbuf->carry. 375 * o from may _not_ be u64 aligned 379 const void *from, unsigned int nbytes) read_extra_bytes() 381 jcopy(&pbuf->carry.val8[pbuf->carry_bytes], from, nbytes); read_extra_bytes() 386 * Zero extra bytes from the end of pbuf->carry. 451 * @from: data source, QWORD aligned 455 const void *from, size_t nbytes) seg_pio_copy_start() 472 writeq(*(u64 *)from, dest); seg_pio_copy_start() 473 from += sizeof(u64); seg_pio_copy_start() 488 writeq(*(u64 *)from, dest); seg_pio_copy_start() 489 from += sizeof(u64); seg_pio_copy_start() 507 writeq(*(u64 *)from, dest); seg_pio_copy_start() 508 from += sizeof(u64); seg_pio_copy_start() 518 writeq(*(u64 *)from, dest); seg_pio_copy_start() 519 from += sizeof(u64); seg_pio_copy_start() 528 read_low_bytes(pbuf, from, nbytes & 0x7); seg_pio_copy_start() 540 * @from: data source, is QWORD aligned. 545 static void mid_copy_mix(struct pio_buf *pbuf, const void *from, size_t nbytes) mid_copy_mix() argument 575 merge_write8(pbuf, dest, from); mid_copy_mix() 576 from += sizeof(u64); mid_copy_mix() 602 merge_write8(pbuf, dest, from); mid_copy_mix() 603 from += sizeof(u64); mid_copy_mix() 613 merge_write8(pbuf, dest, from); mid_copy_mix() 614 from += sizeof(u64); mid_copy_mix() 621 read_extra_bytes(pbuf, from, bytes_left - pbuf->carry_bytes); mid_copy_mix() 635 * @from: data source, is QWORD aligned 641 const void *from, size_t nbytes) mid_copy_straight() 669 writeq(*(u64 *)from, dest); mid_copy_straight() 670 from += sizeof(u64); mid_copy_straight() 696 writeq(*(u64 *)from, dest); mid_copy_straight() 697 from += sizeof(u64); mid_copy_straight() 707 writeq(*(u64 *)from, dest); mid_copy_straight() 708 from += sizeof(u64); mid_copy_straight() 713 read_low_bytes(pbuf, from, nbytes & 0x7); mid_copy_straight() 724 * @from: data source 727 void seg_pio_copy_mid(struct pio_buf *pbuf, const void *from, size_t nbytes) seg_pio_copy_mid() argument 729 unsigned long from_align = (unsigned long)from & 0x7; seg_pio_copy_mid() 733 read_extra_bytes(pbuf, from, nbytes); seg_pio_copy_mid() 741 /* bytes to read to align "from" */ seg_pio_copy_mid() 752 read_extra_bytes(pbuf, from, to_align); seg_pio_copy_mid() 753 from += to_align; seg_pio_copy_mid() 763 read_extra_bytes(pbuf, from, to_fill); seg_pio_copy_mid() 764 from += to_fill; seg_pio_copy_mid() 790 read_low_bytes(pbuf, from, extra); seg_pio_copy_mid() 791 from += extra; seg_pio_copy_mid() 795 /* at this point, from is QW aligned */ seg_pio_copy_mid() 799 mid_copy_mix(pbuf, from, nbytes); seg_pio_copy_mid() 801 mid_copy_straight(pbuf, from, nbytes); seg_pio_copy_mid() 74 pio_copy(struct hfi1_devdata *dd, struct pio_buf *pbuf, u64 pbc, const void *from, size_t count) pio_copy() argument 224 read_extra_bytes(struct pio_buf *pbuf, const void *from, unsigned int nbytes) read_extra_bytes() argument 378 read_extra_bytes(struct pio_buf *pbuf, const void *from, unsigned int nbytes) read_extra_bytes() argument 454 seg_pio_copy_start(struct pio_buf *pbuf, u64 pbc, const void *from, size_t nbytes) seg_pio_copy_start() argument 640 mid_copy_straight(struct pio_buf *pbuf, const void *from, size_t nbytes) mid_copy_straight() argument
|
H A D | Makefile | 6 # Called from the kernel module build system.
|
/linux-4.4.14/drivers/pci/ |
H A D | search.c | 60 * PCIe-to-PCI/X bridges alias transactions from downstream pci_for_each_dma_alias() 123 * pci_find_bus - locate PCI bus from a given domain and bus number 149 * @from: Previous PCI bus found, or %NULL for new search. 152 * initiated by passing %NULL as the @from argument. Otherwise if 153 * @from is not %NULL, searches continue from next device on the 156 struct pci_bus *pci_find_next_bus(const struct pci_bus *from) pci_find_next_bus() argument 163 n = from ? from->node.next : pci_root_buses.next; pci_find_next_bus() 247 * @from: Previous PCI device found in search, or %NULL for new search. 252 * A new search is initiated by passing %NULL as the @from argument. Otherwise 253 * if @from is not %NULL, searches continue from next device on the global 254 * list. The reference count for @from is always decremented if it is not 261 struct pci_dev *from) pci_get_dev_by_id() 268 if (from) pci_get_dev_by_id() 269 dev_start = &from->dev; pci_get_dev_by_id() 274 pci_dev_put(from); pci_get_dev_by_id() 284 * @from: Previous PCI device found in search, or %NULL for new search. 290 * passing %NULL as the @from argument. Otherwise if @from is not %NULL, 291 * searches continue from next device on the global list. 292 * The reference count for @from is always decremented if it is not %NULL. 296 struct pci_dev *from) pci_get_subsys() 305 return pci_get_dev_by_id(&id, from); pci_get_subsys() 313 * @from: Previous PCI device found in search, or %NULL for new search. 319 * as the @from argument. Otherwise if @from is not %NULL, searches continue 320 * from next device on the global list. The reference count for @from is 324 struct pci_dev *from) pci_get_device() 326 return pci_get_subsys(vendor, device, PCI_ANY_ID, PCI_ANY_ID, from); pci_get_device() 333 * @from: Previous PCI device found in search, or %NULL for new search. 339 * A new search is initiated by passing %NULL as the @from argument. 340 * Otherwise if @from is not %NULL, searches continue from next device 341 * on the global list. The reference count for @from is always decremented 344 struct pci_dev *pci_get_class(unsigned int class, struct pci_dev *from) pci_get_class() argument 355 return pci_get_dev_by_id(&id, from); pci_get_class() 365 * by this function, so if that device is removed from the system right after 260 pci_get_dev_by_id(const struct pci_device_id *id, struct pci_dev *from) pci_get_dev_by_id() argument 294 pci_get_subsys(unsigned int vendor, unsigned int device, unsigned int ss_vendor, unsigned int ss_device, struct pci_dev *from) pci_get_subsys() argument 323 pci_get_device(unsigned int vendor, unsigned int device, struct pci_dev *from) pci_get_device() argument
|
/linux-4.4.14/arch/um/include/asm/ |
H A D | page.h | 29 #define copy_page(to,from) memcpy((void *)(to), (void *)(from), PAGE_SIZE) 32 #define copy_user_page(to, from, vaddr, pg) copy_page(to, from) 44 #define pte_copy(to, from) ({ (to).pte_high = (from).pte_high; \ 46 (to).pte_low = (from).pte_low; }) 75 #define pte_copy(to, from) ((to).pte = (from).pte) 104 /* Cast to unsigned long before casting to void * to avoid a warning from
|
H A D | cache.h | 10 /* XXX: this was taken from x86, now it's completely random. Luckily only
|
/linux-4.4.14/arch/sh/include/asm/ |
H A D | dma.h | 46 * Transfer end interrupt, inherited from DMAC. 112 extern int dma_xfer(unsigned int chan, unsigned long from, 115 #define dma_write(chan, from, to, size) \ 116 dma_xfer(chan, from, to, size, DMA_MODE_WRITE) 117 #define dma_write_page(chan, from, to) \ 118 dma_write(chan, from, to, PAGE_SIZE) 120 #define dma_read(chan, from, to, size) \ 121 dma_xfer(chan, from, to, size, DMA_MODE_READ) 122 #define dma_read_page(chan, from, to) \ 123 dma_read(chan, from, to, PAGE_SIZE)
|
/linux-4.4.14/arch/arm/mach-pxa/include/mach/ |
H A D | hx4700.h | 92 #define GPIOC7_nPCE1 (GPIOC_BASE + 7) /* Input, from CPU */ 93 #define GPIOC8_nPCE2 (GPIOC_BASE + 8) /* Input, from CPU */ 94 #define GPIOC9_nPOE (GPIOC_BASE + 9) /* Input, from CPU */ 96 #define GPIOC11_PSKTSEL (GPIOC_BASE + 11) /* Input, from CPU */ 97 #define GPIOC12_nPREG (GPIOC_BASE + 12) /* Input, from CPU */ 100 #define GPIOC15_nPIOR (GPIOC_BASE + 15) /* Input, from CPU */ 106 #define GPIOD4_CF_nCD (GPIOD_BASE + 4) /* Input, from CF */ 113 #define GPIOD11_nCIOIS16 (GPIOD_BASE + 11) /* Input, from CF */ 114 #define GPIOD12_nCWAIT (GPIOD_BASE + 12) /* Input, from CF */ 117 #define GPIOD15_nPIOW (GPIOD_BASE + 15) /* Input, from CPU */
|
/linux-4.4.14/drivers/media/platform/exynos4-is/ |
H A D | fimc-is-regs.h | 29 /* Interrupt Generation Register 0 from Host CPU to VIC */ 36 /* Interrupt Clear Register 0 from Host CPU to VIC */ 43 /* Interrupt Mask Register 0 from Host CPU to VIC */ 50 /* Interrupt Status Register 0 from Host CPU to VIC */ 57 /* Interrupt Mask Status Register 0 from Host CPU to VIC */ 64 /* Interrupt Generation Register 1 from ISP CPU to Host IC */ 69 /* Interrupt Clear Register 1 from ISP CPU to Host IC */ 74 /* Interrupt Mask Register 1 from ISP CPU to Host IC */ 79 /* Interrupt Status Register 1 from ISP CPU to Host IC */ 81 /* Interrupt Mask Status Register 1 from ISP CPU to Host IC */ 84 /* Interrupt Clear Register 2 from ISP BLK's interrupts to Host IC */ 89 /* Interrupt Mask Register 2 from ISP BLK's interrupts to Host IC */ 94 /* Interrupt Status Register 2 from ISP BLK's interrupts to Host IC */ 96 /* Interrupt Mask Status Register 2 from ISP BLK's interrupts to Host IC */
|
/linux-4.4.14/include/asm-generic/ |
H A D | mutex-dec.h | 12 * from 1 to a 0 value 16 * Change the count from 1 to a value lower than 1, and call <fail_fn> if 29 * from 1 to a 0 value 32 * Change the count from 1 to a value lower than 1. This function returns 0 44 * __mutex_fastpath_unlock - try to promote the count from 0 to 1 48 * Try to promote the count from 0 to 1. If it wasn't 0, call <fail_fn>. 71 * Change the count from 1 to a value lower than 1, and return 0 (failure)
|
H A D | uaccess.h | 80 const void __user * from, unsigned long n) __copy_from_user() 85 *(u8 *)to = *(u8 __force *)from; __copy_from_user() 88 *(u16 *)to = *(u16 __force *)from; __copy_from_user() 91 *(u32 *)to = *(u32 __force *)from; __copy_from_user() 95 *(u64 *)to = *(u64 __force *)from; __copy_from_user() 103 memcpy(to, (const void __force *)from, n); __copy_from_user() 110 const void *from, unsigned long n) __copy_to_user() 115 *(u8 __force *)to = *(u8 *)from; __copy_to_user() 118 *(u16 __force *)to = *(u16 *)from; __copy_to_user() 121 *(u32 __force *)to = *(u32 *)from; __copy_to_user() 125 *(u64 __force *)to = *(u64 *)from; __copy_to_user() 133 memcpy((void __force *)to, from, n); __copy_to_user() 141 * This version just falls back to copy_{from,to}_user, which should 258 const void __user * from, unsigned long n) copy_from_user() 261 if (access_ok(VERIFY_READ, from, n)) copy_from_user() 262 return __copy_from_user(to, from, n); copy_from_user() 268 const void *from, unsigned long n) copy_to_user() 272 return __copy_to_user(to, from, n); copy_to_user() 278 * Copy a null terminated string from userspace. 79 __copy_from_user(void *to, const void __user * from, unsigned long n) __copy_from_user() argument 109 __copy_to_user(void __user *to, const void *from, unsigned long n) __copy_to_user() argument 257 copy_from_user(void *to, const void __user * from, unsigned long n) copy_from_user() argument 267 copy_to_user(void __user *to, const void *from, unsigned long n) copy_to_user() argument
|
H A D | dma.h | 6 * implementation from kernel/dma.c by not defining MAX_DMA_CHANNELS.
|
H A D | siginfo.h | 20 extern int copy_siginfo_to_user(struct siginfo __user *to, const struct siginfo *from);
|
/linux-4.4.14/drivers/net/fddi/skfp/ |
H A D | pmf.c | 559 char *from ; smt_add_para() local 892 from = mib_addr + pt->p_offset ; smt_add_para() 915 to[2] = *from++ ; smt_add_para() 916 to[3] = *from++ ; smt_add_para() 919 to[3] = *from++ ; smt_add_para() 920 to[2] = *from++ ; smt_add_para() 923 to[2] = *from++ ; smt_add_para() 924 to[3] = *from++ ; smt_add_para() 933 to[1] = *from++ ; smt_add_para() 934 to[0] = *from++ ; smt_add_para() 936 to[0] = *from++ ; smt_add_para() 937 to[1] = *from++ ; smt_add_para() 950 to[3] = *from++ ; smt_add_para() 959 to[3] = *from++ ; smt_add_para() 960 to[2] = *from++ ; smt_add_para() 961 to[1] = *from++ ; smt_add_para() 962 to[0] = *from++ ; smt_add_para() 964 to[0] = *from++ ; smt_add_para() 965 to[1] = *from++ ; smt_add_para() 966 to[2] = *from++ ; smt_add_para() 967 to[3] = *from++ ; smt_add_para() 977 to[2] = *from++ ; smt_add_para() 978 to[3] = *from++ ; smt_add_para() 985 to[0] = *from++ ; smt_add_para() 986 to[1] = *from++ ; smt_add_para() 987 to[2] = *from++ ; smt_add_para() 988 to[3] = *from++ ; smt_add_para() 997 memcpy((char *) to+2,(char *) from,6) ; smt_add_para() 999 from += 8 ; smt_add_para() 1005 memcpy((char *) to,(char *) from,8) ; smt_add_para() 1007 from += 8 ; smt_add_para() 1013 memcpy((char *) to,(char *) from,32) ; smt_add_para() 1015 from += 32 ; smt_add_para() 1021 to[0] = *from++ ; smt_add_para() 1022 to[1] = *from++ ; smt_add_para() 1023 to[2] = *from++ ; smt_add_para() 1024 to[3] = *from++ ; smt_add_para() 1025 to[4] = *from++ ; smt_add_para() 1026 to[5] = *from++ ; smt_add_para() 1027 to[6] = *from++ ; smt_add_para() 1028 to[7] = *from++ ; smt_add_para() 1082 char *from ; smt_set_para() local 1102 from = (char *) (pa + 1 ) ; smt_set_para() 1116 from += 4 ; /* skip index */ smt_set_para() 1125 from += 4 ; /* skip index */ smt_set_para() 1134 from += 4 ; /* skip index */ smt_set_para() 1190 if (from[0] | from[1]) smt_set_para() 1194 to[0] = from[2] ; smt_set_para() 1195 to[1] = from[3] ; smt_set_para() 1198 to[1] = from[2] ; smt_set_para() 1199 to[0] = from[3] ; smt_set_para() 1202 to[0] = from[2] ; smt_set_para() 1203 to[1] = from[3] ; smt_set_para() 1205 from += 4 ; smt_set_para() 1214 if (from[0] | from[1] | from[2]) smt_set_para() 1216 to[0] = from[3] ; smt_set_para() 1218 from += 4 ; smt_set_para() 1228 to[3] = *from++ ; smt_set_para() 1229 to[2] = *from++ ; smt_set_para() 1230 to[1] = *from++ ; smt_set_para() 1231 to[0] = *from++ ; smt_set_para() 1233 to[0] = *from++ ; smt_set_para() 1234 to[1] = *from++ ; smt_set_para() 1235 to[2] = *from++ ; smt_set_para() 1236 to[3] = *from++ ; smt_set_para() 1245 memcpy(to,from+2,6) ; smt_set_para() 1247 from += 8 ; smt_set_para() 1254 memcpy(to,from,4) ; smt_set_para() 1256 from += 4 ; smt_set_para() 1263 memcpy(to,from,8) ; smt_set_para() 1265 from += 8 ; smt_set_para() 1272 memcpy(to,from,32) ; smt_set_para() 1274 from += 32 ; smt_set_para() 1279 to[0] = *from++ ; smt_set_para() 1280 to[1] = *from++ ; smt_set_para() 1281 to[2] = *from++ ; smt_set_para() 1282 to[3] = *from++ ; smt_set_para() 1283 to[4] = *from++ ; smt_set_para() 1284 to[5] = *from++ ; smt_set_para() 1285 to[6] = *from++ ; smt_set_para() 1286 to[7] = *from++ ; smt_set_para()
|
/linux-4.4.14/fs/sysv/ |
H A D | inode.c | 109 unsigned char * from, unsigned char * to) read3byte() 112 to[0] = from[0]; read3byte() 114 to[2] = from[1]; read3byte() 115 to[3] = from[2]; read3byte() 117 to[0] = from[0]; read3byte() 118 to[1] = from[1]; read3byte() 119 to[2] = from[2]; read3byte() 123 to[1] = from[0]; read3byte() 124 to[2] = from[1]; read3byte() 125 to[3] = from[2]; read3byte() 130 unsigned char * from, unsigned char * to) write3byte() 133 to[0] = from[0]; write3byte() 134 to[1] = from[2]; write3byte() 135 to[2] = from[3]; write3byte() 137 to[0] = from[0]; write3byte() 138 to[1] = from[1]; write3byte() 139 to[2] = from[2]; write3byte() 141 to[0] = from[1]; write3byte() 142 to[1] = from[2]; write3byte() 143 to[2] = from[3]; write3byte() 194 printk("Major problem: unable to read inode from dev %s\n", sysv_iget() 108 read3byte(struct sysv_sb_info *sbi, unsigned char * from, unsigned char * to) read3byte() argument 129 write3byte(struct sysv_sb_info *sbi, unsigned char * from, unsigned char * to) write3byte() argument
|
/linux-4.4.14/drivers/scsi/arm/ |
H A D | queue.h | 36 * Purpose : removes first SCSI command from a queue 37 * Params : queue - queue to remove command from 44 * Purpose : remove a SCSI command from a queue 45 * Params : queue - queue to remove command from 68 * Purpose : remove a SCSI command from the queue for a specified target/lun/tag 69 * Params : queue - queue to remove command from 80 * Purpose : remove all SCSI commands from the queue for a specified target 81 * Params : queue - queue to remove command from 100 * Purpose : remove a specific command from the queues
|
/linux-4.4.14/arch/mips/include/asm/ |
H A D | uaccess.h | 117 * to write to a block, it is always safe to read from it. 160 * This macro copies a single simple value from kernel space to user 173 * get_user: - Get a simple variable from user space. 180 * This macro copies a single simple variable from user space to kernel 201 * This macro copies a single simple value from kernel space to user 217 * __get_user: - Get a simple variable from user space, with less checking. 224 * This macro copies a single simple variable from user space to kernel 252 * to read data from kernel when operating in EVA mode. We use these macros to 388 * to read data from kernel when operating in EVA mode. We use these macros to 524 * This macro copies a single simple value from kernel space to user 537 * get_user_unaligned: - Get a simple variable from user space. 544 * This macro copies a single simple variable from user space to kernel 565 * This macro copies a single simple value from kernel space to user 581 * __get_user_unaligned: - Get a simple variable from user space, with less checking. 588 * This macro copies a single simple variable from user space to kernel 813 #define __invoke_copy_to_user(to, from, n) \ 820 __cu_from_r = (from); \ 831 #define __invoke_copy_to_kernel(to, from, n) \ 832 __invoke_copy_to_user(to, from, n) 839 * @from: Source address, in kernel space. 845 * Copy data from kernel space to user space. Caller must check 851 #define __copy_to_user(to, from, n) \ 858 __cu_from = (from); \ 872 #define __copy_to_user_inatomic(to, from, n) \ 879 __cu_from = (from); \ 890 #define __copy_from_user_inatomic(to, from, n) \ 897 __cu_from = (from); \ 913 * @from: Source address, in kernel space. 919 * Copy data from kernel space to user space. 924 #define copy_to_user(to, from, n) \ 931 __cu_from = (from); \ 950 #define __invoke_copy_from_user(to, from, n) \ 957 __cu_from_r = (from); \ 973 #define __invoke_copy_from_kernel(to, from, n) \ 974 __invoke_copy_from_user(to, from, n) 977 #define ___invoke_copy_in_user(to, from, n) \ 978 __invoke_copy_from_user(to, from, n) 981 #define ___invoke_copy_in_kernel(to, from, n) \ 982 __invoke_copy_from_user(to, from, n) 984 #define __invoke_copy_from_user_inatomic(to, from, n) \ 991 __cu_from_r = (from); \ 1007 #define __invoke_copy_from_kernel_inatomic(to, from, n) \ 1008 __invoke_copy_from_user_inatomic(to, from, n) \ 1022 #define __invoke_copy_from_user_eva_generic(to, from, n, func_ptr) \ 1029 __cu_from_r = (from); \ 1045 #define __invoke_copy_to_user_eva_generic(to, from, n, func_ptr) \ 1052 __cu_from_r = (from); \ 1067 #define __invoke_copy_from_user(to, from, n) \ 1068 __invoke_copy_from_user_eva_generic(to, from, n, __copy_from_user_eva) 1070 #define __invoke_copy_from_user_inatomic(to, from, n) \ 1071 __invoke_copy_from_user_eva_generic(to, from, n, \ 1074 #define __invoke_copy_to_user(to, from, n) \ 1075 __invoke_copy_to_user_eva_generic(to, from, n, __copy_to_user_eva) 1077 #define ___invoke_copy_in_user(to, from, n) \ 1078 __invoke_copy_from_user_eva_generic(to, from, n, __copy_in_user_eva) 1084 #define __invoke_copy_from_kernel(to, from, n) \ 1085 __invoke_copy_from_user_eva_generic(to, from, n, __copy_user) 1087 #define __invoke_copy_from_kernel_inatomic(to, from, n) \ 1088 __invoke_copy_from_user_eva_generic(to, from, n, __copy_user_inatomic) 1090 #define __invoke_copy_to_kernel(to, from, n) \ 1091 __invoke_copy_to_user_eva_generic(to, from, n, __copy_user) 1093 #define ___invoke_copy_in_kernel(to, from, n) \ 1094 __invoke_copy_from_user_eva_generic(to, from, n, __copy_user) 1099 * __copy_from_user: - Copy a block of data from user space, with less checking. 1101 * @from: Source address, in user space. 1107 * Copy data from user space to kernel space. Caller must check 1116 #define __copy_from_user(to, from, n) \ 1123 __cu_from = (from); \ 1138 * copy_from_user: - Copy a block of data from user space. 1140 * @from: Source address, in user space. 1146 * Copy data from user space to kernel space. 1154 #define copy_from_user(to, from, n) \ 1161 __cu_from = (from); \ 1178 #define __copy_in_user(to, from, n) \ 1185 __cu_from = (from); \ 1198 #define copy_in_user(to, from, n) \ 1205 __cu_from = (from); \ 1275 * __strncpy_from_user: - Copy a NUL terminated string from userspace, with less checking. 1281 * Copies a NUL-terminated string from userspace to kernel space. 1326 * strncpy_from_user: - Copy a NUL terminated string from userspace. 1332 * Copies a NUL-terminated string from userspace to kernel space.
|
H A D | stackprotector.h | 4 * (This is directly adopted from the ARM implementation) 8 * returning from the function. The pattern is called stack canary 25 * NOTE: this must only be called from functions that never return,
|
/linux-4.4.14/arch/cris/arch-v10/lib/ |
H A D | csumcpfruser.S | 14 know a user fault from a kernel fault and we would have overhead in 27 different from-user accesses. */ 32 ;; Here from the movem loop; restore stack. 38 ;; Here from the word loop; r12 is off by 2; add it back. 42 ;; Here from a failing single byte.
|
/linux-4.4.14/arch/cris/arch-v32/lib/ |
H A D | csumcpfruser.S | 14 know a user fault from a kernel fault and we would have overhead in 27 different from-user accesses. */ 32 ;; Here from the movem loop; restore stack. 38 ;; Here from the word loop; r12 is off by 2; add it back. 42 ;; Here from a failing single byte.
|
/linux-4.4.14/arch/powerpc/kernel/ |
H A D | signal.h | 3 * Extracted from signal_32.c and signal_64.c 29 void __user *from); 31 void __user *from); 38 void __user *from); 40 void __user *from);
|
/linux-4.4.14/arch/mips/include/asm/dec/ |
H A D | ecc.h | 32 * from the last memory read. The register is r/wc -- any write clears it. 35 #define KN0X_ESR_CHKHI (0x7f<<24) /* check bits read from mem */ 37 #define KN0X_ESR_SYNHI (0x7f<<16) /* syndrome from ECC logic */ 39 #define KN0X_ESR_CHKLO (0x7f<<8) /* check bits read from mem */ 41 #define KN0X_ESR_SYNLO (0x7f<<0) /* syndrome from ECC logic */
|
/linux-4.4.14/arch/mips/kernel/ |
H A D | signal32.c | 183 int copy_siginfo_to_user32(compat_siginfo_t __user *to, const siginfo_t *from) copy_siginfo_to_user32() argument 195 This routine must convert siginfo from 64bit to 32bit as well copy_siginfo_to_user32() 197 err = __put_user(from->si_signo, &to->si_signo); copy_siginfo_to_user32() 198 err |= __put_user(from->si_errno, &to->si_errno); copy_siginfo_to_user32() 199 err |= __put_user((short)from->si_code, &to->si_code); copy_siginfo_to_user32() 200 if (from->si_code < 0) copy_siginfo_to_user32() 201 err |= __copy_to_user(&to->_sifields._pad, &from->_sifields._pad, SI_PAD_SIZE); copy_siginfo_to_user32() 203 switch (from->si_code >> 16) { copy_siginfo_to_user32() 205 err |= __put_user(from->si_tid, &to->si_tid); copy_siginfo_to_user32() 206 err |= __put_user(from->si_overrun, &to->si_overrun); copy_siginfo_to_user32() 207 err |= __put_user(from->si_int, &to->si_int); copy_siginfo_to_user32() 210 err |= __put_user(from->si_utime, &to->si_utime); copy_siginfo_to_user32() 211 err |= __put_user(from->si_stime, &to->si_stime); copy_siginfo_to_user32() 212 err |= __put_user(from->si_status, &to->si_status); copy_siginfo_to_user32() 214 err |= __put_user(from->si_pid, &to->si_pid); copy_siginfo_to_user32() 215 err |= __put_user(from->si_uid, &to->si_uid); copy_siginfo_to_user32() 218 err |= __put_user((unsigned long)from->si_addr, &to->si_addr); copy_siginfo_to_user32() 221 err |= __put_user(from->si_band, &to->si_band); copy_siginfo_to_user32() 222 err |= __put_user(from->si_fd, &to->si_fd); copy_siginfo_to_user32() 226 err |= __put_user(from->si_pid, &to->si_pid); copy_siginfo_to_user32() 227 err |= __put_user(from->si_uid, &to->si_uid); copy_siginfo_to_user32() 228 err |= __put_user(from->si_int, &to->si_int); copy_siginfo_to_user32() 235 int copy_siginfo_from_user32(siginfo_t *to, compat_siginfo_t __user *from) copy_siginfo_from_user32() argument 237 if (copy_from_user(to, from, 3*sizeof(int)) || copy_siginfo_from_user32() 239 from->_sifields._pad, SI_PAD_SIZE32)) copy_siginfo_from_user32()
|
/linux-4.4.14/drivers/s390/cio/ |
H A D | blacklist.c | 46 * (Un-)blacklist the devices from-to 49 unsigned int to_ssid, unsigned int from, blacklist_range() 52 if ((from_ssid > to_ssid) || ((from_ssid == to_ssid) && (from > to))) { blacklist_range() 55 "range for cio_ignore\n", from_ssid, from, blacklist_range() 62 (from <= to))) { blacklist_range() 64 set_bit(from, bl_dev[from_ssid]); blacklist_range() 66 clear_bit(from, bl_dev[from_ssid]); blacklist_range() 67 from++; blacklist_range() 68 if (from > __MAX_SUBCHANNEL) { blacklist_range() 70 from = 0; blacklist_range() 152 unsigned int from_cssid, to_cssid, from_ssid, to_ssid, from, to; blacklist_parse_parameters() local 172 from = 0; blacklist_parse_parameters() 180 from = ipl_info.data.ccw.dev_id.devno; blacklist_parse_parameters() 185 from = ipl_info.data.fcp.dev_id.devno; blacklist_parse_parameters() 191 to = from; blacklist_parse_parameters() 198 from = to = console_devno; blacklist_parse_parameters() 201 &from_ssid, &from, msgtrigger); blacklist_parse_parameters() 210 to = from; blacklist_parse_parameters() 215 rc = blacklist_range(ra, from_ssid, to_ssid, from, to, blacklist_parse_parameters() 48 blacklist_range(range_action action, unsigned int from_ssid, unsigned int to_ssid, unsigned int from, unsigned int to, int msgtrigger) blacklist_range() argument
|
/linux-4.4.14/drivers/staging/android/uapi/ |
H A D | ashmem.h | 21 /* Return values from ASHMEM_PIN: Was the mapping purged while unpinned? */ 25 /* Return values from ASHMEM_GET_PIN_STATUS: Is the mapping pinned? */ 31 __u32 len; /* length forward from offset, in bytes, page-aligned */
|
/linux-4.4.14/arch/sparc/prom/ |
H A D | bootstr_32.c | 2 * bootstr.c: Boot string/argument acquisition from the PROM. 21 /* This check saves us from a panic when bootfd patches args. */ prom_getbootargs() 29 /* Start from 1 and go over fd(0,0,0)kernel */ prom_getbootargs()
|
/linux-4.4.14/arch/um/kernel/skas/ |
H A D | uaccess.c | 133 static int copy_chunk_from_user(unsigned long from, int len, void *arg) copy_chunk_from_user() argument 137 memcpy((void *) to, (void *) from, len); copy_chunk_from_user() 142 long __copy_from_user(void *to, const void __user *from, unsigned long n) __copy_from_user() argument 145 memcpy(to, (__force void*)from, n); __copy_from_user() 149 return buffer_op((unsigned long) from, n, 0, copy_chunk_from_user, &to); __copy_from_user() 155 unsigned long *from_ptr = arg, from = *from_ptr; copy_chunk_to_user() local 157 memcpy((void *) to, (void *) from, len); copy_chunk_to_user() 162 long __copy_to_user(void __user *to, const void *from, unsigned long n) __copy_to_user() argument 165 memcpy((__force void *) to, from, n); __copy_to_user() 169 return buffer_op((unsigned long) to, n, 1, copy_chunk_to_user, &from); __copy_to_user() 173 static int strncpy_chunk_from_user(unsigned long from, int len, void *arg) strncpy_chunk_from_user() argument 178 strncpy(to, (void *) from, len); strncpy_chunk_from_user()
|
/linux-4.4.14/block/ |
H A D | cmdline-parser.c | 35 new_subpart->from = (sector_t)memparse(partdef, &partdef); parse_subpart() 37 new_subpart->from = (sector_t)(~0ULL); parse_subpart() 230 sector_t from = 0; cmdline_parts_set() local 235 if (subpart->from == (sector_t)(~0ULL)) cmdline_parts_set() 236 subpart->from = from; cmdline_parts_set() 238 from = subpart->from; cmdline_parts_set() 240 if (from >= disk_size) cmdline_parts_set() 243 if (subpart->size > (disk_size - from)) cmdline_parts_set() 244 subpart->size = disk_size - from; cmdline_parts_set() 246 from += subpart->size; cmdline_parts_set()
|
/linux-4.4.14/net/core/ |
H A D | dev_addr_lists.c | 168 /* address on from list is not marked synced */ __hw_addr_unsync_one() 235 * This funciton is intended to be called from the ndo_set_rx_mode 281 * __hw_addr_unsync_dev - Remove synchronized addresses from device 282 * @list: address list to remove synchronized addresses from 287 * This function is intended to be called from the ndo_stop or ndo_open 375 * Get the first (previously created) address from the list dev_addr_init() 417 * Release reference to a device address and remove it from the device 431 * We can not remove the first address from the list because dev_addr_del() 508 * from the device if the reference count drops to zero. 527 * @from: source device 533 * This function is intended to be called from the dev->set_rx_mode 537 int dev_uc_sync(struct net_device *to, struct net_device *from) dev_uc_sync() argument 541 if (to->addr_len != from->addr_len) dev_uc_sync() 545 err = __hw_addr_sync(&to->uc, &from->uc, to->addr_len); dev_uc_sync() 557 * @from: source device 560 * addresses that have been deleted from the source. The source device 563 * This function is intended to be called from the dev->set_rx_mode 567 int dev_uc_sync_multiple(struct net_device *to, struct net_device *from) dev_uc_sync_multiple() argument 571 if (to->addr_len != from->addr_len) dev_uc_sync_multiple() 575 err = __hw_addr_sync_multiple(&to->uc, &from->uc, to->addr_len); dev_uc_sync_multiple() 584 * dev_uc_unsync - Remove synchronized addresses from the destination device 586 * @from: source device 589 * dev_uc_sync(). This function is intended to be called from the 592 void dev_uc_unsync(struct net_device *to, struct net_device *from) dev_uc_unsync() argument 594 if (to->addr_len != from->addr_len) dev_uc_unsync() 597 netif_addr_lock_bh(from); dev_uc_unsync() 599 __hw_addr_unsync(&to->uc, &from->uc, to->addr_len); dev_uc_unsync() 602 netif_addr_unlock_bh(from); dev_uc_unsync() 724 * from the device if the reference count drops to zero. 738 * from the device if the reference count drops to zero. 749 * @from: source device 755 * This function is intended to be called from the ndo_set_rx_mode 758 int dev_mc_sync(struct net_device *to, struct net_device *from) dev_mc_sync() argument 762 if (to->addr_len != from->addr_len) dev_mc_sync() 766 err = __hw_addr_sync(&to->mc, &from->mc, to->addr_len); dev_mc_sync() 778 * @from: source device 784 * This function is intended to be called from the ndo_set_rx_mode 788 int dev_mc_sync_multiple(struct net_device *to, struct net_device *from) dev_mc_sync_multiple() argument 792 if (to->addr_len != from->addr_len) dev_mc_sync_multiple() 796 err = __hw_addr_sync_multiple(&to->mc, &from->mc, to->addr_len); dev_mc_sync_multiple() 805 * dev_mc_unsync - Remove synchronized addresses from the destination device 807 * @from: source device 810 * dev_mc_sync(). This function is intended to be called from the 813 void dev_mc_unsync(struct net_device *to, struct net_device *from) dev_mc_unsync() argument 815 if (to->addr_len != from->addr_len) dev_mc_unsync() 818 netif_addr_lock_bh(from); dev_mc_unsync() 820 __hw_addr_unsync(&to->mc, &from->mc, to->addr_len); dev_mc_unsync() 823 netif_addr_unlock_bh(from); dev_mc_unsync()
|
/linux-4.4.14/security/ |
H A D | min_addr.c | 6 /* amount of vm to protect from userspace access by both DAC and the LSM*/ 8 /* amount of vm to protect from userspace using CAP_SYS_RAWIO (DAC) */ 10 /* amount of vm to protect from userspace using the LSM = CONFIG_LSM_MMAP_MIN_ADDR */
|
/linux-4.4.14/include/asm-generic/bitops/ |
H A D | lock.h | 7 * @addr: Address to count from 17 * @addr: the address to start counting from 30 * @addr: the address to start counting from
|
H A D | builtin-ffs.h | 10 * differs in spirit from the above ffz (man ffs).
|
H A D | ffs.h | 10 * differs in spirit from the above ffz (man ffs).
|
/linux-4.4.14/include/linux/amba/ |
H A D | pl330.h | 20 * This may be different from the value read from 23 * from another DMAC which the platform prefers.
|
/linux-4.4.14/arch/ia64/sn/kernel/sn2/ |
H A D | cache.c | 14 * sn_flush_all_caches - flush a range of address from all caches (incl. L4) 18 * Flush a range of addresses from all caches including L4. 21 * from all caches.
|
/linux-4.4.14/drivers/infiniband/hw/qib/ |
H A D | qib_pio_copy.c | 6 * General Public License (GPL) Version 2, available from the file 38 * @from: source (must be 64-bit aligned) 41 * Copy data from kernel space to MMIO space, in multiples of 32 bits at a 45 void qib_pio_copy(void __iomem *to, const void *from, size_t count) qib_pio_copy() argument 49 const u64 *src = from; qib_pio_copy() 58 const u32 *src = from; qib_pio_copy()
|
/linux-4.4.14/arch/mn10300/lib/ |
H A D | usercopy.c | 15 __generic_copy_to_user(void *to, const void *from, unsigned long n) __generic_copy_to_user() argument 18 __copy_user(to, from, n); __generic_copy_to_user() 23 __generic_copy_from_user(void *to, const void *from, unsigned long n) __generic_copy_from_user() argument 25 if (access_ok(VERIFY_READ, from, n)) __generic_copy_from_user() 26 __copy_user_zeroing(to, from, n); __generic_copy_from_user() 31 * Copy a null terminated string from userspace.
|
/linux-4.4.14/arch/ia64/lib/ |
H A D | io.c | 7 * Copy data from IO memory space to "real" memory space. 10 void memcpy_fromio(void *to, const volatile void __iomem *from, long count) memcpy_fromio() argument 16 *dst++ = readb(from++); memcpy_fromio() 22 * Copy data from "real" memory space to IO memory space. 25 void memcpy_toio(volatile void __iomem *to, const void *from, long count) memcpy_toio() argument 27 const char *src = from; memcpy_toio()
|
/linux-4.4.14/drivers/isdn/i4l/ |
H A D | isdn_v110.h | 21 * isdn_v110_decode receives V.110 coded data from the stream and rebuilds 22 * frames from them. The source stream doesn't need to be framed.
|
/linux-4.4.14/drivers/net/ethernet/brocade/bna/ |
H A D | bfi_cna.h | 76 /* @brief Mailbox commands from host to (DCBX/LLDP) firmware */ 83 /* @brief Mailbox reply and AEN messages from DCBX/LLDP firmware to host */ 109 * @brief get configuration command from host 118 * @brief reply message from firmware 128 * @brief get configuration command from host 137 * @brief reply message from firmware 146 /* @brief mailbox command structures from host to firmware */ 153 /* @brief mailbox message structures from firmware to host */
|
/linux-4.4.14/arch/um/kernel/ |
H A D | sigio.c | 11 /* Protected by sigio_lock() called from write_sigio_workaround */ 38 /* These are called from os-Linux/sigio.c to protect its pollfds arrays. */
|
/linux-4.4.14/arch/x86/um/vdso/ |
H A D | vdso.lds.S | 8 * values visible using the asm-x86/vdso.h macros from the kernel proper. 15 * This controls what userland symbols we export from the vDSO.
|
/linux-4.4.14/arch/c6x/lib/ |
H A D | checksum.c | 13 * copy from fs while checksumming, otherwise like csum_partial 32 /* These are from csum_64plus.S */
|
/linux-4.4.14/fs/ufs/ |
H A D | file.c | 8 * from 17 * from
|
H A D | symlink.c | 10 * from 19 * from
|
/linux-4.4.14/arch/score/include/asm/ |
H A D | uaccess.h | 35 * to write to a block, it is always safe to read from it. 68 * This macro copies a single simple value from kernel space to user 80 * get_user: - Get a simple variable from user space. 87 * This macro copies a single simple variable from user space to kernel 107 * This macro copies a single simple value from kernel space to user 122 * __get_user: - Get a simple variable from user space, with less checking. 129 * This macro copies a single simple variable from user space to kernel 296 extern int __copy_tofrom_user(void *to, const void *from, unsigned long len); 299 copy_from_user(void *to, const void *from, unsigned long len) copy_from_user() argument 303 if (access_ok(VERIFY_READ, from, len)) copy_from_user() 304 return __copy_tofrom_user(to, from, len); copy_from_user() 306 if ((unsigned long)from < TASK_SIZE) { copy_from_user() 307 over = (unsigned long)from + len - TASK_SIZE; copy_from_user() 308 return __copy_tofrom_user(to, from, len - over) + over; copy_from_user() 314 copy_to_user(void *to, const void *from, unsigned long len) copy_to_user() argument 319 return __copy_tofrom_user(to, from, len); copy_to_user() 323 return __copy_tofrom_user(to, from, len - over) + over; copy_to_user() 328 #define __copy_from_user(to, from, len) \ 329 __copy_tofrom_user((to), (from), (len)) 331 #define __copy_to_user(to, from, len) \ 332 __copy_tofrom_user((to), (from), (len)) 335 __copy_to_user_inatomic(void *to, const void *from, unsigned long len) __copy_to_user_inatomic() argument 337 return __copy_to_user(to, from, len); __copy_to_user_inatomic() 341 __copy_from_user_inatomic(void *to, const void *from, unsigned long len) __copy_from_user_inatomic() argument 343 return __copy_from_user(to, from, len); __copy_from_user_inatomic() 346 #define __copy_in_user(to, from, len) __copy_from_user(to, from, len) 349 copy_in_user(void *to, const void *from, unsigned long len) copy_in_user() argument 351 if (access_ok(VERIFY_READ, from, len) && copy_in_user() 353 return copy_from_user(to, from, len); copy_in_user() 377 * __strncpy_from_user: - Copy a NUL terminated string from userspace, with less checking. 383 * Copies a NUL-terminated string from userspace to kernel space.
|
/linux-4.4.14/arch/sparc/include/asm/ |
H A D | current.h | 7 * Derived from "include/asm-s390/current.h" by 9 * Derived from "include/asm-i386/current.h"
|
H A D | irqflags_32.h | 6 * This file gets included from lowlevel asm headers too, to provide 8 * arch_local_irq_*() functions from the lowlevel headers.
|
/linux-4.4.14/arch/openrisc/include/asm/ |
H A D | cache.h | 4 * Linux architectural port borrowing liberally from similar works of 22 /* FIXME: How can we replace these with values from the CPU...
|
/linux-4.4.14/arch/frv/include/asm/ |
H A D | uaccess.h | 134 * Tell gcc we read from memory instead of writing: this is because 267 #define __copy_from_user_inatomic(to, from, n) __memcpy_user((to), ____force(from), (n)) 268 #define __copy_to_user_inatomic(to, from, n) __memcpy_user(____force(to), (from), (n)) 273 #define __copy_from_user_inatomic(to, from, n) (memcpy((to), ____force(from), (n)), 0) 274 #define __copy_to_user_inatomic(to, from, n) (memcpy(____force(to), (from), (n)), 0) 281 __copy_to_user(void __user *to, const void *from, unsigned long n) __copy_to_user() argument 284 return __copy_to_user_inatomic(to, from, n); __copy_to_user() 288 __copy_from_user(void *to, const void __user *from, unsigned long n) __copy_from_user() argument 291 return __copy_from_user_inatomic(to, from, n); __copy_from_user() 294 static inline long copy_from_user(void *to, const void __user *from, unsigned long n) copy_from_user() argument 298 if (likely(__access_ok(from, n))) copy_from_user() 299 ret = __copy_from_user(to, from, n); copy_from_user() 307 static inline long copy_to_user(void __user *to, const void *from, unsigned long n) copy_to_user() argument 309 return likely(__access_ok(to, n)) ? __copy_to_user(to, from, n) : n; copy_to_user()
|
/linux-4.4.14/arch/s390/kernel/ |
H A D | compat_signal.c | 64 int copy_siginfo_to_user32(compat_siginfo_t __user *to, const siginfo_t *from) copy_siginfo_to_user32() argument 73 This routine must convert siginfo from 64bit to 32bit as well copy_siginfo_to_user32() 75 err = __put_user(from->si_signo, &to->si_signo); copy_siginfo_to_user32() 76 err |= __put_user(from->si_errno, &to->si_errno); copy_siginfo_to_user32() 77 err |= __put_user((short)from->si_code, &to->si_code); copy_siginfo_to_user32() 78 if (from->si_code < 0) copy_siginfo_to_user32() 79 err |= __copy_to_user(&to->_sifields._pad, &from->_sifields._pad, SI_PAD_SIZE); copy_siginfo_to_user32() 81 switch (from->si_code >> 16) { copy_siginfo_to_user32() 84 err |= __put_user(from->si_int, &to->si_int); copy_siginfo_to_user32() 87 err |= __put_user(from->si_pid, &to->si_pid); copy_siginfo_to_user32() 88 err |= __put_user(from->si_uid, &to->si_uid); copy_siginfo_to_user32() 91 err |= __put_user(from->si_pid, &to->si_pid); copy_siginfo_to_user32() 92 err |= __put_user(from->si_uid, &to->si_uid); copy_siginfo_to_user32() 93 err |= __put_user(from->si_utime, &to->si_utime); copy_siginfo_to_user32() 94 err |= __put_user(from->si_stime, &to->si_stime); copy_siginfo_to_user32() 95 err |= __put_user(from->si_status, &to->si_status); copy_siginfo_to_user32() 98 err |= __put_user((unsigned long) from->si_addr, copy_siginfo_to_user32() 102 err |= __put_user(from->si_band, &to->si_band); copy_siginfo_to_user32() 103 err |= __put_user(from->si_fd, &to->si_fd); copy_siginfo_to_user32() 106 err |= __put_user(from->si_tid, &to->si_tid); copy_siginfo_to_user32() 107 err |= __put_user(from->si_overrun, &to->si_overrun); copy_siginfo_to_user32() 108 err |= __put_user(from->si_int, &to->si_int); copy_siginfo_to_user32() 117 int copy_siginfo_from_user32(siginfo_t *to, compat_siginfo_t __user *from) copy_siginfo_from_user32() argument 122 err = __get_user(to->si_signo, &from->si_signo); copy_siginfo_from_user32() 123 err |= __get_user(to->si_errno, &from->si_errno); copy_siginfo_from_user32() 124 err |= __get_user(to->si_code, &from->si_code); copy_siginfo_from_user32() 127 err |= __copy_from_user(&to->_sifields._pad, &from->_sifields._pad, SI_PAD_SIZE); copy_siginfo_from_user32() 132 err |= __get_user(to->si_int, &from->si_int); copy_siginfo_from_user32() 135 err |= __get_user(to->si_pid, &from->si_pid); copy_siginfo_from_user32() 136 err |= __get_user(to->si_uid, &from->si_uid); copy_siginfo_from_user32() 139 err |= __get_user(to->si_pid, &from->si_pid); copy_siginfo_from_user32() 140 err |= __get_user(to->si_uid, &from->si_uid); copy_siginfo_from_user32() 141 err |= __get_user(to->si_utime, &from->si_utime); copy_siginfo_from_user32() 142 err |= __get_user(to->si_stime, &from->si_stime); copy_siginfo_from_user32() 143 err |= __get_user(to->si_status, &from->si_status); copy_siginfo_from_user32() 146 err |= __get_user(tmp, &from->si_addr); copy_siginfo_from_user32() 151 err |= __get_user(to->si_band, &from->si_band); copy_siginfo_from_user32() 152 err |= __get_user(to->si_fd, &from->si_fd); copy_siginfo_from_user32() 155 err |= __get_user(to->si_tid, &from->si_tid); copy_siginfo_from_user32() 156 err |= __get_user(to->si_overrun, &from->si_overrun); copy_siginfo_from_user32() 157 err |= __get_user(to->si_int, &from->si_int); copy_siginfo_from_user32() 272 /* Restore high gprs from signal stack */ restore_sigregs_ext32() 279 /* Restore vector registers from signal stack */ restore_sigregs_ext32() 409 /* Place signal number on stack to allow backtrace from handler. */ setup_frame32() 417 /* Set up to return from userspace. If provided, use a stub setup_frame32() 485 /* Set up to return from userspace. If provided, use a stub setup_rt_frame32()
|
/linux-4.4.14/drivers/media/common/b2c2/ |
H A D | flexcop-common.h | 28 /* Steal from usb.h */ 110 /* from flexcop.c */ 121 /* from flexcop-dma.c */ 138 /* from flexcop-eeprom.c */ 142 /* from flexcop-i2c.c */ 150 /* from flexcop-sram.c */ 158 /* from flexcop-fe-tuner.c */ 162 /* from flexcop-i2c.c */ 166 /* from flexcop-sram.c */ 169 /* from flexcop-misc.c */ 176 /* from flexcop-hw-filter.c */
|
/linux-4.4.14/fs/ubifs/ |
H A D | key.h | 34 * node. We use "r5" hash borrowed from reiserfs. 57 * key_r5_hash - R5 hash function (borrowed from reiserfs). 346 * key_inum - fetch inode number from key. 348 * @k: key to fetch inode number from 358 * key_inum_flash - fetch inode number from an on-flash formatted key. 360 * @k: key to fetch inode number from 372 * @key: the key to get hash from 381 * key_hash_flash - get directory entry hash from an on-flash formatted key. 383 * @k: the key to get hash from 395 * @key: the key to get the block number from 404 * key_block_flash - get data block number from an on-flash formatted key. 406 * @k: the key to get the block number from 419 * @from: the key to transform 422 static inline void key_read(const struct ubifs_info *c, const void *from, key_read() argument 425 const union ubifs_key *f = from; key_read() 432 * key_write - transform a key from in-memory format. 434 * @from: the key to transform 438 const union ubifs_key *from, void *to) key_write() 442 t->j32[0] = cpu_to_le32(from->u32[0]); key_write() 443 t->j32[1] = cpu_to_le32(from->u32[1]); key_write() 448 * key_write_idx - transform a key from in-memory format for the index. 450 * @from: the key to transform 454 const union ubifs_key *from, void *to) key_write_idx() 458 t->j32[0] = cpu_to_le32(from->u32[0]); key_write_idx() 459 t->j32[1] = cpu_to_le32(from->u32[1]); key_write_idx() 465 * @from: the key to copy from 469 const union ubifs_key *from, union ubifs_key *to) key_copy() 471 to->u64[0] = from->u64[0]; key_copy() 437 key_write(const struct ubifs_info *c, const union ubifs_key *from, void *to) key_write() argument 453 key_write_idx(const struct ubifs_info *c, const union ubifs_key *from, void *to) key_write_idx() argument 468 key_copy(const struct ubifs_info *c, const union ubifs_key *from, union ubifs_key *to) key_copy() argument
|
/linux-4.4.14/drivers/firewire/ |
H A D | nosy-user.h | 18 * Format of packets returned from the kernel driver:
|
/linux-4.4.14/drivers/base/ |
H A D | dma-coherent.c | 3 * Borrowed from i386 141 * dma_alloc_from_coherent() - try to allocate memory from the per-device coherent area 143 * @dev: device from which we allocate memory 149 * This function should be only called from per-arch dma_alloc_coherent() 150 * to support allocation from per-device coherent memory pools. 152 * Returns 0 if dma_alloc_coherent should continue with allocating from 192 * In the case where the allocation can not be satisfied from the dma_alloc_from_coherent() 201 * dma_release_from_coherent() - try to free the memory allocated from per-device coherent memory pool 202 * @dev: device from which the memory was allocated 206 * This checks whether the memory was allocated from the per-device 210 * dma_release_coherent() should proceed with releasing memory from 232 * dma_mmap_from_coherent() - try to mmap the memory allocated from 234 * @dev: device from which the memory was allocated 238 * @ret: result from remap_pfn_range() 240 * This checks whether the memory was allocated from the per-device 244 * proceed with mapping memory from generic pools.
|
/linux-4.4.14/arch/x86/entry/vdso/ |
H A D | vdso.lds.S | 14 * This controls what userland symbols we export from the vDSO.
|
H A D | vdsox32.lds.S | 14 * This controls what userland symbols we export from the vDSO.
|
/linux-4.4.14/arch/x86/um/ |
H A D | bug.c | 9 * Mostly copied from i386/x86_86 - eliminated the eip < PAGE_OFFSET because
|
/linux-4.4.14/arch/xtensa/include/asm/ |
H A D | signal.h | 4 * Swiped from SH.
|
/linux-4.4.14/arch/alpha/lib/ |
H A D | strcpy.S | 5 * Copy a null-terminated string from SRC to DST. Return a pointer
|
/linux-4.4.14/security/apparmor/ |
H A D | Makefile | 14 # Transforms lines from 30 # Transforms lines from 39 # Transforms lines from 45 # Transforms lines from
|
/linux-4.4.14/include/net/netfilter/ipv4/ |
H A D | nf_conntrack_ipv4.h | 5 * - move L3 protocol dependent part from include/linux/netfilter_ipv4/
|
/linux-4.4.14/include/drm/ |
H A D | drm_os_linux.h | 25 /** Read a byte from a MMIO region */ 27 /** Read a word from a MMIO region */ 29 /** Read a dword from a MMIO region */ 38 /** Read a qword from a MMIO region - be careful using these unless you really understand them */
|
/linux-4.4.14/include/uapi/asm-generic/ |
H A D | bitsperlong.h | 5 * There seems to be no way of detecting this automatically from user
|
/linux-4.4.14/include/linux/platform_data/ |
H A D | ad7303.h | 15 * to the REF pin, otherwise use the internal reference derived from Vdd.
|
H A D | pinctrl-single.h | 5 * Note that the irq and rearm setup should come from device
|
/linux-4.4.14/arch/powerpc/sysdev/ |
H A D | ipic.h | 50 u8 ack; /* pending register offset from base if the irq 52 u8 mask; /* mask register offset from base */ 53 u8 prio; /* priority register offset from base */ 54 u8 force; /* force register offset from base */
|
/linux-4.4.14/arch/mips/include/asm/mach-ar7/ |
H A D | irq.h | 6 * Shamelessly copied from asm-mips/mach-emma2rh/
|
/linux-4.4.14/arch/mips/include/asm/sn/ |
H A D | klkernvars.h | 2 * File ported from IRIX to Linux by Kanoj Sarcar, 06/08/00.
|