/linux-6.6.21/tools/testing/selftests/exec/ |
D | binfmt_script.py | 44 fill="A", arg="", newline="\n", hashbang="#!"): argument 67 buf=hashbang + leading + root + middle + target + arg + newline 68 if len(newline) > 0: 123 fill="", target="", newline="") 126 target="", newline="") 149 test(name="one-under-no-nl", size=SIZE-1, newline="") 151 test(name="half-under-no-nl", size=int(SIZE/2), newline="") 159 test(name="two-under-no-nl", size=SIZE-2, newline="") 164 test(name="two-under-no-nl", size=int(SIZE/2), newline="")
|
/linux-6.6.21/tools/scripts/ |
D | utilities.mak | 1 # This allows us to work with the newline character: 2 define newline macro 6 newline := $(newline) macro 13 # what should replace a newline when escaping 23 # single space each newline character in the output 27 # The only solution is to change each newline into 32 escape-nl = $(subst $(newline),$(call nl-escape,$(2)),$(1)) 40 unescape-nl = $(subst $(call nl-escape,$(2)),$(newline),$(1)) 108 # At least GNU make gets confused by expanding a newline 115 # not it contains a newline. [all …]
|
/linux-6.6.21/tools/testing/selftests/rcutorture/bin/ |
D | kvm-test-1-run-qemu.sh | 151 newline="`tail $resdir/console.log`" 152 if test "$newline" != "$oldline" && echo $newline | grep -q ' [0-9]\+us : ' 161 …if test "$newline" != "$oldline" && test "$last_ts" -lt $((seconds + $TORTURE_SHUTDOWN_GRACE)) && … 175 oldline=$newline
|
/linux-6.6.21/drivers/soc/apple/ |
D | rtkit-crashlog.c | 74 u8 *newline = memchr(ptr, '\n', end - ptr); in apple_rtkit_crashlog_dump_str() local 76 if (newline) { in apple_rtkit_crashlog_dump_str() 77 u8 tmp = *newline; in apple_rtkit_crashlog_dump_str() 78 *newline = '\0'; in apple_rtkit_crashlog_dump_str() 81 *newline = tmp; in apple_rtkit_crashlog_dump_str() 82 ptr = newline + 1; in apple_rtkit_crashlog_dump_str()
|
/linux-6.6.21/scripts/coccinelle/misc/ |
D | newline_in_nl_msg.cocci | 3 /// Catch strings ending in newline with GENL_SET_ERR_MSG, NL_SET_ERR_MSG, 59 msg="WARNING avoid newline at end of message in %s" % (fname) 74 msg="WARNING avoid newline at end of message in %s" % (fname)
|
/linux-6.6.21/drivers/staging/greybus/ |
D | uart.c | 484 struct gb_uart_set_line_coding_request newline; in gb_tty_set_termios() local 489 newline.rate = cpu_to_le32(tty_get_baud_rate(tty)); in gb_tty_set_termios() 490 newline.format = termios->c_cflag & CSTOPB ? in gb_tty_set_termios() 492 newline.parity = termios->c_cflag & PARENB ? in gb_tty_set_termios() 496 newline.data_bits = tty_get_char_size(termios->c_cflag); in gb_tty_set_termios() 502 newline.rate = gb_tty->line_coding.rate; in gb_tty_set_termios() 514 newline.flow_control = GB_SERIAL_AUTO_RTSCTS_EN; in gb_tty_set_termios() 516 newline.flow_control = 0; in gb_tty_set_termios() 518 if (memcmp(&gb_tty->line_coding, &newline, sizeof(newline))) { in gb_tty_set_termios() 519 memcpy(&gb_tty->line_coding, &newline, sizeof(newline)); in gb_tty_set_termios()
|
/linux-6.6.21/tools/testing/selftests/ftrace/ |
D | ftracetest | 249 newline="\n" 251 newline= 254 [ "$KTAP" != "1" ] && printf "$*$newline" 255 [ "$LOG_FILE" ] && printf "$*$newline" | strip_esc >> $LOG_FILE
|
/linux-6.6.21/fs/ocfs2/ |
D | stack_user.c | 132 char newline; member 142 char newline; member 152 char newline; member 374 if ((msg->space != ' ') || (msg->newline != '\n')) in ocfs2_control_do_setnode_msg() 376 msg->space = msg->newline = '\0'; in ocfs2_control_do_setnode_msg() 408 (msg->newline != '\n')) in ocfs2_control_do_setversion_msg() 410 msg->space1 = msg->space2 = msg->newline = '\0'; in ocfs2_control_do_setversion_msg() 455 (msg->newline != '\n')) in ocfs2_control_do_down_msg() 457 msg->space1 = msg->space2 = msg->newline = '\0'; in ocfs2_control_do_down_msg()
|
/linux-6.6.21/drivers/mtd/devices/ |
D | phram.c | 234 char *newline = strrchr(str, '\n'); in kill_final_newline() local 236 if (newline && !newline[1]) in kill_final_newline() 237 *newline = 0; in kill_final_newline()
|
D | block2mtd.c | 389 char *newline = strrchr(str, '\n'); in kill_final_newline() local 390 if (newline && !newline[1]) in kill_final_newline() 391 *newline = 0; in kill_final_newline()
|
/linux-6.6.21/drivers/gpu/drm/i915/display/ |
D | intel_hotplug.c | 833 char *newline; in i915_hpd_storm_ctl_write() local 845 newline = strchr(tmp, '\n'); in i915_hpd_storm_ctl_write() 846 if (newline) in i915_hpd_storm_ctl_write() 847 *newline = '\0'; in i915_hpd_storm_ctl_write() 912 char *newline; in i915_hpd_short_storm_ctl_write() local 926 newline = strchr(tmp, '\n'); in i915_hpd_short_storm_ctl_write() 927 if (newline) in i915_hpd_short_storm_ctl_write() 928 *newline = '\0'; in i915_hpd_short_storm_ctl_write()
|
/linux-6.6.21/scripts/ |
D | unifdef.c | 193 static const char *newline; /* input file format */ variable 523 "%s%s", replacement, newline); in keywordedit() 564 printf("#line %d%s", linenum, newline); in flushline() 571 fputs(newline, output); in flushline() 651 if (newline == NULL) { in parseline() 653 newline = newline_crlf; in parseline() 655 newline = newline_unix; in parseline() 725 strcpy(tline + len, newline); in parseline() 726 cp += strlen(newline); in parseline()
|
D | Kbuild.include | 13 define newline 73 read-file = $(subst $(newline),$(space),$(file < $1))
|
D | checkpatch.pl | 5698 my $newline = "${space}if ("; 5699 $newline .= '!' if defined($not); 5700 $newline .= '(' if (defined $not && defined($test) && defined($against)); 5701 $newline .= "$assigned"; 5702 $newline .= " $test $against" if (defined($test) && defined($against)); 5703 $newline .= ')' if (defined $not && defined($test) && defined($against)); 5704 $newline .= ')'; 5705 $newline .= " {" if (defined($brace)); 5706 fix_insert_line($fixlinenr + 1, $newline);
|
/linux-6.6.21/drivers/usb/class/ |
D | cdc-acm.c | 1083 struct usb_cdc_line_coding newline; in acm_tty_set_termios() local 1086 newline.dwDTERate = cpu_to_le32(tty_get_baud_rate(tty)); in acm_tty_set_termios() 1087 newline.bCharFormat = termios->c_cflag & CSTOPB ? 2 : 0; in acm_tty_set_termios() 1088 newline.bParityType = termios->c_cflag & PARENB ? in acm_tty_set_termios() 1091 newline.bDataBits = tty_get_char_size(termios->c_cflag); in acm_tty_set_termios() 1097 newline.dwDTERate = acm->line.dwDTERate; in acm_tty_set_termios() 1106 if (memcmp(&acm->line, &newline, sizeof newline)) { in acm_tty_set_termios() 1107 memcpy(&acm->line, &newline, sizeof newline); in acm_tty_set_termios() 1110 le32_to_cpu(newline.dwDTERate), in acm_tty_set_termios() 1111 newline.bCharFormat, newline.bParityType, in acm_tty_set_termios() [all …]
|
/linux-6.6.21/tools/testing/selftests/user_events/ |
D | ftrace_test.c | 75 char *newline; in get_print_fmt() local 92 newline = strchr(buffer, '\n'); in get_print_fmt() 94 if (newline) in get_print_fmt() 95 *newline = '\0'; in get_print_fmt()
|
/linux-6.6.21/kernel/bpf/ |
D | log.c | 66 bool newline = n > 0 && log->kbuf[n - 1] == '\n'; in bpf_verifier_vlog() local 68 pr_err("BPF: %s%s", log->kbuf, newline ? "" : "\n"); in bpf_verifier_vlog()
|
/linux-6.6.21/block/ |
D | badblocks.c | 520 char newline; in badblocks_store() local 522 switch (sscanf(page, "%llu %d%c", §or, &length, &newline)) { in badblocks_store() 524 if (newline != '\n') in badblocks_store()
|
/linux-6.6.21/scripts/kconfig/tests/preprocess/builtin_func/ |
D | Kconfig | 20 # Every newline in the output is replaced with a space,
|
/linux-6.6.21/Documentation/driver-api/firmware/ |
D | fw_search_path.rst | 26 for there first. Be aware that newline characters will be taken into account
|
/linux-6.6.21/Documentation/admin-guide/kdump/ |
D | gdbmacros.txt | 183 set var $newline = 1 224 set var $newline = 0 234 if ($newline)
|
/linux-6.6.21/tools/perf/util/ |
D | stat-display.c | 350 bool newline; member 365 os->newline = true; in new_line_std() 398 bool newline = os->newline; in print_metric_std() local 400 os->newline = false; in print_metric_std() 407 if (newline) in print_metric_std()
|
/linux-6.6.21/Documentation/arch/s390/ |
D | 3270.rst | 221 Running" and nothing typed, the application receives a newline.) 256 driver appends a newline character and sends it to the tty driver; 257 otherwise the driver strips the "^n" and does not append a newline.
|
/linux-6.6.21/Documentation/ABI/testing/ |
D | configfs-usb-gadget-uvc | 270 separated by newline can be specified 329 separated by newline can be specified
|
/linux-6.6.21/Documentation/filesystems/nfs/ |
D | rpc-cache.rst | 209 with precisely one newline character which should be at the end. 219 as them selves. At the very least, space, newline, nul, and
|