/linux-master/scripts/ |
H A D | checkpatch.pl | 163 open(my $script, '<', abs_path($P)) or 166 my $text = <$script>; 167 close($script);
|
H A D | bpf_doc.py | 854 # If script is launched from scripts/ from kernel tree and can access 857 script = os.path.abspath(sys.argv[0]) variable 858 linuxRoot = os.path.dirname(os.path.dirname(script))
|
/linux-master/arch/mips/boot/compressed/ |
H A D | Makefile | 108 $(objtree)/vmlinuz: $(src)/ld.script $(vmlinuzobjs-y) $(obj)/calc_vmlinuz_load_addr
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | Makefile | 235 -Wl,--version-script=liburandom_read.map \
|
/linux-master/drivers/gpu/drm/nouveau/ |
H A D | nouveau_bios.c | 101 NV_INFO(drm, "0x%04X: Parsing digital output script table\n", 110 static int call_lvds_manufacturer_script(struct drm_device *dev, struct dcb_output *dcbent, int head, enum LVDS_script script) argument 114 uint8_t sub = bios->data[bios->fp.xlated_entry + script] + (bios->fp.link_c_increment && dcbent->or & DCB_OUTPUT_C ? 1 : 0); 125 if (script == LVDS_PANEL_OFF) { 131 if (script == LVDS_RESET && 140 static int run_lvds_table(struct drm_device *dev, struct dcb_output *dcbent, int head, enum LVDS_script script, int pxclk) argument 146 * selecting the init script when not using straps; 4 script pointers 150 * of a list of pxclks and script pointers. 162 switch (script) { 213 call_lvds_script(struct drm_device *dev, struct dcb_output *dcbent, int head, enum LVDS_script script, int pxclk) argument [all...] |
/linux-master/tools/testing/selftests/exec/ |
H A D | execveat.c | 204 * a script or not (because the interpreter sees a filename like 219 * Execute as a long pathname relative to "/". If this is a script, 220 * the interpreter will launch but fail to open the script because its 229 ksft_print_msg("Invoke script via root_dfd and relative filename\n"); 244 char *fullname_script = realpath("script", NULL); 259 int fd_script = open_or_die("script", O_RDONLY); 263 int fd_script_ephemeral = open_or_die("script.ephemeral", O_RDONLY); 265 int fd_script_cloexec = open_or_die("script", O_RDONLY|O_CLOEXEC); 336 /* Shell script wrapping executable file: */ 338 fail += check_execveat(subdir_dfd, "../script", 398 const char *script = "#!/bin/bash\\nexit $*\\n"; local [all...] |
H A D | binfmt_script.py | 36 # @good: whether this script is expected to execute correctly 73 script = "binfmt_script-%s" % (name) 74 open(script, "w").write(buf) 75 os.chmod(script, 0o755) 77 proc = subprocess.Popen(["./%s" % (script)], shell=True, 101 os.unlink(script)
|
H A D | Makefile | 8 TEST_GEN_FILES := execveat.symlink execveat.denatured script subdir 22 $(OUTPUT)/script: Makefile
|
/linux-master/tools/lib/bpf/ |
H A D | Makefile | 168 -Wl,--version-script=$(VERSION_SCRIPT) $< -lelf -lz -o $@
|
/linux-master/scripts/package/ |
H A D | builddeb | 6 # Simple script to generate a deb package for a Linux kernel. All the 72 for script in postinst postrm preinst prerm; do 73 mkdir -p "${pdir}${debhookdir}/${script}.d" 76 cat <<-EOF > "${pdir}/DEBIAN/${script}" 82 # Pass maintainer script parameters to hook scripts 88 test -d ${debhookdir}/${script}.d && run-parts --arg="${KERNELRELEASE}" --arg="/${installed_image_path}" ${debhookdir}/${script}.d 91 chmod 755 "${pdir}/DEBIAN/${script}"
|
/linux-master/tools/testing/ktest/ |
H A D | ktest.pl | 428 A script or command to reboot the box. 439 The script or command that reads the console 455 Only valid options so far are "grub", "grub2", "grub2bls", "syslinux", and "script". 460 your setup, then specify "script" and have a command or script 512 A script to reboot the target into the test kernel 513 (Only mandatory if REBOOT_TYPE = script)
|
/linux-master/drivers/scsi/ |
H A D | 53c700.c | 152 /* This is the script */ 273 return h->pScript + ((uintptr_t)p - (uintptr_t)h->script); 298 __u32 *script; local 317 script = (__u32 *)memory; 360 script[j] = bS_to_host(SCRIPT[j]); 364 script[LABELPATCHES[j]] = bS_to_host(pScript + SCRIPT[LABELPATCHES[j]]); 366 script_patch_32(hostdata, script, MessageLocation, 368 script_patch_32(hostdata, script, StatusAddress, 370 script_patch_32(hostdata, script, ReceiveMsgAddress, 373 hostdata->script [all...] |
/linux-master/tools/perf/util/ |
H A D | trace-event.h | 93 const char *dirname; /* For script path .../scripts/<dirname>/... */ 94 int (*start_script)(const char *script, int argc, const char **argv,
|
/linux-master/tools/perf/util/scripting-engines/ |
H A D | trace-event-python.c | 1912 * Start trace script 1914 static int python_start_script(const char *script, int argc, const char **argv, argument 1937 command_line[0] = script; 1946 command_line[0] = Py_DecodeLocale(script, NULL); 1959 fp = fopen(script, "r"); 1961 sprintf(buf, "Can't open python script \"%s\"", script); 1967 err = PyRun_SimpleFile(fp, script); 1969 fprintf(stderr, "Error running python script %s\n", script); [all...] |
H A D | trace-event-perl.c | 2 * trace-event-perl. Feed perf script events to an embedded Perl interpreter. 482 * Start trace script 484 static int perl_start_script(const char *script, int argc, const char **argv, argument 497 command_line[1] = script; 537 * Stop trace script 569 fprintf(ofp, "# perf script event handlers, " 570 "generated by perf script -g perl\n"); 759 fprintf(stderr, "generated Perl script: %s\n", fname);
|
/linux-master/tools/perf/tests/shell/ |
H A D | test_arm_callgraph_fp.sh | 41 # expected perf-script output: 49 perf script -i "$PERF_DATA" -F comm,ip,sym | head -n4 50 perf script -i "$PERF_DATA" -F comm,ip,sym | head -n4 | \
|
H A D | script.sh | 2 # perf script tests 7 temp_dir=$(mktemp -d /tmp/perf-test-script.XXXXXXXXXX) 18 if [ "${sane}" = "/tmp/perf-test-script" ] ; then 38 # Check if python script is supported 64 perf script -i "${perfdatafile}" -s "${db_test}"
|
/linux-master/tools/perf/tests/shell/base_probe/ |
H A D | test_adding_kernel.sh | 260 # perf script should report the function calls with the correct arg values 261 $CMD_PERF script -i $CURRENT_TEST_DIR/perf.data > $LOGS_DIR/adding_kernel_func_retval_script.log 270 print_results $PERF_EXIT_CODE $CHECK_EXIT_CODE "function argument probing :: script"
|
/linux-master/tools/perf/ |
H A D | builtin-script.c | 377 return fprintf(fp, "[ perf script: Wrote %.3f MB %s (%" PRIu64 " samples) ]\n", 715 tod_scnprintf(struct perf_script *script, char *buf, int buflen, argument 726 if (buflen < 64 || !script) 729 env = &script->session->header.env; 776 static int perf_sample__fprintf_start(struct perf_script *script, argument 865 tod_scnprintf(script, tstr, sizeof(tstr), sample->time); 2072 static void perf_sample__fprint_metric(struct perf_script *script, argument 2094 evlist__alloc_stats(&stat_config, script->session->evlist, /*alloc_raw=*/false); 2153 static void process_event(struct perf_script *script, argument 2172 perf_sample__fprintf_start(script, sampl 2523 struct perf_script *script = container_of(tool, struct perf_script, tool); local 2650 struct perf_script *script = container_of(tool, struct perf_script, tool); local 2737 perf_script__fclose_per_event_dump(struct perf_script *script) argument 2750 perf_script__fopen_per_event_dump(struct perf_script *script) argument 2777 perf_script__setup_per_event_dump(struct perf_script *script) argument 2792 perf_script__exit_per_event_dump_stats(struct perf_script *script) argument 2805 perf_script__exit(struct perf_script *script) argument 2811 __cmd_script(struct perf_script *script) argument 2943 find_script(const char *script) argument 2977 const char *script, *ext; local 3656 script__setup_sample_type(struct perf_script *script) argument 3699 set_maps(struct perf_script *script) argument 3723 struct perf_script *script = container_of(tool, struct perf_script, tool); local 3745 struct perf_script *script = container_of(tool, struct perf_script, tool); local 3779 struct perf_script *script = container_of(tool, struct perf_script, tool); local 3865 struct perf_script script = { local [all...] |
H A D | Makefile.perf | 20 # Define NO_LIBPERL to disable perl script extension. 22 # Define NO_LIBPYTHON to disable python script extension. 1035 $(call QUIET_INSTALL, perf_completion-script) \
|
H A D | Makefile.config | 1095 msg := $(warning No libcapstone found, disables disasm engine support for 'perf script', please install libcapstone-dev/capstone-devel);
|
/linux-master/include/linux/mfd/ |
H A D | twl.h | 641 struct twl4030_ins *script; member in struct:twl4030_script
|
/linux-master/drivers/mfd/ |
H A D | twl4030-power.c | 219 static int twl4030_write_script(u8 address, struct twl4030_ins *script, argument 224 for (; len; len--, address++, script++) { 227 script->pmb_message, 228 script->delay, 234 script->pmb_message, 235 script->delay, 471 /* Make sure the script isn't going beyond last valid address (0x3f) */ 477 err = twl4030_write_script(address, tscript->script, tscript->size); 487 /* Reset any existing sleep script to avoid hangs on reboot */ 505 pr_warn("TWL4030: Bad order of scripts (sleep script befor [all...] |
/linux-master/tools/testing/selftests/net/openvswitch/ |
H A D | openvswitch.sh | 167 local perf_output=`perf script -i ${ovs_dir}/perf.data -F trace:event,trace`
|
/linux-master/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/ |
H A D | tc_flower.sh | 66 local perf_output=`perf script -F trace:event,trace`
|