Lines Matching refs:nmemb
1162 static struct syscall_fmt *__syscall_fmt__find(struct syscall_fmt *fmts, const int nmemb, const char *name)
1164 return bsearch(name, fmts, nmemb, sizeof(struct syscall_fmt), syscall_fmt__cmp);
1169 const int nmemb = ARRAY_SIZE(syscall_fmts);
1170 return __syscall_fmt__find(syscall_fmts, nmemb, name);
1173 static struct syscall_fmt *__syscall_fmt__find_by_alias(struct syscall_fmt *fmts, const int nmemb, const char *alias)
1177 for (i = 0; i < nmemb; ++i) {
1187 const int nmemb = ARRAY_SIZE(syscall_fmts);
1188 return __syscall_fmt__find_by_alias(syscall_fmts, nmemb, alias);
1674 __syscall_arg_fmt__find_by_name(struct syscall_arg_fmt *fmts, const int nmemb, const char *name)
1676 return bsearch(name, fmts, nmemb, sizeof(struct syscall_arg_fmt), syscall_arg_fmt__cmp);
1681 const int nmemb = ARRAY_SIZE(syscall_arg_fmts__by_name);
1682 return __syscall_arg_fmt__find_by_name(syscall_arg_fmts__by_name, nmemb, name);