Lines Matching refs:fn
240 printstatusline(char *fn, char *locktype, char *comment) in printstatusline() argument
244 printf("%-20s %-10s %s\n", fn, locktype, comment); in printstatusline()
251 printstatus(char *fn) in printstatus() argument
259 fd = open64(fn, O_RDONLY); in printstatus()
262 printstatusline(fn, "EIO", "May be hard locked"); in printstatus()
264 perror(fn); in printstatus()
276 perror(fn); in printstatus()
335 printstatusline(fn, locktype, lf.lf_comment); in printstatus()
337 LOCKWARN(fn, locktype); in printstatus()
346 flushfs(char *fn) in flushfs() argument
350 fd = open64(fn, O_RDONLY); in flushfs()
352 perror(fn); in flushfs()
358 perror(fn); in flushfs()
370 lockfs(char *fn) in lockfs() argument
375 fd = open64(fn, O_RDONLY); in lockfs()
377 perror(fn); in lockfs()
386 perror(fn); in lockfs()
394 LOCKWARN(fn, "hard"); in lockfs()
396 LOCKWARN(fn, "error"); in lockfs()
398 LOCKWARN(fn, "write"); in lockfs()
408 perror(fn); in lockfs()