Home
last modified time | relevance | path

Searched refs:flck (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_file.c243 struct flock64 flck; in vdev_file_io_start() local
246 bzero(&flck, sizeof (flck)); in vdev_file_io_start()
247 flck.l_type = F_FREESP; in vdev_file_io_start()
248 flck.l_start = zio->io_offset; in vdev_file_io_start()
249 flck.l_len = zio->io_size; in vdev_file_io_start()
250 flck.l_whence = 0; in vdev_file_io_start()
252 zio->io_error = VOP_SPACE(vf->vf_vnode, F_FREESP, &flck, in vdev_file_io_start()
/illumos-gate/usr/src/cmd/bnu/
H A Duustat.c340 char flck[MAXNAMESIZE]; in main() local
348 while (gnameflck(subdir, flck) == TRUE) { in main()
350 if (EQUALSN("LCK..", flck, 5)) { in main()
351 if (!EQUALSN(flck + 5, "cul", 3) in main()
352 && !EQUALSN(flck + 5, "cua", 3) in main()
353 && !EQUALSN(flck + 5, "tty", 3) in main()
354 && !EQUALSN(flck + 5, "dtsw", 4) in main()
355 && !EQUALSN(flck + 5, "vadic", 5) in main()
356 && !EQUALSN(flck + 5, "micom", 5)) in main()
357 machine(flck + 5)->locked++; in main()
/illumos-gate/usr/src/uts/common/io/
H A Dlofi.c1360 struct flock64 flck = { 0 }; in lofi_trim_task() local
1362 flck.l_start = start; in lofi_trim_task()
1363 flck.l_len = length; in lofi_trim_task()
1364 flck.l_type = F_FREESP; in lofi_trim_task()
1365 flck.l_whence = 0; in lofi_trim_task()
1367 error = VOP_SPACE(lsp->ls_vp, F_FREESP, &flck, 0, 0, kcred, in lofi_trim_task()