Lines Matching refs:fn
238 printstatusline(char *fn, char *locktype, char *comment) in printstatusline() argument
242 printf("%-20s %-10s %s\n", fn, locktype, comment); in printstatusline()
249 printstatus(char *fn) in printstatus() argument
257 fd = open64(fn, O_RDONLY); in printstatus()
260 printstatusline(fn, "EIO", "May be hard locked"); in printstatus()
262 perror(fn); in printstatus()
274 perror(fn); in printstatus()
333 printstatusline(fn, locktype, lf.lf_comment); in printstatus()
335 LOCKWARN(fn, locktype); in printstatus()
344 flushfs(char *fn) in flushfs() argument
348 fd = open64(fn, O_RDONLY); in flushfs()
350 perror(fn); in flushfs()
356 perror(fn); in flushfs()
368 lockfs(char *fn) in lockfs() argument
373 fd = open64(fn, O_RDONLY); in lockfs()
375 perror(fn); in lockfs()
384 perror(fn); in lockfs()
392 LOCKWARN(fn, "hard"); in lockfs()
394 LOCKWARN(fn, "error"); in lockfs()
396 LOCKWARN(fn, "write"); in lockfs()
406 perror(fn); in lockfs()