Lines Matching defs:symlink
54 * the symlink "current" to 1 of up to 16 NCA BLF logging files, by default
104 * dir - path to the directory where the current logfile symlink
107 * symlink - name of the logfile symlink.
109 * symlink_path - path to the logfile symlink.
127 static caddr_t symlink = "current";
327 /* Remove the current symlink */
328 (void) VOP_REMOVE(nca_fio_dvp(&fio), symlink, kcred, NULL, 0);
334 /* Create symlink to the new log file */
335 ret = VOP_SYMLINK(nca_fio_dvp(&fio), symlink,
338 cmn_err(CE_WARN, "nl7c_logd: symlink of %s to %s failed",
339 symlink, nca_fio_name(&fio));
431 * first check if the symlink exists.
437 /* No NCA symlink directory, create one */
445 " symlink dir of %s failed(%d).",
451 /* No symlink so don't know were to start from */
454 /* Save the symlink dir vnode */
457 /* Check if the file pointed by the symlink exists */
463 /* Read the symlink and find it in fnv[], else fresh start */
474 (void) VOP_REMOVE(dvp, symlink, kcred, NULL, 0);
516 * fnv[]. Remove the existing symlink (if any) then create the new
517 * symlink to point to the first logfile.
523 (void) VOP_REMOVE(dvp, symlink, kcred, NULL, 0);
524 ret = VOP_SYMLINK(dvp, symlink, &attr, nca_fio_name(&fio), kcred, NULL,
527 cmn_err(CE_WARN, "nl7c_logd_init: symlink of %s to %s failed",