Lines Matching refs:dirnamelen
463 size_t dirnamelen; member
1018 if (strncmp(mod->path, cfg->dirname, cfg->dirnamelen) == 0 && in depmod_module_add()
1019 mod->path[cfg->dirnamelen] == '/') in depmod_module_add()
1020 mod->relpath = mod->path + cfg->dirnamelen + 1; in depmod_module_add()
1120 if (strncmp(newpath, cfg->dirname, cfg->dirnamelen) == 0) { in depmod_module_is_higher_priority()
1121 relnewpath = newpath + cfg->dirnamelen + 1; in depmod_module_is_higher_priority()
1122 relnewlen = newlen - (cfg->dirnamelen + 1); in depmod_module_is_higher_priority()
1124 if (strncmp(oldpath, cfg->dirname, cfg->dirnamelen) == 0) { in depmod_module_is_higher_priority()
1125 reloldpath = oldpath + cfg->dirnamelen + 1; in depmod_module_is_higher_priority()
1126 reloldlen = oldlen - (cfg->dirnamelen + 1); in depmod_module_is_higher_priority()
1192 relpath = path + depmod->cfg->dirnamelen + 1; in depmod_modules_search_file()
2853 cfg.dirnamelen = snprintf(cfg.dirname, PATH_MAX, in do_depmod()