Lines Matching refs:lockname
36 static char lockname[BUFSIZ]; variable
336 (void) sprintf(lockname, "%s.%3.3lu.%3.3lu.%3.3lu", L_LOCK, in fd_mklock()
341 if (mklock(lockname) == FAIL) in fd_mklock()
347 rmlock(lockname); in fd_mklock()
369 (void) sprintf(lockname, "%s%s", (*name == '/' ? "" : "/dev/"), name); in fn_cklock()
371 if (stat(lockname, &_st_buf) != 0) in fn_cklock()
374 (void) sprintf(lockname, "%s.%3.3lu.%3.3lu.%3.3lu", L_LOCK, in fn_cklock()
379 return (cklock(lockname)); in fn_cklock()
396 (void) sprintf(lockname, "%s.%3.3lu.%3.3lu.%3.3lu", L_LOCK, in fd_cklock()
401 if (cklock(lockname) == FAIL) in fd_cklock()
419 (void) sprintf(lockname, "%s.%3.3lu.%3.3lu.%3.3lu", L_LOCK, in fd_rmlock()
423 rmlock(lockname); in fd_rmlock()