Searched refs:script_buf (Results 1 – 3 of 3) sorted by relevance
42 static char *script_buf = NULL; variable48 script_buf = shmat(shmid, 0, 0); in init_script()49 if (script_buf == (void *)-1) { in init_script()55 script_buf = buf; in init_script()57 struct script_head *head = (struct script_head *)script_buf; in init_script()69 if (script_buf) { in deinit_script()71 script_buf = NULL; in deinit_script()86 if (script_buf == NULL) { in script_mainkey_name()90 mainkey = (struct script_mainkey *)(script_buf + sizeof(struct script_head) + in script_mainkey_name()106 if (script_buf == NULL) { in script_fetch()[all …]
453 char *script_buf, *pos; in __parse_script() local651 script_buf = pos = shmat(shmid, 0, 0); in __parse_script()652 if (script_buf == (void *)-1) { in __parse_script()660 script_buf = pos = malloc(i); in __parse_script()673 return script_buf; in __parse_script()694 char *script_buf; in parse_script() local727 script_buf = __parse_script(buf, len); in parse_script()730 return script_buf; in parse_script()
614 char *script_buf; in main() local653 script_buf = parse_script(SCRIPT_NAME); in main()654 if (!script_buf) { in main()659 ret = init_script(script_buf); in main()