Searched refs:patshift (Results 1 – 2 of 2) sorted by relevance
/external/ltp/testcases/kernel/fs/doio/ |
D | pattern.c | 40 int pattern_check(char *buf, int buflen, char *pat, int patlen, int patshift) in pattern_check() argument 46 patshift = patshift % patlen; in pattern_check() 58 nb = patlen - patshift; in pattern_check() 60 return (memcmp(cp, pat + patshift, nleft) ? -1 : 0); in pattern_check() 62 if (memcmp(cp, pat + patshift, nb)) in pattern_check() 69 if (patshift > 0) { in pattern_check() 70 nb = patshift; in pattern_check() 101 int pattern_fill(char *buf, int buflen, char *pat, int patlen, int patshift) in pattern_fill() argument 107 patshift = patshift % patlen; in pattern_fill() 119 trans = patlen - patshift; in pattern_fill() [all …]
|
D | doio.c | 406 char *pattern, int pattern_length, int patshift); 408 int pattern_length, int patshift, int fsa); 3644 int pattern_length, int patshift) in doio_pat_check() argument 3651 if (pattern_check(buf, length, pattern, pattern_length, patshift) != 0) { in doio_pat_check() 3660 pattern_index = patshift % pattern_length;; in doio_pat_check() 3737 int pattern_length, int patshift, int fsa) in check_file() argument 3805 patshift)) != NULL) { in check_file() 3811 patshift); in check_file()
|