Searched refs:script (Results 1 - 200 of 236) sorted by relevance

12

/linux-4.1.27/tools/perf/ui/browsers/
H A Dscripts.c14 /* 2048 lines should be enough for a script output */
35 * Usually the full path for a script is:
43 * When success, will copy the full path of the selected script
52 /* Preset the script name to SCRIPT_NAMELEN */ list_scripts()
118 struct perf_script_browser script = { script_browse() local
127 INIT_LIST_HEAD(&script.entries); script_browse()
139 sprintf(cmd, "perf script -s %s ", script_name); script_browse()
163 list_add_tail(&sline->node, &script.entries); script_browse()
165 if (script.b.width < retlen) script_browse()
166 script.b.width = retlen; script_browse()
173 if (script.b.width > AVERAGE_LINE_LEN) script_browse()
174 script.b.width = AVERAGE_LINE_LEN; script_browse()
179 script.nr_lines = nr_entries; script_browse()
180 script.b.nr_entries = nr_entries; script_browse()
181 script.b.entries = &script.entries; script_browse()
183 ret = script_browser__run(&script); script_browse()
/linux-4.1.27/arch/x86/vdso/
H A Dvdso.lds.S2 * Linker script for 64-bit vDSO.
5 * This file defines the version script giving the user-exported symbols in
H A Dvdsox32.lds.S2 * Linker script for x32 vDSO.
5 * This file defines the version script giving the user-exported symbols in
H A Dvdso-layout.lds.S4 * Linker script for vDSO. This is an ELF shared object prelinked to
6 * This script controls its layout.
H A DMakefile170 # The DSO images are built using a special linker script.
/linux-4.1.27/arch/x86/vdso/vdso32/
H A Dvdso32.lds.S2 * Linker script for 32-bit vDSO.
5 * This file defines the version script giving the user-exported symbols in
/linux-4.1.27/arch/sh/include/mach-kfr2r09/mach/
H A Dromimage.h4 * converts the "partner-jet-script.txt" script into assembly
/linux-4.1.27/tools/testing/selftests/exec/
H A DMakefile3 DEPS = execveat.symlink execveat.denatured script subdir
8 script:
H A Dexecveat.c178 * a script or not (because the interpreter sees a filename like check_execveat_pathmax()
193 * Execute as a long pathname relative to ".". If this is a script, check_execveat_pathmax()
194 * the interpreter will launch but fail to open the script because its check_execveat_pathmax()
215 char *fullname_script = realpath("script", NULL); run_tests()
229 int fd_script = open_or_die("script", O_RDONLY); run_tests()
233 int fd_script_ephemeral = open_or_die("script.ephemeral", O_RDONLY); run_tests()
235 int fd_script_cloexec = open_or_die("script", O_RDONLY|O_CLOEXEC); run_tests()
302 /* Shell script wrapping executable file: */ run_tests()
304 fail += check_execveat(subdir_dfd, "../script", 0); run_tests()
305 fail += check_execveat(dot_dfd, "script", 0); run_tests()
306 fail += check_execveat(dot_dfd_path, "script", 0); run_tests()
313 /* O_CLOEXEC fd fails for a script (as script file inaccessible) */ run_tests()
316 fail += check_execveat_fail(dot_dfd_cloexec, "script", 0, ENOENT); run_tests()
318 /* Mess with script file that's already open: */ run_tests()
320 rename("script.ephemeral", "script.moved"); run_tests()
323 unlink("script.moved"); /* remove the file while fd open */ run_tests()
328 fail += check_execveat(subdir_dfd_ephemeral, "../script", 0); run_tests()
329 fail += check_execveat(subdir_dfd_ephemeral, "script", 0); run_tests()
331 unlink("subdir.moved/script"); run_tests()
334 fail += check_execveat(subdir_dfd_ephemeral, "../script", 0); run_tests()
335 fail += check_execveat_fail(subdir_dfd_ephemeral, "script", 0, ENOENT); run_tests()
357 fail += check_execveat_pathmax(dot_dfd, "script", 1); run_tests()
364 const char *script = "#!/bin/sh\nexit $*\n"; prerequisites() local
369 exe_cp("script", "script.ephemeral"); prerequisites()
372 fd = open("subdir.ephemeral/script", O_RDWR|O_CREAT|O_TRUNC, 0755); prerequisites()
373 write(fd, script, strlen(script)); prerequisites()
/linux-4.1.27/arch/x86/um/vdso/
H A Dvdso.lds.S2 * Linker script for 64-bit vDSO.
6 * This file defines the version script giving the user-exported symbols in
H A Dvdso-layout.lds.S2 * Linker script for vDSO. This is an ELF shared object prelinked to
4 * This script controls its layout.
H A DMakefile69 # The DSO images are built using a special linker script.
/linux-4.1.27/drivers/scsi/sym53c8xx_2/
H A Dsym_fw.h43 * Macro used to generate interfaces for script A.
62 * Macro used to generate interfaces for script B.
78 * Macro used to generate interfaces for script Z.
85 * offsets within script A, B and Z.
104 * bus addresses within script A, B and Z.
132 u32 *a_base; /* Pointer to script A template */
133 int a_size; /* Size of script A */
135 *a_ofs; /* Useful offsets in script A */
136 u32 *b_base; /* Pointer to script B template */
137 int b_size; /* Size of script B */
139 *b_ofs; /* Useful offsets in script B */
140 u32 *z_base; /* Pointer to script Z template */
141 int z_size; /* Size of script Z */
143 *z_ofs; /* Useful offsets in script Z */
175 * RADDR_1 generates a reference to a script processor register.
176 * RADDR_2 generates a reference to a script processor register
178 * PADDR_A generates a reference to another part of script A.
179 * PADDR_B generates a reference to another part of script B.
H A Dsym_fw.c54 * Allocate firmware #1 script area.
75 * Allocate firmware #2 script area.
254 * Setup useful script bus addresses.
265 * Build the bus address table for script A sym_fw_setup_bus_addresses()
266 * from the script A offset table. sym_fw_setup_bus_addresses()
274 * Same for script B. sym_fw_setup_bus_addresses()
282 * Same for script Z. sym_fw_setup_bus_addresses()
363 * Bind a script to physical addresses.
537 * script self-modified areas. sym_fw_bind_script()
H A Dsym_fw2.h45 * here. If you make changes inside the script,
301 * Then the script processor takes the jump
582 * The script processor doesn't negate the
1090 * PM0 DATA mini-script.
1110 * PM0 DATA mini-script.
1122 * data from the PM0 DATA mini-script.
1127 * Return to the previous DATA script which
1129 * the main DATA script for this transfer.
1155 * PM1 DATA mini-script.
1175 * PM1 DATA mini-script.
1187 * data from the PM1 DATA mini-script.
1192 * Return to the previous DATA script which
1194 * the main DATA script for this transfer.
1613 * SAVE mini-script and a DATA phase mini-script.
1637 * If we have been interrupt in a PM DATA mini-script,
1641 * main DATA script for this transfer.
1668 * interrupted in a PM DATA mini-script and/or
1699 * Set the current pointer at the PM0 DATA mini-script.
1729 * Set the current pointer at the PM1 DATA mini-script.
1817 * So, we just have to move the current data script pointer
H A Dsym_defs.h146 #define BF 0x20 /* int: script: bus fault */
147 #define ABRT 0x10 /* int: script: command aborted */
148 #define SSI 0x08 /* int: script: single step */
149 #define SIR 0x04 /* int: script: interrupt instruct. */
150 #define IID 0x01 /* int: script: illegal instruct. */
180 #define SIGP 0x20 /* r/w: message from host to script */
181 #define SEM 0x10 /* r/w: message between host + script */
185 #define DIP 0x01 /* sta: host/script interrupt */
379 * Utility macros for the script.
H A Dsym_glue.h135 * no byte reordering is needed for script patching.
136 * Macro cpu_to_scr() is to be used for script patching.
138 * from the script.
H A Dsym_hipd.h588 * Status are used by the host and the script processor.
593 * Inside the script the XX_REG are used.
597 * Last four bytes (script)
656 * 'savep' points to the position in the script responsible
699 * During execution of a ccb by the script processor, the
737 * register when it is executed by the script processor.
843 * The START_RAM64 script loads the MMRS and MMWS from this
895 * 'script' is loaded in the on-chip RAM if present.
905 u_short scripta_sz; /* Actual size of script A, B, Z*/
960 * written with a script command.
H A Dsym_fw1.h45 * here. If you make changes inside the script,
326 * Then the script processor takes the jump
593 * The script processor doesn't negate the
1204 * PM0 DATA mini-script.
1224 * PM0 DATA mini-script.
1236 * data from the PM0 DATA mini-script.
1241 * Return to the previous DATA script which
1243 * the main DATA script for this transfer.
1280 * PM1 DATA mini-script.
1300 * PM1 DATA mini-script.
1312 * data from the PM1 DATA mini-script.
1317 * Return to the previous DATA script which
1319 * the main DATA script for this transfer.
H A Dsym_hipd.c1030 * Start script (exchange values) sym_snooptest()
1075 printf ("CACHE TEST FAILED: script execution failed.\n"); sym_snooptest()
1123 * current script command:
1124 * dsp: script address (relative to start of script).
1125 * dbc: first word of script command.
1172 printf ("%s: script cmd = %08x\n", sym_name(np), sym_log_hard_error()
1909 * and start script processor. sym_start_up()
2492 * try to find the interrupted script command, sym_int_ma()
2551 * check cmd against assumed interrupted script command. sym_int_ma()
3624 * we are at the end of the data script.
3647 * Compute the resulted data pointer in term of a script sym_evaluate_dp()
3648 * address within some DATA script and a signed byte offset. sym_evaluate_dp()
3783 * script address we want to return for the next data phase. sym_modify_dp()
3823 * to the main data script. sym_modify_dp()
/linux-4.1.27/arch/xtensa/include/asm/
H A Dunistd.h13 * Ignore legacy system calls in the checksyscalls.sh script
/linux-4.1.27/tools/perf/scripts/perl/
H A Dcheck-perf-trace.pl1 # perf script event handlers, generated by perf script -g perl
5 # This script tests basic functionality such as flag and symbol
7 # events, etc. Basically, if this script runs successfully and
H A Drw-by-file.pl10 # be retrieved via script functions of the form get_common_*().
21 my $usage = "perf script -s rw-by-file.pl <comm>\n";
H A Dwakeup-latency.pl10 # be retrieved via script functions of the form get_common_*().
H A Drw-by-pid.pl10 # be retrieved via script functions of the form get_common_*().
/linux-4.1.27/tools/perf/scripts/python/
H A Dcheck-perf-trace.py1 # perf script event handlers, generated by perf script -g python
5 # This script tests basic functionality such as flag and symbol
7 # events, etc. Basically, if this script runs successfully and
H A Dfailed-syscalls-by-pid.py18 usage = "perf script -s syscall-counts-by-pid.py [comm|pid]\n";
H A Dsctop.py20 usage = "perf script -s sctop.py [comm] [interval]\n";
H A Dsyscall-counts-by-pid.py17 usage = "perf script -s syscall-counts-by-pid.py [comm]\n";
H A Dsyscall-counts.py18 usage = "perf script -s syscall-counts.py [comm]\n";
H A Devent_analyzing_sample.py4 # and this script is not trying to be as powerful as perf report, but
8 # The 2 database related functions in this script just show how to gather
H A Dsched-migration.py7 # perf script event handlers have been generated by perf script -g python
H A Dnetdev-times.py20 all_event_list = []; # insert all tracepoint event related with this script
/linux-4.1.27/tools/perf/util/
H A Dtrace-event-scripting.c59 static int python_start_script_unsupported(const char *script __maybe_unused, python_start_script_unsupported()
92 die("error registering Python script extension"); register_python_scripting()
96 die("error registering py script extension"); register_python_scripting()
124 static int perl_start_script_unsupported(const char *script __maybe_unused, perl_start_script_unsupported()
156 die("error registering Perl script extension"); register_perl_scripting()
160 die("error registering pl script extension"); register_perl_scripting()
H A Dtrace-event.h69 int (*start_script) (const char *script, int argc, const char **argv);
/linux-4.1.27/arch/ia64/kernel/
H A Dunwind.c13 * They are cached for later re-use. Each script is specific for a
15 * that the script depends on (most unwind descriptors are
23 * o each unwind script has its own read-write lock; a thread must acquire
24 * a read lock before executing a script and must acquire a write lock
25 * before modifying a script
26 * o if both the unw.lock spinlock and a script's read-write lock must be
97 unsigned short lru_head; /* index of lead-recently used script */
98 unsigned short lru_tail; /* index of most-recently used script */
112 /* hash table that maps instruction pointer to script index: */
115 /* script cache: */
137 } script; member in struct:__anon1738::__anon1739
1216 cache_match (struct unw_script *script, unsigned long ip, unsigned long pr) cache_match()
1218 read_lock(&script->lock); cache_match()
1219 if (ip == script->ip && ((pr ^ script->pr_val) & script->pr_mask) == 0) cache_match()
1222 read_unlock(&script->lock);
1229 struct unw_script *script = unw.cache + info->hint; script_lookup()
1241 if (cache_match(script, ip, pr)) { script_lookup()
1243 return script; script_lookup()
1250 script = unw.cache + index; script_lookup()
1252 if (cache_match(script, ip, pr)) { script_lookup()
1255 unw.cache[info->prev_script].hint = script - unw.cache; script_lookup()
1256 return script; script_lookup()
1258 if (script->coll_chain >= UNW_HASH_SIZE) script_lookup()
1260 script = unw.cache + script->coll_chain;
1271 struct unw_script *script, *prev, *tmp; script_new()
1275 STAT(++unw.stat.script.news); script_new()
1282 script = unw.cache + head; script_new()
1283 unw.lru_head = script->lru_chain; script_new()
1287 * script->lock. Thus, if the write_trylock() fails, we simply bail out. The script_new()
1291 if (!write_trylock(&script->lock)) script_new()
1294 /* re-insert script at the tail of the LRU chain: */ script_new()
1298 /* remove the old script from the hash table (if it's there): */ script_new()
1299 if (script->ip) { script_new()
1300 index = hash(script->ip); script_new()
1304 if (tmp == script) { script_new()
1313 /* old script wasn't in the hash-table */ script_new()
1319 /* enter new script in the hash table */ script_new()
1321 script->coll_chain = unw.hash[index]; script_new()
1322 unw.hash[index] = script - unw.cache; script_new()
1324 script->ip = ip; /* set new IP while we're holding the locks */ script_new()
1326 STAT(if (script->coll_chain < UNW_CACHE_SIZE) ++unw.stat.script.collisions); script_new()
1328 script->flags = 0; script_new()
1329 script->hint = 0;
1330 script->count = 0;
1331 return script; script_finalize()
1335 script_finalize (struct unw_script *script, struct unw_state_record *sr) script_finalize()
1337 script->pr_mask = sr->pr_mask; script_finalize()
1338 script->pr_val = sr->pr_val; script_finalize()
1340 * We could down-grade our write-lock on script->lock here but script_finalize()
1343 * we're done using the script.
1348 script_emit (struct unw_script *script, struct unw_insn insn) script_emit()
1350 if (script->count >= UNW_MAX_SCRIPT_LEN) { script_emit()
1351 UNW_DPRINT(0, "unwind.%s: script exceeds maximum size of %u instructions!\n", script_emit()
1355 script->insn[script->count++] = insn; emit_nat_info()
1359 emit_nat_info (struct unw_state_record *sr, int i, struct unw_script *script) emit_nat_info()
1400 script_emit(script, insn); compile_reg()
1404 compile_reg (struct unw_state_record *sr, int i, struct unw_script *script) compile_reg()
1485 script_emit(script, insn); compile_reg()
1487 emit_nat_info(sr, i, script); compile_reg()
1498 script_emit(script, insn);
1525 * Build an unwind script that unwinds from state OLD_STATE to the build_script()
1532 struct unw_script *script = NULL; build_script()
1544 STAT(++unw.stat.script.builds; start = ia64_get_itc()); build_script()
1553 script = script_new(ip); build_script()
1554 if (!script) { build_script()
1555 UNW_DPRINT(0, "unwind.%s: failed to create unwind script\n", __func__); build_script()
1556 STAT(unw.stat.script.build_time += ia64_get_itc() - start); build_script()
1559 unw.cache[info->prev_script].hint = script - unw.cache; build_script()
1593 compile_reg(&sr, UNW_REG_RP, script); build_script()
1594 script_finalize(script, &sr); build_script()
1595 STAT(unw.stat.script.parse_time += ia64_get_itc() - parse_start); build_script()
1596 STAT(unw.stat.script.build_time += ia64_get_itc() - start); build_script()
1597 return script; build_script()
1627 script->flags = sr.flags; build_script()
1667 STAT(unw.stat.script.parse_time += ia64_get_itc() - parse_start); build_script()
1682 script_emit(script, insn); build_script()
1695 compile_reg(&sr, i, script); build_script()
1698 compile_reg(&sr, i, script); build_script()
1709 STAT(unw.stat.script.parse_time += ia64_get_itc() - parse_start); build_script()
1711 script_finalize(script, &sr);
1712 STAT(unw.stat.script.build_time += ia64_get_itc() - start);
1713 return script;
1722 run_script (struct unw_script *script, struct unw_frame_info *state) run_script()
1729 STAT(++unw.stat.script.runs; start = ia64_get_itc()); run_script()
1730 state->flags = script->flags; run_script()
1731 ip = script->insn; run_script()
1732 limit = script->insn + script->count; run_script()
1819 STAT(unw.stat.script.run_time += ia64_get_itc() - start); run_script()
1857 "unwind.%s: failed to locate/build unwind script for ip %lx\n", find_save_locs()
1213 cache_match(struct unw_script *script, unsigned long ip, unsigned long pr) cache_match() argument
1226 struct unw_script *script = unw.cache + info->hint; script_lookup() local
1268 struct unw_script *script, *prev, *tmp; script_new() local
1332 script_finalize(struct unw_script *script, struct unw_state_record *sr) script_finalize() argument
1345 script_emit(struct unw_script *script, struct unw_insn insn) script_emit() argument
1356 emit_nat_info(struct unw_state_record *sr, int i, struct unw_script *script) emit_nat_info() argument
1401 compile_reg(struct unw_state_record *sr, int i, struct unw_script *script) compile_reg() argument
1529 struct unw_script *script = NULL; build_script() local
1719 run_script(struct unw_script *script, struct unw_frame_info *state) run_script() argument
H A Dunwind_i.h146 * Preserved general static registers (r4-r7) give rise to two script
148 * the end of the script, the psp gets popped, accounting for one more
154 unsigned long ip; /* ip this script is for */
155 unsigned long pr_mask; /* mask of predicates script depends on */
156 unsigned long pr_val; /* predicate values this script is for */
161 unsigned short hint; /* hint for next script to try (or -1) */
162 unsigned short count; /* number of instructions in script */
H A Dgate.lds.S2 * Linker script for gate DSO. The gate pages are an ELF shared object
4 * one execute-only segment (both fit in one page). This script controls
28 * This linker script is used both with -r and with -shared. For
H A DMakefile53 # The gate DSO image is built using a special linker script.
/linux-4.1.27/drivers/scsi/
H A D53c700.h69 /* The following is a script fragment to move the buffer onto the
216 __u32 *script; /* pointer to script location */ member in struct:NCR_700_Host_Parameters
217 __u32 pScript; /* physical mem addr of script */
423 #define script_patch_32(dev, script, symbol, value) \
427 __u32 val = bS_to_cpu((script)[A_##symbol##_used[i]]) + value; \
428 (script)[A_##symbol##_used[i]] = bS_to_host(val); \
429 dma_cache_sync((dev), &(script)[A_##symbol##_used[i]], 4, DMA_TO_DEVICE); \
430 DEBUG((" script, patching %s at %d to 0x%lx\n", \
435 #define script_patch_32_abs(dev, script, symbol, value) \
439 (script)[A_##symbol##_used[i]] = bS_to_host(value); \
440 dma_cache_sync((dev), &(script)[A_##symbol##_used[i]], 4, DMA_TO_DEVICE); \
441 DEBUG((" script, patching %s at %d to 0x%lx\n", \
447 #define script_patch_ID(dev, script, symbol, value) \
451 __u32 val = bS_to_cpu((script)[A_##symbol##_used[i]]); \
454 (script)[A_##symbol##_used[i]] = bS_to_host(val); \
455 dma_cache_sync((dev), &(script)[A_##symbol##_used[i]], 4, DMA_TO_DEVICE); \
456 DEBUG((" script, patching ID field %s at %d to 0x%x\n", \
461 #define script_patch_16(dev, script, symbol, value) \
465 __u32 val = bS_to_cpu((script)[A_##symbol##_used[i]]); \
468 (script)[A_##symbol##_used[i]] = bS_to_host(val); \
469 dma_cache_sync((dev), &(script)[A_##symbol##_used[i]], 4, DMA_TO_DEVICE); \
470 DEBUG((" script, patching short field %s at %d to 0x%x\n", \
H A D53c700.c165 /* This is the script */
291 __u32 *script; NCR_700_detect() local
306 script = (__u32 *)memory; NCR_700_detect()
352 script[j] = bS_to_host(SCRIPT[j]); NCR_700_detect()
356 script[LABELPATCHES[j]] = bS_to_host(pScript + SCRIPT[LABELPATCHES[j]]); NCR_700_detect()
358 script_patch_32(hostdata->dev, script, MessageLocation, NCR_700_detect()
360 script_patch_32(hostdata->dev, script, StatusAddress, NCR_700_detect()
362 script_patch_32(hostdata->dev, script, ReceiveMsgAddress, NCR_700_detect()
365 hostdata->script = script; NCR_700_detect()
415 hostdata->script, hostdata->pScript); NCR_700_release()
824 script_patch_16(hostdata->dev, hostdata->script, process_extended_message()
837 script_patch_16(hostdata->dev, hostdata->script, MessageCount, process_extended_message()
852 script_patch_16(hostdata->dev, hostdata->script, MessageCount, process_extended_message()
937 script_patch_16(hostdata->dev, hostdata->script, MessageCount, process_message()
1144 script_patch_32_abs(hostdata->dev, hostdata->script, process_script_interrupt()
1146 script_patch_16(hostdata->dev, hostdata->script, process_script_interrupt()
1148 script_patch_32_abs(hostdata->dev, hostdata->script, process_script_interrupt()
1178 * reselected script interrupt */ process_script_interrupt()
1193 __u32 SG = (__u32)bS_to_cpu(hostdata->script[A_SGScriptStartAddress_used[0]]); process_script_interrupt()
1217 printk(KERN_ERR "scsi%d: script reselected and we took a selection interrupt\n", process_script_interrupt()
1246 printk(KERN_ERR "scsi%d: (%d:%d), unhandled script condition %s %s at %04x\n", process_script_interrupt()
1263 printk(KERN_ERR "scsi%d: (%d:%d), unidentified script interrupt 0x%x at %04x\n",
1442 script_patch_16(hostdata->dev, hostdata->script, MessageCount, count); NCR_700_start_command()
1445 script_patch_ID(hostdata->dev, hostdata->script, NCR_700_start_command()
1448 script_patch_32_abs(hostdata->dev, hostdata->script, CommandAddress, NCR_700_start_command()
1450 script_patch_16(hostdata->dev, hostdata->script, CommandCount, NCR_700_start_command()
1452 /* finally plumb the beginning of the SG list into the script NCR_700_start_command()
1454 script_patch_32_abs(hostdata->dev, hostdata->script, NCR_700_start_command()
1592 int count = (hostdata->script[Ent_SendMessage/4] & 0xffffff) - ((NCR_700_readl(host, DBC_REG) & 0xffffff) + NCR_700_data_residual(host));
1680 * after script interrupt processing to correctly cope
H A Dncr53c8xx.c988 ** 80 (MAX_SCATTERL) segments are moved from a sub-script
1130 struct script;
1276 ** Jump table used by the script processor to directly jump
1331 ** Declaration of structs: the launch script.
1337 ** This 6 DWORDs mini script makes use of prefetching.
1361 ** These fields are accessible to the script processor.
1369 ** Points to the position in the script responsible for the
1398 u_char scr_st[4]; /* script status */
1404 ** The status bytes are used by the host and the script processor.
1415 ** Inside the script the XX_REG are used.
1417 ** The first four bytes (scr_st[4]) are used inside the script by
1427 ** Last four bytes (script)
1452 ** First four bytes (script)
1476 ** During execution of a ccb by the script processor,
1480 ** the script-processor-changeable data and
1515 ** register when it is executed by the script processor.
1523 ** Mini-script used at CCB execution start-up.
1531 ** Mini-script used at CCB relection to restart the nexus.
1541 ** we have to prepare a mini script to transfer
1600 ** It is accessible to both the host and the script processor.
1668 ** 'script' is loaded in the on-chip RAM if present.
1672 struct script *script0; /* Copies of script and scripth */
1675 u_long p_script; /* Actual script and scripth */
1725 ** written with a SCR_COPY script command.
1761 #define NCB_SCRIPT_PHYS(np,lbl) (np->p_script + offsetof (struct script, lbl))
1779 ** If you make changes inside the script,
1790 ** modification, to force a refetch of the script on
1806 struct script { struct
1942 static void ncr_script_fill (struct script * scr, struct scripth * scripth);
1981 ** PADDR generates a reference to another part of the script.
1982 ** RADDR generates a reference to a script processor register.
1983 ** FADDR generates a reference to a script processor register
1999 #define PADDR(label) (RELOC_LABEL | offsetof(struct script, label))
2019 static struct script script0 __initdata = {
2046 ** SCRATCHA contains the address of the script,
2075 ** Then the script processor takes the jump
2116 ** Flush script prefetch if required
2312 ** The script processor doesn't negate the
2421 ** Flush script prefetch if required
2637 ** Flush script prefetch if required
2703 ** Flush script prefetch if required
2770 ** Called addresses point to the launch script in the CCB.
2862 ** Flush script prefetch if required
3262 ** This script sets savep/lastp/goalp according to the
3370 ** Load the script into on-chip RAM,
3377 ** Flush script prefetch if required
3380 SCR_COPY (sizeof (struct script)),
3403 ** modification, to force a refetch of the script on
3439 ** Fill in #define dependent parts of the script
3445 void __init ncr_script_fill (struct script * scr, struct scripth * scrh) ncr_script_fill()
3517 ** Copy and rebind a script.
3541 ** in struct script, a field will be ncr_script_copy_and_bind()
4576 * The script processor is then assumed to be stopped. ncr_reset_bus()
4671 ** script to abort the command.
4694 ** If there are no requests, the script
4798 m_free_dma(np->script0, sizeof(struct script), "SCRIPT"); ncr_detach()
5347 ** Start script processor. ncr_init()
5700 ** Patch the lun mini-script, according to tag mode. ncr_setup_tags()
5813 ** current script command:
5814 ** dsp: script address (relative to start of script).
5815 ** dbc: first word of script command.
5834 if (dsp > np->p_script && dsp <= np->p_script + sizeof(struct script)) { ncr_log_hard_error()
5836 script_size = sizeof(struct script); ncr_log_hard_error()
5838 script_name = "script"; ncr_log_hard_error()
5861 printk ("%s: script cmd = %08x\n", ncr_name(np), ncr_log_hard_error()
6078 ** it continues executing script commands.
6208 * script that will ignore all data in bytes until phase ncr_int_par()
6329 ** try to find the interrupted script command, ncr_int_ma()
6335 dsp <= np->p_script + sizeof(struct script)) { ncr_int_ma()
6403 ** check cmd against assumed interrupted script command. ncr_int_ma()
6467 ** and restart script processor at dispatcher. ncr_int_ma()
7103 ** which couldn't be handled by the script. ncr_int_sir()
7332 ** Initialyze the start and restart launch script. ncr_init_ccb()
7445 ** CALL @script(resel_lun) ncr_init_tcb()
7536 ** Initilialyze the reselect script: ncr_alloc_lcb()
7544 ** JUMP @script(resel_notag) ncr_alloc_lcb()
7733 ** Start script (exchange values) ncr_snooptest()
7767 printk ("CACHE TEST FAILED: script execution failed.\n"); ncr_snooptest()
8353 np->script0 = m_calloc_dma(sizeof(struct script), "SCRIPT"); ncr_attach()
8393 if (np->paddr2 && sizeof(struct script) > 4096) { ncr_attach()
8395 printk(KERN_WARNING "%s: script too large, NOT using on chip RAM.\n", ncr_attach()
8414 /* Patch script to physical addresses */ ncr_attach()
8422 (ncrcmd *) np->script0, sizeof(struct script)); ncr_attach()
8427 /* Patch the script for LED support. */ ncr_attach()
8514 m_free_dma(np->script0, sizeof(struct script), "SCRIPT"); ncr_attach()
H A Dncr53c8xx.h351 * no byte reordering is needed for script patching.
352 * Macro cpu_to_scr() is to be used for script patching.
354 * from the script.
666 #define BF 0x20 /* int: script: bus fault */
667 #define ABRT 0x10 /* int: script: command aborted */
668 #define SSI 0x08 /* int: script: single step */
669 #define SIR 0x04 /* int: script: interrupt instruct. */
670 #define IID 0x01 /* int: script: illegal instruct. */
705 #define DIP 0x01 /* sta: host/script interrupt */
905 ** Utility macros for the script.
H A Dscript_asm.pl3 # NCR 53c810 script assembler
40 # script, are unimplemented, since I didn't use them in my scripts.
43 # the A_*, E_*, etc. symbols defined in the script. This
55 # script.h
208 $output = 'script.h'; # Output file
/linux-4.1.27/tools/perf/
H A Dbuiltin-script.c492 static int default_start_script(const char *script __maybe_unused, default_start_script()
540 pr_debug("\nperf script stopped\n"); cleanup_scripting()
622 struct perf_script *script = container_of(tool, struct perf_script, tool); process_comm_event() local
623 struct perf_session *session = script->session; process_comm_event()
656 struct perf_script *script = container_of(tool, struct perf_script, tool); process_fork_event() local
657 struct perf_session *session = script->session; process_fork_event()
686 struct perf_script *script = container_of(tool, struct perf_script, tool); process_exit_event() local
687 struct perf_session *session = script->session; process_exit_event()
717 struct perf_script *script = container_of(tool, struct perf_script, tool); process_mmap_event() local
718 struct perf_session *session = script->session; process_mmap_event()
748 struct perf_script *script = container_of(tool, struct perf_script, tool); process_mmap2_event() local
749 struct perf_session *session = script->session; process_mmap2_event()
778 static int __cmd_script(struct perf_script *script) __cmd_script() argument
785 if (script->show_task_events) { __cmd_script()
786 script->tool.comm = process_comm_event; __cmd_script()
787 script->tool.fork = process_fork_event; __cmd_script()
788 script->tool.exit = process_exit_event; __cmd_script()
790 if (script->show_mmap_events) { __cmd_script()
791 script->tool.mmap = process_mmap_event; __cmd_script()
792 script->tool.mmap2 = process_mmap2_event; __cmd_script()
795 ret = perf_session__process_events(script->session); __cmd_script()
886 "perf script -s [spec:]script.[spec]):\n\n"); list_available_languages()
898 const char *script, *ext; parse_scriptname() local
906 script = strchr(str, ':'); parse_scriptname()
907 if (script) { parse_scriptname()
908 len = script - str; parse_scriptname()
920 script++; parse_scriptname()
922 script = str; parse_scriptname()
923 ext = strrchr(script, '.'); parse_scriptname()
925 fprintf(stderr, "invalid script extension"); parse_scriptname()
930 fprintf(stderr, "invalid script extension"); parse_scriptname()
935 script_name = strdup(script); parse_scriptname()
1333 * Currently the only user of this function is the script browser, which
1503 struct perf_script script = { cmd_script() local
1530 OPT_CALLBACK('s', "script", NULL, "name", cmd_script()
1531 "script file name (lang:script name, script name, or *)", cmd_script()
1533 OPT_STRING('g', "gen-script", &generate_script_lang, "lang", cmd_script()
1534 "generate perf-script.xx script in specified language"), cmd_script()
1568 OPT_BOOLEAN('\0', "show-task-events", &script.show_task_events, cmd_script()
1570 OPT_BOOLEAN('\0', "show-mmap-events", &script.show_mmap_events, cmd_script()
1577 "perf script [<options>]", cmd_script()
1578 "perf script [<options>] record <script> [<record-options>] <command>", cmd_script()
1579 "perf script [<options>] report <script> [script-args]", cmd_script()
1580 "perf script [<options>] <script> [<record-options>] <command>", cmd_script()
1581 "perf script [<options>] <top-script> [script-args]", cmd_script()
1602 "Please specify a valid report script" cmd_script()
1603 "(see 'perf script -l' for listing)\n"); cmd_script()
1620 fprintf(stderr, " Couldn't find script %s\n\n See perf" cmd_script()
1621 " script -l for available scripts.\n", argv[0]); cmd_script()
1633 fprintf(stderr, " %s script requires options." cmd_script()
1634 "\n\n See perf script -l for available " cmd_script()
1753 session = perf_session__new(&file, false, &script.tool); cmd_script()
1766 script.session = session; cmd_script()
1816 "perf-script"); cmd_script()
1824 pr_debug("perf script started with script %s\n\n", script_name); cmd_script()
1833 err = __cmd_script(&script); cmd_script()
H A Dperf-with-kcore.sh19 echo " <perf sub-command> can be record, script, report or inject" >&2
103 echo "This script must be run as root via sudo " >&2
108 echo "This script must be run via sudo" >&2
247 "script")
H A Dperf-completion.sh3 # Taken from git.git's completion script.
169 |data|help|script|test|timechart|trace) ]]; then
H A Dbuiltin-help.c404 * example compat/mingw.h), we use the script web--browse to display
443 "script", "sched", "kmem", "lock", "kvm", "test", "inject", "mem", "data", cmd_help()
H A Dbuiltin-lock.c971 const char *const lock_subcommands[] = { "record", "report", "script", cmd_lock()
1003 } else if (!strcmp(argv[0], "script")) { cmd_lock()
1004 /* Aliased to 'perf script' */ cmd_lock()
H A Dbuiltin-sched.c1745 "replay", "script", NULL }; cmd_sched()
1775 * Aliased to 'perf script' for now: cmd_sched()
1777 if (!strcmp(argv[0], "script")) cmd_sched()
H A Dperf.c52 { "script", cmd_script, 0 },
H A Dbuiltin-record.c809 * builtin-script, leave it here.
845 * XXX Will stay a global variable till we fix builtin-script.c to stop messing
/linux-4.1.27/arch/sparc/boot/
H A Dinstall.sh11 # "make install" script for SPARC architecture
34 # User may have a custom install script
/linux-4.1.27/arch/sh/include/mach-ecovec24/mach/
H A Dromimage.h4 * converts the "partner-jet-script.txt" script into assembly
/linux-4.1.27/arch/nios2/boot/
H A Dinstall.sh11 # "make install" script for nios2 architecture
34 # User may have a custom install script
/linux-4.1.27/arch/m68k/
H A Dinstall.sh11 # "make install" script for m68k architecture
34 # User may have a custom install script
/linux-4.1.27/arch/x86/realmode/rm/
H A Drealmode.lds.S4 * Linker script for the real-mode code
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A Ddp.c100 info->script[0] = nv_ro16(bios, data + 0x06); nvbios_dpout_parse()
101 info->script[1] = nv_ro16(bios, data + 0x08); nvbios_dpout_parse()
104 info->script[2] = nv_ro16(bios, data + 0x0c); nvbios_dpout_parse()
105 info->script[3] = nv_ro16(bios, data + 0x0e); nvbios_dpout_parse()
108 info->script[4] = nv_ro16(bios, data + 0x10); nvbios_dpout_parse()
113 info->script[0] = nv_ro16(bios, data + 0x05); nvbios_dpout_parse()
114 info->script[1] = nv_ro16(bios, data + 0x07); nvbios_dpout_parse()
116 info->script[2] = nv_ro16(bios, data + 0x0b); nvbios_dpout_parse()
117 info->script[3] = nv_ro16(bios, data + 0x0d); nvbios_dpout_parse()
118 info->script[4] = nv_ro16(bios, data + 0x0f); nvbios_dpout_parse()
H A Ddisp.c105 info->script[0] = nv_ro16(bios, data + 0x06); nvbios_outp_parse()
106 info->script[1] = nv_ro16(bios, data + 0x08); nvbios_outp_parse()
107 info->script[2] = 0x0000; nvbios_outp_parse()
109 info->script[2] = nv_ro16(bios, data + 0x0a); nvbios_outp_parse()
H A Dperf.c138 info->script = nv_ro16(bios, perf + 0x02); nvbios_perfEp()
H A Dinit.c92 error("script needs OR!!\n"); init_or()
103 error("script needs OR link\n"); init_link()
114 error("script needs crtc\n"); init_crtc()
135 error("script needs connector type\n"); init_conn()
270 error("script needs output for i2c\n"); init_i2c()
390 #define init_script_table(b) init_table_((b), 0x00, "script table")
817 warn("script needs dp output table data\n"); init_dp_condition()
/linux-4.1.27/tools/testing/selftests/rcutorture/bin/
H A Dkvm.sh62 echo " --dryrun sched|script"
112 checkarg --dryrun "sched|script" $# "$2" 'sched\|script' '^--'
243 # Generate a script to execute the tests in appropriate batches.
244 cat << ___EOF___ > $T/script
380 }' >> $T/script
382 cat << ___EOF___ >> $T/script
390 if test "$dryrun" = script
392 cat $T/script
396 # Extract the test run schedule from the script.
397 egrep 'Start batch|Starting build\.' $T/script |
402 # Not a dryrun, so run the script.
403 sh $T/script
H A Dfunctions.sh146 # argument to top-level script.
/linux-4.1.27/arch/sh/kernel/vsyscall/
H A Dvsyscall.lds.S2 * Linker script for vsyscall DSO. The vsyscall page is an ELF shared
4 * segment (that fits in one page). This script controls its layout.
31 * This linker script is used both with -r and with -shared.
H A DMakefile10 # The DSO images are built using a special linker script
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/
H A Ddp.h7 u32 script[5]; member in struct:nvbios_dpout
H A Dperf.h15 u32 script; member in struct:nvbios_perfE
H A Ddisp.h17 u16 script[3]; member in struct:nvbios_outp
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/fuc/
H A Dos.h25 /* MEMX: script opcode definitions */
/linux-4.1.27/scripts/
H A Dmakelst2 # A script to dump mixed source code & assembly
H A Dcheckincludes.pl8 # This script checks for duplicate includes. It also has support
H A Dobjdiff3 # objdiff - a small script for validating that a commit or series of commits
H A Dheaders_check.pl10 # The script reads the supplied files line by line and:
H A Dbootgraph.pl27 # This script turns a dmesg output into a SVG graphic that shows which
32 # For this script to work, the kernel needs to be compiled with the
H A Dcheckkconfigsymbols.py77 "Running this script may\ndelete important data since it "
79 " Please run this script in a clean Git tree or pass "
H A Dgen_initramfs_list.sh9 # The script may also be used to generate the inputfile used for gen_init_cpio
10 # This script assumes that gen_init_cpio is located in usr/ directory
H A Dcoccicheck4 # This script requires at least spatch
H A Dlink-vmlinux.sh129 # Use "make V=1" to debug this script
H A Dpatch-kernel51 # If an ending version number if not specified, the script automatically
58 # is easy and handled by the script (reverse 2.6.11.y and apply 2.6.11.z).
H A Dkallsyms.c592 /* guess for "linker script provide" symbol */ may_be_linker_script_provide_symbol()
658 /* sort by "linker script provide" type */ compare_symbols()
H A Drecordmcount.pl17 # This is no easy feat. This script is called just after the original
483 # Somehow the make process can execute this script on an
H A Dnamespace.pl19 # are the primary input to this script. Incomplete or missing
/linux-4.1.27/arch/x86/boot/
H A Dinstall.sh11 # "make install" script for i386 architecture
34 # User may have a custom install script
/linux-4.1.27/arch/parisc/
H A Dinstall.sh13 # "make install" script for i386 architecture
37 # User may have a custom install script
/linux-4.1.27/arch/blackfin/boot/
H A Dinstall.sh14 # "make install" script for Blackfin architecture
37 # User may have a custom install script
/linux-4.1.27/arch/ia64/scripts/
H A Dunwcheck.py5 # This script checks the unwind info of each function in file FILE
9 # Based on a shell/awk script originally written by Harish Patil,
/linux-4.1.27/arch/arm/boot/
H A Dinstall.sh14 # "make install" script for arm architecture
37 # User may have a custom install script
/linux-4.1.27/tools/perf/scripts/perl/Perf-Trace-Util/lib/Perf/Trace/
H A DUtil.pm68 Perf::Trace::Util - Perl extension for perf script
76 Perf (script) documentation
H A DContext.pm37 Perf (script) documentation
H A DCore.pm166 Perf::Trace::Core - Perl extension for perf script
174 Perf (script) documentation
/linux-4.1.27/arch/xtensa/kernel/
H A DMakefile22 # in the linker script, such as: *(.literal .text).
H A Dhead.S217 * The linker script used to build the Linux kernel image
H A Dvmlinux.lds.S4 * Xtensa linker script
/linux-4.1.27/arch/sh/kernel/
H A Dvmlinux.lds.S2 * ld script to make SuperH Linux kernel
/linux-4.1.27/arch/metag/kernel/
H A Dvmlinux.lds.S1 /* ld script to make Meta Linux kernel */
/linux-4.1.27/include/linux/platform_data/
H A Ddma-imx-sdma.h5 * struct sdma_script_start_addrs - SDMA script start pointers
/linux-4.1.27/arch/sh/include/asm/
H A Dromimage-macros.h4 /* The LIST command is used to include comments in the script */
/linux-4.1.27/arch/m32r/kernel/
H A Dvmlinux.lds.S1 /* ld script to make M32R Linux kernel
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Ddport.c275 init.offset = outp->info.script[2]; dp_link_train_init()
277 init.offset = outp->info.script[3]; dp_link_train_init()
280 /* pre-train script */ dp_link_train_init()
281 init.offset = outp->info.script[0]; dp_link_train_init()
299 /* post-train script */ dp_link_train_fini()
300 init.offset = outp->info.script[1], dp_link_train_fini()
358 /* enable down-spreading and execute pre-train script from vbios */ nvkm_dp_train()
386 /* finish link training and execute post-train script from vbios */ nvkm_dp_train()
H A Dnv50.c1058 nv_ioctl(object, "disp sor lvds script size %d\n", size); nv50_disp_main_mthd()
1060 nv_ioctl(object, "disp sor lvds script " nv50_disp_main_mthd()
1062 args->v0.version, args->v0.script); nv50_disp_main_mthd()
1063 priv->sor.lvdsconf = args->v0.script; nv50_disp_main_mthd()
1486 .offset = info.script[id], exec_script()
1601 * (full power down?) script after all the detach phases of the nv50_disp_intr_unk20_0()
1606 * without this script being run, on some configurations i've nv50_disp_intr_unk20_0()
1617 .offset = outpdp->info.script[4], nv50_disp_intr_unk20_0()
H A Dgf110.c859 .offset = info.script[id], exec_script()
952 .offset = outpdp->info.script[4], gf110_disp_intr_unk2_0()
/linux-4.1.27/arch/powerpc/boot/
H A Dps3-head.S30 * The bootwraper build script copies the 512 bytes at symbol
80 * The bootwrapper build script copies 512 bytes from offset 0x100
H A Dwrapper7 # This script takes a kernel binary and optionally an initrd image
20 # -D dir specify directory containing data files used by script
48 # mkimage wrapper script
51 # directory for object and other files used by this script
/linux-4.1.27/arch/cris/kernel/
H A Dvmlinux.lds.S1 /* ld script to make the Linux/CRIS kernel
5 * script. It is for example quite vital that all generated sections
H A Dsetup.c38 extern const unsigned long text_start, edata; /* set by the linker script */
/linux-4.1.27/drivers/media/usb/dvb-usb/
H A Daf9005-fe.c25 #include "af9005-script.h"
971 /* load init script */ af9005_fe_init()
972 deb_info("load init script\n"); af9005_fe_init()
973 scriptlen = sizeof(script) / sizeof(RegDesc); af9005_fe_init()
976 af9005_write_register_bits(state->d, script[i].reg, af9005_fe_init()
977 script[i].pos, af9005_fe_init()
978 script[i].len, script[i].val))) af9005_fe_init()
981 if (script[i].reg == 0xae18) af9005_fe_init()
982 temp2 = script[i].val; af9005_fe_init()
983 if (script[i].reg == 0xae19) af9005_fe_init()
984 temp1 = script[i].val; af9005_fe_init()
985 if (script[i].reg == 0xae1a) af9005_fe_init()
986 temp0 = script[i].val; af9005_fe_init()
989 if (script[i].reg == xd_p_reg_unplug_th) af9005_fe_init()
990 state->original_if_unplug_th = script[i].val; af9005_fe_init()
991 if (script[i].reg == xd_p_reg_unplug_rf_gain_th) af9005_fe_init()
992 state->original_rf_unplug_th = script[i].val; af9005_fe_init()
993 if (script[i].reg == xd_p_reg_unplug_dtop_if_gain_th) af9005_fe_init()
994 state->original_dtop_if_unplug_th = script[i].val; af9005_fe_init()
995 if (script[i].reg == xd_p_reg_unplug_dtop_rf_gain_th) af9005_fe_init()
996 state->original_dtop_rf_unplug_th = script[i].val; af9005_fe_init()
H A Daf9005-script.h6 python createinit.py > af9005-script.h
17 static RegDesc script[] = { variable
/linux-4.1.27/drivers/mfd/
H A Dtwl4030-power.c220 static int twl4030_write_script(u8 address, struct twl4030_ins *script, twl4030_write_script() argument
225 for (; len; len--, address++, script++) { twl4030_write_script()
228 script->pmb_message, twl4030_write_script()
229 script->delay, twl4030_write_script()
235 script->pmb_message, twl4030_write_script()
236 script->delay, twl4030_write_script()
468 /* Make sure the script isn't going beyond last valid address (0x3f) */ load_twl4030_script()
474 err = twl4030_write_script(address, tscript->script, tscript->size); load_twl4030_script()
484 /* Reset any existing sleep script to avoid hangs on reboot */ load_twl4030_script()
503 "script before wakeup) Leads to boot"\ load_twl4030_script()
708 .script = omap3_wrst_seq,
738 .script = omap3_idle_sleep_on_seq,
749 .script = omap3_idle_wakeup_p12_seq,
761 .script = omap3_idle_wakeup_p3_seq,
/linux-4.1.27/drivers/gpu/drm/nouveau/
H A Dnouveau_bios.c100 NV_INFO(drm, "0x%04X: Parsing digital output script table\n", run_digital_op_script()
109 static int call_lvds_manufacturer_script(struct drm_device *dev, struct dcb_output *dcbent, int head, enum LVDS_script script) call_lvds_manufacturer_script() argument
113 uint8_t sub = bios->data[bios->fp.xlated_entry + script] + (bios->fp.link_c_increment && dcbent->or & DCB_OUTPUT_C ? 1 : 0); call_lvds_manufacturer_script()
121 if (script == LVDS_PANEL_OFF) { call_lvds_manufacturer_script()
127 if (script == LVDS_RESET && call_lvds_manufacturer_script()
136 static int run_lvds_table(struct drm_device *dev, struct dcb_output *dcbent, int head, enum LVDS_script script, int pxclk) run_lvds_table() argument
142 * selecting the init script when not using straps; 4 script pointers run_lvds_table()
146 * of a list of pxclks and script pointers. run_lvds_table()
158 switch (script) { run_lvds_table()
201 NV_ERROR(drm, "LVDS output init script not found\n"); run_lvds_table()
209 int call_lvds_script(struct drm_device *dev, struct dcb_output *dcbent, int head, enum LVDS_script script, int pxclk) call_lvds_script() argument
224 if (bios->fp.last_script_invoc == (script << 1 | head) || !lvds_ver || call_lvds_script()
225 (lvds_ver >= 0x30 && script == LVDS_INIT)) call_lvds_script()
233 if (script == LVDS_PANEL_ON && bios->fp.reset_after_pclk_change) call_lvds_script()
235 if (script == LVDS_RESET && bios->fp.power_off_for_reset) call_lvds_script()
238 NV_INFO(drm, "Calling LVDS script %d:\n", script); call_lvds_script()
240 /* don't let script change pll->head binding */ call_lvds_script()
244 ret = call_lvds_manufacturer_script(dev, dcbent, head, script); call_lvds_script()
246 ret = run_lvds_table(dev, dcbent, head, script, pxclk); call_lvds_script()
248 bios->fp.last_script_invoc = (script << 1 | head); call_lvds_script()
505 * EXTDEV_BOOT. Each record had a config byte, followed by 6 script nouveau_bios_parse_lvds_table()
545 * It seems the old style lvds script pointer is reused nouveau_bios_parse_lvds_table()
666 NV_ERROR(drm, "TMDS output init script not found\n"); run_tmds_table()
670 /* don't let script change pll->head binding */ run_tmds_table()
682 * Parses the init table segment for pointers used in script execution. parse_script_table_pointers()
684 * offset + 0 (16 bits): init script tables pointer parse_script_table_pointers()
915 * At offset +7 is a pointer to a script, which I don't know how to parse_bit_tmds_tbl_entry()
917 * At offset +9 is a pointer to another script, likewise parse_bit_tmds_tbl_entry()
919 * frequency and the second word a pointer to a script, which should be parse_bit_tmds_tbl_entry()
923 * The selection of table (and possibly +7/+9 script) is dictated by parse_bit_tmds_tbl_entry()
955 NV_WARN(drm, "TMDS table script pointers not stubbed\n"); parse_bit_tmds_tbl_entry()
1050 * offset + 18: init script table pointer (for bios versions < 5.10h) parse_bmp_structure()
1051 * offset + 20: extra init script table pointer (for bios parse_bmp_structure()
1069 * offset + 75: script table pointers, as described in parse_bmp_structure()
2096 /* init script execution disabled */ nouveau_bios_init()
H A Dnv50_display.c1954 lvds.lvds.script |= 0x0100; nv50_sor_mode_set()
1956 lvds.lvds.script |= 0x0200; nv50_sor_mode_set()
1960 lvds.lvds.script |= 0x0100; nv50_sor_mode_set()
1963 lvds.lvds.script |= 0x0100; nv50_sor_mode_set()
1966 if (lvds.lvds.script & 0x0100) { nv50_sor_mode_set()
1968 lvds.lvds.script |= 0x0200; nv50_sor_mode_set()
1971 lvds.lvds.script |= 0x0200; nv50_sor_mode_set()
1975 lvds.lvds.script |= 0x0200; nv50_sor_mode_set()
/linux-4.1.27/scripts/package/
H A Dbuilddeb6 # Simple script to generate a deb package for a Linux kernel. All the
71 # Some variables and settings used throughout the script
184 for script in postinst postrm preinst prerm ; do
185 mkdir -p "$tmpdir$debhookdir/$script.d"
186 cat <<EOF > "$tmpdir/DEBIAN/$script"
191 # Pass maintainer script parameters to hook scripts
197 test -d $debhookdir/$script.d && run-parts --arg="$version" --arg="/$installed_image_path" $debhookdir/$script.d
200 chmod 755 "$tmpdir/DEBIAN/$script"
/linux-4.1.27/fs/
H A Dbinfmt_script.c29 * If the script filename will be inaccessible after exec, typically load_script()
74 * (3) filename of shell script (replace argv[0]) load_script()
H A Dbinfmt_em86.c53 /* Unlike in the script case, we don't have to do any hairy load_em86()
/linux-4.1.27/tools/perf/util/scripting-engines/
H A Dtrace-event-perl.c2 * trace-event-perl. Feed perf script events to an embedded Perl interpreter.
379 * Start trace script
381 static int perl_start_script(const char *script, int argc, const char **argv) perl_start_script() argument
388 command_line[1] = script; perl_start_script()
428 * Stop trace script
459 fprintf(ofp, "# perf script event handlers, " perl_generate_script()
460 "generated by perf script -g perl\n"); perl_generate_script()
620 fprintf(stderr, "generated Perl script: %s\n", fname); perl_generate_script()
H A Dtrace-event-python.c951 * Start trace script
953 static int python_start_script(const char *script, int argc, const char **argv) python_start_script() argument
962 command_line[0] = script; python_start_script()
972 fp = fopen(script, "r"); python_start_script()
974 sprintf(buf, "Can't open python script \"%s\"", script); python_start_script()
980 err = PyRun_SimpleFile(fp, script); python_start_script()
982 fprintf(stderr, "Error running python script %s\n", script); python_start_script()
988 fprintf(stderr, "Error starting python script %s\n", script); python_start_script()
1018 * Stop trace script
1049 fprintf(ofp, "# perf script event handlers, " python_generate_script()
1050 "generated by perf script -g python\n"); python_generate_script()
1197 fprintf(stderr, "generated Python script: %s\n", fname); python_generate_script()
/linux-4.1.27/arch/x86/include/asm/
H A Dvvar.h24 /* The kernel linker script defines its own magic to put vvars in the
/linux-4.1.27/arch/sparc/kernel/
H A Dvmlinux.lds.S1 /* ld script for sparc32/sparc64 kernel */
/linux-4.1.27/arch/unicore32/boot/compressed/
H A DMakefile50 # Next argument is a linker script
/linux-4.1.27/arch/s390/kernel/
H A Dvmlinux.lds.S1 /* ld script to make s390 Linux kernel
/linux-4.1.27/arch/mips/include/asm/sn/
H A Dmapped_kernel.h14 * ld.script file (so that tlblo0 and tlblo1 maps the sections).
/linux-4.1.27/arch/mn10300/kernel/
H A Dvmlinux.lds.S1 /* MN10300 Main kernel linker script
/linux-4.1.27/arch/arm/vdso/
H A Dvdso.lds.S4 * GNU linker script for the VDSO library.
/linux-4.1.27/arch/arm64/kernel/
H A Dimage.h2 * Linker script macros to generate Image header fields.
H A Dvmlinux.lds.S2 * ld script to make ARM Linux kernel
/linux-4.1.27/arch/arm64/kernel/vdso/
H A DMakefile38 # Generate VDSO offsets using helper script
H A Dvdso.lds.S2 * GNU linker script for the VDSO library.
/linux-4.1.27/arch/avr32/kernel/
H A Dvmlinux.lds.S2 * AVR32 linker script for the Linux kernel
/linux-4.1.27/arch/c6x/kernel/
H A Dvmlinux.lds.S2 * ld script for the c6x kernel
/linux-4.1.27/arch/frv/kernel/
H A Dvmlinux.lds.S1 /* ld script to make FRV Linux kernel
H A Dentry-table.S47 # The linker script places the user mode and kernel mode trap tables on to
/linux-4.1.27/arch/hexagon/kernel/
H A Dvmlinux.lds.S2 * Linker script for Hexagon kernel
/linux-4.1.27/arch/arm/mach-shmobile/include/mach/
H A Dzboot_macros.h4 /* The LIST command is used to include comments in the script */
/linux-4.1.27/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
H A DUtil.py1 # Util.py - Python extension for perf script, miscellaneous utility code
H A DSchedGui.py1 # SchedGui.py - Python extension for perf script, basic GUI code for
14 raise ImportError, "You need to install the wxpython lib for this script"
H A DCore.py1 # Core.py - Python extension for perf script, core functions
/linux-4.1.27/tools/time/
H A Dudelay_test.sh3 # udelay() test script
/linux-4.1.27/arch/um/
H A DMakefile22 # We require bash because the vmlinux link and loader script cpp use bash
125 # Options used by linker script
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/
H A Dnv50.c122 /* if we ran the init tables, we have to execute the first script nv50_devinit_init()
132 .offset = info.script[0], nv50_devinit_init()
/linux-4.1.27/arch/arm/boot/compressed/
H A DMakefile131 # Next argument is a linker script
157 # The .data section is already discarded by the linker script so no need
/linux-4.1.27/scripts/tracing/
H A Ddraw_functrace.py7 This script parses a trace provided by the function tracer in
18 Wait some times but not too much, the script is a bit slow.
/linux-4.1.27/lib/
H A Dassoc_array.c984 * Precalculate and preallocate a script for the insertion or replacement of an
985 * object in an associative array. This results in an edit script that can
988 * The function returns a pointer to an edit script or -ENOMEM.
1055 * assoc_array_insert_set_object - Set the new object pointer in an edit script
1056 * @edit: The edit script to modify.
1059 * Change the object to be inserted in an edit script. The object pointed to
1061 * script.
1098 * Precalculate and preallocate a script for the deletion of an object from an
1099 * associative array. This results in an edit script that can either be
1102 * The function returns a pointer to an edit script if the object was found,
1293 * Precalculate and preallocate a script for the deletion of all the objects
1294 * from an associative array. This results in an edit script that can either
1297 * The function returns a pointer to an edit script if there are objects to be
1365 * assoc_array_apply_edit - Apply an edit script to an associative array
1366 * @edit: The script to apply.
1368 * Apply an edit script to an associative array to effect an insertion,
1369 * deletion or clearance. As the edit script includes preallocated memory,
1372 * The edit script, dead objects and dead metadata will be scheduled for
1432 * assoc_array_cancel_edit - Discard an edit script.
1433 * @edit: The script to discard.
1435 * Free an edit script and all the preallocated data it holds without making
1438 * NOTE! In the case of an insertion script, this does _not_ release the leaf
/linux-4.1.27/arch/tile/kernel/vdso/
H A Dvdso.lds.S45 * This linker script is used both with -r and with -shared.
H A DMakefile69 # The DSO images are built using a special linker script
/linux-4.1.27/arch/s390/kernel/vdso32/
H A Dvdso32.lds.S2 * This is the infamous ld script for the 32 bits vdso
/linux-4.1.27/arch/s390/kernel/vdso64/
H A Dvdso64.lds.S2 * This is the infamous ld script for the 64 bits vdso
/linux-4.1.27/arch/openrisc/kernel/
H A Dvmlinux.lds.S17 * ld script for OpenRISC architecture
/linux-4.1.27/tools/perf/scripts/python/Perf-Trace-Util/
H A DContext.c2 * Context.c. Python interfaces for perf script.
/linux-4.1.27/tools/testing/selftests/firmware/
H A Dfw_userhelper.sh71 # Load this script instead of the desired firmware.
/linux-4.1.27/drivers/net/xen-netback/
H A Dxenbus.c30 * active hotplug script completes.
261 const char *script; netback_probe() local
354 script = xenbus_read(XBT_NIL, dev->nodename, "script", NULL); netback_probe()
355 if (IS_ERR(script)) { netback_probe()
356 err = PTR_ERR(script); netback_probe()
357 xenbus_dev_fatal(dev, err, "reading script"); netback_probe()
361 be->hotplug_script = script; netback_probe()
387 * Handle the creation of the hotplug script environment. We add the script
399 if (add_uevent_var(env, "script=%s", be->hotplug_script)) netback_uevent()
462 /* If we are waiting for a hotplug script then defer the backend_switch_state()
/linux-4.1.27/arch/arm/mach-omap2/
H A Dboard-rx51-peripherals.c798 .script = sleep_on_seq,
811 .script = wakeup_seq,
824 .script = wakeup_p3_seq,
850 .script = wrst_seq,
856 /* wakeup12 script should be loaded before sleep script, otherwise a
857 board might hit retention before loading of wakeup script is
/linux-4.1.27/arch/mips/boot/compressed/
H A DMakefile85 vmlinuz: $(src)/ld.script $(vmlinuzobjs-y) $(obj)/calc_vmlinuz_load_addr
/linux-4.1.27/arch/parisc/kernel/
H A Dvmlinux.lds.S28 /* ld script to make hppa Linux kernel */
/linux-4.1.27/arch/powerpc/kernel/vdso32/
H A Dvdso32.lds.S2 * This is the infamous ld script for the 32 bits vdso
/linux-4.1.27/arch/powerpc/kernel/vdso64/
H A Dvdso64.lds.S2 * This is the infamous ld script for the 64 bits vdso
/linux-4.1.27/tools/perf/scripts/perl/Perf-Trace-Util/
H A DContext.c14 * Context.xs. XS interfaces for perf script.
/linux-4.1.27/tools/power/cpupower/bench/
H A Dcpufreq-bench_plot.sh20 # Helper script to easily create nice plots of your cpufreq-bench results
H A Dcpufreq-bench_script.sh20 # Ondemand up_threshold and sampling rate test script for cpufreq-bench
/linux-4.1.27/include/linux/
H A Dbinfmts.h43 different for binfmt_{misc,script} */
H A Dti_wilink_st.h302 * be sent onto TTY as is. The .bts is more a script
/linux-4.1.27/drivers/staging/unisys/visorchipset/
H A Dvisorchipset_main.c1008 * diag_shutdown.sh script in device_epilog()
1441 * causes a user level script to enable or disable the specified
1442 * device. The udev script then writes to
1452 * udev script /proc response
1502 * Cause uevent to run the user level script to do the disable/enable
1563 * Called from the /proc handler, which means the user script has
1600 * Enables or disables a PCI device by kicking off a udev script
1616 * either the udev script not detecting that the device parahotplug_process_message()
1629 * request list before kicking off the udev script. It parahotplug_process_message()
1630 * won't get responded to until the script has parahotplug_process_message()
2112 /* The parahotplug/devicedisabled interface gets called by our support script
2113 * when an SR-IOV device has been shut down. The ID is passed to the script
2129 /* The parahotplug/deviceenabled interface gets called by our support script
2130 * when an SR-IOV device has been recovered. The ID is passed to the script
/linux-4.1.27/drivers/input/keyboard/
H A Dlm8323.c57 #define LM8323_CMD_PWM_WRITE 0x95 /* Write PWM script. */
102 /* Go to start of script. */
435 * Write a script into a given PWM engine, concluding with PWM_END.
437 * of the script, producing a zero output. Otherwise the engine
465 * case we will be called again when the previous PWM script lm8323_pwm_work()
/linux-4.1.27/drivers/net/wireless/ath/ath10k/
H A Dtargaddrs.h26 * symbol (see linker script).
173 /* location of test script */
411 * re-claimable. If this is adopted, link script should keep this in
/linux-4.1.27/scripts/kconfig/
H A Dstreamline_config.pl27 # 5. Run this script redirecting the output to some other file
439 # config that is in the depend list of another config. This script does
443 # and B would not be turned on by this script.
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/
H A Dmemx.c85 /* call MEMX process to execute the script, and wait for reply */ nvkm_memx_fini()
/linux-4.1.27/arch/powerpc/kernel/
H A Dvmlinux.lds.S21 in this linker script. People using GCC >= 4.2 won't run into
/linux-4.1.27/arch/arm/mach-imx/
H A Dhardware.h44 * The downside it, it's hard to verify (but I have a script for that).
/linux-4.1.27/tools/testing/fault-injection/
H A Dfailcmd.sh14 # NOTE: you need to run this script as root.
/linux-4.1.27/tools/hv/
H A Dhv_kvp_daemon.c819 * an external script that needs to be ported across distros kvp_get_ipconfig_info()
822 * Following is the expected format of the information from the script: kvp_get_ipconfig_info()
840 * We will gather this state by invoking an external script. kvp_get_ipconfig_info()
841 * The parameter to the script is the interface name. kvp_get_ipconfig_info()
1235 * script that does the job of configuring the interface and kvp_set_ip_info()
1238 * The parameters passed to this external script are: kvp_set_ip_info()
1312 * disto-specific script hv_set_ifconfig. kvp_set_ip_info()
1350 * invoke the external script to do its magic. kvp_set_ip_info()
/linux-4.1.27/drivers/dma/
H A Dimx-sdma.c240 * @direction transfer type. Needed for setting SDMA script
241 * @peripheral_type Peripheral type. Needed for setting SDMA script
294 * @num_script_addrs Number of script addresses in this image
693 * sets the pc of SDMA script according to the peripheral type
1565 * Because that device tree does not encode ROM script address, sdma_probe()
1566 * the RAM script in firmware is mandatory for device tree sdma_probe()
1569 ret = of_property_read_string(np, "fsl,sdma-ram-script-name", sdma_probe()
/linux-4.1.27/drivers/leds/
H A Dleds-blinkm.c82 u8 script_id; /* script ID */
83 u8 script_repeats; /* repeats of script */
298 /* TODO: HSB, fade, timeadj, script ... */
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/
H A Dmodule.c81 * The path of debug log dump upcall script.
98 PSDEV_LNET_UPCALL, /* User mode upcall script */
105 PSDEV_LNET_DEBUG_LOG_UPCALL, /* debug log upcall script */
/linux-4.1.27/arch/cris/arch-v32/kernel/
H A Dhead.S200 ;; variables used below are correctly set up by the linker script.
377 move.d ebp_start, $r0 ; Defined in linker-script.
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/
H A Dtarget.h293 /* location of test script */
/linux-4.1.27/arch/x86/kernel/
H A Dvmlinux.lds.S2 * ld script for the x86 kernel
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
H A Dramnv40.c140 /* execute memory reset script from vbios */ nv40_ram_prog()
H A Dramgt215.c199 /* Do this *after* calc, eliminates write in script */ gt215_link_train()
207 /* Now the training script */ gt215_link_train()
600 /* Pre, NVIDIA does this outside the script */ gt215_ram_calc()
/linux-4.1.27/fs/ocfs2/cluster/
H A Dmasklog.h68 * on or off as expected; here is the bash script for example:
H A Dquorum.c69 * system RO and call some userspace script. */ o2quo_fence_self()
/linux-4.1.27/arch/arm/kernel/
H A Dvmlinux.lds.S1 /* ld script to make ARM Linux kernel
/linux-4.1.27/Documentation/trace/postprocess/
H A Dtrace-pagealloc-postprocess.pl216 # Unnecessary in this script. Uncomment if required
H A Dtrace-vmscan-postprocess.pl163 # script, it really doesn't matter
/linux-4.1.27/tools/perf/tests/
H A Dattr.py241 # run the test script
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvif/
H A Dclass.h474 __u16 script; member in struct:nv50_disp_sor_lvds_script_v0
/linux-4.1.27/arch/mips/mm/
H A Dinit.c445 * it in the linker script.
/linux-4.1.27/arch/cris/boot/rescue/
H A Dhead_v10.S6 * script and contains offsets, lengths, types and checksums
/linux-4.1.27/scripts/kconfig/lxdialog/
H A Dmenubox.c35 * lxdialog is re-invoked by the Menuconfig shell script, can't
/linux-4.1.27/tools/testing/ktest/
H A Dktest.pl378 A script or command to reboot the box.
389 The script or command that reads the console
405 Only valid options so far are "grub", "grub2", "syslinux", and "script".
410 your setup, then specify "script" and have a command or script
457 A script to reboot the target into the test kernel
458 (Only mandatory if REBOOT_TYPE = script)
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
H A Dnv50.c377 /* prepare a hwsq script from which we'll perform the reclock */ nv50_clk_calc()
/linux-4.1.27/drivers/char/
H A Drandom.c169 * following lines an appropriate script which is run during the boot
184 * and the following lines in an appropriate script which is run as
197 * /etc/rc.d/init.d/random. On older Linux systems, the correct script
202 * start-up. (The 'dd' in the addition to the bootup script is to
/linux-4.1.27/arch/mips/
H A DMakefile18 # Select the object file format to substitute into the linker script.
/linux-4.1.27/drivers/misc/ti-st/
H A Dst_kim.c96 /* becos of all the script being downloaded */ validate_firmware_response()
289 * script file intreprets SEND, DELAY actions only as of now
/linux-4.1.27/arch/x86/tools/
H A Drelocs.c52 * as absolute (typically defined outside any section in the linker script.)
84 * as absolute (typically defined outside any section in the linker script.)
/linux-4.1.27/arch/cris/arch-v10/kernel/
H A Dhead.S189 ;; in the linker-script.
344 move.d ibr_start,$r0 ; this symbol is set by the linker script
/linux-4.1.27/drivers/hwmon/
H A Dsmsc47m192.c568 /* Detection criteria from sensors_detect script */ smsc47m192_detect()
/linux-4.1.27/drivers/net/wireless/mwifiex/
H A Dutil.c439 * fragments. Currently we fail the Filesndl-ht.scr script mwifiex_recv_packet()
/linux-4.1.27/fs/nfs/objlayout/
H A Dobjlayout.c702 if (rc > 0) /* script returns positive values */ objlayout_autologin()
/linux-4.1.27/drivers/media/dvb-frontends/
H A Ddrxd_firm.c24 /* TODO: generate this file with a script from a settings file */
/linux-4.1.27/init/
H A Dmain.c328 * the shell think it should execute a script with such name. init_setup()
/linux-4.1.27/arch/parisc/mm/
H A Dinit.c42 * the linker script to order them. */
/linux-4.1.27/kernel/time/
H A Dtime.c158 * timezones. This should be done at boot time in the /etc/rc script,

Completed in 4615 milliseconds

12