Lines Matching refs:dirnamelen
449 size_t dirnamelen; member
946 if (strncmp(mod->path, cfg->dirname, cfg->dirnamelen) == 0 && in depmod_module_add()
947 mod->path[cfg->dirnamelen] == '/') in depmod_module_add()
948 mod->relpath = mod->path + cfg->dirnamelen + 1; in depmod_module_add()
1013 assert(strncmp(newpath, cfg->dirname, cfg->dirnamelen) == 0); in depmod_module_is_higher_priority()
1014 assert(strncmp(oldpath, cfg->dirname, cfg->dirnamelen) == 0); in depmod_module_is_higher_priority()
1016 newpath += cfg->dirnamelen + 1; in depmod_module_is_higher_priority()
1017 newlen -= cfg->dirnamelen + 1; in depmod_module_is_higher_priority()
1018 oldpath += cfg->dirnamelen + 1; in depmod_module_is_higher_priority()
1019 oldlen -= cfg->dirnamelen + 1; in depmod_module_is_higher_priority()
1072 relpath = path + depmod->cfg->dirnamelen + 1; in depmod_modules_search_file()
1206 baselen = depmod->cfg->dirnamelen; in depmod_modules_search()
2656 cfg.dirnamelen = snprintf(cfg.dirname, PATH_MAX, in do_depmod()