/linux-4.4.14/Documentation/filesystems/ |
H A D | Makefile | 1 # List of programs to build 4 # Tell kbuild to always build the programs
|
/linux-4.4.14/Documentation/laptops/ |
H A D | Makefile | 1 # List of programs to build 4 # Tell kbuild to always build the programs
|
/linux-4.4.14/arch/sparc/include/asm/ |
H A D | user.h | 4 /* Nothing to define. */
|
/linux-4.4.14/sound/oss/ |
H A D | midi_ctrl.h | 3 0x40,0x00,0x40,0x40, 0x40,0x40,0x40,0x7f, /* 0 to 7 */ 4 0x40,0x40,0x40,0x7f, 0x40,0x40,0x40,0x40, /* 8 to 15 */ 5 0x40,0x40,0x40,0x40, 0x40,0x40,0x40,0x40, /* 16 to 23 */ 6 0x40,0x40,0x40,0x40, 0x40,0x40,0x40,0x40, /* 24 to 31 */ 8 0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00, /* 32 to 39 */ 9 0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00, /* 40 to 47 */ 10 0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00, /* 48 to 55 */ 11 0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00, /* 56 to 63 */ 13 0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00, /* 64 to 71 */ 14 0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00, /* 72 to 79 */ 15 0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00, /* 80 to 87 */ 16 0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00, /* 88 to 95 */ 18 0x00,0x00,0x7f,0x7f, 0x7f,0x7f,0x00,0x00, /* 96 to 103 */ 19 0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00, /* 104 to 111 */ 20 0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00, /* 112 to 119 */ 21 0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00, /* 120 to 127 */
|
/linux-4.4.14/arch/x86/um/asm/ |
H A D | required-features.h | 5 * Nothing to see, just need something for the i386 and x86_64 asm 6 * headers to include.
|
/linux-4.4.14/Documentation/watchdog/src/ |
H A D | Makefile | 1 # List of programs to build 4 # Tell kbuild to always build the programs
|
H A D | watchdog-test.c | 18 * This function simply sends an IOCTL to the driver, which in turn ticks 19 * the PC Watchdog card to reset its internal timer so it doesn't trigger 30 * The main program. Run the program with "-d" to disable the card, 31 * or "-e" to enable the card. 70 fprintf(stderr, "Watchdog timeout set to %u seconds.\n", flags); main() 75 fprintf(stderr, "Watchdog ping rate set to %u seconds.\n", ping_rate); main() 78 fprintf(stderr, "-d to disable, -e to enable, -t <n> to set " \ main() 79 "the timeout,\n-p <n> to set the ping rate, and \n"); main() 80 fprintf(stderr, "run by itself to tick the card.\n"); main()
|
/linux-4.4.14/kernel/trace/ |
H A D | trace_selftest_dynamic.c | 5 /* used to call mcount */ DYN_FTRACE_TEST_NAME() 11 /* used to call mcount */ DYN_FTRACE_TEST_NAME2()
|
/linux-4.4.14/Documentation/accounting/ |
H A D | Makefile | 1 # List of programs to build 4 # Tell kbuild to always build the programs
|
/linux-4.4.14/Documentation/ia64/ |
H A D | Makefile | 1 # List of programs to build 4 # Tell kbuild to always build the programs
|
/linux-4.4.14/Documentation/pcmcia/ |
H A D | Makefile | 1 # List of programs to build 4 # Tell kbuild to always build the programs
|
/linux-4.4.14/Documentation/timers/ |
H A D | Makefile | 1 # List of programs to build 4 # Tell kbuild to always build the programs
|
/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 9 if (!access_ok(VERIFY_WRITE, to, sizeof(compat_siginfo_t))) copy_siginfo_to_user32() 16 to avoid security leaks, but must copy the generic copy_siginfo_to_user32() 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() 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() 32 &to->_sifields._pad[0]); 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() 60 &to->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 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() 91 to->si_ptr = compat_ptr(ptr32); copy_siginfo_from_user32()
|
/linux-4.4.14/drivers/media/platform/davinci/ |
H A D | ccdc_hw_device.h | 15 * along with this program; if not, write to the Free Software 33 /* Pointer to initialize function to initialize ccdc device */ 35 /* Pointer to deinitialize function */ 39 /* Pointer to function to enable or disable ccdc */ 43 /* enable output to sdram */ 45 /* Pointer to function to set hw parameters */ 50 * Pointer to function to set parameters. Used 55 * Pointer to function to get parameter. Used 59 /* Pointer to function to configure ccdc */ 62 /* Pointer to function to set buffer type */ 64 /* Pointer to function to get buffer type */ 66 /* Pointer to function to set frame format */ 68 /* Pointer to function to get frame format */ 72 /* Pointer to function to set buffer type */ 74 /* Pointer to function to get pixel format. */ 76 /* Pointer to function to set image window */ 78 /* Pointer to function to set image window */ 80 /* Pointer to function to get line length */ 90 /* Pointer to function to set frame buffer address */ 92 /* Pointer to function to get field id */ 105 /* Used by CCDC module to register & unregister with vpfe capture driver */
|
/linux-4.4.14/arch/cris/include/arch-v10/arch/ |
H A D | uaccess.h | 11 * because we do not write to any memory gcc knows about, so there 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, "", "", "") 345 /* And now, the to-user ones. */ 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, "", "", "") 508 #define __asm_clear(to, ret, CLEAR, FIXUP, TENTRY) \ 519 : "=r" (to), "=r" (ret) \ 520 : "0" (to), "1" (ret) \ 523 #define __asm_clear_1(to, ret) \ 524 __asm_clear(to, ret, \ 529 #define __asm_clear_2(to, ret) \ 530 __asm_clear(to, ret, \ 535 #define __asm_clear_3(to, ret) \ 536 __asm_clear(to, ret, \ 544 #define __asm_clear_4x_cont(to, ret, CLEAR, FIXUP, TENTRY) \ 545 __asm_clear(to, ret, \ 550 #define __asm_clear_4(to, ret) \ 551 __asm_clear_4x_cont(to, ret, "", "", "") 553 #define __asm_clear_8x_cont(to, ret, CLEAR, FIXUP, TENTRY) \ 554 __asm_clear_4x_cont(to, ret, \ 559 #define __asm_clear_8(to, ret) \ 560 __asm_clear_8x_cont(to, ret, "", "", "") 562 #define __asm_clear_12x_cont(to, ret, CLEAR, FIXUP, TENTRY) \ 563 __asm_clear_8x_cont(to, ret, \ 568 #define __asm_clear_12(to, ret) \ 569 __asm_clear_12x_cont(to, ret, "", "", "") 571 #define __asm_clear_16x_cont(to, ret, CLEAR, FIXUP, TENTRY) \ 572 __asm_clear_12x_cont(to, ret, \ 577 #define __asm_clear_16(to, ret) \ 578 __asm_clear_16x_cont(to, ret, "", "", "") 580 #define __asm_clear_20x_cont(to, ret, CLEAR, FIXUP, TENTRY) \ 581 __asm_clear_16x_cont(to, ret, \ 586 #define __asm_clear_20(to, ret) \ 587 __asm_clear_20x_cont(to, ret, "", "", "") 589 #define __asm_clear_24x_cont(to, ret, CLEAR, FIXUP, TENTRY) \ 590 __asm_clear_20x_cont(to, ret, \ 595 #define __asm_clear_24(to, ret) \ 596 __asm_clear_24x_cont(to, ret, "", "", "")
|
/linux-4.4.14/arch/cris/include/arch-v32/arch/ |
H A D | uaccess.h | 10 * because we do not write to any memory gcc knows about, so there 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, "", "", "") 383 /* And now, the to-user ones. */ 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, "", "", "") 579 #define __asm_clear(to, ret, CLEAR, FIXUP, TENTRY) \ 589 : "=b" (to), "=r" (ret) \ 590 : "0" (to), "1" (ret) \ 593 #define __asm_clear_1(to, ret) \ 594 __asm_clear(to, ret, \ 600 #define __asm_clear_2(to, ret) \ 601 __asm_clear(to, ret, \ 607 #define __asm_clear_3(to, ret) \ 608 __asm_clear(to, ret, \ 617 #define __asm_clear_4x_cont(to, ret, CLEAR, FIXUP, TENTRY) \ 618 __asm_clear(to, ret, \ 627 #define __asm_clear_4(to, ret) \ 628 __asm_clear_4x_cont(to, ret, "", "", "") 630 #define __asm_clear_8x_cont(to, ret, CLEAR, FIXUP, TENTRY) \ 631 __asm_clear_4x_cont(to, ret, \ 639 #define __asm_clear_8(to, ret) \ 640 __asm_clear_8x_cont(to, ret, "", "", "") 642 #define __asm_clear_12x_cont(to, ret, CLEAR, FIXUP, TENTRY) \ 643 __asm_clear_8x_cont(to, ret, \ 651 #define __asm_clear_12(to, ret) \ 652 __asm_clear_12x_cont(to, ret, "", "", "") 654 #define __asm_clear_16x_cont(to, ret, CLEAR, FIXUP, TENTRY) \ 655 __asm_clear_12x_cont(to, ret, \ 663 #define __asm_clear_16(to, ret) \ 664 __asm_clear_16x_cont(to, ret, "", "", "") 666 #define __asm_clear_20x_cont(to, ret, CLEAR, FIXUP, TENTRY) \ 667 __asm_clear_16x_cont(to, ret, \ 675 #define __asm_clear_20(to, ret) \ 676 __asm_clear_20x_cont(to, ret, "", "", "") 678 #define __asm_clear_24x_cont(to, ret, CLEAR, FIXUP, TENTRY) \ 679 __asm_clear_20x_cont(to, ret, \ 687 #define __asm_clear_24(to, ret) \ 688 __asm_clear_24x_cont(to, ret, "", "", "")
|
H A D | page.h | 7 #define PAGE_OFFSET KSEG_C /* kseg_c is mapped to physical ram. */ 10 * Macros to convert between physical and virtual addresses. By stripping a 11 * selected bit it's possible to convert between KSEG_x and 0x40000000 where the
|
/linux-4.4.14/samples/hidraw/ |
H A D | Makefile | 1 # kbuild trick to avoid linker error. Can be omitted if a module is built. 4 # List of programs to build 7 # Tell kbuild to always build the programs
|
/linux-4.4.14/samples/uhid/ |
H A D | Makefile | 1 # kbuild trick to avoid linker error. Can be omitted if a module is built. 4 # List of programs to build 7 # Tell kbuild to always build the programs
|
/linux-4.4.14/include/uapi/linux/netfilter/ |
H A D | xt_connbytes.h | 20 __aligned_u64 from; /* count to be matched */ 21 __aligned_u64 to; /* count to be matched */ member in struct:xt_connbytes_info::__anon14290
|
/linux-4.4.14/drivers/scsi/qla2xxx/ |
H A D | qla_devtbl.h | 7 "QLA2340", "133MHz PCI-X to 2Gb FC, Single Channel", /* 0x100 */ 8 "QLA2342", "133MHz PCI-X to 2Gb FC, Dual Channel", /* 0x101 */ 9 "QLA2344", "133MHz PCI-X to 2Gb FC, Quad Channel", /* 0x102 */ 10 "QCP2342", "cPCI to 2Gb FC, Dual Channel", /* 0x103 */ 11 "QSB2340", "SBUS to 2Gb FC, Single Channel", /* 0x104 */ 12 "QSB2342", "SBUS to 2Gb FC, Dual Channel", /* 0x105 */ 13 "QLA2310", "Sun 66MHz PCI-X to 2Gb FC, Single Channel", /* 0x106 */ 14 "QLA2332", "Sun 66MHz PCI-X to 2Gb FC, Single Channel", /* 0x107 */ 15 "QCP2332", "Sun cPCI to 2Gb FC, Dual Channel", /* 0x108 */ 16 "QCP2340", "cPCI to 2Gb FC, Single Channel", /* 0x109 */ 17 "QLA2342", "Sun 133MHz PCI-X to 2Gb FC, Dual Channel", /* 0x10a */ 18 "QCP2342", "Sun - cPCI to 2Gb FC, Dual Channel", /* 0x10b */ 19 "QLA2350", "133MHz PCI-X to 2Gb FC, Single Channel", /* 0x10c */ 20 "QLA2352", "133MHz PCI-X to 2Gb FC, Dual Channel", /* 0x10d */ 21 "QLA2352", "Sun 133MHz PCI-X to 2Gb FC, Dual Channel", /* 0x10e */ 28 "QLA2360", "133MHz PCI-X to 2Gb FC, Single Channel", /* 0x115 */ 29 "QLA2362", "133MHz PCI-X to 2Gb FC, Dual Channel", /* 0x116 */ 30 "QLE2360", "PCI-Express to 2Gb FC, Single Channel", /* 0x117 */ 31 "QLE2362", "PCI-Express to 2Gb FC, Dual Channel", /* 0x118 */ 32 "QLA200", "133MHz PCI-X to 2Gb FC Optical", /* 0x119 */ 35 "QLA200P", "133MHz PCI-X to 2Gb FC SFP", /* 0x11c */ 54 "QLA210", "133MHz PCI-X to 2Gb FC, Single Channel", /* 0x12f */ 55 "EMC 250", "133MHz PCI-X to 2Gb FC, Single Channel", /* 0x130 */ 56 "HP A7538A", "HP 1p2g PCI-X to 2Gb FC, Single Channel", /* 0x131 */ 57 "QLA210", "Sun 133MHz PCI-X to 2Gb FC, Single Channel", /* 0x132 */ 58 "QLA2460", "PCI-X 2.0 to 4Gb FC, Single Channel", /* 0x133 */ 59 "QLA2462", "PCI-X 2.0 to 4Gb FC, Dual Channel", /* 0x134 */ 62 "QLE2460", "PCI-Express to 4Gb FC, Single Channel", /* 0x137 */ 63 "QLE2462", "PCI-Express to 4Gb FC, Dual Channel", /* 0x138 */ 64 "QME2462", "Dell BS PCI-Express to 4Gb FC, Dual Channel", /* 0x139 */ 69 "QLE210", "PCI-Express to 2Gb FC, Single Channel", /* 0x13e */ 70 "QLE220", "PCI-Express to 4Gb FC, Single Channel", /* 0x13f */ 71 "QLA2460", "Sun PCI-X 2.0 to 4Gb FC, Single Channel", /* 0x140 */ 72 "QLA2462", "Sun PCI-X 2.0 to 4Gb FC, Dual Channel", /* 0x141 */ 73 "QLE2460", "Sun PCI-Express to 2Gb FC, Single Channel", /* 0x142 */ 74 "QLE2462", "Sun PCI-Express to 4Gb FC, Single Channel", /* 0x143 */ 76 "QLE2440", "PCI-Express to 4Gb FC, Single Channel", /* 0x145 */ 77 "QLE2464", "PCI-Express to 4Gb FC, Quad Channel", /* 0x146 */ 78 "QLA2440", "PCI-X 2.0 to 4Gb FC, Single Channel", /* 0x147 */ 79 "HP AE369A", "PCI-X 2.0 to 4Gb FC, Dual Channel", /* 0x148 */ 80 "QLA2340", "Sun 133MHz PCI-X to 2Gb FC, Single Channel", /* 0x149 */ 85 "QLE220", "Sun PCI-Express to 4Gb FC, Single Channel", /* 0x14e */ 89 "QME2462", "PCI-Express to 4Gb FC, Dual Channel Mezz HBA", /* 0x152 */ 90 "QMH2462", "PCI-Express to 4Gb FC, Dual Channel Mezz HBA", /* 0x153 */ 92 "QLE220", "PCI-Express to 4Gb FC, Single Channel", /* 0x155 */ 93 "QLE220", "PCI-Express to 4Gb FC, Single Channel", /* 0x156 */ 98 "QME2472", "Dell BS PCI-Express to 4Gb FC, Dual Channel", /* 0x15b */
|
H A D | qla_settings.h | 9 /* Max time to wait for the loop to be in LOOP_READY state */
|
/linux-4.4.14/Documentation/auxdisplay/ |
H A D | Makefile | 1 # List of programs to build 4 # Tell kbuild to always build the programs
|
/linux-4.4.14/Documentation/misc-devices/mei/ |
H A D | Makefile | 1 # List of programs to build 4 # Tell kbuild to always build the programs
|
/linux-4.4.14/Documentation/ptp/ |
H A D | Makefile | 1 # List of programs to build 4 # Tell kbuild to always build the programs
|
/linux-4.4.14/Documentation/spi/ |
H A D | Makefile | 1 # List of programs to build 4 # Tell kbuild to always build the programs
|
/linux-4.4.14/include/linux/input/ |
H A D | cy8ctmg110_pdata.h | 6 int reset_pin; /* Reset pin is wired to this GPIO (optional) */ 7 int irq_pin; /* IRQ pin is wired to this GPIO */
|
/linux-4.4.14/arch/cris/include/asm/ |
H A D | uaccess.h | 6 /* Asm:s have been tweaked (within the domain of correctness) to give 12 first in line to be used (notably for local blocks), not colliding with 38 * the KERNEL_DS and USER_DS values to both assign and compare the 62 * address of an instruction that is allowed to fault, and the second is 64 * modified, so it is entirely up to the continuation code to figure out 65 * what to do. 69 * we don't even have to jump over them. Further, they do not intrude 81 * This gets kind of ugly. We want to return _two_ values in "get_user()" 82 * and yet we don't want to do any pointers, because that is too much 89 * accesses to the same area of user memory). 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); 195 extern unsigned long __do_clear_user(void __user *to, unsigned long n); 198 __generic_copy_to_user(void __user *to, const void *from, unsigned long n) __generic_copy_to_user() argument 200 if (access_ok(VERIFY_WRITE, to, n)) __generic_copy_to_user() 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 209 return __copy_user_zeroing(to, from, n); __generic_copy_from_user() 214 __generic_clear_user(void __user *to, unsigned long n) __generic_clear_user() argument 216 if (access_ok(VERIFY_WRITE, to, n)) __generic_clear_user() 217 return __do_clear_user(to, n); __generic_clear_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() 344 __constant_clear_user(void __user *to, unsigned long n) __constant_clear_user() argument 351 __asm_clear_1(to, ret); __constant_clear_user() 353 __asm_clear_2(to, ret); __constant_clear_user() 355 __asm_clear_3(to, ret); __constant_clear_user() 357 __asm_clear_4(to, ret); __constant_clear_user() 359 __asm_clear_8(to, ret); __constant_clear_user() 361 __asm_clear_12(to, ret); __constant_clear_user() 363 __asm_clear_16(to, ret); __constant_clear_user() 365 __asm_clear_20(to, ret); __constant_clear_user() 367 __asm_clear_24(to, ret); __constant_clear_user() 369 ret = __generic_clear_user(to, n); __constant_clear_user() 375 #define clear_user(to, n) \ 377 __constant_clear_user(to, n) : \ 378 __generic_clear_user(to, n)) 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() 409 __generic_clear_user_nocheck(void __user *to, unsigned long n) __generic_clear_user_nocheck() argument 411 return __do_clear_user(to, n); __generic_clear_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)) 422 #define __clear_user(to, n) __generic_clear_user_nocheck((to), (n))
|
/linux-4.4.14/include/linux/platform_data/ |
H A D | max6697.h | 21 bool smbus_timeout_disable; /* set to disable SMBus timeouts */ 22 bool extended_range_enable; /* set to enable extended temp range */ 23 bool beta_compensation; /* set to enable beta compensation */ 24 u8 alert_mask; /* set bit to 1 to disable alert */ 25 u8 over_temperature_mask; /* set bit to 1 to disable */ 26 u8 resistance_cancellation; /* set bit to 0 to disable 30 u8 ideality_mask; /* set bit to 0 to disable */
|
H A D | ad7791.h | 6 * @buffered: If set to true configure the device for buffered input mode. 7 * @burnout_current: If set to true the 100mA burnout current is enabled. 8 * @unipolar: If set to true sample in unipolar mode, if set to false sample in
|
H A D | ad7887.h | 13 * @en_dual: Whether to use dual channel mode. If set to true AIN1 becomes the 14 * second input channel, and Vref is internally connected to Vdd. If set to 17 * @use_onchip_ref: Whether to use the onchip reference. If set to true the 18 * internal 2.5V reference is used. If set to false a external reference is
|
H A D | adau1977.h | 15 * @ADAU1977_MICBIAS_5V0: MICBIAS is set to 5.0 V 16 * @ADAU1977_MICBIAS_5V5: MICBIAS is set to 5.5 V 17 * @ADAU1977_MICBIAS_6V0: MICBIAS is set to 6.0 V 18 * @ADAU1977_MICBIAS_6V5: MICBIAS is set to 6.5 V 19 * @ADAU1977_MICBIAS_7V0: MICBIAS is set to 7.0 V 20 * @ADAU1977_MICBIAS_7V5: MICBIAS is set to 7.5 V 21 * @ADAU1977_MICBIAS_8V0: MICBIAS is set to 8.0 V 22 * @ADAU1977_MICBIAS_8V5: MICBIAS is set to 8.5 V 23 * @ADAU1977_MICBIAS_9V0: MICBIAS is set to 9.0 V
|
H A D | efm32-spi.h | 8 * @location: pinmux location for the I/O pins (to be written to the ROUTE
|
H A D | efm32-uart.h | 12 * @location: pinmux location for the I/O pins (to be written to the ROUTE
|
H A D | spi-imx.h | 9 * to MXC_SPI_CS(). Normally you want to use gpio based chip 10 * selects as the CSPI module tries to be intelligent about 11 * when to assert the chipselect: The CSPI module deasserts the 13 * is that it is not possible to mix between high active and low 15 * chipselects. Unfortunately Freescale decided to put some 17 * so we have to support the internal chipselects.
|
H A D | video_s3c.h | 5 * Set to the maximum number of windows that any of the supported hardware 7 * set to the maximum of any version of the hardware can do is safe. 29 * @setup_gpio: Setup the external GPIO pins to the right state to transfer 30 * the data from the display system to the connected display 32 * @vidcon0: The base vidcon0 values to control the panel data format. 33 * @vidcon1: The base vidcon1 values to control the panel data output. 34 * @vtiming: Video timing when connected to a RGB type panel. 39 * it requires to work with the display(s) attached to the machine. It
|
H A D | sht15.h | 20 * @gpio_data: no. of gpio to which bidirectional data line is 22 * @gpio_sck: no. of gpio to which the data clock is connected. 25 * @checksum: flag to indicate the checksum should be validated. 26 * @no_otp_reload: flag to indicate no reload from OTP. 27 * @low_resolution: flag to indicate the temp/humidity resolution to use.
|
H A D | ad7291.h | 6 * @use_external_ref: Whether to use an external or internal reference voltage
|
/linux-4.4.14/include/asm-generic/ |
H A D | mutex-dec.h | 11 * __mutex_fastpath_lock - try to take the lock by moving the count 12 * from 1 to a 0 value 14 * @fail_fn: function to call if the original value was not 1 16 * Change the count from 1 to a value lower than 1, and call <fail_fn> if 28 * __mutex_fastpath_lock_retval - try to take the lock by moving the count 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 46 * @fail_fn: function to call if the original value was not 0 48 * Try to promote the count from 0 to 1. If it wasn't 0, call <fail_fn>. 49 * In the failure case, this function is allowed to either set the value to 50 * 1, or to set it to a value lower than 1. 52 * If the implementation sets it to a value of lower than 1, then the 53 * __mutex_slowpath_needs_to_unlock() macro needs to return 1, it needs 54 * to return 0 otherwise. 66 * __mutex_fastpath_trylock - try to acquire the mutex, without waiting 71 * Change the count from 1 to a value lower than 1, and return 0 (failure) 75 * it to 0 on failure.
|
H A D | cache.h | 4 * 32 bytes appears to be the most common cache line size, 6 * cache lines need to provide their own cache.h.
|
H A D | getorder.h | 29 * @size: The size for which to get the order 35 * 1 -> 2^1 * PAGE_SIZE to 2^0 * PAGE_SIZE + 1 36 * 2 -> 2^2 * PAGE_SIZE to 2^1 * PAGE_SIZE + 1 37 * 3 -> 2^3 * PAGE_SIZE to 2^2 * PAGE_SIZE + 1 38 * 4 -> 2^4 * PAGE_SIZE to 2^3 * PAGE_SIZE + 1 41 * The order returned is used to find the smallest allocation granule required 42 * to hold an object of the specified size. 46 * This function may be used to initialise variables with compile time
|
H A D | mutex-xchg.h | 16 * __mutex_fastpath_lock - try to take the lock by moving the count 17 * from 1 to a 0 value 19 * @fail_fn: function to call if the original value was not 1 21 * Change the count from 1 to a value lower than 1, and call <fail_fn> if it 30 * We failed to acquire the lock, so mark it contended __mutex_fastpath_lock() 31 * to ensure that any waiting tasks are woken up by the __mutex_fastpath_lock() 39 * __mutex_fastpath_lock_retval - try to take the lock by moving the count 40 * from 1 to a 0 value 43 * Change the count from 1 to a value lower than 1. This function returns 0 56 * __mutex_fastpath_unlock - try to promote the mutex from 0 to 1 58 * @fail_fn: function to call if the original value was not 0 60 * try to promote the mutex from 0 to 1. if it wasn't 0, call <function> 61 * In the failure case, this function is allowed to either set the value to 62 * 1, or to set it to a value lower than one. 63 * If the implementation sets it to a value of lower than one, the 64 * __mutex_slowpath_needs_to_unlock() macro needs to return 1, it needs 65 * to return 0 otherwise. 77 * __mutex_fastpath_trylock - try to acquire the mutex, without waiting 82 * Change the count from 1 to a value lower than 1, and return 0 (failure) 86 * it to 0 on failure. 102 * [ In the rare case of the mutex going to 1, to 0, to -1 __mutex_fastpath_trylock() 103 * and then back to 0 in this few-instructions window, __mutex_fastpath_trylock() 104 * this has the potential to trigger the slowpath for the __mutex_fastpath_trylock()
|
H A D | syscall.h | 2 * Access to user system call parameters and results 6 * This copyrighted material is made available to anyone wishing to use, 7 * modify, copy, or redistribute it subject to the terms and conditions 11 * asm-ARCH/syscall.h files need to define. Most arch definitions 14 * All of these functions expect to be called with no locks, 16 * cannot return to user mode while we are looking at it. 31 * tracing about to attempt one, returns the system call number. 37 * is 64 bits, this truncates to 32 bits so 0xffffffff means -1. 39 * It's only valid to call this when @task is known to be blocked. 48 * It's only valid to call this when @task is stopped for system 49 * call exit tracing (due to TIF_SYSCALL_TRACE or TIF_SYSCALL_AUDIT), 50 * after tracehook_report_syscall_entry() returned nonzero to prevent 68 * It's only valid to call this when @task is stopped for tracing on exit 69 * from a system call, due to %TIF_SYSCALL_TRACE or %TIF_SYSCALL_AUDIT. 81 * It's only valid to call this when @task is stopped for tracing on exit 82 * from a system call, due to %TIF_SYSCALL_TRACE or %TIF_SYSCALL_AUDIT. 90 * @error: negative error code, or zero to indicate success 98 * It's only valid to call this when @task is stopped for tracing on exit 99 * from a system call, due to %TIF_SYSCALL_TRACE or %TIF_SYSCALL_AUDIT. 112 * Fetches @n arguments to the system call starting with the @i'th argument 116 * It's only valid to call this when @task is stopped for tracing on 117 * entry to a system call, due to %TIF_SYSCALL_TRACE or %TIF_SYSCALL_AUDIT. 118 * It's invalid to call this with @i + @n > 6; we only support system calls 119 * taking up to 6 arguments. 130 * @args: array of argument values to store 132 * Changes @n arguments to the system call starting with the @i'th argument. 136 * It's only valid to call this when @task is stopped for tracing on 137 * entry to a system call, due to %TIF_SYSCALL_TRACE or %TIF_SYSCALL_AUDIT. 138 * It's invalid to call this with @i + @n > 6; we only support system calls 139 * taking up to 6 arguments. 150 * It's only valid to call this when current is stopped on entry to a system 151 * call, due to %TIF_SYSCALL_TRACE, %TIF_SYSCALL_AUDIT, or %TIF_SECCOMP.
|
H A D | bugs.h | 4 * This file is included by 'init/main.c' to check for
|
H A D | device.h | 2 * Arch specific extensions to struct device
|
H A D | segment.h | 6 * New architectures probably don't want to have their own version.
|
/linux-4.4.14/arch/ia64/include/asm/ |
H A D | mutex.h | 12 * __mutex_fastpath_lock - try to take the lock by moving the count 13 * from 1 to a 0 value 15 * @fail_fn: function to call if the original value was not 1 17 * Change the count from 1 to a value lower than 1, and call <fail_fn> if 29 * __mutex_fastpath_lock_retval - try to take the lock by moving the count 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 47 * @fail_fn: function to call if the original value was not 0 49 * Try to promote the count from 0 to 1. If it wasn't 0, call <fail_fn>. 50 * In the failure case, this function is allowed to either set the value to 51 * 1, or to set it to a value lower than 1. 53 * If the implementation sets it to a value of lower than 1, then the 54 * __mutex_slowpath_needs_to_unlock() macro needs to return 1, it needs 55 * to return 0 otherwise. 68 * __mutex_fastpath_trylock - try to acquire the mutex, without waiting 73 * Change the count from 1 to a value lower than 1, and return 0 (failure) 77 * it to 0 on failure.
|
H A D | siginfo.h | 14 copy_siginfo (siginfo_t *to, siginfo_t *from) copy_siginfo() argument 17 memcpy(to, from, sizeof(siginfo_t)); copy_siginfo() 20 memcpy(to, from, 4*sizeof(int) + sizeof(from->_sifields._sigchld)); copy_siginfo()
|
/linux-4.4.14/include/linux/spi/ |
H A D | mc33880.h | 5 /* number assigned to the first GPIO */
|
H A D | at73c213.h | 2 * Board-specific data used to set up AT73c213 audio DAC driver. 9 * at73c213_board_info - how the external DAC is wired to the device. 11 * @ssc_id: SSC platform_driver id the DAC shall use to stream the audio. 12 * @dac_clk: the external clock used to provide master clock to the DAC. 15 * This struct contains the configuration of the hardware connection to the 17 * provides a name which is used to identify it in userspace tools.
|
/linux-4.4.14/include/linux/sunrpc/ |
H A D | gss_krb5_enctypes.h | 2 * Dumb way to share this static piece of information with nfsd
|
/linux-4.4.14/include/uapi/linux/tc_act/ |
H A D | tc_mirred.h | 8 #define TCA_EGRESS_REDIR 1 /* packet redirect to EGRESS*/ 9 #define TCA_EGRESS_MIRROR 2 /* mirror packet to EGRESS */ 10 #define TCA_INGRESS_REDIR 3 /* packet redirect to INGRESS*/ 11 #define TCA_INGRESS_MIRROR 4 /* mirror packet to INGRESS */
|
/linux-4.4.14/arch/mips/include/asm/mach-ip27/ |
H A D | kmalloc.h | 5 * All happy, no need to define ARCH_DMA_MINALIGN
|
/linux-4.4.14/arch/s390/include/asm/ |
H A D | vga.h | 4 /* Avoid compile errors due to missing asm/vga.h */
|
/linux-4.4.14/arch/parisc/include/asm/ |
H A D | perf_event.h | 4 /* Empty, just to avoid compiling error */
|
H A D | socket.h | 7 * have to define SOCK_NONBLOCK to a different value here.
|
/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 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 46 __chk_user_ptr(to, n); copy_to_user() 47 volatile_memcpy(to, from, n); copy_to_user()
|
/linux-4.4.14/arch/powerpc/lib/ |
H A D | usercopy_64.c | 2 * Functions which are too large to be inlined. 12 unsigned long copy_from_user(void *to, const void __user *from, unsigned long n) copy_from_user() argument 15 n = __copy_from_user(to, from, n); copy_from_user() 17 memset(to, 0, n); copy_from_user() 21 unsigned long copy_to_user(void __user *to, const void *from, unsigned long n) copy_to_user() argument 23 if (likely(access_ok(VERIFY_WRITE, to, n))) copy_to_user() 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 33 access_ok(VERIFY_WRITE, to, n))) copy_in_user() 34 n =__copy_tofrom_user(to, from, n); copy_in_user()
|
/linux-4.4.14/arch/arm/mm/ |
H A D | dma.h | 11 * These are private to the dma-mapping API. Do not use directly. 12 * Their sole purpose is to ensure that data held in the cache 13 * is visible to DMA, or data written by DMA to system memory is 14 * visible to the CPU. 22 * These are private to the dma-mapping API. Do not use directly. 23 * Their sole purpose is to ensure that data held in the cache 24 * is visible to DMA, or data written by DMA to system memory is 25 * visible to the CPU.
|
/linux-4.4.14/arch/sh/kernel/ |
H A D | io.c | 7 * This file is subject to the terms and conditions of the GNU General Public 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 23 * to try and get aligned? memcpy_fromio() 27 (((u32)to & 0x1f) == 0) && (((u32)from & 0x3) == 0)) { memcpy_fromio() 53 : "=&r" (to), "=&r" (count), 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() 64 to += 4; memcpy_fromio() 70 *(u8 *)to = *(volatile u8 *)from; memcpy_fromio() 71 to++; 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() 87 to += 4; memcpy_toio() 93 *(volatile u8 *)to = *(u8 *)from; memcpy_toio() 94 to++; memcpy_toio() 104 * This needs to be optimized.
|
/linux-4.4.14/arch/m68k/lib/ |
H A D | memcpy.c | 2 * This file is subject to the terms and conditions of the GNU General Public 10 void *memcpy(void *to, const void *from, size_t n) memcpy() argument 12 void *xto = to; memcpy() 17 if ((long)to & 1) { memcpy() 18 char *cto = to; memcpy() 21 to = cto; memcpy() 27 char *cto = to; memcpy() 34 if (n > 2 && (long)to & 2) { memcpy() 35 short *sto = to; memcpy() 38 to = sto; memcpy() 44 long *lto = to; memcpy() 72 to = lto; memcpy() 76 short *sto = to; memcpy() 79 to = sto; memcpy() 83 char *cto = to; memcpy()
|
/linux-4.4.14/fs/xfs/libxfs/ |
H A D | xfs_inode_buf.c | 65 * If the readahead buffer is invalid, we need to mark it with an error and 67 * from disk. We don't report the error otherwise to avoid warnings during log 69 * because all we want to do is say readahead failed; there is no-one to report 70 * the error to, so this will distinguish it from a non-ra verifier failure. 71 * Changes to this readahead error behavour also need to be reflected in 152 * This routine is called to map an inode to the buffer containing the on-disk 153 * version of the inode. It returns a pointer to the buffer containing the 155 * pointer to the on-disk inode within that buffer. 199 xfs_icdinode_t *to, 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() 232 if (to->di_version == 3) { 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() 246 xfs_dinode_t *to, 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() 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() 287 to->di_flushiter = 0; xfs_dinode_to_disk() 289 to->di_flushiter = cpu_to_be16(from->di_flushiter); xfs_dinode_to_disk() 340 * we need to read the inode cluster to get the existing generation number off 382 * Get pointers to the on-disk inode and the buffer containing it. xfs_iread() 399 * If the on-disk inode is already linked to a directory xfs_iread() 431 * Make sure to pull in the mode here as well in xfs_iread() 434 * the inode is already free and not try to mess xfs_iread() 441 * Automatically convert version 1 inode formats in memory to version 2 xfs_iread() 459 * Mark the buffer containing the inode as something to keep xfs_iread() 460 * around for a while. This helps to keep recently accessed xfs_iread() 466 * Use xfs_trans_brelse() to release the buffer containing the on-disk xfs_iread() 471 * transaction. It will be OK to release the buffer in this case, xfs_iread() 474 * processes can find it. Thus we don't have to worry about the inode xfs_iread() 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 | 45 * Reference counting access wrappers to the perag structures. 47 * have to protect against changes is the tree structure itself. 69 * search from @first to find the next perag with the given tag set. 129 * write validation, we don't need to check feature masks. xfs_mount_validate_sb() 150 "Attempted to mount read-only compatible filesystem read-write."); xfs_mount_validate_sb() 192 * Full inode chunks must be aligned to inode chunk size when xfs_mount_validate_sb() 193 * sparse inodes are enabled to support the sparse chunk xfs_mount_validate_sb() 290 "file system too large to be mounted on this system."); xfs_mount_validate_sb() 305 * older mkfs doesn't initialize quota inodes to NULLFSINO. This xfs_sb_quota_from_disk() 306 * leads to in-core values having two different values for a quota xfs_sb_quota_from_disk() 307 * inode to be invalid: 0 and NULLFSINO. Change it to a single value xfs_sb_quota_from_disk() 311 * values are not written back to disk unless any quota information xfs_sb_quota_from_disk() 312 * is written to the disk. Even in that case, sb_pquotino field is xfs_sb_quota_from_disk() 313 * not written to disk unless the superblock supports pquotino. xfs_sb_quota_from_disk() 323 * We need to do these manipilations only if we are working xfs_sb_quota_from_disk() 343 * copy over sb_gquotino to sb_pquotino. xfs_sb_quota_from_disk() 352 struct xfs_sb *to, __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() 405 to->sb_features_log_incompat = __xfs_sb_from_disk() 407 /* crc is only used on disk, not in memory; just init to 0 here. */ __xfs_sb_from_disk() 408 to->sb_crc = 0; __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() 416 if (xfs_sb_version_hasmetauuid(to)) __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() 420 /* Convert on-disk flags to in-memory flags? */ __xfs_sb_from_disk() 422 xfs_sb_quota_from_disk(to); __xfs_sb_from_disk() 427 struct xfs_sb *to, xfs_sb_from_disk() 430 __xfs_sb_from_disk(to, from, true); xfs_sb_from_disk() 435 struct xfs_dsb *to, xfs_sb_quota_to_disk() 440 to->sb_uquotino = cpu_to_be64(from->sb_uquotino); 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() 451 * XFS_{PG}QUOTA_* flags to on-disk XFS_OQUOTA_* flags. xfs_sb_quota_to_disk() 462 to->sb_qflags = cpu_to_be16(qflags); xfs_sb_quota_to_disk() 467 * tells us which quota is active and should be copied to xfs_sb_quota_to_disk() 474 to->sb_gquotino = cpu_to_be64(from->sb_gquotino); xfs_sb_quota_to_disk() 476 to->sb_gquotino = cpu_to_be64(from->sb_pquotino); xfs_sb_quota_to_disk() 479 * We can't rely on just the fields being logged to tell us xfs_sb_quota_to_disk() 480 * that it is safe to write NULLFSINO - we should only do that xfs_sb_quota_to_disk() 486 to->sb_gquotino = cpu_to_be64(NULLFSINO); xfs_sb_quota_to_disk() 489 to->sb_pquotino = 0; xfs_sb_quota_to_disk() 494 struct xfs_dsb *to, 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() 543 * We need to ensure that bad_features2 always matches features2. xfs_sb_to_disk() 544 * Hence we enforce that here rather than having to remember to do it 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() 552 to->sb_features_compat = cpu_to_be32(from->sb_features_compat); xfs_sb_to_disk() 553 to->sb_features_ro_compat = xfs_sb_to_disk() 555 to->sb_features_incompat = xfs_sb_to_disk() 557 to->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() 562 uuid_copy(&to->sb_meta_uuid, &from->sb_meta_uuid); xfs_sb_to_disk() 592 * superblock are supposed to be zero. Hence a non-null crc field indicates that 609 * open code the version check to avoid needing to convert the entire xfs_sb_read_verify() 610 * superblock from disk order just to check the version number xfs_sb_read_verify() 637 * We may be probed for a filesystem match, so we may not want to emit 640 * really going to mount it and want to know about errors. 801 * xfs_log_sb() can be used to copy arbitrary changes to the in-core superblock 802 * into the superblock buffer to be logged. It does not provide the higher 803 * level of locking that is needed to protect the in-core superblock from 825 * Sync the superblock to disk. 829 * thus will allow modifications to a frozen fs. This is required because this 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
|
/linux-4.4.14/include/net/caif/ |
H A D | cfpkt.h | 14 * len: Length of packet to be created 21 * pkt Packet to be destoyed. 28 * pkt Packet to extract header data from. 29 * data Pointer to copy the header data into. 30 * len Length of head data to copy. 39 * pkt Packet to extract header data from. 40 * data Pointer to copy the header data into. 41 * len Length of head data to copy. 49 * pkt Packet to extract header data from. 50 * data Pointer to copy the trailer data into. 51 * len Length of header data to copy. 57 * Add header to packet. 60 * pkt Packet to add header data to. 61 * data Pointer to data to copy into the header. 62 * len Length of header data to copy. 68 * Add trailer to packet. 71 * pkt Packet to add trailer data to. 72 * data Pointer to data to copy into the trailer. 73 * len Length of trailer data to copy. 82 * pkt Packet in which to pad trailer. 83 * len Length of padding to add. 89 * Add a single byte to packet body (tail). 91 * pkt Packet in which to add byte. 92 * data Byte to add. 98 * Add a data to packet body (tail). 100 * pkt Packet in which to add data. 101 * data Pointer to data to copy into the packet body. 102 * len Length of data to add. 108 * Checks whether there are more data to process in packet. 109 * pkt Packet to check. 116 * i.e. if it has been attempted to extract more data than available in packet 118 * pkt Packet to check. 125 * pkt Packet to get length from. 131 * Set the packet length, by adjusting the trailer pointer according to length. 132 * pkt Packet to set length. 139 * cfpkt_append - Appends a packet's data to another packet. 140 * dstpkt: Packet to append data into, WILL BE FREED BY THIS FUNCTION 141 * addpkt: Packet to be appended and automatically released, 154 * pkt: Packet to be split (will contain the first part of the data on exit) 155 * pos: Position to split packet in two parts. 161 * Iteration function, iterates the packet buffers from start to end. 163 * Checksum iteration function used to iterate buffers 165 * pkt: Packet to calculate checksum for 166 * iter_func: Function pointer to iteration function 168 * buf: Pointer to the buffer to checksum 178 /* Map from a "native" packet (e.g. Linux Socket Buffer) to a CAIF packet. 179 * dir - Direction indicating whether this packet is to be sent or received. 180 * nativepkt - The native packet to be transformed to a CAIF packet 185 /* Map from a CAIF packet to a "native" packet (e.g. Linux Socket Buffer). 186 * pkt - The CAIF packet to be transformed into a "native" packet. 193 * pkt Packet to get info from; 200 * @pkt: The CAIF packet to be adjusted.
|
/linux-4.4.14/arch/powerpc/include/asm/ |
H A D | mutex.h | 65 * __mutex_fastpath_lock - try to take the lock by moving the count 66 * from 1 to a 0 value 68 * @fail_fn: function to call if the original value was not 1 70 * Change the count from 1 to a value lower than 1, and call <fail_fn> if 82 * __mutex_fastpath_lock_retval - try to take the lock by moving the count 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 100 * @fail_fn: function to call if the original value was not 0 102 * Try to promote the count from 0 to 1. If it wasn't 0, call <fail_fn>. 103 * In the failure case, this function is allowed to either set the value to 104 * 1, or to set it to a value lower than 1. 116 * __mutex_fastpath_trylock - try to acquire the mutex, without waiting 121 * Change the count from 1 to 0, and return 1 (success), or if the count
|
H A D | pgtable-ppc64-64k.h | 35 /* Bits to mask out from a PMD to get to the PTE page */ 36 /* PMDs point to PTE table fragments which are 4K aligned. */ 38 /* Bits to mask out from a PGD/PUD to get to the PMD page */
|
/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 29 !IS_ALIGNED((unsigned long)to, 8))) { __memcpy_fromio() 30 *(u8 *)to = __raw_readb(from); __memcpy_fromio() 32 to++; __memcpy_fromio() 37 *(u64 *)to = __raw_readq(from); __memcpy_fromio() 39 to += 8; __memcpy_fromio() 44 *(u8 *)to = __raw_readb(from); __memcpy_fromio() 46 to++; __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 57 while (count && (!IS_ALIGNED((unsigned long)to, 8) || __memcpy_toio() 59 __raw_writeb(*(volatile u8 *)from, to); __memcpy_toio() 61 to++; __memcpy_toio() 66 __raw_writeq(*(volatile u64 *)from, to); __memcpy_toio() 68 to += 8; __memcpy_toio() 73 __raw_writeb(*(volatile u8 *)from, to); __memcpy_toio() 75 to++; __memcpy_toio()
|
/linux-4.4.14/arch/arm/mach-pxa/include/mach/ |
H A D | h5000.h | 34 #define H5000_GPIO_RESET_BUTTON_AGAIN_N (7) /* connected to gpio 1 as well */ 38 #define H5000_GPIO_BT_ENV_0 (11) /* to LMX9814, set to 1 according to regdump */ 40 #define H5000_GPIO_BT_ENV_1 (13) /* to LMX9814, set to 1 according to regdump */ 48 #define H5000_GPIO_OE_RD_NWR (21) /* output enable on rd/nwr signal to companion asic */ 50 #define H5000_GPIO_OPT_SPI_CLK (23) /* to extension pack */ 51 #define H5000_GPIO_OPT_SPI_CS_N (24) /* to extension pack */ 52 #define H5000_GPIO_OPT_SPI_DOUT (25) /* to extension pack */ 53 #define H5000_GPIO_OPT_SPI_DIN (26) /* to extension pack */ 55 #define H5000_GPIO_I2S_BITCLK (28) /* connected to AC97 codec */ 56 #define H5000_GPIO_I2S_DATAOUT (29) /* connected to AC97 codec */ 57 #define H5000_GPIO_I2S_DATAIN (30) /* connected to AC97 codec */ 58 #define H5000_GPIO_I2S_LRCLK (31) /* connected to AC97 codec */ 59 #define H5000_GPIO_I2S_SYSCLK (32) /* connected to AC97 codec */ 61 #define H5000_GPIO_COM_RXD (34) /* connected to cradle/cable connector */ 62 #define H5000_GPIO_COM_CTS (35) /* connected to cradle/cable connector */ 63 #define H5000_GPIO_COM_DCD (36) /* connected to cradle/cable connector */ 64 #define H5000_GPIO_COM_DSR (37) /* connected to cradle/cable connector */ 65 #define H5000_GPIO_COM_RI (38) /* connected to cradle/cable connector */ 66 #define H5000_GPIO_COM_TXD (39) /* connected to cradle/cable connector */ 67 #define H5000_GPIO_COM_DTR (40) /* connected to cradle/cable connector */ 68 #define H5000_GPIO_COM_RTS (41) /* connected to cradle/cable connector */ 70 #define H5000_GPIO_BT_RXD (42) /* connected to BT (LMX9814) */ 71 #define H5000_GPIO_BT_TXD (43) /* connected to BT (LMX9814) */ 72 #define H5000_GPIO_BT_CTS (44) /* connected to BT (LMX9814) */ 73 #define H5000_GPIO_BT_RTS (45) /* connected to BT (LMX9814) */ 89 #define H5000_GPIO_IRDA_SD (58) /* to hsdl3002 sd */ 91 #define H5000_GPIO_POWER_SD_N (60) /* controls power to SD */ 92 #define H5000_GPIO_POWER_RS232_N (61) /* inverted FORCEON to rs232 transceiver */ 93 #define H5000_GPIO_POWER_ACCEL_N (62) /* controls power to accel */ 95 #define H5000_GPIO_OPT_NVRAM (64) /* controls power to expansion pack */ 96 #define H5000_GPIO_CHG_EN (65) /* to sc801 en */
|
/linux-4.4.14/drivers/staging/iio/adc/ |
H A D | ad7606.h | 13 * TODO: struct ad7606_platform_data needs to go into include/linux/iio 20 * @gpio_convst: number of gpio connected to the CONVST pin 21 * @gpio_reset: gpio connected to the RESET pin, if not used set to -1 22 * @gpio_range: gpio connected to the RANGE pin, if not used set to -1 23 * @gpio_os0: gpio connected to the OS0 pin, if not used set to -1 24 * @gpio_os1: gpio connected to the OS1 pin, if not used set to -1 25 * @gpio_os2: gpio connected to the OS2 pin, if not used set to -1 26 * @gpio_frstdata: gpio connected to the FRSTDAT pin, if not used set to -1 27 * @gpio_stby: gpio connected to the STBY pin, if not used set to -1 77 * transfer buffers to live in their own cache lines.
|
H A D | ad7780.h | 12 * TODO: struct ad7780_platform_data needs to go into include/linux/iio 18 * In order to avoid contentions on the SPI bus, it's therefore necessary 19 * to use spi bus locking combined with a dedicated GPIO to control the 22 * The DOUT/RDY output must also be wired to an interrupt capable GPIO.
|
/linux-4.4.14/arch/x86/lib/ |
H A D | usercopy_64.c | 49 unsigned long clear_user(void __user *to, unsigned long n) clear_user() argument 51 if (access_ok(VERIFY_WRITE, to, n)) clear_user() 52 return __clear_user(to, n); clear_user() 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() 67 * Try to copy last bytes and clear the rest if needed. 69 * it is not necessary to optimize tail handling. 72 copy_user_handle_tail(char *to, char *from, unsigned len) copy_user_handle_tail() argument 74 for (; len; --len, to++) { copy_user_handle_tail() 79 if (__put_user_nocheck(c, to, sizeof(char))) copy_user_handle_tail() 85 if (!__addr_ok(to)) copy_user_handle_tail() 86 memset(to, 0, len); copy_user_handle_tail()
|
H A D | usercopy.c | 14 * We rely on the nested NMI work to allow atomic faults from the NMI path; the 15 * nested NMI paths are careful to preserve CR2. 18 copy_from_user_nmi(void *to, const void __user *from, unsigned long n) copy_from_user_nmi() argument 31 ret = __copy_from_user_inatomic(to, from, n); copy_from_user_nmi()
|
/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 31 * So lets keep the code simple and just define in what we need to use. 41 * address of an instruction that is allowed to fault, and the second is 43 * modified, so it is entirely up to the continuation code to figure out 44 * what to do. 48 * we don't even have to jump over them. Further, they do not intrude 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() 278 /* we limit the inlined version to 3 moves */ __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() 359 /* limit the inlined version to 3 moves */ __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) 389 unsigned long __clear_user(void __user *to, unsigned long n);
|
/linux-4.4.14/include/linux/i2c/ |
H A D | pcf857x.h | 5 * struct pcf857x_platform_data - data to set up pcf857x driver 8 * you leave this initialized to zero the driver will act 12 * @context: optional parameter passed to setup() and teardown() 14 * In addition to the I2C_BOARD_INFO() state appropriate to each chip, 16 * platform_data (pointer to one of these structures) with at least 20 * which hands the (now-valid) GPIOs to other drivers, or which puts 24 * to understand the behavior. They don't have separate registers to 26 * values are driven, or provide access to input values. That must be 28 * to it. If you leave n_latch initialized to zero, that last written 29 * value is presumed to be all ones (as if the chip were just reset).
|
/linux-4.4.14/arch/tile/include/uapi/arch/ |
H A D | sim_def.h | 27 * the operation to perform, and the remaining bits are 34 * Values which can be written to SPR_SIM_CONTROL. 37 /** If written to SPR_SIM_CONTROL, stops profiling. */ 40 /** If written to SPR_SIM_CONTROL, starts profiling. */ 43 /** If written to SPR_SIM_CONTROL, clears profiling counters. */ 46 /** If written to SPR_SIM_CONTROL, checkpoints the simulator. */ 50 * If written to SPR_SIM_CONTROL, combined with a mask (shifted by 8), 51 * sets the tracing mask to the given mask. See "sim_set_tracing()". 56 * If written to SPR_SIM_CONTROL, combined with a mask (shifted by 8), 57 * dumps the requested items of machine state to the log. 61 /** If written to SPR_SIM_CONTROL, clears chip-level profiling counters. */ 64 /** If written to SPR_SIM_CONTROL, disables chip-level profiling. */ 67 /** If written to SPR_SIM_CONTROL, enables chip-level profiling. */ 70 /** If written to SPR_SIM_CONTROL, enables chip-level functional mode */ 73 /** If written to SPR_SIM_CONTROL, disables chip-level functional mode. */ 77 * If written to SPR_SIM_CONTROL, enables chip-level functional mode. 78 * All tiles must perform this write for functional mode to be enabled. 85 * If written to SPR_SIM_CONTROL, combined with a character (shifted by 8), 86 * writes a string directly to the simulator output. Written to once for 94 * If written to SPR_SIM_CONTROL, clears the --grind-coherence state for 95 * this core. This is intended to be used before a loop that will 101 /** If written to SPR_SIM_CONTROL, shuts down the simulator. */ 105 * If written to SPR_SIM_CONTROL, combined with a pid (shifted by 8), 111 * If written to SPR_SIM_CONTROL, combined with a pid (shifted by 8), 117 * If written to SPR_SIM_CONTROL, combined with a pid (shifted by 8), 118 * indicates that the OS just switched to the given process. 123 * If written to SPR_SIM_CONTROL, combined with a character (shifted by 8), 124 * indicates that an exec syscall was just executed. Written to once for 130 * If written to SPR_SIM_CONTROL, combined with a character (shifted by 8), 131 * indicates that an interpreter (PT_INTERP) was loaded. Written to once 138 * If written to SPR_SIM_CONTROL, combined with a character (shifted by 8), 139 * indicates that a dll was loaded. Written to once for each character 146 * If written to SPR_SIM_CONTROL, combined with a character (shifted by 8), 147 * indicates that a dll was unloaded. Written to once for each character 154 * If written to SPR_SIM_CONTROL, combined with a flag (shifted by 8), 155 * indicates whether to allow data reads to remotely-cached 156 * dirty cache lines to be cached locally without grinder warnings or 161 /** If written to SPR_SIM_CONTROL, enables memory tracing. */ 164 /** If written to SPR_SIM_CONTROL, disables memory tracing. */ 168 * If written to SPR_SIM_CONTROL, changes the shaping parameters of one of 175 * If written to SPR_SIM_CONTROL, combined with character (shifted by 8), 176 * requests that a simulator command be executed. Written to once for each 182 * If written to SPR_SIM_CONTROL, indicates that the simulated system 183 * is panicking, to allow debugging via --debug-on-panic. 188 * If written to SPR_SIM_CONTROL, triggers a simulator syscall. 194 * If written to SPR_SIM_CONTROL, combined with a pid (shifted by 8), 201 * If written to SPR_SIM_CONTROL, combined with a mPIPE shim number 209 * If written to SPR_SIM_CONTROL, combined with a mPIPE shim number 211 * to the shim's pending magic data section. The pending magic data 217 * If written to SPR_SIM_CONTROL, combined with a mPIPE shim number 240 * is passed as the second argument to sim_syscall(), and over a 252 * SIM_CONTROL_SET_TRACING, and written to SPR_SIM_CONTROL. 260 /** Enable --trace-cycle when passed to simulator_set_tracing(). */ 263 /** Enable --trace-router when passed to simulator_set_tracing(). */ 266 /** Enable --trace-register-writes when passed to simulator_set_tracing(). */ 269 /** Enable --trace-disasm when passed to simulator_set_tracing(). */ 272 /** Enable --trace-stall-info when passed to simulator_set_tracing(). */ 275 /** Enable --trace-memory-controller when passed to simulator_set_tracing(). */ 278 /** Enable --trace-l2 when passed to simulator_set_tracing(). */ 281 /** Enable --trace-lines when passed to simulator_set_tracing(). */ 284 /** Turn off all tracing when passed to simulator_set_tracing(). */ 287 /** Turn on all tracing when passed to simulator_set_tracing(). */ 292 /** Computes the value to write to SPR_SIM_CONTROL to set tracing flags. */ 299 * SIM_CONTROL_DUMP, and written to SPR_SIM_CONTROL. 348 /** Computes the value to write to SPR_SIM_CONTROL to dump machine state. */ 355 * SIM_CONTROL_PROFILER_CHIP_xxx, and written to SPR_SIM_CONTROL. 363 /** Use with SIM_PROFILER_CHIP_xxx to control the memory controllers. */ 366 /** Use with SIM_PROFILER_CHIP_xxx to control the XAUI interface. */ 369 /** Use with SIM_PROFILER_CHIP_xxx to control the PCIe interface. */ 372 /** Use with SIM_PROFILER_CHIP_xxx to control the MPIPE interface. */ 375 /** Use with SIM_PROFILER_CHIP_xxx to control the TRIO interface. */ 383 /** Computes the value to write to SPR_SIM_CONTROL to clear chip statistics. */ 387 /** Computes the value to write to SPR_SIM_CONTROL to disable chip statistics.*/ 391 /** Computes the value to write to SPR_SIM_CONTROL to enable chip statistics. */ 399 /** The number of bits used to store the shim id. */ 425 /** The type of shaping to do. */ 461 /** Computes the value to write to SPR_SIM_CONTROL to change a bitrate. */
|
/linux-4.4.14/include/uapi/linux/ |
H A D | kfd_ioctl.h | 4 * Permission is hereby granted, free of charge, to any person obtaining a 6 * to deal in the Software without restriction, including without limitation 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 * and/or sell copies of the Software, and to permit persons to whom the 9 * Software is furnished to do so, subject to the following conditions: 46 uint64_t ring_base_address; /* to KFD */ 51 uint32_t ring_size; /* to KFD */ 52 uint32_t gpu_id; /* to KFD */ 53 uint32_t queue_type; /* to KFD */ 54 uint32_t queue_percentage; /* to KFD */ 55 uint32_t queue_priority; /* to KFD */ 58 uint64_t eop_buffer_address; /* to KFD */ 59 uint64_t eop_buffer_size; /* to KFD */ 60 uint64_t ctx_save_restore_address; /* to KFD */ 61 uint64_t ctx_save_restore_size; /* to KFD */ 65 uint32_t queue_id; /* to KFD */ 70 uint64_t ring_base_address; /* to KFD */ 72 uint32_t queue_id; /* to KFD */ 73 uint32_t ring_size; /* to KFD */ 74 uint32_t queue_percentage; /* to KFD */ 75 uint32_t queue_priority; /* to KFD */ 83 uint64_t alternate_aperture_base; /* to KFD */ 84 uint64_t alternate_aperture_size; /* to KFD */ 86 uint32_t gpu_id; /* to KFD */ 87 uint32_t default_policy; /* to KFD */ 88 uint32_t alternate_policy; /* to KFD */ 105 uint32_t gpu_id; /* to KFD */ 136 uint32_t gpu_id; /* to KFD */ 141 uint32_t gpu_id; /* to KFD */ 146 uint64_t content_ptr; /* a pointer to the actual content */ 147 uint32_t gpu_id; /* to KFD */ 152 uint64_t content_ptr; /* a pointer to the actual content */ 153 uint32_t gpu_id; /* to KFD */ 177 uint32_t event_type; /* to KFD */ 178 uint32_t auto_reset; /* to KFD */ 179 uint32_t node_id; /* to KFD - only valid for certain 186 uint32_t event_id; /* to KFD */ 191 uint32_t event_id; /* to KFD */ 196 uint32_t event_id; /* to KFD */ 202 uint32_t ReadOnly; /* Write access to a read-only page */ 203 uint32_t NoExecute; /* Execute access to a page marked NX */ 220 uint64_t kfd_event_data_ext; /* pointer to an extension structure 222 uint32_t event_id; /* to KFD */ 227 uint64_t events_ptr; /* pointed to struct 228 kfd_event_data array, to KFD */ 229 uint32_t num_events; /* to KFD */ 230 uint32_t wait_for_all; /* to KFD */ 231 uint32_t timeout; /* to KFD */
|
H A D | binfmts.h | 9 * These are the maximum length and maximum number of strings passed to the 10 * execve() system call. MAX_ARG_STRLEN is essentially random but serves to 12 * MAX_ARG_STRINGS is chosen to fit in a signed 32-bit integer.
|
H A D | dm-log-userspace.h | 15 * in dm-dirty-log.h. Its purpose is simply to pass the parameters and 35 * User-space will then wait to receive requests form the kernel, which it 39 * you will see 'Payload-to-userspace' and 'Payload-to-kernel'. The 40 * 'Payload-to-userspace' is what the kernel sends in 'additional data' as 41 * necessary parameters to complete the request. The 'Payload-to-kernel' is 42 * the 'additional data' returned to the kernel that contains the necessary 48 * DM_ULOG_CTR corresponds to (found in dm-dirty-log.h): 52 * Payload-to-userspace: 54 * Payload-to-kernel: 62 * will be used by all request types to a specific log. The constructor must 66 * dm_ulog_request to the kernel - setting the 'error' field, filling the 73 * DM_ULOG_DTR corresponds to (found in dm-dirty-log.h): 76 * Payload-to-userspace: 78 * Payload-to-kernel: 82 * necessary to identify the log instance being destroyed. There is no 86 * dm_ulog_request to the kernel - setting the 'error' field and clearing 92 * DM_ULOG_PRESUSPEND corresponds to (found in dm-dirty-log.h): 95 * Payload-to-userspace: 97 * Payload-to-kernel: 101 * necessary to identify the log instance being presuspended. There is no 105 * dm_ulog_request to the kernel - setting the 'error' field and 111 * DM_ULOG_POSTSUSPEND corresponds to (found in dm-dirty-log.h): 114 * Payload-to-userspace: 116 * Payload-to-kernel: 120 * necessary to identify the log instance being postsuspended. There is no 124 * dm_ulog_request to the kernel - setting the 'error' field and 130 * DM_ULOG_RESUME corresponds to (found in dm-dirty-log.h): 133 * Payload-to-userspace: 135 * Payload-to-kernel: 139 * necessary to identify the log instance being resumed. There is no 143 * dm_ulog_request to the kernel - setting the 'error' field and 149 * DM_ULOG_GET_REGION_SIZE corresponds to (found in dm-dirty-log.h): 152 * Payload-to-userspace: 154 * Payload-to-kernel: 158 * It is returned in the payload area and 'data_size' is set to 162 * dm_ulog_request to the kernel - setting the 'error' field appropriately. 167 * DM_ULOG_IS_CLEAN corresponds to (found in dm-dirty-log.h): 170 * Payload-to-userspace: 171 * uint64_t - the region to get clean status on 172 * Payload-to-kernel: 179 * dm_ulog_request to the kernel - filling the payload with 0 (not clean) or 185 * DM_ULOG_IN_SYNC corresponds to (found in dm-dirty-log.h): 189 * Payload-to-userspace: 190 * uint64_t - the region to get sync status on 191 * Payload-to-kernel: 200 * DM_ULOG_FLUSH corresponds to (found in dm-dirty-log.h): 203 * Payload-to-userspace: 206 * uint64_t [] - region(s) to mark 209 * Payload-to-kernel: 218 * dm_ulog_request to the kernel - setting the 'error' field and clearing 224 * DM_ULOG_MARK_REGION corresponds to (found in dm-dirty-log.h): 227 * Payload-to-userspace: 228 * uint64_t [] - region(s) to mark 229 * Payload-to-kernel: 232 * Incoming payload contains the one or more regions to mark dirty. 237 * dm_ulog_request to the kernel - setting the 'error' field and clearing 243 * DM_ULOG_CLEAR_REGION corresponds to (found in dm-dirty-log.h): 246 * Payload-to-userspace: 247 * uint64_t [] - region(s) to clear 248 * Payload-to-kernel: 251 * Incoming payload contains the one or more regions to mark clean. 256 * dm_ulog_request to the kernel - setting the 'error' field and clearing 262 * DM_ULOG_GET_RESYNC_WORK corresponds to (found in dm-dirty-log.h): 265 * Payload-to-userspace: 267 * Payload-to-kernel: 270 * uint64_t r; -- The region to recover if i=1 275 * dm_ulog_request to the kernel - setting the 'error' field appropriately. 280 * DM_ULOG_SET_REGION_SYNC corresponds to (found in dm-dirty-log.h): 284 * Payload-to-userspace: 286 * uint64_t - region to set sync state on 289 * Payload-to-kernel: 293 * dm_ulog_request to the kernel - setting the 'error' field and clearing 299 * DM_ULOG_GET_SYNC_COUNT corresponds to (found in dm-dirty-log.h): 302 * Payload-to-userspace: 304 * Payload-to-kernel: 311 * dm_ulog_request to the kernel - setting the 'error' field and 317 * DM_ULOG_STATUS_INFO corresponds to (found in dm-dirty-log.h): 321 * Payload-to-userspace: 323 * Payload-to-kernel: 327 * dm_ulog_request to the kernel - setting the 'error' field and 333 * DM_ULOG_STATUS_TABLE corresponds to (found in dm-dirty-log.h): 337 * Payload-to-userspace: 339 * Payload-to-kernel: 343 * dm_ulog_request to the kernel - setting the 'error' field and 349 * DM_ULOG_IS_REMOTE_RECOVERING corresponds to (found in dm-dirty-log.h): 352 * Payload-to-userspace: 353 * uint64_t - region to determine recovery status on 354 * Payload-to-kernel: 361 * dm_ulog_request to the kernel - setting the 'error' field and 367 * (DM_ULOG_REQUEST_MASK & request_type) to get the request type 369 * Payload-to-userspace: 371 * Payload-to-kernel: 376 * set to zero and are reserved for future use and compatibility concerns. 378 * User-space should always use DM_ULOG_REQUEST_TYPE to acquire the 379 * request type from the 'request_type' field to maintain forward compatibility. 387 * change to the way information is passed between kernel 392 * version 2: DM_ULOG_CTR allowed to return a string containing a 393 * device name that is to be registered with DM via 399 * argument ('integrated_flush') is required to turn this 408 * identifier (uuid) are used to tie a request to a specific 411 * the 'luid'. The uuid is what is required for node to node 421 int32_t error; /* Used to report back processing errors */
|
H A D | if_pppol2tp.h | 21 /* Structure used to connect() the socket to a particular tunnel UDP 27 int fd; /* FD of UDP socket to use */ 29 struct sockaddr_in addr; /* IP address and port to send to */ 35 /* Structure used to connect() the socket to a particular tunnel UDP 41 int fd; /* FD of UDP socket to use */ 46 struct sockaddr_in6 addr; /* IP address and port to send to */ 49 /* The L2TPv3 protocol changes tunnel and session ids from 16 to 32 55 int fd; /* FD of UDP or IP socket to use */ 57 struct sockaddr_in addr; /* IP address and port to send to */ 66 int fd; /* FD of UDP or IP socket to use */ 71 struct sockaddr_in6 addr; /* IP address and port to send to */ 82 * REORDERTO - reorder timeout (in millisecs). If 0, don't try to reorder.
|
H A D | dlm.h | 7 ** This copyrighted material is made available to anyone wishing to use, 8 ** modify, copy, or redistribute it subject to the terms and conditions 18 * Interface to Distributed Lock Manager (DLM) 19 * routines and structures to use DLM lockspaces 31 * Use this structure to specify the contents of the lock value block. For a 32 * conversion request, this structure is used to specify the lock ID of the 34 * to the request in the lock status block. 39 * sb_lvbptr: saves or returns the contents of the lock's LVB according to rules 43 * it was first demoted to NL to avoid conversion deadlock. 46 * sb_status: the returned status of the lock request set prior to AST 54 * -ETIMEDOUT if the lock request was canceled due to a timeout
|
H A D | membarrier.h | 11 * Permission is hereby granted, free of charge, to any person obtaining a copy 12 * of this software and associated documentation files (the "Software"), to deal 14 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 15 * copies of the Software, and to permit persons to whom the Software is 16 * furnished to do so, subject to the following conditions: 37 * through a state where all memory accesses to 39 * entry to and return from the system call 44 * Command to be passed to the membarrier system call. The commands need to 45 * be a single bit each, except for MEMBARRIER_CMD_QUERY which is assigned to
|
H A D | virtio_rng.h | 3 /* This header is BSD licensed so anyone can use the definitions to implement
|
/linux-4.4.14/arch/x86/entry/vdso/ |
H A D | vdso-note.S | 2 * This supplies .note.* sections to go into the PT_NOTE inside the vDSO text. 3 * Here we can supply some information useful to userland.
|
/linux-4.4.14/arch/x86/include/asm/ |
H A D | cpu_device_id.h | 5 * Declare drivers belonging to specific x86 CPUs 6 * Similar in spirit to pci_device_id and related PCI functions
|
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 | sta2x11.h | 9 /* This needs to be called from the MFD to configure its sub-devices */
|
H A D | mutex_32.h | 15 * __mutex_fastpath_lock - try to take the lock by moving the count 16 * from 1 to a 0 value 18 * @fn: function to call if the original value was not 1 20 * Change the count from 1 to a value lower than 1, and call <fn> if it 42 * __mutex_fastpath_lock_retval - try to take the lock by moving the count 43 * from 1 to a 0 value 46 * Change the count from 1 to a value lower than 1. This function returns 0 58 * __mutex_fastpath_unlock - try to promote the mutex from 0 to 1 60 * @fail_fn: function to call if the original value was not 0 62 * try to promote the mutex from 0 to 1. if it wasn't 0, call <fail_fn>. 63 * In the failure case, this function is allowed to either set the value 64 * to 1, or to set it to a value lower than 1. 66 * If the implementation sets it to a value of lower than 1, the 67 * __mutex_slowpath_needs_to_unlock() macro needs to return 1, it needs 68 * to return 0 otherwise. 89 * __mutex_fastpath_trylock - try to acquire the mutex, without waiting 94 * Change the count from 1 to a value lower than 1, and return 0 (failure) 98 * it to 0 on failure.
|
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); 26 * @to: Destination address, in user space. 28 * @n: Number of bytes to copy. 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() 73 * @to: Destination address, in user space. 75 * @n: Number of bytes to copy. 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() 121 * @to: Destination address, in kernel space. 123 * @n: Number of bytes to copy. 128 * Copy data from user space to kernel space. Caller must check 135 * data to the requested size using zero bytes. 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() 164 static __always_inline unsigned long __copy_from_user_nocache(void *to, __copy_from_user_nocache() argument 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()
|
H A D | atomic64_64.h | 26 * @v: pointer to type atomic64_t 29 * Atomically sets the value of @v to @i. 37 * atomic64_add - add integer to atomic64 variable 38 * @i: integer value to add 39 * @v: pointer to type atomic64_t 41 * Atomically adds @i to @v. 52 * @i: integer value to subtract 53 * @v: pointer to type atomic64_t 66 * @i: integer value to subtract 67 * @v: pointer to type atomic64_t 80 * @v: pointer to type atomic64_t 93 * @v: pointer to type atomic64_t 106 * @v: pointer to type atomic64_t 119 * @v: pointer to type atomic64_t 132 * @i: integer value to add 133 * @v: pointer to type atomic64_t 135 * Atomically adds @i to @v and returns true 137 * result is greater than or equal to zero. 146 * @i: integer value to add 147 * @v: pointer to type atomic64_t 149 * Atomically adds @i to @v and returns @i + @v 177 * @a: the amount to add to v... 178 * @u: ...unless v is equal to u. 180 * Atomically adds @a to @v, so long as it was not @u.
|
H A D | string_32.h | 6 /* Let gcc decide whether to inline or use the out of line functions */ 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() 44 return to; __memcpy() 51 static __always_inline void *__constant_memcpy(void *to, const void *from, __constant_memcpy() argument 56 return to; __constant_memcpy() 60 *(char *)to = *(char *)from; __constant_memcpy() 61 return to; __constant_memcpy() 63 *(short *)to = *(short *)from; __constant_memcpy() 64 return to; __constant_memcpy() 66 *(int *)to = *(int *)from; __constant_memcpy() 67 return to; __constant_memcpy() 69 *(short *)to = *(short *)from; __constant_memcpy() 70 *((char *)to + 2) = *((char *)from + 2); __constant_memcpy() 71 return to; __constant_memcpy() 73 *(int *)to = *(int *)from; __constant_memcpy() 74 *((char *)to + 4) = *((char *)from + 4); __constant_memcpy() 75 return to; __constant_memcpy() 77 *(int *)to = *(int *)from; __constant_memcpy() 78 *((short *)to + 2) = *((short *)from + 2); __constant_memcpy() 79 return to; __constant_memcpy() 81 *(int *)to = *(int *)from; __constant_memcpy() 82 *((int *)to + 1) = *((int *)from + 1); __constant_memcpy() 83 return to; __constant_memcpy() 87 edi = (long)to; __constant_memcpy() 122 return to; __constant_memcpy() 128 return to; __constant_memcpy() 134 return to; __constant_memcpy() 140 return to; __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() 218 /* we might want to write optimized versions of these later */ 222 * memset(x, 0, y) is a reasonably common thing to do, so we want to fill 244 /* Added by Gertjan van Wingerde to make minix and sysv module work */
|
H A D | sync_bitops.h | 9 * These have to be done with inline assembly: that way the bit-setting 10 * is guaranteed to be atomic. All bit operations return 0 if the bit 20 * @nr: the bit to set 21 * @addr: the address to start counting from 27 * restricted to acting on a single-word quantity. 39 * @nr: Bit to clear 40 * @addr: Address to start counting from 45 * in order to ensure changes are visible on other processors. 57 * @nr: Bit to change 58 * @addr: Address to start counting from 62 * restricted to acting on a single-word quantity. 74 * @nr: Bit to set 75 * @addr: Address to count from 92 * @nr: Bit to clear 93 * @addr: Address to count from 110 * @nr: Bit to change 111 * @addr: Address to count from
|
H A D | bootparam_utils.h | 8 * add completing #includes to make it standalone. 12 * Deal with bootloaders which fail to initialize unknown fields in 13 * boot_params to zero. The list fields in this list are taken from 15 * different set of fields we will need to figure out how to disambiguate. 18 * private magic, so it is better to leave it unchanged. 24 * this field. The purpose of this field is to guarantee sanitize_boot_params() 32 * need to change the whole structure to be cleared, not this sanitize_boot_params()
|
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()
|
/linux-4.4.14/arch/x86/um/vdso/ |
H A D | vdso-note.S | 2 * This supplies .note.* sections to go into the PT_NOTE inside the vDSO text. 3 * Here we can supply some information useful to userland.
|
/linux-4.4.14/arch/alpha/include/asm/ |
H A D | socket.h | 7 * have to define SOCK_NONBLOCK to a different value here.
|
H A D | a.out.h | 7 /* Assume that start addresses below 4G belong to a TASO application. 8 Unfortunately, there is no proper bit in the exec header to check. 9 Worse, we have to notice the start address before swapping to use
|
H A D | kmap_types.h | 4 /* Dummy header just to define km_type. */
|
/linux-4.4.14/include/linux/ |
H A D | stringify.h | 4 /* Indirect stringification. Doing two levels allows the parameter to be a 6 * converts to "bar".
|
H A D | uaccess.h | 20 * not take any locks and go straight to the fixup table. 29 * make sure to have issued the store before a pagefault pagefault_disable() 38 * make sure to issue those last loads/stores before enabling pagefault_enable() 55 * stick to pagefault_disabled(). 56 * Please NEVER use preempt_disable() to disable the fault handler. With 64 static inline unsigned long __copy_from_user_inatomic_nocache(void *to, __copy_from_user_inatomic_nocache() argument 67 return __copy_from_user_inatomic(to, from, n); __copy_from_user_inatomic_nocache() 70 static inline unsigned long __copy_from_user_nocache(void *to, __copy_from_user_nocache() argument 73 return __copy_from_user(to, from, n); __copy_from_user_nocache() 79 * probe_kernel_read(): safely attempt to read from a location 80 * @dst: pointer to the buffer that shall take the data 81 * @src: address to read from 84 * Safely read from address @src to the buffer at @dst. If a kernel fault 91 * probe_kernel_write(): safely attempt to write to a location 92 * @dst: address to write to 93 * @src: pointer to the data that shall be written 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
|
H A D | shrinker.h | 5 * This struct is used to pass information from page reclaim to the shrinkers. 8 * The 'gfpmask' refers to the allocation we are currently trying to 15 * How many objects scan_objects should scan and try to reclaim. 17 * to modify. 30 * A callback you can register to apply pressure to ageable caches. 33 * there are no objects to free or the number of freeable items cannot be 36 * be executed due to potential deadlocks to be run at a later call when the 41 * and attempt to free items from the cache. It should then return the number 43 * due to potential deadlocks. If SHRINK_STOP is returned, then no further 44 * attempts to call the @scan_objects will be made from the current reclaim 55 int seeks; /* seeks to recreate an obj */
|
H A D | kconfig.h | 7 * Helper macros to use CONFIG_ options in C/CPP expressions. Note that 26 * IS_BUILTIN(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y', 0 27 * otherwise. For boolean options, this is equivalent to 33 * IS_MODULE(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'm', 0 39 * IS_REACHABLE(CONFIG_FOO) evaluates to 1 if the currently compiled 41 * This is similar to IS_ENABLED(), but returns false when invoked from 42 * built-in code when CONFIG_FOO is set to 'm'. 48 * IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',
|
H A D | hashtable.h | 25 /* Use hash_32 when possible to allow for fast 32bit hashing in 64bit kernels. */ 39 * @hashtable: hashtable to be initialized 44 * This has to be a macro since HASH_BITS() will not work on pointers since 50 * hash_add - add an object to a hashtable 51 * @hashtable: hashtable to add to 52 * @node: the &struct hlist_node of the object to be added 53 * @key: the key of the object to be added 59 * hash_add_rcu - add an object to a rcu enabled hashtable 60 * @hashtable: hashtable to add to 61 * @node: the &struct hlist_node of the object to be added 62 * @key: the key of the object to be added 69 * @node: the &struct hlist_node of the object to be checked 89 * @hashtable: hashtable to check 91 * This has to be a macro since HASH_BITS() will not work on pointers since 98 * @node: &struct hlist_node of the object to remove 107 * @node: &struct hlist_node of the object to remove 116 * @name: hashtable to iterate 117 * @bkt: integer to use as bucket loop cursor 118 * @obj: the type * to use as a loop cursor for each entry 128 * @name: hashtable to iterate 129 * @bkt: integer to use as bucket loop cursor 130 * @obj: the type * to use as a loop cursor for each entry 141 * @name: hashtable to iterate 142 * @bkt: integer to use as bucket loop cursor 144 * @obj: the type * to use as a loop cursor for each entry 153 * hash_for_each_possible - iterate over all possible objects hashing to the 155 * @name: hashtable to iterate 156 * @obj: the type * to use as a loop cursor for each entry 158 * @key: the key of the objects to iterate over 164 * hash_for_each_possible_rcu - iterate over all possible objects hashing to the 167 * @name: hashtable to iterate 168 * @obj: the type * to use as a loop cursor for each entry 170 * @key: the key of the objects to iterate over 178 * to the same bucket in an rcu enabled hashtable in a rcu enabled hashtable 179 * @name: hashtable to iterate 180 * @obj: the type * to use as a loop cursor for each entry 182 * @key: the key of the objects to iterate over 192 * hash_for_each_possible_safe - iterate over all possible objects hashing to the 194 * @name: hashtable to iterate 195 * @obj: the type * to use as a loop cursor for each entry 198 * @key: the key of the objects to iterate over
|
H A D | kgdb.h | 2 * This provides the callbacks and functions that KGDB needs to share between 31 * On some architectures it is required to skip a breakpoint 45 * function is called by the kgdb core to execute an architecture 46 * specific trap to cause kgdb to enter the exception processing. 123 * pt_regs_to_gdb_regs - Convert ptrace regs to GDB regs 124 * @gdb_regs: A pointer to hold the registers in the order GDB wants. 133 * sleeping_thread_to_gdb_regs - Convert ptrace regs to GDB regs 134 * @gdb_regs: A pointer to hold the registers in the order GDB wants. 137 * Convert the register values of the sleeping process in @p to 139 * This function is called when kgdb does not have access to the 148 * gdb_regs_to_pt_regs - Convert GDB regs to ptrace regs. 149 * @gdb_regs: A pointer to hold the registers we've received from GDB. 150 * @regs: A pointer to a &struct pt_regs to hold these values in. 163 * @remcom_out_buffer: The buffer of %BUFMAX bytes to write a packet into. 167 * as well packets to set / remove a hardware breakpoint, if used. 168 * If there are additional packets which the hardware needs to handle, 169 * they are handled here. The code should return -1 if it wants to 170 * process more packets, and a %0 or %1 if it wants to exit from the 183 * On SMP systems, we need to get the attention of the other CPUs 185 * to get the other CPUs to call kgdb_wait(). Note that on some arches, 187 * in case of MIPS, smp_call_function() is used to roundup CPUs. In 188 * this case, we have to make sure that interrupts are enabled before 189 * calling smp_call_function(). The argument to this function is 198 * kgdb_arch_set_pc - Generic call back to the program counter 226 * @gdb_bpt_instr: The instruction to trigger a breakpoint. 228 * @set_breakpoint: Allow an architecture to specify how to set a software 230 * @remove_breakpoint: Allow an architecture to specify how to remove a 232 * @set_hw_breakpoint: Allow an architecture to specify how to set a hardware 234 * @remove_hw_breakpoint: Allow an architecture to specify how to remove a 236 * @disable_hw_break: Allow an architecture to specify how to disable 238 * @remove_all_hw_break: Allow an architecture to specify how to remove all 240 * @correct_hw_break: Allow an architecture to specify how to correct the 242 * @enable_nmi: Manage NMI-triggered entry to KGDB 260 * struct kgdb_io - Describe the interface for an I/O driver to talk with KGDB. 262 * @read_char: Pointer to a function that will return one char. 263 * @write_char: Pointer to a function that will write one char. 264 * @flush: Pointer to a function that will flush any pending writes. 265 * @init: Pointer to a function that will initialize the device. 266 * @pre_exception: Pointer to a function that will do any prep work for 268 * @post_exception: Pointer to a function that will do any cleanup work
|
H A D | typecheck.h | 6 * Always evaluates to 1 so you may use it easily in comparisons. 17 * to that type (needs to use typedef for the function type.)
|
H A D | dlm_plock.h | 4 * This copyrighted material is made available to anyone wishing to use, 5 * modify, copy, or redistribute it subject to the terms and conditions
|
H A D | eventpoll.h | 19 /* Forward declarations to avoid compiler errors */ 25 /* Used to initialize the epoll bits inside the "struct file" */ eventpoll_init_file() 33 /* Used to release the epoll bits inside the "struct file" */ 37 * This is called from inside fs/file_table.c:__fput() to unlink files 38 * from the eventpoll interface. We need to have this facility to cleanup 46 * Fast check to avoid the get/release of the semaphore. Since eventpoll_release() 49 * to avoid the semaphore lock. False positives simply cannot happen eventpoll_release() 50 * because the file in on the way to be removed and nobody ( but eventpoll_release() 51 * eventpoll ) has still a reference to this file. eventpoll_release() 57 * The file is being closed while it is still linked to an epoll eventpoll_release() 58 * descriptor. We need to handle this by correctly unlinking it eventpoll_release()
|
H A D | f75375s.h | 4 * This file is subject to the terms and conditions of the GNU General Public 14 /* We want to set fans spinning on systems where there is no 15 * BIOS to do that for us */
|
H A D | sys_soc.h | 20 * @soc_plat_dev_attr: Attributes passed from platform to be attributed to a SoC 27 * @dev: SoC device to be unregistered 32 * soc_device_to_device - helper function to fetch struct device
|
/linux-4.4.14/include/asm-generic/bitops/ |
H A D | lock.h | 6 * @nr: Bit to set 7 * @addr: Address to count from 10 * It can be used to implement bit locks. 16 * @nr: the bit to set 17 * @addr: the address to start counting from 29 * @nr: the bit to set 30 * @addr: the address to start counting from 34 * ops to safely unlock.
|
/linux-4.4.14/arch/s390/kernel/vdso32/ |
H A D | note.S | 2 * This supplies .note.* sections to go into the PT_NOTE inside the vDSO text. 3 * Here we can supply some information useful to userland.
|
/linux-4.4.14/arch/s390/kernel/vdso64/ |
H A D | note.S | 2 * This supplies .note.* sections to go into the PT_NOTE inside the vDSO text. 3 * Here we can supply some information useful to userland.
|
/linux-4.4.14/arch/mips/boot/dts/qca/ |
H A D | Makefile | 4 # Select a DTB to build in the kernel 7 # Force kbuild to make empty built-in.o if necessary
|
/linux-4.4.14/arch/avr32/include/asm/ |
H A D | dma.h | 4 /* The maximum address that we can perform a DMA transfer to on this platform. 5 * Not really applicable to AVR32, but some functions need it. */
|
H A D | hw_irq.h | 6 /* Nothing to do */ hw_resend_irq()
|
/linux-4.4.14/arch/arm/mach-realview/include/mach/ |
H A D | barriers.h | 3 * controller to work around hardware errata causing the outer_sync() 4 * operation to deadlock the system.
|
/linux-4.4.14/Documentation/connector/ |
H A D | Makefile | 5 # List of programs to build 8 # Tell kbuild to always build the programs
|
/linux-4.4.14/Documentation/networking/timestamping/ |
H A D | Makefile | 6 # List of programs to build 9 # Tell kbuild to always build the programs
|
/linux-4.4.14/tools/testing/nvdimm/ |
H A D | config_check.c | 7 * These kconfig symbols must be set to "m" for nfit_test to check()
|
/linux-4.4.14/drivers/scsi/be2iscsi/ |
H A D | Makefile | 2 # Makefile to build the iSCSI driver for Emulex OneConnect.
|
/linux-4.4.14/drivers/net/ethernet/emulex/benet/ |
H A D | Makefile | 2 # Makefile to build the network driver for ServerEngine's BladeEngine.
|
/linux-4.4.14/fs/isofs/ |
H A D | util.c | 9 * We have to convert from a MM/DD/YY format to the Unix ctime format. 10 * We have to take into account leap years and all of that good stuff. 11 * Unfortunately, the kernel does not have the information on hand to 14 * and the timezone offset should hold the offset required to get back 15 * to GMT. Thus we should always be correct. 46 * timezone offset being what get added to GMT to iso_date() 47 * get to localtime. Thus we need to subtract the offset iso_date() 48 * to get to true GMT, which is what we store the time iso_date() 51 * gets converted back to localtime on the receiving iso_date() 54 * NOTE: mkisofs in versions prior to mkisofs-1.10 had iso_date() 59 * to add the timezone offset in with the wrong sign iso_date() 63 * Thanks to kuhlmav@elec.canterbury.ac.nz (Volker Kuhlmann) iso_date()
|
/linux-4.4.14/include/uapi/xen/ |
H A D | gntalloc.h | 4 * Interface to /dev/xen/gntalloc. 23 /* The ID of the domain to be given access to the grants. */ 27 /* Number of pages to map */ 30 /* The offset to be used on a subsequent call to mmap(). */ 40 * Deallocates the grant reference, allowing the associated page to be freed if 49 /* Number of references to unmap */ 55 * cleanup if this side crashes. Required to implement cross-domain robust 58 * Each mapped page only supports one notification; multiple calls referring to 60 * notification prior to the IOCTL_GNTALLOC_DEALLOC_GREF if you do not want it 61 * to occur. 68 * used in mmap). If using UNMAP_NOTIFY_CLEAR_BYTE, this is the byte to 73 /* Action(s) to take on unmap */ 75 /* Event channel to notify */ 79 /* Clear (set to zero) the byte specified by index */
|
H A D | evtchn.h | 4 * Interface to /dev/xen/evtchn. 12 * software packages, subject to the following license: 14 * Permission is hereby granted, free of charge, to any person obtaining a copy 15 * of this source file (the "Software"), to deal in the Software without 16 * restriction, including without limitation the rights to use, copy, modify, 18 * and to permit persons to whom the Software is furnished to do so, subject to 37 * Bind a fresh port to VIRQ @virq. 47 * Bind a fresh port to remote <@remote_domain, @remote_port>. 57 * Allocate a fresh port for binding to @remote_domain.
|
/linux-4.4.14/arch/arm/include/asm/ |
H A D | kmap_types.h | 5 * This is the "bare minimum". AIO seems to require this.
|
H A D | compiler.h | 5 * This is used to ensure the compiler did actually allocate the register we 7 * the compiler from one version to another so a bit of paranoia won't hurt. 8 * This string is meant to be concatenated with the inline asm string and 9 * will cause compilation to stop on mismatch. 11 * For compatibility with clang, we have to specifically take the equivalence
|
H A D | sparsemem.h | 10 * to address the last byte of memory. 12 * SECTION_SIZE_BITS: The number of physical address bits to cover 15 * Eg, if you have 2 banks of up to 64MB at 0x80000000, 0x84000000,
|
/linux-4.4.14/arch/mips/kernel/ |
H A D | cps-vec-ns16550.S | 22 * _mips_cps_putc() - write a character to the UART 23 * @a0: ASCII character to write 35 * _mips_cps_puts() - write a string to the UART 36 * @a0: pointer to NULL-terminated ASCII string 39 * Write a null-terminated ASCII string to the UART. 55 * _mips_cps_putx4 - write a 4b hex value to the UART 56 * @a0: the 4b value to write to the UART 59 * Write a single hexadecimal character to the UART. 72 * _mips_cps_putx8 - write an 8b hex value to the UART 73 * @a0: the 8b value to write to the UART 76 * Write an 8 bit value (ie. 2 hexadecimal characters) to the UART. 89 * _mips_cps_putx16 - write a 16b hex value to the UART 90 * @a0: the 16b value to write to the UART 93 * Write a 16 bit value (ie. 4 hexadecimal characters) to the UART. 106 * _mips_cps_putx32 - write a 32b hex value to the UART 107 * @a0: the 32b value to write to the UART 110 * Write a 32 bit value (ie. 8 hexadecimal characters) to the UART. 125 * _mips_cps_putx64 - write a 64b hex value to the UART 126 * @a0: the 64b value to write to the UART 129 * Write a 64 bit value (ie. 16 hexadecimal characters) to the UART. 150 * mips_cps_bev_dump() - dump relevant exception state to UART 151 * @a0: pointer to NULL-terminated ASCII string naming the exception 153 * Write information that may be useful in debugging an exception to the 156 * the bringup of a core and it is very likely to be unsafe to perform 160 * uncached access to the UART registers.
|
/linux-4.4.14/arch/x86/entry/vdso/vdso32/ |
H A D | note.S | 2 * This supplies .note.* sections to go into the PT_NOTE inside the vDSO text. 3 * Here we can supply some information useful to userland. 10 doesn't work. Remember to change this when changing the 19 * flavor that it will use to choose the search path for libraries in the 21 * We supply "nosegneg" as the fake capability, to indicate that we 23 * since we implement those inefficiently. This makes it possible to 24 * install libraries optimized to avoid those access patterns in someplace 26 * corresponding to the bits here is needed to make ldconfig work right. 29 * to match the mapping of bit to name that we give here. 31 * At runtime, the fake hardware feature will be considered to be present
|
/linux-4.4.14/arch/x86/include/uapi/asm/ |
H A D | statfs.h | 5 * We need compat_statfs64 to be packed, because the i386 ABI won't 6 * add padding at the end to bring it to a multiple of 8 bytes, but
|
/linux-4.4.14/arch/x86/realmode/rm/ |
H A D | realmode.h | 7 * 16-bit ljmpw to the real_mode_seg 12 #define LJMPW_RM(to) .byte 0xea ; .word (to), real_mode_seg
|
/linux-4.4.14/arch/cris/boot/rescue/ |
H A D | head_v32.S | 2 * Just get started by jumping to CONFIG_ETRAX_PTABLE_SECTOR to start 23 jump $r10 ; Jump to decompressor
|
/linux-4.4.14/fs/gfs2/ |
H A D | gfs2.h | 5 * This copyrighted material is made available to anyone wishing to use, 6 * modify, copy, or redistribute it subject to the terms and conditions
|
H A D | acl.h | 5 * This copyrighted material is made available to anyone wishing to use, 6 * modify, copy, or redistribute it subject to the terms and conditions
|
H A D | sys.h | 5 * This copyrighted material is made available to anyone wishing to use, 6 * modify, copy, or redistribute it subject to the terms and conditions
|
/linux-4.4.14/lib/ |
H A D | int_sqrt.c | 12 * int_sqrt - rough approximation to sqrt 13 * @x: integer of which to calculate the sqrt 15 * A very rough approximation to the sqrt() function.
|
H A D | iomap_copy.c | 14 * along with this program; if not, write to the Free Software Foundation, 22 * __iowrite32_copy - copy data to MMIO space, in 32-bit units 23 * @to: destination, in MMIO space (must be 32-bit aligned) 25 * @count: number of 32-bit quantities to copy 27 * Copy data from kernel space to MMIO space, in units of 32 bits at a 31 void __attribute__((weak)) __iowrite32_copy(void __iomem *to, __iowrite32_copy() argument 35 u32 __iomem *dst = to; __iowrite32_copy() 45 * __iowrite64_copy - copy data to MMIO space, in 64-bit or 32-bit units 46 * @to: destination, in MMIO space (must be 64-bit aligned) 48 * @count: number of 64-bit quantities to copy 50 * Copy data from kernel space to MMIO space, in units of 32 or 64 bits at a 54 void __attribute__((weak)) __iowrite64_copy(void __iomem *to, __iowrite64_copy() argument 59 u64 __iomem *dst = to; __iowrite64_copy() 66 __iowrite32_copy(to, from, count * 2); __iowrite64_copy()
|
H A D | parser.c | 17 * @s: the string to examine for presence of the pattern 19 * @args: array of %MAX_OPT_ARGS &substring_t elements. Used to return match 67 args[argc].to = s + len; match_one() 71 simple_strtol(s, &args[argc].to, 0); match_one() 74 simple_strtoul(s, &args[argc].to, 0); match_one() 77 simple_strtoul(s, &args[argc].to, 8); match_one() 80 simple_strtoul(s, &args[argc].to, 16); match_one() 82 if (args[argc].to == args[argc].from) match_one() 88 s = args[argc].to; match_one() 95 * @s: the string to examine for token/argument pairs 98 * &struct match_token whose pattern is set to the NULL pointer. 99 * @args: array of %MAX_OPT_ARGS &substring_t elements. Used to return match 103 * to it. Tokens can include up to MAX_OPT_ARGS instances of basic c-style 120 * @s: substring to be scanned 122 * @base: base to use when converting string 124 * Description: Given a &substring_t and a base, attempts to parse the substring 125 * as a number in that base. On success, sets @result to the integer represented 134 size_t len = s->to - s->from; match_number() 156 * @s: substring_t to be scanned 159 * Description: Attempts to parse the &substring_t @s as a decimal integer. On 160 * success, sets @result to the integer represented by the string and returns 0. 171 * @s: substring_t to be scanned 174 * Description: Attempts to parse the &substring_t @s as an octal integer. On 175 * success, sets @result to the integer represented by the string and returns 186 * @s: substring_t to be scanned 189 * Description: Attempts to parse the &substring_t @s as a hexadecimal integer. 190 * On success, sets @result to the integer represented by the string and 202 * @str: the string to be parsed 204 * Description: Parse the string @str to check if matches wildcard 251 * match_strlcpy: - Copy the characters from a substring_t to a sized buffer 252 * @dest: where to copy to 253 * @src: &substring_t to copy 256 * Description: Copy the characters in &substring_t @src to the 262 size_t ret = src->to - src->from; match_strlcpy() 275 * @s: &substring_t to copy 283 size_t sz = s->to - s->from + 1; match_strdup()
|
/linux-4.4.14/fs/dlm/ |
H A D | lvb_table.h | 6 ** This copyrighted material is made available to anyone wishing to use, 7 ** modify, copy, or redistribute it subject to the terms and conditions
|
H A D | midcomms.h | 7 ** This copyrighted material is made available to anyone wishing to use, 8 ** modify, copy, or redistribute it subject to the terms and conditions
|
H A D | util.h | 6 ** This copyrighted material is made available to anyone wishing to use, 7 ** modify, copy, or redistribute it subject to the terms and conditions
|
H A D | lockspace.h | 7 ** This copyrighted material is made available to anyone wishing to use, 8 ** modify, copy, or redistribute it subject to the terms and conditions
|
H A D | memory.h | 7 ** This copyrighted material is made available to anyone wishing to use, 8 ** modify, copy, or redistribute it subject to the terms and conditions
|
H A D | recoverd.h | 7 ** This copyrighted material is made available to anyone wishing to use, 8 ** modify, copy, or redistribute it subject to the terms and conditions
|
H A D | requestqueue.h | 6 ** This copyrighted material is made available to anyone wishing to use, 7 ** modify, copy, or redistribute it subject to the terms and conditions
|
H A D | user.h | 4 * This copyrighted material is made available to anyone wishing to use, 5 * modify, copy, or redistribute it subject to the terms and conditions
|
/linux-4.4.14/include/uapi/linux/netfilter/ipset/ |
H A D | ip_set_list.h | 6 /* Set name to be added/deleted/tested does not exist. */ 8 /* list:set type is not permitted to add */ 16 /* Reference set is not added to the set */
|
/linux-4.4.14/arch/mips/cavium-octeon/crypto/ |
H A D | octeon-crypto.c | 2 * This file is subject to the terms and conditions of the GNU General Public 16 * Enable access to Octeon's COP2 crypto hardware for kernel use. Wrap any 17 * crypto operations in calls to octeon_crypto_enable/disable in order to make 22 * @state: Pointer to state structure to store current COP2 state in. 24 * Returns: Flags to be passed to octeon_crypto_disable() 48 * Disable access to Octeon's COP2 crypto hardware in the kernel. This must be 49 * called after an octeon_crypto_enable() before any context switch or return to 52 * @state: Pointer to COP2 state to restore
|
/linux-4.4.14/arch/ia64/include/uapi/asm/ |
H A D | statfs.h | 12 * We need compat_statfs64 to be packed, because the i386 ABI won't 13 * add padding at the end to bring it to a multiple of 8 bytes, but
|
/linux-4.4.14/arch/arm/include/uapi/asm/ |
H A D | statfs.h | 5 * With EABI there is 4 bytes of padding added to this structure. 6 * Let's pack it so the padding goes away to simplify dual ABI support. 7 * Note that user space does NOT have to pack this structure.
|
/linux-4.4.14/include/linux/mfd/ |
H A D | cros_ec.h | 30 * simple delay to make sure that the bus stays locked. 60 * @command: Command to send (EC_CMD_...) 62 * @insize: Max number of bytes to accept from EC 63 * @result: EC's response to the command (separate from communication failure) 64 * @data: Where to put the incoming data from EC and outgoing data to EC 80 * @was_wake_device: true if this device was set to wake the system from 84 * @bytes: number of bytes to read. zero means "read a string" (including 90 * @irq: Interrupt to use 93 * @dout: output buffer (for data to EC) 96 * space for up to 7 word-alignment bytes also, so we can ensure that 98 * We use this alignment to keep ARM and x86 happy. Probably word 100 * to using dword. 101 * @din_size: size of din buffer to allocate (zero to use static din) 102 * @dout_size: size of dout buffer to allocate (zero to use static dout) 104 * @cmd_xfer: send command to EC and get response 108 * @pkt_xfer: send packet to EC and get response 113 /* These are used by other drivers that want to talk to the EC */ 121 /* These are used to implement the platform-specific interface */ 144 * @cmd_offset: offset to apply for each command. Set when 157 * @ec_dev: cros_ec_device structure to talk to the physical device 158 * @dev: pointer to the platform device 159 * @cmd_offset: offset to apply for each command. 172 * This can be called by drivers to handle a suspend event. 174 * ec_dev: Device to suspend 182 * This can be called by drivers to handle a resume event. 184 * @ec_dev: Device to resume 192 * This is intended to be used by all ChromeOS EC drivers, but at present 196 * @ec_dev: Device to register 197 * @msg: Message to write 205 * This is used by ChromeOS EC drivers to check the ec_msg->result for 206 * errors and to warn about them. 209 * @msg: Message to check 215 * cros_ec_cmd_xfer - Send a command to the ChromeOS EC 217 * Call this to send a command to the ChromeOS EC. This should be used 221 * @msg: Message to write 229 * Call this to deregister a ChromeOS EC, then clean up any private data. 231 * @ec_dev: Device to register 239 * Before calling this, allocate a pointer to a new device and then fill 240 * in all the fields up to the --private-- marker. 242 * @ec_dev: Device to register 250 * @ec_dev: Device to register
|
/linux-4.4.14/scripts/basic/ |
H A D | Makefile | 3 # The programs listed herein are what are needed to do the basic stuff, 5 # This initial step is needed to avoid files to be recompiled 9 # fixdep: Used to generate dependency information during build process 15 # fixdep is needed to compile other host programs
|
H A D | bin2c.c | 2 * Unloved program to convert a binary on stdin to a C include on stdout 6 * This software may be used and distributed according to the terms
|
/linux-4.4.14/arch/metag/include/asm/ |
H A D | global_lock.h | 8 * @flags: Variable to store flags into. 10 * Acquires the Meta global voluntary lock (LOCK1), also taking care to disable 11 * all triggers so we cannot be interrupted, and to enforce a compiler barrier 14 * No other hardware thread will be able to acquire the voluntary or exclusive 16 * may continue to execute as long as they aren't trying to acquire either of 32 * @flags: Variable to restore flags from. 35 * @__global_lock1, also taking care to re-enable triggers, and to enforce a 39 * This immediately allows another hardware thread to acquire the voluntary or 53 * @flags: Variable to store flags into. 56 * also taking care to disable all triggers so we cannot be interrupted, to take 57 * the atomic lock (system event) and to enforce a compiler barrier so that the 60 * No other hardware thread will be able to execute code until the locks are 78 * @flags: Variable to restore flags from. 81 * acquired with @__global_lock2, also taking care to release the atomic lock 82 * (system event), re-enable triggers, and to enforce a compiler barrier so that 85 * This immediately allows other hardware threads to continue executing and one 86 * of them to acquire locks.
|
/linux-4.4.14/net/core/ |
H A D | dev_addr_lists.c | 192 * between source and destionation of they synch. If you ever need to 193 * sync addresses to more then 1 destination, you need to use 230 * @list: address list to syncronize 231 * @dev: device to sync 232 * @sync: function to call if address should be added 233 * @unsync: function to call if address should be removed 235 * This funciton is intended to be called from the ndo_set_rx_mode 239 * any notification to the device. 263 /* go through and sync new entries to the list */ __hw_addr_sync_dev() 282 * @list: address list to remove synchronized addresses from 283 * @dev: device to sync 284 * @unsync: function to call if address should be removed 286 * Remove all addresses that were added to the device by __hw_addr_sync_dev(). 287 * This function is intended to be called from the ndo_stop or ndo_open 290 * can be used to just reset the sync_cnt for the addresses in the list. 376 * and set dev_addr pointer to this location. dev_addr_init() 389 * @addr: address to add 392 * Add a device address to the device or increase the reference count if 414 * @addr: address to delete 417 * Release reference to a device address and remove it from the device 418 * if the reference count drops to zero. 432 * dev->dev_addr points to that. dev_addr_del() 455 * @addr: address to add 483 * @addr: address to add 485 * Add a secondary unicast address to the device or increase 505 * @addr: address to delete 507 * Release reference to a secondary unicast address and remove it 508 * from the device if the reference count drops to zero. 525 * dev_uc_sync - Synchronize device's unicast list to another device 526 * @to: destination device 529 * Add newly added addresses to the destination device and release 533 * This function is intended to be called from the dev->set_rx_mode 535 * addresses will only ever be synced to the @to devices and no other. 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() 544 netif_addr_lock_nested(to); dev_uc_sync() 545 err = __hw_addr_sync(&to->uc, &from->uc, to->addr_len); dev_uc_sync() 547 __dev_set_rx_mode(to); dev_uc_sync() 548 netif_addr_unlock(to); dev_uc_sync() 554 * dev_uc_sync_multiple - Synchronize device's unicast list to another 555 * device, but allow for multiple calls to sync to multiple devices. 556 * @to: destination device 559 * Add newly added addresses to the destination device and release 563 * This function is intended to be called from the dev->set_rx_mode 565 * device to be synced to multiple destination devices. 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() 574 netif_addr_lock_nested(to); dev_uc_sync_multiple() 575 err = __hw_addr_sync_multiple(&to->uc, &from->uc, to->addr_len); dev_uc_sync_multiple() 577 __dev_set_rx_mode(to); dev_uc_sync_multiple() 578 netif_addr_unlock(to); dev_uc_sync_multiple() 585 * @to: destination device 588 * Remove all addresses that were added to the destination device by 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() 598 netif_addr_lock_nested(to); dev_uc_unsync() 599 __hw_addr_unsync(&to->uc, &from->uc, to->addr_len); dev_uc_unsync() 600 __dev_set_rx_mode(to); dev_uc_unsync() 601 netif_addr_unlock(to); dev_uc_unsync() 639 * @addr: address to add 680 * @addr: address to add 682 * Add a multicast address to the device or increase 694 * @addr: address to add 696 * Add a global multicast address to the device. 721 * @addr: address to delete 723 * Release reference to a multicast address and remove it 724 * from the device if the reference count drops to zero. 735 * @addr: address to delete 737 * Release reference to a multicast address and remove it 738 * from the device if the reference count drops to zero. 747 * dev_mc_sync - Synchronize device's multicast list to another device 748 * @to: destination device 751 * Add newly added addresses to the destination device and release 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() 765 netif_addr_lock_nested(to); dev_mc_sync() 766 err = __hw_addr_sync(&to->mc, &from->mc, to->addr_len); dev_mc_sync() 768 __dev_set_rx_mode(to); dev_mc_sync() 769 netif_addr_unlock(to); dev_mc_sync() 775 * dev_mc_sync_multiple - Synchronize device's multicast list to another 776 * device, but allow for multiple calls to sync to multiple devices. 777 * @to: destination device 780 * Add newly added addresses to the destination device and release 784 * This function is intended to be called from the ndo_set_rx_mode 786 * source device to be synced to multiple destination devices. 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() 795 netif_addr_lock_nested(to); dev_mc_sync_multiple() 796 err = __hw_addr_sync_multiple(&to->mc, &from->mc, to->addr_len); dev_mc_sync_multiple() 798 __dev_set_rx_mode(to); dev_mc_sync_multiple() 799 netif_addr_unlock(to); dev_mc_sync_multiple() 806 * @to: destination device 809 * Remove all addresses that were added to the destination device by 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() 819 netif_addr_lock_nested(to); dev_mc_unsync() 820 __hw_addr_unsync(&to->mc, &from->mc, to->addr_len); dev_mc_unsync() 821 __dev_set_rx_mode(to); dev_mc_unsync() 822 netif_addr_unlock(to); dev_mc_unsync()
|
/linux-4.4.14/arch/metag/lib/ |
H A D | usercopy.c | 22 * immediately unless the memory pipe is forced to by e.g. a data stall or 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 231 * We introduce an extra SETL at the end of the loop to 239 * the value of LSM_STEP to be incorrect which can 240 * cause subsequent use of M{S,G}ET{L,D} to go wrong. 242 * next call to M{S,G}ET{L,D} will skip the first 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 324 * A fault always occurs on writing to user buffer. A fault 325 * is at a single address, so we need to rewind by only 4 328 * writing, we need to rewind it also. The amount to be 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 374 * We introduce an extra SETD at the end of the loop to 382 * the value of LSM_STEP to be incorrect which can 383 * cause subsequent use of M{S,G}ET{L,D} to go wrong. 385 * next call to M{S,G}ET{L,D} will skip the first 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 495 * A fault always occurs on writing to user buffer. A fault 496 * is at a single address, so we need to rewind by only 4 499 * writing, we need to rewind it also. The amount to be 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) \ 793 * need to rewind by 8 bytes. 794 * Since we don't write to kernel buffer until we read first, 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, \ 807 * need to rewind by 4 bytes. 808 * Since we don't write to kernel buffer until we read first, 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 907 have to check each byte), due to the src alignment code. __copy_user_zeroing() 929 /* We already have "retn" bytes cleared, and need to clear the __copy_user_zeroing() 943 #define __asm_clear_8x64(to, ret) \ 958 : "=r" (to), "=r" (ret) \ 959 : "0" (to), "1" (ret) \ 964 #define __asm_clear(to, ret, CLEAR, FIXUP, TENTRY) \ 977 : "=r" (to), "=r" (ret) \ 978 : "0" (to), "1" (ret) \ 981 #define __asm_clear_1(to, ret) \ 982 __asm_clear(to, ret, \ 988 #define __asm_clear_2(to, ret) \ 989 __asm_clear(to, ret, \ 995 #define __asm_clear_3(to, ret) \ 996 __asm_clear(to, ret, \ 1005 #define __asm_clear_4x_cont(to, ret, CLEAR, FIXUP, TENTRY) \ 1006 __asm_clear(to, ret, \ 1012 #define __asm_clear_4(to, ret) \ 1013 __asm_clear_4x_cont(to, ret, "", "", "") 1015 #define __asm_clear_8x_cont(to, ret, CLEAR, FIXUP, TENTRY) \ 1016 __asm_clear_4x_cont(to, ret, \ 1022 #define __asm_clear_8(to, ret) \ 1023 __asm_clear_8x_cont(to, ret, "", "", "") 1025 #define __asm_clear_12x_cont(to, ret, CLEAR, FIXUP, TENTRY) \ 1026 __asm_clear_8x_cont(to, ret, \ 1032 #define __asm_clear_12(to, ret) \ 1033 __asm_clear_12x_cont(to, ret, "", "", "") 1035 #define __asm_clear_16x_cont(to, ret, CLEAR, FIXUP, TENTRY) \ 1036 __asm_clear_12x_cont(to, ret, \ 1042 #define __asm_clear_16(to, ret) \ 1043 __asm_clear_16x_cont(to, ret, "", "", "")
|
/linux-4.4.14/arch/arm/kernel/ |
H A D | io.c | 11 * Allows thread-safe access to registers shared by unrelated subsystems. 41 * Copy data from IO memory space to "real" memory space. 42 * This needs to be optimized. 44 void _memcpy_fromio(void *to, const volatile void __iomem *from, size_t count) _memcpy_fromio() argument 46 unsigned char *t = to; _memcpy_fromio() 57 * Copy data from "real" memory space to IO memory space. 58 * This needs to be optimized. 60 void _memcpy_toio(volatile void __iomem *to, const void *from, size_t count) _memcpy_toio() argument 65 writeb(*f, to); _memcpy_toio() 67 to++; _memcpy_toio() 74 * This needs to be optimized.
|
/linux-4.4.14/drivers/gpu/drm/radeon/ |
H A D | radeon_sync.c | 5 * Permission is hereby granted, free of charge, to any person obtaining a 7 * "Software"), to deal in the Software without restriction, including 8 * without limitation the rights to use, copy, modify, merge, publish, 9 * distribute, sub license, and/or sell copies of the Software, and to 10 * permit persons to whom the Software is furnished to do so, subject to 38 * @sync: sync object to initialize 56 * radeon_sync_fence - use the semaphore to sync to a fence 58 * @sync: sync object to add fence to 59 * @fence: fence to sync to 61 * Sync to the fence using the semaphore objects 81 * radeon_sync_resv - use the semaphores to sync to a reservation object 83 * @sync: sync object to add fences from reservation object to 85 * @shared: true if we should only sync to the exclusive fence 87 * Sync to the fence using the semaphore objects 100 /* always sync to the exclusive fence */ radeon_sync_resv() 128 * radeon_sync_rings - sync ring to all registered fences 131 * @sync: sync object to use 148 /* check if we really need to sync */ radeon_sync_rings() 154 dev_err(rdev->dev, "Syncing to a disabled ring!"); radeon_sync_rings() 207 * @sync: sync object to use 208 * @fence: fence to use for the free
|
H A D | drm_buffer.c | 6 * Permission is hereby granted, free of charge, to any person obtaining a 8 * "Software"), to deal in the Software without restriction, including 9 * without limitation the rights to use, copy, modify, merge, publish, 10 * distribute, sub license, and/or sell copies of the Software, and to 11 * permit persons to whom the Software is furnished to do so, subject to 41 * buf: Pointer to a pointer where the object is stored. 42 * size: The number of bytes to allocate. 49 /* Allocating pointer table to end of structure makes drm_buffer drm_buffer_alloc() 55 DRM_ERROR("Failed to allocate drm buffer object to hold" drm_buffer_alloc() 71 DRM_ERROR("Failed to allocate %dth page for drm" drm_buffer_alloc() 91 * Copy the user data to the begin of the buffer and reset the processing 94 * user_data: A pointer the data that is copied to the buffer. 95 * size: The Number of bytes to copy. 104 DRM_ERROR("Requesting to copy %d bytes to a drm buffer with" drm_buffer_copy_from_user() 115 DRM_ERROR("Failed to copy user data (%p) to drm buffer" drm_buffer_copy_from_user() 144 * Read an object from buffer that may be split to multiple parts. If object 145 * is not split function just returns the pointer to object in buffer. But in 146 * case of split object data is copied to given stack object that is suplied 149 * The processing location of the buffer is also advanced to the next byte 153 * stack_obj: A pointer to a memory location where object can be copied. 165 /* The object is split which forces copy to temporary object.*/ drm_buffer_read_object()
|
H A D | drm_buffer.h | 6 * Permission is hereby granted, free of charge, to any person obtaining a 8 * "Software"), to deal in the Software without restriction, including 9 * without limitation the rights to use, copy, modify, merge, publish, 10 * distribute, sub license, and/or sell copies of the Software, and to 11 * permit persons to whom the Software is furnished to do so, subject to 62 * Return number of bytes that is left to process 80 * buf: A pointer to a pointer where the object is stored. 81 * size: The number of bytes to allocate. 86 * Copy the user data to the begin of the buffer and reset the processing 89 * user_data: A pointer the data that is copied to the buffer. 90 * size: The Number of bytes to copy. 101 * Read an object from buffer that may be split to multiple parts. If object 102 * is not split function just returns the pointer to object in buffer. But in 103 * case of split object data is copied to given stack object that is suplied 106 * The processing location of the buffer is also advanced to the next byte 110 * stack_obj: A pointer to a memory location where object can be copied. 116 * Returns the pointer to the dword which is offset number of elements from the 123 * Call to this function doesn't change the processing location. 125 * offset: The index of the dword relative to the internat iterator. 134 * Returns the pointer to the dword which is offset number of elements from 137 * Call to this function doesn't change the processing location. 139 * offset: The index of the byte relative to the internat iterator.
|
/linux-4.4.14/sound/soc/tegra/ |
H A D | tegra20_das.h | 17 * along with this program; if not, write to the Free Software 97 * The Tegra DAS is a mux/cross-bar which can connect each DAP to a specific 99 * one the slave. Each DAC allows selection of a specific DAP for input, to 100 * cater for the case where N DAPs are connected to 1 DAC for broadcast 103 * This driver is dumb; no attempt is made to ensure that a valid routing 108 * Connect a DAP to to a DAC 109 * dap_id: DAP to connect: TEGRA20_DAS_DAP_ID_* 110 * dac_sel: DAC to connect to: TEGRA20_DAS_DAP_SEL_DAC* 115 * Connect a DAP to to another DAP 116 * dap_id: DAP to connect: TEGRA20_DAS_DAP_ID_* 117 * other_dap_sel: DAP to connect to: TEGRA20_DAS_DAP_SEL_DAP* 127 * Connect a DAC's input to a DAP 129 * dac_id: DAC ID to connect: TEGRA20_DAS_DAC_ID_* 130 * dap_sel: DAP to receive input from: TEGRA20_DAS_DAC_SEL_DAP*
|
/linux-4.4.14/drivers/staging/sm750fb/ |
H A D | ddk750_swi2c.h | 24 * i2cClkGPIO - The GPIO pin to be used as i2c SCL 25 * i2cDataGPIO - The GPIO pin to be used as i2c SDA 28 * -1 - Fail to initialize the i2c 41 * to be read from 42 * reg - Slave device's register to be read 53 * This function writes a value to the slave device's register 57 * to be written 58 * reg - Slave device's register to be written 59 * data - Data to be written to the register
|
/linux-4.4.14/arch/alpha/kernel/ |
H A D | es1888.c | 14 /* Sequence of IO reads to init the audio controller */ es1888_init() 25 inb(0x0220); /* This sets the base address to 0x220 */ es1888_init() 27 /* Sequence to set DMA channels */ es1888_init() 31 while (!(inb(0x022e) & 0x80)) /* wait for bit 7 to assert*/ es1888_init() 36 while (inb(0x022c) & 0x80) /* wait for bit 7 to deassert */ es1888_init() 38 outb(0xb1, 0x022c); /* setup for write to Interrupt CR */ es1888_init() 39 while (inb(0x022c) & 0x80) /* wait for bit 7 to deassert */ es1888_init() 42 while (inb(0x022c) & 0x80) /* wait for bit 7 to deassert */ es1888_init() 44 outb(0xb2, 0x022c); /* setup for write to DMA CR */ es1888_init() 45 while (inb(0x022c) & 0x80) /* wait for bit 7 to deassert */ es1888_init()
|
/linux-4.4.14/arch/c6x/include/asm/ |
H A D | uaccess.h | 25 static inline __must_check long __copy_from_user(void *to, __copy_from_user() argument 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() 61 static inline __must_check long __copy_to_user(void __user *to, __copy_to_user() argument 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()
|
/linux-4.4.14/arch/s390/lib/ |
H A D | string.c | 15 * Helper functions to find the end of a string 40 * @s: The string to be sized 52 * @s: The string to be sized 53 * @n: The maximum number of bytes to search 65 * @dest: Where to copy the string to 66 * @src: Where to copy the string from 68 * returns a pointer to @dest 85 * @dest: Where to copy the string to 86 * @src: Where to copy the string from 109 * @dest: Where to copy the string to 110 * @src: Where to copy the string from 111 * @n: The maximum number of bytes to copy 126 * strcat - Append one %NUL-terminated string to another 127 * @dest: The string to be appended to 128 * @src: The string to append to it 130 * returns a pointer to @dest 149 * strlcat - Append a length-limited, %NUL-terminated string to another 150 * @dest: The string to be appended to 151 * @src: The string to append to it 173 * strncat - Append a length-limited, %NUL-terminated string to another 174 * @dest: The string to be appended to 175 * @src: The string to append to it 176 * @n: The maximum numbers of bytes to copy 178 * returns a pointer to @dest 180 * Note that in contrast to strncpy, strncat ensures the result is 223 * @s: The string to be searched 224 * @c: The character to search for 241 * @s1: The string to be searched 242 * @s2: The string to search for 276 * @c: The byte to search for 326 * @c: The byte to search for
|
/linux-4.4.14/arch/arm/plat-samsung/ |
H A D | watchdog-reset.c | 38 /* delay to allow the serial port to show the message */ samsung_wdt_reset() 46 /* disable watchdog, to be safe */ samsung_wdt_reset() 53 /* set the watchdog to go and reset... */ samsung_wdt_reset() 58 /* wait for reset to assert... */ samsung_wdt_reset() 61 pr_err("Watchdog reset failed to assert reset\n"); samsung_wdt_reset() 63 /* delay to allow the serial port to show the message */ samsung_wdt_reset() 79 pr_err("%s: failed to find watchdog node\n", __func__); samsung_wdt_reset_of_init() 85 pr_err("%s: failed to map watchdog registers\n", __func__); samsung_wdt_reset_of_init()
|
/linux-4.4.14/drivers/staging/android/uapi/ |
H A D | ion_test.h | 24 * struct ion_test_rw_data - metadata passed to the kernel to read handle 25 * @ptr: a pointer to an area at least as large as size 26 * @offset: offset into the ion buffer to start reading 27 * @size: size to read or write 28 * @write: 1 to write, 0 to read 41 * DOC: ION_IOC_TEST_SET_DMA_BUF - attach a dma buf to the test driver 43 * Attaches a dma buf fd to the test driver. Passing a second fd or -1 will 53 * used by unit tests to emulate a DMA engine as close as possible. Only 54 * expected to be used for debugging and testing, may not always be available. 63 * used by unit tests to test heap map_kernel functions. Only expected to be
|
/linux-4.4.14/tools/testing/selftests/powerpc/pmu/ebb/ |
H A D | event_attributes_test.c | 23 /* Expected to succeed */ event_attributes() 30 /* Expected to fail, no PMC specified */ event_attributes() 37 /* Expected to fail, not exclusive */ event_attributes() 44 /* Expected to fail, sets freq */ event_attributes() 51 /* Expected to fail, sets sample_period */ event_attributes() 58 /* Expected to fail, sets enable_on_exec */ event_attributes() 65 /* Expected to fail, sets inherit */ event_attributes() 76 /* Expected to succeed */ event_attributes() 88 /* Expected to fail, event doesn't request EBB, leader does */ event_attributes() 103 /* Expected to fail, leader doesn't request EBB */ event_attributes() 111 /* Expected to fail, leader isn't exclusive */ event_attributes() 118 /* Expected to fail, leader isn't pinned */ event_attributes() 123 /* Expected to fail, not a task event */ event_attributes()
|
/linux-4.4.14/drivers/net/wireless/ |
H A D | mac80211_hwsim.h | 15 * enum hwsim_tx_control_flags - flags to describe transmission info/status 17 * These flags are used to give the wmediumd extra information in order to 21 * @HWSIM_TX_CTL_NO_ACK: tell the wmediumd not to wait for an ack 34 * Frame transmission and registration support exists to allow userspace 35 * entities such as wmediumd to receive and process all broadcasted 38 * This allow user space applications to decide if the frame should be 41 * Registration is done by sending a register message to the driver and 43 * responds to sent frames. 44 * Once registered the user application has to take responsibility of 45 * broadcasting the frames to all listening mac80211_hwsim radio 55 * @HWSIM_CMD_UNSPEC: unspecified command to catch errors 57 * @HWSIM_CMD_REGISTER: request to register and received all broadcasted 59 * @HWSIM_CMD_FRAME: send/receive a broadcasted frame from/to kernel/user 64 * @HWSIM_CMD_TX_INFO_FRAME: Transmission info report from user space to 94 * @HWSIM_ATTR_UNSPEC: unspecified attribute to catch errors 97 * the frame is broadcasted to 101 * @HWSIM_ATTR_FLAGS: mac80211 transmission flags, used to process 108 * @HWSIM_ATTR_COOKIE: sk_buff cookie to identify the frame 112 * only to destroy a radio 119 * command to force use of channel contexts even when only a 122 * command to force radio removal when process that created the radio dies 158 * @idx: rate index to attempt to send with 159 * @count: number of tries in this rate before going to the next rate
|
/linux-4.4.14/scripts/dtc/libfdt/ |
H A D | libfdt.h | 21 * License along with this library; if not, write to the Free 64 /* FDT_ERR_EXISTS: Attemped to create a node or property which 67 /* FDT_ERR_NOSPACE: Operation needed to expand the device 68 * tree, but its buffer did not have sufficient space to 69 * contain the expanded tree. Use fdt_open_into() to move the 70 * device tree to a buffer with more space. */ 75 * offset which is out-of-bounds, or which points to an 94 /* FDT_ERR_BADMAGIC: Given "device tree" appears not to be a 101 * required to convert the tree to the expected version. */ 110 * then strings). Use fdt_open_into() to reorganize the tree 148 * @offset: Offset of node to check 156 * After first calling fdt_first_subnode(), call this function repeatedly to 203 * @fdt: pointer to data which might be a flattened device tree 206 * appears to be a flattened device tree with sane information in its 210 * 0, if the buffer appears to contain a valid device tree 219 * @fdt: pointer to the device tree to move 220 * @buf: pointer to memory where the device is to be moved 224 * fdt to the buffer at buf of size bufsize. The buffer may overlap 231 * -FDT_ERR_NOSPACE, bufsize is insufficient to contain the device tree 244 * @fdt: pointer to the device tree blob 247 * fdt_string() retrieves a pointer to a single string from the 251 * a pointer to the string, on success 258 * @fdt: pointer to the device tree blob 271 * @fdt: pointer to the device tree blob 272 * @address, @size: pointers to 64-bit variables 288 * @fdt: pointer to the device tree blob 290 * @name: name of the subnode to locate 291 * @namelen: number of characters of name to consider 293 * Identical to fdt_subnode_offset(), but only examine the first 302 * @fdt: pointer to the device tree blob 304 * @name: name of the subnode to locate 316 * -FDT_ERR_BADOFFSET, if parentoffset did not point to an FDT_BEGIN_NODE tag 327 * @fdt: pointer to the device tree blob 328 * @path: full path of the node to locate 329 * @namelen: number of characters of path to consider 331 * Identical to fdt_path_offset(), but only consider the first namelen 338 * @fdt: pointer to the device tree blob 339 * @path: full path of the node to locate 362 * @fdt: pointer to the device tree blob 364 * @lenp: pointer to an integer variable (will be overwritten) or NULL 369 * pointed to by lenp. 372 * pointer to the node's name, on success 376 * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_BEGIN_NODE tag 385 * @fdt: pointer to the device tree blob 394 * -FDT_ERR_BADOFFSET, if nodeoffset did not point to an FDT_BEGIN_NODE tag 405 * @fdt: pointer to the device tree blob 415 * -FDT_ERR_BADOFFSET, if nodeoffset did not point to an FDT_PROP tag 426 * @fdt: pointer to the device tree blob 427 * @offset: offset of the property to retrieve 428 * @lenp: pointer to an integer variable (will be overwritten) or NULL 430 * fdt_get_property_by_offset() retrieves a pointer to the 433 * also returned, in the integer pointed to by lenp. 436 * pointer to the structure representing the property 441 * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_PROP tag 454 * @fdt: pointer to the device tree blob 455 * @nodeoffset: offset of the node whose property to find 456 * @name: name of the property to find 457 * @namelen: number of characters of name to consider 458 * @lenp: pointer to an integer variable (will be overwritten) or NULL 460 * Identical to fdt_get_property_namelen(), but only examine the first 470 * @fdt: pointer to the device tree blob 471 * @nodeoffset: offset of the node whose property to find 472 * @name: name of the property to find 473 * @lenp: pointer to an integer variable (will be overwritten) or NULL 475 * fdt_get_property() retrieves a pointer to the fdt_property 476 * structure within the device tree blob corresponding to the property 479 * integer pointed to by lenp. 482 * pointer to the structure representing the property 488 * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_BEGIN_NODE tag 507 * @fdt: pointer to the device tree blob 508 * @ffset: offset of the property to read 509 * @namep: pointer to a string variable (will be overwritten) or NULL 510 * @lenp: pointer to an integer variable (will be overwritten) or NULL 512 * fdt_getprop_by_offset() retrieves a pointer to the value of the 514 * to within the device blob itself, not a copy of the value). If 516 * returned, in the integer pointed to by lenp. If namep is non-NULL, 517 * the property's namne will also be returned in the char * pointed to 518 * by namep (this will be a pointer to within the device tree's string 522 * pointer to the property's value 525 * if namep is non-NULL *namep contiains a pointer to the property 529 * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_PROP tag 541 * @fdt: pointer to the device tree blob 542 * @nodeoffset: offset of the node whose property to find 543 * @name: name of the property to find 544 * @namelen: number of characters of name to consider 545 * @lenp: pointer to an integer variable (will be overwritten) or NULL 547 * Identical to fdt_getprop(), but only examine the first namelen 555 * @fdt: pointer to the device tree blob 556 * @nodeoffset: offset of the node whose property to find 557 * @name: name of the property to find 558 * @lenp: pointer to an integer variable (will be overwritten) or NULL 560 * fdt_getprop() retrieves a pointer to the value of the property 562 * pointer to within the device blob itself, not a copy of the value). 564 * returned, in the integer pointed to by lenp. 567 * pointer to the property's value 573 * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_BEGIN_NODE tag 590 * @fdt: pointer to the device tree blob 604 * @fdt: pointer to the device tree blob 606 * @namelen: number of characters of name to consider 608 * Identical to fdt_get_alias(), but only examine the first namelen 616 * @fdt: pointer to the device tree blob 623 * a pointer to the expansion of the alias named 'name', if it exists 630 * @fdt: pointer to the device tree blob 631 * @nodeoffset: offset of the node whose path to find 632 * @buf: character buffer to contain the returned path (will be overwritten) 639 * structure from the start to nodeoffset. 645 * -FDT_ERR_BADOFFSET, nodeoffset does not refer to a BEGIN_NODE tag 657 * @fdt: pointer to the device tree blob 658 * @nodeoffset: offset of the node whose parent to find 659 * @supernodedepth: depth of the ancestor to find 660 * @nodedepth: pointer to an integer variable (will be overwritten) or NULL 672 * structure from the start to nodeoffset. 678 * -FDT_ERR_BADOFFSET, nodeoffset does not refer to a BEGIN_NODE tag 690 * @fdt: pointer to the device tree blob 691 * @nodeoffset: offset of the node whose parent to find 697 * structure from the start to nodeoffset. 701 * -FDT_ERR_BADOFFSET, nodeoffset does not refer to a BEGIN_NODE tag 711 * @fdt: pointer to the device tree blob 712 * @nodeoffset: offset of the node whose parent to find 719 * structure from the start to nodeoffset, *twice*. 724 * -FDT_ERR_BADOFFSET, nodeoffset does not refer to a BEGIN_NODE tag 734 * @fdt: pointer to the device tree blob 736 * @propname: property name to check 737 * @propval: property value to search for 742 * value is of length proplen and has value equal to propval; or if 755 * Note the -1 in the first call to the function, if 0 is used here 764 * -FDT_ERR_BADOFFSET, nodeoffset does not refer to a BEGIN_NODE tag 776 * @fdt: pointer to the device tree blob 797 * @fdt: pointer to the device tree blob 799 * @compatible: string to match against 811 * -FDT_ERR_BADOFFSET, if nodeoffset does not refer to a BEGIN_NODE tag 822 * @fdt: pointer to the device tree blob 824 * @compatible: 'compatible' string to match against 839 * Note the -1 in the first call to the function, if 0 is used here 848 * -FDT_ERR_BADOFFSET, nodeoffset does not refer to a BEGIN_NODE tag 859 * @strlist: Property containing a list of strings to check 861 * @str: String to search for 880 * requires that OF implementations handle values up to 4. 888 * @fdt: pointer to the device tree blob 889 * @nodeoffset: offset of the node to find the address size for 908 * @fdt: pointer to the device tree blob 909 * @nodeoffset: offset of the node to find the address range size for 932 * @fdt: pointer to the device tree blob 933 * @nodeoffset: offset of the node whose property to change 934 * @name: name of the property to change 935 * @val: pointer to data to replace the property value with 940 * size of a property, and so will only work if len is equal to the 949 * -FDT_ERR_NOSPACE, if len is not equal to the property's current length 951 * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_BEGIN_NODE tag 963 * @fdt: pointer to the device tree blob 964 * @nodeoffset: offset of the node whose property to change 965 * @name: name of the property to change 966 * @val: 32-bit integer value to replace the property with 969 * with the 32-bit integer value in val, converting val to big-endian 980 * -FDT_ERR_NOSPACE, if the property's length is not equal to 4 982 * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_BEGIN_NODE tag 998 * @fdt: pointer to the device tree blob 999 * @nodeoffset: offset of the node whose property to change 1000 * @name: name of the property to change 1001 * @val: 64-bit integer value to replace the property with 1004 * with the 64-bit integer value in val, converting val to big-endian 1015 * -FDT_ERR_NOSPACE, if the property's length is not equal to 8 1017 * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_BEGIN_NODE tag 1044 * @fdt: pointer to the device tree blob 1045 * @nodeoffset: offset of the node whose property to nop 1046 * @name: name of the property to nop 1059 * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_BEGIN_NODE tag 1070 * @fdt: pointer to the device tree blob 1071 * @nodeoffset: offset of the node to nop 1083 * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_BEGIN_NODE tag 1131 * @fdt: pointer to the device tree blob 1134 * Adds a reserve map entry to the given blob reserving a region at 1142 * -FDT_ERR_NOSPACE, there is insufficient free space in the blob to 1155 * @fdt: pointer to the device tree blob 1156 * @n: entry to remove 1179 * @fdt: pointer to the device tree blob 1181 * @name: name to give the node 1187 * with a name equal to one of the given node's siblings. 1195 * to contain the new name 1196 * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_BEGIN_NODE tag 1205 * @fdt: pointer to the device tree blob 1206 * @nodeoffset: offset of the node whose property to change 1207 * @name: name of the property to change 1208 * @val: pointer to data to set the property value to 1212 * node to the given value and length, creating the property if it 1220 * -FDT_ERR_NOSPACE, there is insufficient free space in the blob to 1222 * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_BEGIN_NODE tag 1235 * fdt_setprop_u32 - set a property to a 32-bit integer 1236 * @fdt: pointer to the device tree blob 1237 * @nodeoffset: offset of the node whose property to change 1238 * @name: name of the property to change 1242 * node to the given 32-bit integer value (converting to big-endian if 1251 * -FDT_ERR_NOSPACE, there is insufficient free space in the blob to 1253 * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_BEGIN_NODE tag 1270 * fdt_setprop_u64 - set a property to a 64-bit integer 1271 * @fdt: pointer to the device tree blob 1272 * @nodeoffset: offset of the node whose property to change 1273 * @name: name of the property to change 1277 * node to the given 64-bit integer value (converting to big-endian if 1286 * -FDT_ERR_NOSPACE, there is insufficient free space in the blob to 1288 * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_BEGIN_NODE tag 1305 * fdt_setprop_cell - set a property to a single cell value 1316 * fdt_setprop_string - set a property to a string value 1317 * @fdt: pointer to the device tree blob 1318 * @nodeoffset: offset of the node whose property to change 1319 * @name: name of the property to change 1323 * given node to the given string value (using the length of the 1324 * string to determine the new length of the property), or creates a 1332 * -FDT_ERR_NOSPACE, there is insufficient free space in the blob to 1334 * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_BEGIN_NODE tag 1347 * fdt_appendprop - append to or create a property 1348 * @fdt: pointer to the device tree blob 1349 * @nodeoffset: offset of the node whose property to change 1350 * @name: name of the property to append to 1351 * @val: pointer to data to append to the property value 1352 * @len: length of the data to append to the property value 1354 * fdt_appendprop() appends the value to the named property in the 1362 * -FDT_ERR_NOSPACE, there is insufficient free space in the blob to 1364 * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_BEGIN_NODE tag 1377 * fdt_appendprop_u32 - append a 32-bit integer value to a property 1378 * @fdt: pointer to the device tree blob 1379 * @nodeoffset: offset of the node whose property to change 1380 * @name: name of the property to change 1381 * @val: 32-bit integer value to append to the property (native endian) 1384 * (converting to big-endian if necessary) to the value of the named 1393 * -FDT_ERR_NOSPACE, there is insufficient free space in the blob to 1395 * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_BEGIN_NODE tag 1412 * fdt_appendprop_u64 - append a 64-bit integer value to a property 1413 * @fdt: pointer to the device tree blob 1414 * @nodeoffset: offset of the node whose property to change 1415 * @name: name of the property to change 1416 * @val: 64-bit integer value to append to the property (native endian) 1419 * (converting to big-endian if necessary) to the value of the named 1428 * -FDT_ERR_NOSPACE, there is insufficient free space in the blob to 1430 * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_BEGIN_NODE tag 1447 * fdt_appendprop_cell - append a single cell value to a property 1458 * fdt_appendprop_string - append a string to a property 1459 * @fdt: pointer to the device tree blob 1460 * @nodeoffset: offset of the node whose property to change 1461 * @name: name of the property to change 1462 * @str: string value to append to the property 1464 * fdt_appendprop_string() appends the given string to the value of 1473 * -FDT_ERR_NOSPACE, there is insufficient free space in the blob to 1475 * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_BEGIN_NODE tag 1489 * @fdt: pointer to the device tree blob 1490 * @nodeoffset: offset of the node whose property to nop 1491 * @name: name of the property to nop 1501 * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_BEGIN_NODE tag 1513 * @fdt: pointer to the device tree blob 1515 * @name: name of the subnode to locate 1516 * @namelen: number of characters of name to consider 1518 * Identical to fdt_add_subnode(), but use only the first namelen 1528 * @fdt: pointer to the device tree blob 1530 * @name: name of the subnode to locate 1542 * -FDT_ERR_BADOFFSET, if parentoffset did not point to an FDT_BEGIN_NODE tag 1546 * blob to contain the new node 1559 * @fdt: pointer to the device tree blob 1560 * @nodeoffset: offset of the node to nop 1570 * -FDT_ERR_BADOFFSET, nodeoffset did not point to FDT_BEGIN_NODE tag
|
/linux-4.4.14/arch/metag/kernel/ |
H A D | tcm.c | 42 * @tag: tag of the pool to allocate memory from 43 * @len: number of bytes to be allocated 66 * tcm_free - free a block of memory to a TCM pool 67 * @tag: tag of the pool to free memory to 68 * @addr: address of the memory to be freed 69 * @len: number of bytes to be freed 71 * Free the requested number of bytes at a specific address to the 86 * @p: memory address to lookup the tag for 108 * tcm_add_region - add a memory region to TCM pool list 109 * @reg: descriptor of region to be added 111 * Add a region of memory to the TCM pool list. Returns 0 on success. 119 pr_err("Failed to alloc memory for TCM pool!\n"); tcm_add_region() 128 * 2^3 = 8 bytes granularity to allow for 64bit access alignment. tcm_add_region() 134 pr_err("Failed to create TCM pool!\n"); tcm_add_region() 141 pr_err("Failed to add memory to TCM pool!\n"); tcm_add_region()
|
/linux-4.4.14/drivers/staging/iio/trigger/ |
H A D | iio-trig-bfin-timer.h | 10 * This struct is used to configure the output pulse generation of the blackfin 11 * timer trigger. If output_enable is set to true an external trigger signal 12 * will generated on the pin corresponding to the timer. This is useful for 13 * converters which needs an external signal to start conversion. active_low and 14 * duty_ns are used to configure the type of the trigger pulse. If output_enable 15 * is set to false no external trigger pulse will be generated and active_low
|
/linux-4.4.14/drivers/staging/octeon/ |
H A D | ethernet-util.h | 16 * cvm_oct_get_buffer_ptr - convert packet data address to pointer 28 * INTERFACE - convert IPD port to logical interface 29 * @ipd_port: Port to check 41 panic("Illegal ipd_port %d passed to INTERFACE\n", ipd_port); INTERFACE() 45 * INDEX - convert IPD/PKO port number to the port's interface index 46 * @ipd_port: Port to check
|
/linux-4.4.14/drivers/media/dvb-frontends/ |
H A D | dvb-pll.h | 33 * Attach a dvb-pll to the supplied frontend structure. 35 * @param fe Frontend to attach to. 37 * @param i2c i2c adapter to use (set to NULL if not used). 38 * @param pll_desc_id dvb_pll_desc to use.
|
/linux-4.4.14/arch/arc/mm/ |
H A D | extable.c | 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() 44 unsigned long arc_clear_user_noinline(void __user *to, arc_clear_user_noinline() argument 47 return __arc_clear_user(to, n); arc_clear_user_noinline()
|
/linux-4.4.14/fs/debugfs/ |
H A D | file.c | 11 * debugfs is for people to use instead of /proc or /sys. 76 * debugfs_create_u8 - create a debugfs file that is used to read and write an unsigned 8-bit value 77 * @name: a pointer to a string containing the name of the file to create. 79 * @parent: a pointer to the parent dentry for this file. This should be a 82 * @value: a pointer to the variable that the file should read to and write 87 * set, it can be read from, and written to. 89 * This function will return a pointer to a dentry if it succeeds. This 90 * pointer must be passed to the debugfs_remove() function when the file is 91 * to be removed (no automatic cleanup happens if your module is unloaded, 95 * returned. It is not wise to check for this value, but rather, check for 96 * %NULL or !%NULL instead as to eliminate the need for #ifdef in the calling 122 * debugfs_create_u16 - create a debugfs file that is used to read and write an unsigned 16-bit value 123 * @name: a pointer to a string containing the name of the file to create. 125 * @parent: a pointer to the parent dentry for this file. This should be a 128 * @value: a pointer to the variable that the file should read to and write 133 * set, it can be read from, and written to. 135 * This function will return a pointer to a dentry if it succeeds. This 136 * pointer must be passed to the debugfs_remove() function when the file is 137 * to be removed (no automatic cleanup happens if your module is unloaded, 141 * returned. It is not wise to check for this value, but rather, check for 142 * %NULL or !%NULL instead as to eliminate the need for #ifdef in the calling 168 * debugfs_create_u32 - create a debugfs file that is used to read and write an unsigned 32-bit value 169 * @name: a pointer to a string containing the name of the file to create. 171 * @parent: a pointer to the parent dentry for this file. This should be a 174 * @value: a pointer to the variable that the file should read to and write 179 * set, it can be read from, and written to. 181 * This function will return a pointer to a dentry if it succeeds. This 182 * pointer must be passed to the debugfs_remove() function when the file is 183 * to be removed (no automatic cleanup happens if your module is unloaded, 187 * returned. It is not wise to check for this value, but rather, check for 188 * %NULL or !%NULL instead as to eliminate the need for #ifdef in the calling 215 * debugfs_create_u64 - create a debugfs file that is used to read and write an unsigned 64-bit value 216 * @name: a pointer to a string containing the name of the file to create. 218 * @parent: a pointer to the parent dentry for this file. This should be a 221 * @value: a pointer to the variable that the file should read to and write 226 * set, it can be read from, and written to. 228 * This function will return a pointer to a dentry if it succeeds. This 229 * pointer must be passed to the debugfs_remove() function when the file is 230 * to be removed (no automatic cleanup happens if your module is unloaded, 234 * returned. It is not wise to check for this value, but rather, check for 235 * %NULL or !%NULL instead as to eliminate the need for #ifdef in the calling 262 * debugfs_create_ulong - create a debugfs file that is used to read and write 264 * @name: a pointer to a string containing the name of the file to create. 266 * @parent: a pointer to the parent dentry for this file. This should be a 269 * @value: a pointer to the variable that the file should read to and write 274 * set, it can be read from, and written to. 276 * This function will return a pointer to a dentry if it succeeds. This 277 * pointer must be passed to the debugfs_remove() function when the file is 278 * to be removed (no automatic cleanup happens if your module is unloaded, 282 * returned. It is not wise to check for this value, but rather, check for 283 * %NULL or !%NULL instead as to eliminate the need for #ifdef in the calling 311 * debugfs_create_x{8,16,32,64} - create a debugfs file that is used to read and write an unsigned {8,16,32,64}-bit value 319 * debugfs_create_x8 - create a debugfs file that is used to read and write an unsigned 8-bit value 320 * @name: a pointer to a string containing the name of the file to create. 322 * @parent: a pointer to the parent dentry for this file. This should be a 325 * @value: a pointer to the variable that the file should read to and write 337 * debugfs_create_x16 - create a debugfs file that is used to read and write an unsigned 16-bit value 338 * @name: a pointer to a string containing the name of the file to create. 340 * @parent: a pointer to the parent dentry for this file. This should be a 343 * @value: a pointer to the variable that the file should read to and write 355 * debugfs_create_x32 - create a debugfs file that is used to read and write an unsigned 32-bit value 356 * @name: a pointer to a string containing the name of the file to create. 358 * @parent: a pointer to the parent dentry for this file. This should be a 361 * @value: a pointer to the variable that the file should read to and write 373 * debugfs_create_x64 - create a debugfs file that is used to read and write an unsigned 64-bit value 374 * @name: a pointer to a string containing the name of the file to create. 376 * @parent: a pointer to the parent dentry for this file. This should be a 379 * @value: a pointer to the variable that the file should read to and write 407 * debugfs_create_size_t - create a debugfs file that is used to read and write an size_t value 408 * @name: a pointer to a string containing the name of the file to create. 410 * @parent: a pointer to the parent dentry for this file. This should be a 413 * @value: a pointer to the variable that the file should read to and write 440 * debugfs_create_atomic_t - create a debugfs file that is used to read and 442 * @name: a pointer to a string containing the name of the file to create. 444 * @parent: a pointer to the parent dentry for this file. This should be a 447 * @value: a pointer to the variable that the file should read to and write 514 * debugfs_create_bool - create a debugfs file that is used to read and write a boolean value 515 * @name: a pointer to a string containing the name of the file to create. 517 * @parent: a pointer to the parent dentry for this file. This should be a 520 * @value: a pointer to the variable that the file should read to and write 525 * set, it can be read from, and written to. 527 * This function will return a pointer to a dentry if it succeeds. This 528 * pointer must be passed to the debugfs_remove() function when the file is 529 * to be removed (no automatic cleanup happens if your module is unloaded, 533 * returned. It is not wise to check for this value, but rather, check for 534 * %NULL or !%NULL instead as to eliminate the need for #ifdef in the calling 560 * debugfs_create_blob - create a debugfs file that is used to read a binary blob 561 * @name: a pointer to a string containing the name of the file to create. 563 * @parent: a pointer to the parent dentry for this file. This should be a 566 * @blob: a pointer to a struct debugfs_blob_wrapper which contains a pointer 567 * to the blob data and the size of the data. 573 * This function will return a pointer to a dentry if it succeeds. This 574 * pointer must be passed to the debugfs_remove() function when the file is 575 * to be removed (no automatic cleanup happens if your module is unloaded, 579 * returned. It is not wise to check for this value, but rather, check for 580 * %NULL or !%NULL instead as to eliminate the need for #ifdef in the calling 662 * debugfs_create_u32_array - create a debugfs file that is used to read u32 664 * @name: a pointer to a string containing the name of the file to create. 666 * @parent: a pointer to the parent dentry for this file. This should be a 677 * The function returns a pointer to dentry on success. If debugfs is not 699 * The regset32 stuff is used to print 32-bit registers using the 705 * debugfs_print_regs32 - use seq_print to describe a set of registers 706 * @s: the seq_file structure being used to generate output 709 * @base: the base address to be used in reading the registers 710 * @prefix: a string to be prefixed to every output line 713 * some 32-bit hardware registers. It is meant to be used within debugfs 714 * files based on seq_file that need to show registers, intermixed with other 715 * information. The prefix argument may be used to specify a leading string, 757 * @name: a pointer to a string containing the name of the file to create. 759 * @parent: a pointer to the parent dentry for this file. This should be a 762 * @regset: a pointer to a struct debugfs_regset32, which contains a pointer 763 * to an array of register definitions, the array size and the base 764 * address where the register bank is to be found. 770 * This function will return a pointer to a dentry if it succeeds. This 771 * pointer must be passed to the debugfs_remove() function when the file is 772 * to be removed (no automatic cleanup happens if your module is unloaded, 776 * returned. It is not wise to check for this value, but rather, check for 777 * %NULL or !%NULL instead as to eliminate the need for #ifdef in the calling 811 * debugfs_create_devm_seqfile - create a debugfs file that is bound to device. 813 * @dev: device related to this debugfs file. 815 * @parent: a pointer to the parent dentry for this file. This should be a 818 * @read_fn: function pointer called to print the seq_file content.
|
/linux-4.4.14/include/uapi/mtd/ |
H A D | ubi-user.h | 15 * along with this program; if not, write to the Free Software 31 * control device. The caller has to properly fill and pass 46 * device. A &struct ubi_mkvol_req object has to be properly filled and a 47 * pointer to it has to be passed to the ioctl. 53 * device should be used. A pointer to the 32-bit volume ID hast to be passed 54 * to the ioctl. 60 * device should be used. A &struct ubi_rsvol_req object has to be properly 61 * filled and a pointer to it has to be passed to the ioctl. 68 * has to be properly filled and a pointer to it has to be passed to the ioctl. 74 * corresponding UBI volume character device. A pointer to a 64-bit update 75 * size should be passed to the ioctl. After this, UBI expects user to write 76 * this number of bytes to the volume character device. The update is finished 97 * ioctl command of the corresponding UBI volume character device. A pointer to 98 * a &struct ubi_leb_change_req object has to be passed to the ioctl. Then the 99 * user is expected to write the requested amount of bytes (similarly to what 105 * To map a logical eraseblock to a physical eraseblock, the %UBI_IOCEBMAP 106 * ioctl command should be used. A pointer to a &struct ubi_map_req object is 107 * expected to be passed. The ioctl maps the requested logical eraseblock to 110 * mapped to a physical eraseblock, the ioctl fails and returns error. 115 * To unmap a logical eraseblock to a physical eraseblock, the %UBI_IOCEBUNMAP 120 * after the unmap ioctl returns, you may find the LEB mapped again to the same 126 * To check if a logical eraseblock is mapped to a physical eraseblock, the 134 * used. A pointer to a &struct ubi_set_vol_prop_req object is expected to be 135 * passed. The object describes which property should be set, and to which value 142 * should be used. A pointer to a &struct ubi_blkcreate_req object is expected 143 * to be passed, which is not used and reserved for future usage. 145 * Conversely, to remove a block device the %UBI_IOCVOLRMBLK should be used, 151 * volume/device number they want to create or to let UBI automatically assign 230 * user to directly write and erase individual 239 * @ubi_num: UBI device number to create 240 * @mtd_num: MTD device number to attach 243 * @padding: reserved for future, not used, has to be zeroed 245 * This data structure is used to specify MTD device UBI has to attach and the 246 * parameters it has to use. The number which should be assigned to the new UBI 251 * Most applications should pass %0 in @vid_hdr_offset to make UBI use default 257 * But in rare cases, if this optimizes things, the VID header may be placed to 260 * As the boot-loader would not normally need to read EC headers (unless it 261 * needs UBI in RW mode), it might be faster to calculate ECC. This is weird 264 * aligned, which is OK, as UBI is clever enough to realize this is 4th 272 * Which gives 20 for most NAND devices. This limit is used in order to derive 275 * eraseblocks for new bad eraseblocks, but attempts to use available 294 * @padding1: reserved for future, not used, has to be zeroed 296 * @padding2: reserved for future, not used, has to be zeroed 304 * to this number, i.e., 308 * shortened in order to make it properly aligned. The alignment has to be 309 * multiple of the flash minimal input/output unit, or %1 to utilize the entire 312 * The @alignment field may be useful, for example, when one wants to maintain 313 * a block device on top of an UBI volume. In this case, it is desirable to fit 315 * alignment it is possible to update this volume using plane UBI volume image 316 * BLOBs, without caring about how to properly align them. 331 * @vol_id: ID of the volume to re-size 335 * volumes may be re-sized arbitrarily, static volumes cannot be made to be 347 * @count: count of volumes to re-name 348 * @padding1: reserved for future, not used, has to be zeroed 349 * @vol_id: ID of the volume to re-name 351 * @padding2: reserved for future, not used, has to be zeroed 354 * UBI allows to re-name up to %32 volumes at one go. The count of volumes to 355 * re-name is specified in the @count field. The ID of the volumes to re-name 360 * use-cases of this command is atomic upgrade. Indeed, to upgrade, say, volumes 365 * If it is not desirable to remove old A and B, the re-name request has to 369 * It is also OK to request: A1->A, A1->X, B1->B, B->Y, in which case old A1 390 * @lnum: logical eraseblock number to change 391 * @bytes: how many bytes will be written to the logical eraseblock 393 * @padding: reserved for future, not used, has to be zeroed 395 * The @dtype field used to inform UBI about what kind of data will be written 396 * to the LEB: long term (value 1), short term (value 2), unknown (value 3). 397 * UBI tried to pick a PEB with lower erase counter for short term data and a 401 * field. But for better compatibility with older kernels it is recommended to 402 * set @dtype to 3 (unknown). 414 * @lnum: logical eraseblock number to unmap 415 * @padding: reserved for future, not used, has to be zeroed 425 * struct ubi_set_vol_prop_req - a data structure used to set an UBI volume 427 * @property: property to set (%UBI_VOL_PROP_DIRECT_WRITE) 428 * @padding: reserved for future, not used, has to be zeroed 429 * @value: value to set 439 * @padding: reserved for future, not used, has to be zeroed
|
/linux-4.4.14/include/drm/ttm/ |
H A D | ttm_memory.h | 6 * Permission is hereby granted, free of charge, to any person obtaining a 8 * "Software"), to deal in the Software without restriction, including 9 * without limitation the rights to use, copy, modify, merge, publish, 10 * distribute, sub license, and/or sell copies of the Software, and to 11 * permit persons to whom the Software is furnished to do so, subject to 40 * struct ttm_mem_shrink - callback to shrink TTM memory usage. 44 * Arguments to the do_shrink functions are intended to be passed using 56 * @shrink: A single callback to shrink TTM memory usage. Extend this 57 * to a linked list to be able to handle multiple callbacks when needed. 58 * @swap_queue: A workqueue to handle shrinking in low memory situations. We 63 * @lock: Lock to protect the @shrink - and the memory accounting members, 65 * @zones: Array of pointers to accounting zones. 67 * @zone_kernel: Pointer to the kernel zone. 68 * @zone_highmem: Pointer to the highmem zone if there is one. 69 * @zone_dma32: Pointer to the dma32 zone if there is one. 96 * @shrink: The object to initialize. 109 * @glob: The struct ttm_mem_global object to register with. 110 * @shrink: An initialized struct ttm_mem_shrink object to register. 132 * @glob: The struct ttm_mem_global object to unregister from.
|
H A D | ttm_lock.h | 6 * Permission is hereby granted, free of charge, to any person obtaining a 8 * "Software"), to deal in the Software without restriction, including 9 * without limitation the rights to use, copy, modify, merge, publish, 10 * distribute, sub license, and/or sell copies of the Software, and to 11 * permit persons to whom the Software is furnished to do so, subject to 37 * The vt mode is used only when there is a need to block all 39 * It's allowed to leave kernel space with the vt lock held. 44 * The suspend mode is used to lock out all TTM users when preparing for 59 * @base: ttm base object used solely to release the lock if the client 65 * @kill_takers: Boolean whether to kill takers of the lock. 66 * @signal: Signal to send when kill_takers is true. 84 * @lock: Pointer to a struct ttm_lock 92 * @lock: Pointer to a struct ttm_lock 101 * @lock: Pointer to a struct ttm_lock 113 * @lock: Pointer to a struct ttm_lock 116 * Tries to take the lock in read mode. If the lock is already held 130 * @lock: Pointer to a struct ttm_lock 139 * @lock: Pointer to a struct ttm_lock 151 * @lock: Pointer to a struct ttm_lock 153 * Downgrades a write lock to a read lock. 160 * @lock: Pointer to a struct ttm_lock 169 * @lock: Pointer to a struct ttm_lock 178 * @lock: Pointer to a struct ttm_lock 180 * @tfile: Pointer to a struct ttm_object_file to register the lock with. 193 * @lock: Pointer to a struct ttm_lock 204 * @lock: Pointer to a struct ttm_lock 213 * @lock: Pointer to a struct ttm_lock 225 * @lock: Pointer to a struct ttm_lock 226 * @val: Boolean whether to kill processes taking the lock. 227 * @signal: Signal to send to the process taking the lock. 229 * The kill-when-taking-lock functionality is used to kill processes that keep 233 * - ttm_lock_set_kill() is called with @val set to true. 236 * - Another dri client wants to render, takes the lock and is killed.
|
/linux-4.4.14/include/linux/mmc/ |
H A D | pm.h | 16 * These flags are used to describe power management features that 17 * some cards (typically SDIO cards) might wish to benefit from when 19 * abstractions involved, from the host controller driver, to the MMC core 20 * code, to the SDIO core code, to finally get to the actual SDIO function
|
/linux-4.4.14/arch/sh/include/asm/ |
H A D | romimage-macros.h | 4 /* The LIST command is used to include comments in the script */ 8 /* The ED command is used to write a 32-bit word */ 21 /* The EW command is used to write a 16-bit word */ 34 /* The EB command is used to write an 8-bit word */ 47 /* The WAIT command is used to delay the execution */ 62 /* The DD command is used to read a 32-bit word */
|
/linux-4.4.14/drivers/dma/ |
H A D | dmaengine.h | 2 * The contents of this file are private to DMA engine drivers, and is not 3 * part of the API to be used by DMA engine users. 13 * @chan: dma channel to initialize 22 * dma_cookie_assign - assign a DMA engine cookie to the descriptor 25 * Assign a unique non-zero per-channel cookie to the descriptor. 26 * Note: caller is expected to hold a lock to prevent concurrency. 43 * @tx: descriptor to complete 46 * cookie marker. Zero the descriptors cookie to prevent accidental 49 * Note: caller is expected to hold a lock to prevent concurrency. 62 * @state: dma_tx_state structure to return last/used cookies
|
/linux-4.4.14/arch/sparc/lib/ |
H A D | GENcopy_to_user.S | 1 /* GENcopy_to_user.S: Generic sparc64 copy to userspace. 23 /* Writing to %asi is _expensive_ so we hardcode it. 24 * Reading %asi to check for KERNEL_DS is comparatively
|
H A D | NGcopy_to_user.S | 1 /* NGcopy_to_user.S: Niagara optimized copy to userspace. 24 /* Writing to %asi is _expensive_ so we hardcode it. 25 * Reading %asi to check for KERNEL_DS is comparatively
|
/linux-4.4.14/arch/x86/um/ |
H A D | syscalls_64.c | 20 * With ARCH_SET_FS (and ARCH_SET_GS is treated similarly to arch_prctl() 21 * be safe), we need to call arch_prctl on the host because arch_prctl() 27 * So, the saved registers are stored to the process (this arch_prctl() 28 * needed because a stub may have been the last thing to run), arch_prctl() 42 * With these two, we read to a local pointer and arch_prctl() 43 * put_user it to the userspace pointer that we were arch_prctl() 45 * faulted in or is just bogus), we want put_user to arch_prctl() 80 void arch_switch_to(struct task_struct *to) arch_switch_to() argument 82 if ((to->thread.arch.fs == 0) || (to->mm == NULL)) arch_switch_to() 85 arch_prctl(to, ARCH_SET_FS, (void __user *) to->thread.arch.fs); arch_switch_to()
|
/linux-4.4.14/fs/nfs/ |
H A D | nfs42.h | 9 * FIXME: four LAYOUTSTATS calls per compound at most! Do we need to support 10 * more? Need to consider not to pre-alloc too much for a compound.
|
/linux-4.4.14/include/sound/ |
H A D | ak4641.h | 16 * @gpio_power: GPIO to control external power to AK4641 17 * @gpio_npdn: GPIO connected to AK4641 nPDN pin
|
/linux-4.4.14/arch/powerpc/include/uapi/asm/ |
H A D | auxvec.h | 5 * We need to put in some extra aux table entries to tell glibc what 14 /* The vDSO location. We have to use the same value as x86 for glibc's
|
/linux-4.4.14/arch/microblaze/include/asm/ |
H A D | dma.h | 4 * This file is subject to the terms and conditions of the GNU General Public 13 /* we don't have dma address limit. define it as zero to be 17 /* Virtual address corresponding to last available physical memory address. */
|
/linux-4.4.14/arch/m68k/hp300/ |
H A D | reboot.S | 6 * Do the dirty work of rebooting the machine. Basically we need to undo all the 8 * disabled and then we jump back to the PROM. This is a bit gruesome but we put 12 /* XXX Doesn't work yet. Not sure why and can't be bothered to fix it at the moment. */
|
/linux-4.4.14/arch/arm/mach-ep93xx/include/mach/ |
H A D | hardware.h | 13 * loops (PLLs) to multiply the incoming external clock signal to much 15 * to produce the needed clocks. The PLLs operate independently of one
|
/linux-4.4.14/include/linux/iio/dac/ |
H A D | ad5421.h | 6 * @AD5421_CURRENT_RANGE_4mA_20mA: 4 mA to 20 mA (RANGE1,0 pins = 00) 7 * @AD5421_CURRENT_RANGE_3mA8_21mA: 3.8 mA to 21 mA (RANGE1,0 pins = x1) 8 * @AD5421_CURRENT_RANGE_3mA2_24mA: 3.2 mA to 24 mA (RANGE1,0 pins = 10)
|
/linux-4.4.14/drivers/staging/wilc1000/ |
H A D | wilc_wlan_if.h | 338 * Values to set : 0 1 2 347 * Values to set : 1 2 5 11 6 9 12 18 24 36 48 54 356 * Values to set : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 365 * Values to set : 0 1 2 374 * Values to set : 1 2 3 383 * Values to get : 0 1 392 * Values to set : 0 1 400 * Configuration : Any value between 0 to 3 401 * Values to set : Same value. Default is 0 410 * Values to set : 0 1 419 * Values to set : 0 1 2 447 * Configuration : Values to set 458 * Configuration : Any value between 1 to 255 459 * Values to set : Same value. Default is 3 467 * Configuration : Any value between 1 to 255 468 * Values to set : Same value. Default is 3 477 * Values to set : 0 1 486 * Values to set : 0 1 2 492 * Broadcast SSID Option: Setting this will adhere to "" SSID element 495 * Values to set : 1 0 504 * Values to set : Association ID 513 * Values to set : Any value between 0 and 63 (inclusive Default 48) 522 * Values to set : 1 2 3 4 532 * Values to set : 0 1 543 * Values to set : Any value between 0 and 63 (inclusive Default 48) 552 * Values to set : 0 561 * Values to get : Rssi value 569 * Configuration : Request to join 570 * Values to set : index of scan result 581 * Values to set : 0 1 592 * Values to set : 0 1 601 * Values to set : 0 1 610 * Values to set : 0 1 2 612 * Values to set : 0 0x4 0x0 614 * Values to set : 0 0x10 622 * Configuration : Any value between 10 and 254(Set to 255 disable) 623 * Values to set : Same value. Default is 10 637 * Values to set : 0 1 2 3 4 646 * Values to set : 0 1 655 * Values to set : 1 0 662 * used in addition to this, if this is set to HT Mixed mode) 665 * Values to set : 1 2 3 674 * Values to set : 0 676 * Values to set : 1 678 * Values to set : 2 679 * Configuration : Detect, protect and report to other BSS 680 * Values to set : 3 689 * Values to set : 0 1 691 * Values to set : 2 3 700 * Values to set : 0 1 709 * Values to set : 1 2 3 718 * Values to set : 0 to 7 729 * Values to set : 0 1 738 * Values to set : 0 1 747 * Values to set : 0 1 749 * Values to set : 2 3 751 * Values to set : 4 5 768 * Values to set : 0 1 777 * Values to set : 1 0 796 * Configuration : Any value between 256 to 2347 797 * Values to set : Same value. Default is 2347 805 * Configuration : Any value between 256 to 2346 806 * Values to set : Same value. Default is 2346
|
/linux-4.4.14/drivers/misc/sgi-xp/ |
H A D | xp_nofault.S | 2 * This file is subject to the terms and conditions of the GNU General Public 10 * The xp_nofault_PIOR function takes a pointer to a remote PIO register 11 * and attempts to load and consume a value from it. This function 13 * PIO read fails, the MCA handler will force the error to look 14 * corrected and vector to the xp_error_PIOR which will return an error. 17 * to surface is processor implementation specific. This code 19 * It may need to be adjusted for future processor implementations. 28 adds r9=1,r9;; // Add to force consumption 29 srlz.i;; // Allow time for MCA to surface
|
/linux-4.4.14/arch/xtensa/include/asm/ |
H A D | platform.h | 4 * This file is subject to the terms and conditions of the GNU General 20 * platform_init is called before the mmu is initialized to give the 27 * platform_setup is called from setup_arch with a pointer to the command-line 33 * platform_restart is called to restart the system. 38 * platform_halt is called to stop the system and halt. 43 * platform_power_off is called to stop the system and power it off. 58 * platform_pcibios_init is called to allow the platform to setup the pci bus. 63 * platform_pcibios_fixup allows to modify the PCI configuration.
|
/linux-4.4.14/fs/jfs/ |
H A D | jfs_unicode.c | 15 * along with this program; if not, write to the Free Software 29 * FUNCTION: Convert little-endian unicode string to character string 32 int jfs_strfromUCS_le(char *to, const __le16 * from, jfs_strfromUCS_le() argument 37 static int warn_again = 5; /* Only warn up to 5 times total */ jfs_strfromUCS_le() 45 &to[outlen], jfs_strfromUCS_le() 50 to[outlen++] = '?'; jfs_strfromUCS_le() 55 to[i] = '?'; jfs_strfromUCS_le() 63 "mount with iocharset=utf8 to access\n"); jfs_strfromUCS_le() 68 to[i] = (char) (le16_to_cpu(from[i])); jfs_strfromUCS_le() 72 to[outlen] = 0; jfs_strfromUCS_le() 79 * FUNCTION: Convert character string to unicode string 82 static int jfs_strtoUCS(wchar_t * to, const unsigned char *from, int len, jfs_strtoUCS() argument 91 charlen = codepage->char2uni(from, len, &to[i]); jfs_strtoUCS() 102 to[i] = (wchar_t) from[i]; jfs_strtoUCS() 105 to[i] = 0; jfs_strtoUCS() 112 * FUNCTION: Allocate and translate to unicode string
|
/linux-4.4.14/scripts/ |
H A D | check-lc_ctype.c | 3 * DocBook build system to probe for C.UTF-8 support.
|
/linux-4.4.14/scripts/dtc/ |
H A D | Makefile | 10 # Source files need to get at the userspace version of libfdt_env.h to compile 27 # dependencies on generated files need to be listed explicitly 30 # generated files need to be cleaned explicitly
|
/linux-4.4.14/include/xen/interface/io/ |
H A D | tpmif.h | 18 * 2. Backend transitions to InitWait (frontend does not wait on this step) 20 * 4. Frontend transitions to Initialised 22 * 6. Backend transitions to Connected 23 * 7. Frontend verifies feature-protocol-v2, transitions to Connected 26 * 1. State is changed to XenbusStateClosing 27 * 2. Frontend transitions to Closed 28 * 3. Backend unmaps grant and event, changes state to InitWait 37 /* The backend should only change state to IDLE or FINISH, while the 38 * frontend should only change to SUBMIT or CANCEL. */
|
/linux-4.4.14/include/xen/ |
H A D | xenbus_dev.h | 4 * Interface to /dev/xen/xenbus_backend. 12 * software packages, subject to the following license: 14 * Permission is hereby granted, free of charge, to any person obtaining a copy 15 * of this source file (the "Software"), to deal in the Software without 16 * restriction, including without limitation the rights to use, copy, modify, 18 * and to permit persons to whom the Software is furnished to do so, subject to
|
/linux-4.4.14/kernel/locking/ |
H A D | mcs_spinlock.h | 8 * to acquire the lock spinning on a local variable. 37 * smp_store_release() provides a memory barrier to ensure all 47 * sufficient to form a full memory barrier across 55 * In order to acquire the lock, the caller should declare a local node and 56 * pass a reference of the node to this function in addition to the lock. 57 * If the lock has already been acquired, then this will proceed to spin 72 * below xchg() to order the initialization stores above against any mcs_spin_lock() 73 * observation of @node. And to provide the ACQUIRE ordering associated mcs_spin_lock() 79 * Lock acquired, don't need to set node->locked to 1. Threads mcs_spin_lock() 82 * and does not proceed to spin on its own node->locked, this mcs_spin_lock() 83 * value won't be used. If a debug mode is needed to mcs_spin_lock() 96 * was used to acquire the lock. 105 * Release the lock by setting it to NULL mcs_spin_unlock() 114 /* Pass lock to next waiter. */ mcs_spin_unlock()
|