Lines Matching refs:s
75 char *s; in check_file() local
87 s = bprm->buf + e->offset; in check_file()
90 if ((*s++ ^ e->magic[j]) & e->mask[j]) in check_file()
94 if ((*s++ ^ e->magic[j])) in check_file()
224 static char *scanarg(char *s, char del) in scanarg() argument
228 while ((c = *s++) != del) { in scanarg()
229 if (c == '\\' && *s == 'x') { in scanarg()
230 s++; in scanarg()
231 if (!isxdigit(*s++)) in scanarg()
233 if (!isxdigit(*s++)) in scanarg()
237 return s; in scanarg()
242 char c = 0, *s = from, *p = from; in unquote() local
244 while ((c = *s++) != '\0') { in unquote()
245 if (c == '\\' && *s == 'x') { in unquote()
246 s++; in unquote()
247 c = toupper(*s++); in unquote()
249 c = toupper(*s++); in unquote()
339 char *s = strchr(p, del); in create_entry() local
340 if (!s) in create_entry()
342 *s++ = '\0'; in create_entry()
416 char s[4]; in parse_command() local
422 if (copy_from_user(s, buffer, count)) in parse_command()
424 if (s[count-1] == '\n') in parse_command()
426 if (count == 1 && s[0] == '0') in parse_command()
428 if (count == 1 && s[0] == '1') in parse_command()
430 if (count == 2 && s[0] == '-' && s[1] == '1') in parse_command()
652 char *s = enabled ? "enabled\n" : "disabled\n"; in bm_status_read() local
654 return simple_read_from_buffer(buf, nbytes, ppos, s, strlen(s)); in bm_status_read()