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

Function finit_vnode

freebsd/kern/kern_descrip.c:2941–2948  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2939}
2940
2941void
2942finit_vnode(struct file *fp, u_int flag, void *data, struct fileops *ops)
2943{
2944 fp->f_seqcount[UIO_READ] = 1;
2945 fp->f_seqcount[UIO_WRITE] = 1;
2946 finit(fp, (flag & FMASK) | (fp->f_flag & FHASLOCK), DTYPE_VNODE,
2947 data, ops);
2948}
2949
2950int
2951fget_cap_locked(struct filedesc *fdp, int fd, cap_rights_t *needrightsp,

Callers 2

kern_openatFunction · 0.85
kern_fhopenFunction · 0.85

Calls 1

finitFunction · 0.85

Tested by

no test coverage detected