Lines Matching refs:_mkdirat
24 mkdirat_func_t _mkdirat) { in mkdir_safe_internal() argument
31 assert(_mkdirat && _mkdirat != mkdirat); in mkdir_safe_internal()
33 if (_mkdirat(AT_FDCWD, path, mode) >= 0) { in mkdir_safe_internal()
51 _mkdirat); in mkdir_safe_internal()
90 …, const char *path, mode_t mode, uid_t uid, gid_t gid, MkdirFlags flags, mkdirat_func_t _mkdirat) { in mkdir_parents_internal() argument
95 assert(_mkdirat != mkdirat); in mkdir_parents_internal()
144 … r = mkdir_safe_internal(path, mode, uid, gid, flags | MKDIR_IGNORE_EXISTING, _mkdirat); in mkdir_parents_internal()
161 …, const char *path, mode_t mode, uid_t uid, gid_t gid, MkdirFlags flags, mkdirat_func_t _mkdirat) { in mkdir_p_internal() argument
166 assert(_mkdirat != mkdirat); in mkdir_p_internal()
168 … r = mkdir_parents_internal(prefix, path, mode, uid, gid, flags | MKDIR_FOLLOW_SYMLINK, _mkdirat); in mkdir_p_internal()
173 r = _mkdirat(AT_FDCWD, path, mode); in mkdir_p_internal()
177 r = mkdir_safe_internal(path, mode, uid, gid, flags, _mkdirat); in mkdir_p_internal()