script            138 arch/ia64/kernel/unwind.c 		} script;
script           1214 arch/ia64/kernel/unwind.c cache_match (struct unw_script *script, unsigned long ip, unsigned long pr)
script           1216 arch/ia64/kernel/unwind.c 	read_lock(&script->lock);
script           1217 arch/ia64/kernel/unwind.c 	if (ip == script->ip && ((pr ^ script->pr_val) & script->pr_mask) == 0)
script           1220 arch/ia64/kernel/unwind.c 	read_unlock(&script->lock);
script           1227 arch/ia64/kernel/unwind.c 	struct unw_script *script = unw.cache + info->hint;
script           1239 arch/ia64/kernel/unwind.c 	if (cache_match(script, ip, pr)) {
script           1241 arch/ia64/kernel/unwind.c 		return script;
script           1248 arch/ia64/kernel/unwind.c 	script = unw.cache + index;
script           1250 arch/ia64/kernel/unwind.c 		if (cache_match(script, ip, pr)) {
script           1253 arch/ia64/kernel/unwind.c 			unw.cache[info->prev_script].hint = script - unw.cache;
script           1254 arch/ia64/kernel/unwind.c 			return script;
script           1256 arch/ia64/kernel/unwind.c 		if (script->coll_chain >= UNW_HASH_SIZE)
script           1258 arch/ia64/kernel/unwind.c 		script = unw.cache + script->coll_chain;
script           1269 arch/ia64/kernel/unwind.c 	struct unw_script *script, *prev, *tmp;
script           1273 arch/ia64/kernel/unwind.c 	STAT(++unw.stat.script.news);
script           1280 arch/ia64/kernel/unwind.c 	script = unw.cache + head;
script           1281 arch/ia64/kernel/unwind.c 	unw.lru_head = script->lru_chain;
script           1289 arch/ia64/kernel/unwind.c 	if (!write_trylock(&script->lock))
script           1297 arch/ia64/kernel/unwind.c 	if (script->ip) {
script           1298 arch/ia64/kernel/unwind.c 		index = hash(script->ip);
script           1302 arch/ia64/kernel/unwind.c 			if (tmp == script) {
script           1319 arch/ia64/kernel/unwind.c 	script->coll_chain = unw.hash[index];
script           1320 arch/ia64/kernel/unwind.c 	unw.hash[index] = script - unw.cache;
script           1322 arch/ia64/kernel/unwind.c 	script->ip = ip;	/* set new IP while we're holding the locks */
script           1324 arch/ia64/kernel/unwind.c 	STAT(if (script->coll_chain < UNW_CACHE_SIZE) ++unw.stat.script.collisions);
script           1326 arch/ia64/kernel/unwind.c 	script->flags = 0;
script           1327 arch/ia64/kernel/unwind.c 	script->hint = 0;
script           1328 arch/ia64/kernel/unwind.c 	script->count = 0;
script           1329 arch/ia64/kernel/unwind.c 	return script;
script           1333 arch/ia64/kernel/unwind.c script_finalize (struct unw_script *script, struct unw_state_record *sr)
script           1335 arch/ia64/kernel/unwind.c 	script->pr_mask = sr->pr_mask;
script           1336 arch/ia64/kernel/unwind.c 	script->pr_val = sr->pr_val;
script           1346 arch/ia64/kernel/unwind.c script_emit (struct unw_script *script, struct unw_insn insn)
script           1348 arch/ia64/kernel/unwind.c 	if (script->count >= UNW_MAX_SCRIPT_LEN) {
script           1353 arch/ia64/kernel/unwind.c 	script->insn[script->count++] = insn;
script           1357 arch/ia64/kernel/unwind.c emit_nat_info (struct unw_state_record *sr, int i, struct unw_script *script)
script           1398 arch/ia64/kernel/unwind.c 	script_emit(script, insn);
script           1402 arch/ia64/kernel/unwind.c compile_reg (struct unw_state_record *sr, int i, struct unw_script *script)
script           1483 arch/ia64/kernel/unwind.c 	script_emit(script, insn);
script           1485 arch/ia64/kernel/unwind.c 		emit_nat_info(sr, i, script);
script           1496 arch/ia64/kernel/unwind.c 		script_emit(script, insn);
script           1530 arch/ia64/kernel/unwind.c 	struct unw_script *script = NULL;
script           1542 arch/ia64/kernel/unwind.c 	STAT(++unw.stat.script.builds; start = ia64_get_itc());
script           1551 arch/ia64/kernel/unwind.c 	script = script_new(ip);
script           1552 arch/ia64/kernel/unwind.c 	if (!script) {
script           1554 arch/ia64/kernel/unwind.c 		STAT(unw.stat.script.build_time += ia64_get_itc() - start);
script           1557 arch/ia64/kernel/unwind.c 	unw.cache[info->prev_script].hint = script - unw.cache;
script           1591 arch/ia64/kernel/unwind.c 		compile_reg(&sr, UNW_REG_RP, script);
script           1592 arch/ia64/kernel/unwind.c 		script_finalize(script, &sr);
script           1593 arch/ia64/kernel/unwind.c 		STAT(unw.stat.script.parse_time += ia64_get_itc() - parse_start);
script           1594 arch/ia64/kernel/unwind.c 		STAT(unw.stat.script.build_time += ia64_get_itc() - start);
script           1595 arch/ia64/kernel/unwind.c 		return script;
script           1625 arch/ia64/kernel/unwind.c 	script->flags = sr.flags;
script           1665 arch/ia64/kernel/unwind.c 	STAT(unw.stat.script.parse_time += ia64_get_itc() - parse_start);
script           1680 arch/ia64/kernel/unwind.c 		script_emit(script, insn);
script           1693 arch/ia64/kernel/unwind.c 	compile_reg(&sr, i, script);
script           1696 arch/ia64/kernel/unwind.c 		compile_reg(&sr, i, script);
script           1707 arch/ia64/kernel/unwind.c 	STAT(unw.stat.script.parse_time += ia64_get_itc() - parse_start);
script           1709 arch/ia64/kernel/unwind.c 	script_finalize(script, &sr);
script           1710 arch/ia64/kernel/unwind.c 	STAT(unw.stat.script.build_time += ia64_get_itc() - start);
script           1711 arch/ia64/kernel/unwind.c 	return script;
script           1720 arch/ia64/kernel/unwind.c run_script (struct unw_script *script, struct unw_frame_info *state)
script           1727 arch/ia64/kernel/unwind.c 	STAT(++unw.stat.script.runs; start = ia64_get_itc());
script           1728 arch/ia64/kernel/unwind.c 	state->flags = script->flags;
script           1729 arch/ia64/kernel/unwind.c 	ip = script->insn;
script           1730 arch/ia64/kernel/unwind.c 	limit = script->insn + script->count;
script           1817 arch/ia64/kernel/unwind.c 	STAT(unw.stat.script.run_time += ia64_get_itc() - start);
script           1507 drivers/gpu/drm/nouveau/dispnv50/disp.c 				lvds.lvds.script |= 0x0100;
script           1509 drivers/gpu/drm/nouveau/dispnv50/disp.c 				lvds.lvds.script |= 0x0200;
script           1513 drivers/gpu/drm/nouveau/dispnv50/disp.c 					lvds.lvds.script |= 0x0100;
script           1516 drivers/gpu/drm/nouveau/dispnv50/disp.c 				lvds.lvds.script |= 0x0100;
script           1519 drivers/gpu/drm/nouveau/dispnv50/disp.c 			if (lvds.lvds.script & 0x0100) {
script           1521 drivers/gpu/drm/nouveau/dispnv50/disp.c 					lvds.lvds.script |= 0x0200;
script           1524 drivers/gpu/drm/nouveau/dispnv50/disp.c 					lvds.lvds.script |= 0x0200;
script           1528 drivers/gpu/drm/nouveau/dispnv50/disp.c 				lvds.lvds.script |= 0x0200;
script             81 drivers/gpu/drm/nouveau/include/nvif/cl5070.h 	__u16 script;
script             18 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/disp.h 	u16 script[3];
script             12 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/dp.h 	u32 script[5];
script             16 drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/perf.h 	u32 script;
script            107 drivers/gpu/drm/nouveau/nouveau_bios.c static int call_lvds_manufacturer_script(struct drm_device *dev, struct dcb_output *dcbent, int head, enum LVDS_script script)
script            111 drivers/gpu/drm/nouveau/nouveau_bios.c 	uint8_t sub = bios->data[bios->fp.xlated_entry + script] + (bios->fp.link_c_increment && dcbent->or & DCB_OUTPUT_C ? 1 : 0);
script            119 drivers/gpu/drm/nouveau/nouveau_bios.c 	if (script == LVDS_PANEL_OFF) {
script            125 drivers/gpu/drm/nouveau/nouveau_bios.c 	if (script == LVDS_RESET &&
script            134 drivers/gpu/drm/nouveau/nouveau_bios.c static int run_lvds_table(struct drm_device *dev, struct dcb_output *dcbent, int head, enum LVDS_script script, int pxclk)
script            156 drivers/gpu/drm/nouveau/nouveau_bios.c 	switch (script) {
script            207 drivers/gpu/drm/nouveau/nouveau_bios.c int call_lvds_script(struct drm_device *dev, struct dcb_output *dcbent, int head, enum LVDS_script script, int pxclk)
script            222 drivers/gpu/drm/nouveau/nouveau_bios.c 	if (bios->fp.last_script_invoc == (script << 1 | head) || !lvds_ver ||
script            223 drivers/gpu/drm/nouveau/nouveau_bios.c 	    (lvds_ver >= 0x30 && script == LVDS_INIT))
script            231 drivers/gpu/drm/nouveau/nouveau_bios.c 	if (script == LVDS_PANEL_ON && bios->fp.reset_after_pclk_change)
script            233 drivers/gpu/drm/nouveau/nouveau_bios.c 	if (script == LVDS_RESET && bios->fp.power_off_for_reset)
script            236 drivers/gpu/drm/nouveau/nouveau_bios.c 	NV_INFO(drm, "Calling LVDS script %d:\n", script);
script            242 drivers/gpu/drm/nouveau/nouveau_bios.c 		ret = call_lvds_manufacturer_script(dev, dcbent, head, script);
script            244 drivers/gpu/drm/nouveau/nouveau_bios.c 		ret = run_lvds_table(dev, dcbent, head, script, pxclk);
script            246 drivers/gpu/drm/nouveau/nouveau_bios.c 	bios->fp.last_script_invoc = (script << 1 | head);
script            294 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c 	nvbios_init(&dp->outp.disp->engine.subdev, dp->info.script[1],
script            306 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c 		nvbios_init(&dp->outp.disp->engine.subdev, dp->info.script[2],
script            312 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c 		nvbios_init(&dp->outp.disp->engine.subdev, dp->info.script[3],
script            320 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c 	nvbios_init(&dp->outp.disp->engine.subdev, dp->info.script[0],
script            428 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c 	nvbios_init(&ior->disp->engine.subdev, dp->info.script[4],
script            269 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c 	nvbios_init(&head->disp->engine.subdev, iedt.script[id],
script            223 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c 				   args->v0.version, args->v0.script);
script            224 drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c 			disp->sor.lvdsconf = args->v0.script;
script            105 drivers/gpu/drm/nouveau/nvkm/subdev/bios/disp.c 		info->script[0] = nvbios_rd16(bios, data + 0x06);
script            106 drivers/gpu/drm/nouveau/nvkm/subdev/bios/disp.c 		info->script[1] = nvbios_rd16(bios, data + 0x08);
script            107 drivers/gpu/drm/nouveau/nvkm/subdev/bios/disp.c 		info->script[2] = 0x0000;
script            109 drivers/gpu/drm/nouveau/nvkm/subdev/bios/disp.c 			info->script[2] = nvbios_rd16(bios, data + 0x0a);
script            107 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dp.c 			info->script[0] = nvbios_rd16(bios, data + 0x06);
script            108 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dp.c 			info->script[1] = nvbios_rd16(bios, data + 0x08);
script            112 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dp.c 				info->script[2] = nvbios_rd16(bios, data + 0x0c);
script            113 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dp.c 				info->script[3] = nvbios_rd16(bios, data + 0x0e);
script            116 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dp.c 				info->script[4] = nvbios_rd16(bios, data + 0x10);
script            122 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dp.c 			info->script[0] = nvbios_rd16(bios, data + 0x05);
script            123 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dp.c 			info->script[1] = nvbios_rd16(bios, data + 0x07);
script            125 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dp.c 			info->script[2] = nvbios_rd16(bios, data + 0x0b);
script            126 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dp.c 			info->script[3] = nvbios_rd16(bios, data + 0x0d);
script            127 drivers/gpu/drm/nouveau/nvkm/subdev/bios/dp.c 			info->script[4] = nvbios_rd16(bios, data + 0x0f);
script            137 drivers/gpu/drm/nouveau/nvkm/subdev/bios/perf.c 		info->script   = nvbios_rd16(bios, perf + 0x02);
script            140 drivers/gpu/drm/nouveau/nvkm/subdev/devinit/nv50.c 			nvbios_init(subdev, info.script[0],
script            961 drivers/media/usb/dvb-usb/af9005-fe.c 	scriptlen = sizeof(script) / sizeof(RegDesc);
script            964 drivers/media/usb/dvb-usb/af9005-fe.c 		     af9005_write_register_bits(state->d, script[i].reg,
script            965 drivers/media/usb/dvb-usb/af9005-fe.c 						script[i].pos,
script            966 drivers/media/usb/dvb-usb/af9005-fe.c 						script[i].len, script[i].val)))
script            969 drivers/media/usb/dvb-usb/af9005-fe.c 		if (script[i].reg == 0xae18)
script            970 drivers/media/usb/dvb-usb/af9005-fe.c 			temp2 = script[i].val;
script            971 drivers/media/usb/dvb-usb/af9005-fe.c 		if (script[i].reg == 0xae19)
script            972 drivers/media/usb/dvb-usb/af9005-fe.c 			temp1 = script[i].val;
script            973 drivers/media/usb/dvb-usb/af9005-fe.c 		if (script[i].reg == 0xae1a)
script            974 drivers/media/usb/dvb-usb/af9005-fe.c 			temp0 = script[i].val;
script            977 drivers/media/usb/dvb-usb/af9005-fe.c 		if (script[i].reg == xd_p_reg_unplug_th)
script            978 drivers/media/usb/dvb-usb/af9005-fe.c 			state->original_if_unplug_th = script[i].val;
script            979 drivers/media/usb/dvb-usb/af9005-fe.c 		if (script[i].reg == xd_p_reg_unplug_rf_gain_th)
script            980 drivers/media/usb/dvb-usb/af9005-fe.c 			state->original_rf_unplug_th = script[i].val;
script            981 drivers/media/usb/dvb-usb/af9005-fe.c 		if (script[i].reg == xd_p_reg_unplug_dtop_if_gain_th)
script            982 drivers/media/usb/dvb-usb/af9005-fe.c 			state->original_dtop_if_unplug_th = script[i].val;
script            983 drivers/media/usb/dvb-usb/af9005-fe.c 		if (script[i].reg == xd_p_reg_unplug_dtop_rf_gain_th)
script            984 drivers/media/usb/dvb-usb/af9005-fe.c 			state->original_dtop_rf_unplug_th = script[i].val;
script             18 drivers/media/usb/dvb-usb/af9005-script.h static RegDesc script[] = {
script            219 drivers/mfd/twl4030-power.c static int twl4030_write_script(u8 address, struct twl4030_ins *script,
script            224 drivers/mfd/twl4030-power.c 	for (; len; len--, address++, script++) {
script            227 drivers/mfd/twl4030-power.c 						script->pmb_message,
script            228 drivers/mfd/twl4030-power.c 						script->delay,
script            234 drivers/mfd/twl4030-power.c 						script->pmb_message,
script            235 drivers/mfd/twl4030-power.c 						script->delay,
script            477 drivers/mfd/twl4030-power.c 	err = twl4030_write_script(address, tscript->script, tscript->size);
script            710 drivers/mfd/twl4030-power.c 	.script	= omap3_wrst_seq,
script            740 drivers/mfd/twl4030-power.c 	.script	= omap3_idle_sleep_on_seq,
script            751 drivers/mfd/twl4030-power.c 	.script	= omap3_idle_wakeup_p12_seq,
script            763 drivers/mfd/twl4030-power.c 	.script	= omap3_idle_wakeup_p3_seq,
script            230 drivers/net/xen-netback/xenbus.c 	const char *script;
script            350 drivers/net/xen-netback/xenbus.c 	script = xenbus_read(XBT_NIL, dev->nodename, "script", NULL);
script            351 drivers/net/xen-netback/xenbus.c 	if (IS_ERR(script)) {
script            352 drivers/net/xen-netback/xenbus.c 		err = PTR_ERR(script);
script            357 drivers/net/xen-netback/xenbus.c 	be->hotplug_script = script;
script            278 drivers/scsi/53c700.c 	__u32 *script;
script            293 drivers/scsi/53c700.c 	script = (__u32 *)memory;
script            336 drivers/scsi/53c700.c 		script[j] = bS_to_host(SCRIPT[j]);
script            340 drivers/scsi/53c700.c 		script[LABELPATCHES[j]] = bS_to_host(pScript + SCRIPT[LABELPATCHES[j]]);
script            342 drivers/scsi/53c700.c 	script_patch_32(hostdata->dev, script, MessageLocation,
script            344 drivers/scsi/53c700.c 	script_patch_32(hostdata->dev, script, StatusAddress,
script            346 drivers/scsi/53c700.c 	script_patch_32(hostdata->dev, script, ReceiveMsgAddress,
script            349 drivers/scsi/53c700.c 	hostdata->script = script;
script            398 drivers/scsi/53c700.c 	dma_free_attrs(hostdata->dev, TOTAL_MEM_SIZE, hostdata->script,
script            808 drivers/scsi/53c700.c 			script_patch_16(hostdata->dev, hostdata->script,
script            821 drivers/scsi/53c700.c 		script_patch_16(hostdata->dev, hostdata->script, MessageCount,
script            836 drivers/scsi/53c700.c 		script_patch_16(hostdata->dev, hostdata->script, MessageCount,
script            921 drivers/scsi/53c700.c 		script_patch_16(hostdata->dev, hostdata->script, MessageCount,
script           1132 drivers/scsi/53c700.c 			script_patch_32_abs(hostdata->dev, hostdata->script,
script           1134 drivers/scsi/53c700.c 			script_patch_16(hostdata->dev, hostdata->script,
script           1136 drivers/scsi/53c700.c 			script_patch_32_abs(hostdata->dev, hostdata->script,
script           1181 drivers/scsi/53c700.c 			__u32 SG = (__u32)bS_to_cpu(hostdata->script[A_SGScriptStartAddress_used[0]]);
script           1430 drivers/scsi/53c700.c 	script_patch_16(hostdata->dev, hostdata->script, MessageCount, count);
script           1433 drivers/scsi/53c700.c 	script_patch_ID(hostdata->dev, hostdata->script,
script           1436 drivers/scsi/53c700.c 	script_patch_32_abs(hostdata->dev, hostdata->script, CommandAddress,
script           1438 drivers/scsi/53c700.c 	script_patch_16(hostdata->dev, hostdata->script, CommandCount,
script           1442 drivers/scsi/53c700.c 	script_patch_32_abs(hostdata->dev, hostdata->script,
script           1580 drivers/scsi/53c700.c 				int count = (hostdata->script[Ent_SendMessage/4] & 0xffffff) - ((NCR_700_readl(host, DBC_REG) & 0xffffff) + NCR_700_data_residual(host));
script            218 drivers/scsi/53c700.h 	__u32	*script;		/* pointer to script location */
script            425 drivers/scsi/53c700.h #define script_patch_32(dev, script, symbol, value) \
script            430 drivers/scsi/53c700.h 		__u32 val = bS_to_cpu((script)[A_##symbol##_used[i]]) + da; \
script            431 drivers/scsi/53c700.h 		(script)[A_##symbol##_used[i]] = bS_to_host(val); \
script            432 drivers/scsi/53c700.h 		dma_cache_sync((dev), &(script)[A_##symbol##_used[i]], 4, DMA_TO_DEVICE); \
script            438 drivers/scsi/53c700.h #define script_patch_32_abs(dev, script, symbol, value) \
script            443 drivers/scsi/53c700.h 		(script)[A_##symbol##_used[i]] = bS_to_host(da); \
script            444 drivers/scsi/53c700.h 		dma_cache_sync((dev), &(script)[A_##symbol##_used[i]], 4, DMA_TO_DEVICE); \
script            451 drivers/scsi/53c700.h #define script_patch_ID(dev, script, symbol, value) \
script            455 drivers/scsi/53c700.h 		__u32 val = bS_to_cpu((script)[A_##symbol##_used[i]]); \
script            458 drivers/scsi/53c700.h 		(script)[A_##symbol##_used[i]] = bS_to_host(val); \
script            459 drivers/scsi/53c700.h 		dma_cache_sync((dev), &(script)[A_##symbol##_used[i]], 4, DMA_TO_DEVICE); \
script            465 drivers/scsi/53c700.h #define script_patch_16(dev, script, symbol, value) \
script            469 drivers/scsi/53c700.h 		__u32 val = bS_to_cpu((script)[A_##symbol##_used[i]]); \
script            472 drivers/scsi/53c700.h 		(script)[A_##symbol##_used[i]] = bS_to_host(val); \
script            473 drivers/scsi/53c700.h 		dma_cache_sync((dev), &(script)[A_##symbol##_used[i]], 4, DMA_TO_DEVICE); \
script           1118 drivers/scsi/ncr53c8xx.c struct script;
script           1660 drivers/scsi/ncr53c8xx.c 	struct script	*script0;	/* Copies of script and scripth	*/
script           1749 drivers/scsi/ncr53c8xx.c #define NCB_SCRIPT_PHYS(np,lbl)	 (np->p_script  + offsetof (struct script, lbl))
script           1930 drivers/scsi/ncr53c8xx.c static  void    ncr_script_fill (struct script * scr, struct scripth * scripth);
script           1987 drivers/scsi/ncr53c8xx.c #define PADDR(label)    (RELOC_LABEL | offsetof(struct script, label))
script           2007 drivers/scsi/ncr53c8xx.c static	struct script script0 __initdata = {
script           3368 drivers/scsi/ncr53c8xx.c 	SCR_COPY (sizeof (struct script)),
script           3433 drivers/scsi/ncr53c8xx.c void __init ncr_script_fill (struct script * scr, struct scripth * scrh)
script           4789 drivers/scsi/ncr53c8xx.c 		m_free_dma(np->script0, sizeof(struct script), "SCRIPT");
script           5825 drivers/scsi/ncr53c8xx.c 	if (dsp > np->p_script && dsp <= np->p_script + sizeof(struct script)) {
script           5827 drivers/scsi/ncr53c8xx.c 		script_size	= sizeof(struct script);
script           6326 drivers/scsi/ncr53c8xx.c 		 dsp <= np->p_script + sizeof(struct script)) {
script           8344 drivers/scsi/ncr53c8xx.c 	np->script0 = m_calloc_dma(sizeof(struct script), "SCRIPT");
script           8382 drivers/scsi/ncr53c8xx.c 	if (np->paddr2 && sizeof(struct script) > 4096) {
script           8411 drivers/scsi/ncr53c8xx.c 			(ncrcmd *) np->script0, sizeof(struct script));
script           8503 drivers/scsi/ncr53c8xx.c 		m_free_dma(np->script0, sizeof(struct script), "SCRIPT");
script            639 include/linux/mfd/twl.h 	struct twl4030_ins *script;
script           1721 tools/perf/builtin-script.c static void perf_sample__fprint_metric(struct perf_script *script,
script           1742 tools/perf/builtin-script.c 		perf_evlist__alloc_stats(script->session->evlist, false);
script           1805 tools/perf/builtin-script.c static void process_event(struct perf_script *script,
script           1822 tools/perf/builtin-script.c 	if (evswitch__discard(&script->evswitch, evsel))
script           1836 tools/perf/builtin-script.c 		if (!script->name_width)
script           1837 tools/perf/builtin-script.c 			script->name_width = perf_evlist__max_name_len(script->session->evlist);
script           1839 tools/perf/builtin-script.c 		fprintf(fp, "%*s: ", script->name_width, evname ?: "[unknown]");
script           1911 tools/perf/builtin-script.c 		perf_sample__fprint_metric(script, thread, evsel, sample, fp);
script           2091 tools/perf/builtin-script.c 	struct perf_script *script = container_of(tool, struct perf_script, tool);
script           2092 tools/perf/builtin-script.c 	struct perf_session *session = script->session;
script           2128 tools/perf/builtin-script.c 	struct perf_script *script = container_of(tool, struct perf_script, tool);
script           2129 tools/perf/builtin-script.c 	struct perf_session *session = script->session;
script           2166 tools/perf/builtin-script.c 	struct perf_script *script = container_of(tool, struct perf_script, tool);
script           2167 tools/perf/builtin-script.c 	struct perf_session *session = script->session;
script           2201 tools/perf/builtin-script.c 	struct perf_script *script = container_of(tool, struct perf_script, tool);
script           2202 tools/perf/builtin-script.c 	struct perf_session *session = script->session;
script           2236 tools/perf/builtin-script.c 	struct perf_script *script = container_of(tool, struct perf_script, tool);
script           2237 tools/perf/builtin-script.c 	struct perf_session *session = script->session;
script           2270 tools/perf/builtin-script.c 	struct perf_script *script = container_of(tool, struct perf_script, tool);
script           2271 tools/perf/builtin-script.c 	struct perf_session *session = script->session;
script           2304 tools/perf/builtin-script.c 	struct perf_script *script = container_of(tool, struct perf_script, tool);
script           2305 tools/perf/builtin-script.c 	struct perf_session *session = script->session;
script           2314 tools/perf/builtin-script.c 	if (!script->show_switch_events)
script           2339 tools/perf/builtin-script.c 	struct perf_script *script = container_of(tool, struct perf_script, tool);
script           2340 tools/perf/builtin-script.c 	struct perf_session *session = script->session;
script           2375 tools/perf/builtin-script.c 	struct perf_script *script = container_of(tool, struct perf_script, tool);
script           2376 tools/perf/builtin-script.c 	struct perf_session *session = script->session;
script           2408 tools/perf/builtin-script.c static void perf_script__fclose_per_event_dump(struct perf_script *script)
script           2410 tools/perf/builtin-script.c 	struct evlist *evlist = script->session->evlist;
script           2421 tools/perf/builtin-script.c static int perf_script__fopen_per_event_dump(struct perf_script *script)
script           2425 tools/perf/builtin-script.c 	evlist__for_each_entry(script->session->evlist, evsel) {
script           2436 tools/perf/builtin-script.c 		evsel->priv = perf_evsel_script__new(evsel, script->session->data);
script           2444 tools/perf/builtin-script.c 	perf_script__fclose_per_event_dump(script);
script           2448 tools/perf/builtin-script.c static int perf_script__setup_per_event_dump(struct perf_script *script)
script           2453 tools/perf/builtin-script.c 	if (script->per_event_dump)
script           2454 tools/perf/builtin-script.c 		return perf_script__fopen_per_event_dump(script);
script           2458 tools/perf/builtin-script.c 	evlist__for_each_entry(script->session->evlist, evsel)
script           2464 tools/perf/builtin-script.c static void perf_script__exit_per_event_dump_stats(struct perf_script *script)
script           2468 tools/perf/builtin-script.c 	evlist__for_each_entry(script->session->evlist, evsel) {
script           2477 tools/perf/builtin-script.c static int __cmd_script(struct perf_script *script)
script           2486 tools/perf/builtin-script.c 	if (script->show_task_events) {
script           2487 tools/perf/builtin-script.c 		script->tool.comm = process_comm_event;
script           2488 tools/perf/builtin-script.c 		script->tool.fork = process_fork_event;
script           2489 tools/perf/builtin-script.c 		script->tool.exit = process_exit_event;
script           2491 tools/perf/builtin-script.c 	if (script->show_mmap_events) {
script           2492 tools/perf/builtin-script.c 		script->tool.mmap = process_mmap_event;
script           2493 tools/perf/builtin-script.c 		script->tool.mmap2 = process_mmap2_event;
script           2495 tools/perf/builtin-script.c 	if (script->show_switch_events || (scripting_ops && scripting_ops->process_switch))
script           2496 tools/perf/builtin-script.c 		script->tool.context_switch = process_switch_event;
script           2497 tools/perf/builtin-script.c 	if (script->show_namespace_events)
script           2498 tools/perf/builtin-script.c 		script->tool.namespaces = process_namespaces_event;
script           2499 tools/perf/builtin-script.c 	if (script->show_lost_events)
script           2500 tools/perf/builtin-script.c 		script->tool.lost = process_lost_event;
script           2501 tools/perf/builtin-script.c 	if (script->show_round_events) {
script           2502 tools/perf/builtin-script.c 		script->tool.ordered_events = false;
script           2503 tools/perf/builtin-script.c 		script->tool.finished_round = process_finished_round_event;
script           2505 tools/perf/builtin-script.c 	if (script->show_bpf_events) {
script           2506 tools/perf/builtin-script.c 		script->tool.ksymbol = process_bpf_events;
script           2507 tools/perf/builtin-script.c 		script->tool.bpf     = process_bpf_events;
script           2510 tools/perf/builtin-script.c 	if (perf_script__setup_per_event_dump(script)) {
script           2515 tools/perf/builtin-script.c 	ret = perf_session__process_events(script->session);
script           2517 tools/perf/builtin-script.c 	if (script->per_event_dump)
script           2518 tools/perf/builtin-script.c 		perf_script__exit_per_event_dump_stats(script);
script           2606 tools/perf/builtin-script.c 	const char *script, *ext;
script           2614 tools/perf/builtin-script.c 	script = strchr(str, ':');
script           2615 tools/perf/builtin-script.c 	if (script) {
script           2616 tools/perf/builtin-script.c 		len = script - str;
script           2628 tools/perf/builtin-script.c 		script++;
script           2630 tools/perf/builtin-script.c 		script = str;
script           2631 tools/perf/builtin-script.c 		ext = strrchr(script, '.');
script           2643 tools/perf/builtin-script.c 	script_name = strdup(script);
script           3237 tools/perf/builtin-script.c static void script__setup_sample_type(struct perf_script *script)
script           3239 tools/perf/builtin-script.c 	struct perf_session *session = script->session;
script           3276 tools/perf/builtin-script.c static int set_maps(struct perf_script *script)
script           3278 tools/perf/builtin-script.c 	struct evlist *evlist = script->session->evlist;
script           3280 tools/perf/builtin-script.c 	if (!script->cpus || !script->threads)
script           3283 tools/perf/builtin-script.c 	if (WARN_ONCE(script->allocated, "stats double allocation\n"))
script           3286 tools/perf/builtin-script.c 	perf_evlist__set_maps(&evlist->core, script->cpus, script->threads);
script           3291 tools/perf/builtin-script.c 	script->allocated = true;
script           3300 tools/perf/builtin-script.c 	struct perf_script *script = container_of(tool, struct perf_script, tool);
script           3302 tools/perf/builtin-script.c 	if (script->threads) {
script           3307 tools/perf/builtin-script.c 	script->threads = thread_map__new_event(&event->thread_map);
script           3308 tools/perf/builtin-script.c 	if (!script->threads)
script           3311 tools/perf/builtin-script.c 	return set_maps(script);
script           3319 tools/perf/builtin-script.c 	struct perf_script *script = container_of(tool, struct perf_script, tool);
script           3321 tools/perf/builtin-script.c 	if (script->cpus) {
script           3326 tools/perf/builtin-script.c 	script->cpus = cpu_map__new_data(&event->cpu_map.data);
script           3327 tools/perf/builtin-script.c 	if (!script->cpus)
script           3330 tools/perf/builtin-script.c 	return set_maps(script);
script           3350 tools/perf/builtin-script.c 		struct perf_script *script = container_of(tool, struct perf_script, tool);
script           3352 tools/perf/builtin-script.c 		ret = perf_script__setup_per_event_dump(script);
script           3417 tools/perf/builtin-script.c 	struct perf_script script = {
script           3516 tools/perf/builtin-script.c 	OPT_BOOLEAN('\0', "show-task-events", &script.show_task_events,
script           3518 tools/perf/builtin-script.c 	OPT_BOOLEAN('\0', "show-mmap-events", &script.show_mmap_events,
script           3520 tools/perf/builtin-script.c 	OPT_BOOLEAN('\0', "show-switch-events", &script.show_switch_events,
script           3522 tools/perf/builtin-script.c 	OPT_BOOLEAN('\0', "show-namespace-events", &script.show_namespace_events,
script           3524 tools/perf/builtin-script.c 	OPT_BOOLEAN('\0', "show-lost-events", &script.show_lost_events,
script           3526 tools/perf/builtin-script.c 	OPT_BOOLEAN('\0', "show-round-events", &script.show_round_events,
script           3528 tools/perf/builtin-script.c 	OPT_BOOLEAN('\0', "show-bpf-events", &script.show_bpf_events,
script           3530 tools/perf/builtin-script.c 	OPT_BOOLEAN('\0', "per-event-dump", &script.per_event_dump,
script           3546 tools/perf/builtin-script.c 	OPT_STRING(0, "time", &script.time_str, "str",
script           3559 tools/perf/builtin-script.c 	OPTS_EVSWITCH(&script.evswitch),
script           3759 tools/perf/builtin-script.c 	session = perf_session__new(&data, false, &script.tool);
script           3764 tools/perf/builtin-script.c 		script.tool.show_feat_hdr = SHOW_FEAT_HEADER;
script           3770 tools/perf/builtin-script.c 		script.tool.show_feat_hdr = SHOW_FEAT_HEADER_FULL_INFO;
script           3782 tools/perf/builtin-script.c 	script.session = session;
script           3783 tools/perf/builtin-script.c 	script__setup_sample_type(&script);
script           3866 tools/perf/builtin-script.c 	if (script.time_str) {
script           3867 tools/perf/builtin-script.c 		err = perf_time__parse_for_ranges_reltime(script.time_str, session,
script           3868 tools/perf/builtin-script.c 						  &script.ptime_range,
script           3869 tools/perf/builtin-script.c 						  &script.range_size,
script           3870 tools/perf/builtin-script.c 						  &script.range_num,
script           3876 tools/perf/builtin-script.c 						  script.ptime_range,
script           3877 tools/perf/builtin-script.c 						  script.range_num);
script           3880 tools/perf/builtin-script.c 	err = evswitch__init(&script.evswitch, session->evlist, stderr);
script           3884 tools/perf/builtin-script.c 	err = __cmd_script(&script);
script           3889 tools/perf/builtin-script.c 	if (script.ptime_range) {
script           3891 tools/perf/builtin-script.c 		zfree(&script.ptime_range);
script            512 tools/perf/tests/builtin-test.c 	char script[PATH_MAX];
script            515 tools/perf/tests/builtin-test.c 	path__join(script, sizeof(script), st->dir, st->file);
script            517 tools/perf/tests/builtin-test.c 	err = system(script);
script            477 tools/perf/util/scripting-engines/trace-event-perl.c static int perl_start_script(const char *script, int argc, const char **argv)
script            484 tools/perf/util/scripting-engines/trace-event-perl.c 	command_line[1] = script;
script           1587 tools/perf/util/scripting-engines/trace-event-python.c static int python_start_script(const char *script, int argc, const char **argv)
script           1607 tools/perf/util/scripting-engines/trace-event-python.c 	command_line[0] = script;
script           1613 tools/perf/util/scripting-engines/trace-event-python.c 	command_line[0] = Py_DecodeLocale(script, NULL);
script           1627 tools/perf/util/scripting-engines/trace-event-python.c 	fp = fopen(script, "r");
script           1629 tools/perf/util/scripting-engines/trace-event-python.c 		sprintf(buf, "Can't open python script \"%s\"", script);
script           1635 tools/perf/util/scripting-engines/trace-event-python.c 	err = PyRun_SimpleFile(fp, script);
script           1637 tools/perf/util/scripting-engines/trace-event-python.c 		fprintf(stderr, "Error running python script %s\n", script);
script           1643 tools/perf/util/scripting-engines/trace-event-python.c 		fprintf(stderr, "Error starting python script %s\n", script);
script             45 tools/perf/util/trace-event-scripting.c static int python_start_script_unsupported(const char *script __maybe_unused,
script            109 tools/perf/util/trace-event-scripting.c static int perl_start_script_unsupported(const char *script __maybe_unused,
script             74 tools/perf/util/trace-event.h 	int (*start_script) (const char *script, int argc, const char **argv);
script            376 tools/testing/selftests/exec/execveat.c 	const char *script = "#!/bin/sh\nexit $*\n";
script            385 tools/testing/selftests/exec/execveat.c 	write(fd, script, strlen(script));