Searched refs:sd_logvp (Results 1 - 1 of 1) sorted by relevance
/darwin-on-arm/xnu/bsd/kern/ |
H A D | kern_shutdown.c | 102 static vnode_t sd_logvp = NULLVP; variable 222 if ((error = vnode_open(PROC_SHUTDOWN_LOG, (O_CREAT | FWRITE | O_NOFOLLOW), 0644, 0, &sd_logvp, ctx))) { 224 sd_logvp = NULLVP; 228 vnode_setsize(sd_logvp, (off_t)0, 0, ctx); 241 if (sd_logvp != NULLVP) { 242 VNOP_FSYNC(sd_logvp, MNT_WAIT, ctx); 243 error = vnode_close(sd_logvp, FWRITE, ctx); 257 if (sd_logvp == NULLVP) { 266 log_error = vn_rdwr(UIO_WRITE, sd_logvp, (caddr_t)logbuf, len, sd_log_offset,
|
Completed in 8 milliseconds