MCPcopy Create free account
hub / github.com/F-Stack/f-stack / make_dev_credv

Function make_dev_credv

freebsd/kern/kern_conf.c:855–871  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

853}
854
855static int
856make_dev_credv(int flags, struct cdev **dres, struct cdevsw *devsw, int unit,
857 struct ucred *cr, uid_t uid, gid_t gid, int mode, const char *fmt,
858 va_list ap)
859{
860 struct make_dev_args args;
861
862 make_dev_args_init(&args);
863 args.mda_flags = flags;
864 args.mda_devsw = devsw;
865 args.mda_cr = cr;
866 args.mda_uid = uid;
867 args.mda_gid = gid;
868 args.mda_mode = mode;
869 args.mda_unit = unit;
870 return (make_dev_sv(&args, dres, fmt, ap));
871}
872
873struct cdev *
874make_dev(struct cdevsw *devsw, int unit, uid_t uid, gid_t gid, int mode,

Callers 4

make_devFunction · 0.85
make_dev_credFunction · 0.85
make_dev_credfFunction · 0.85
make_dev_pFunction · 0.85

Calls 1

make_dev_svFunction · 0.85

Tested by

no test coverage detected