Lines Matching refs:bufsize
687 qm_modules(char *buf, size_t bufsize, size_t *ret) in qm_modules() argument
696 if (len > bufsize) in qm_modules()
701 bufsize -= len; in qm_modules()
722 qm_deps(struct module *mod, char *buf, size_t bufsize, size_t *ret) in qm_deps() argument
739 if (len > bufsize) in qm_deps()
744 bufsize -= len; in qm_deps()
765 qm_refs(struct module *mod, char *buf, size_t bufsize, size_t *ret) in qm_refs() argument
783 if (len > bufsize) in qm_refs()
788 bufsize -= len; in qm_refs()
809 qm_symbols(struct module *mod, char *buf, size_t bufsize, size_t *ret) in qm_symbols() argument
827 if (space > bufsize) in qm_symbols()
833 bufsize -= space; in qm_symbols()
839 if (len > bufsize) in qm_symbols()
848 bufsize -= len; in qm_symbols()
867 qm_info(struct module *mod, char *buf, size_t bufsize, size_t *ret) in qm_info() argument
874 if (sizeof(struct module_info) <= bufsize) { in qm_info()
897 sys_query_module(const char *name_user, int which, char *buf, size_t bufsize, in sys_query_module() argument
932 err = qm_modules(buf, bufsize, ret); in sys_query_module()
935 err = qm_deps(mod, buf, bufsize, ret); in sys_query_module()
938 err = qm_refs(mod, buf, bufsize, ret); in sys_query_module()
941 err = qm_symbols(mod, buf, bufsize, ret); in sys_query_module()
944 err = qm_info(mod, buf, bufsize, ret); in sys_query_module()
1274 sys_query_module(const char *name_user, int which, char *buf, size_t bufsize, in sys_query_module() argument