Home
last modified time | relevance | path

Searched refs:lock_register (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_rep.c142 lock_register(int fd, int cmd, int type, off_t offset, int whence, off_t len) in lock_register() function
260 if (lock_register(fd, F_SETLKW, F_WRLCK, 0, SEEK_SET, 0) < 0) { in update_fabric_wwn_list()
502 if (lock_register(fd, F_SETLK, F_UNLCK, 0, SEEK_SET, 0) < 0) { in update_fabric_wwn_list()
601 if (lock_register(fd, F_SETLK, F_UNLCK, 0, SEEK_SET, 0) < 0) { in update_fabric_wwn_list()
/illumos-gate/usr/src/lib/mpapi/libmpapi/common/
H A Dmpapi.c88 static int lock_register(int fd, int cmd, int type, off_t offset, int whence,
199 if (lock_register(fd_mpconf, F_SETLKW, F_RDLCK, 0, SEEK_SET, 0) < 0) { in InitLibrary()
206 lock_register(fd_mpconf, F_SETLK, F_UNLCK, 0, SEEK_SET, 0); in InitLibrary()
283 if (lock_register(fd_mpconf, F_SETLK, F_UNLCK, 0, SEEK_SET, 0) < 0) { in InitLibrary()
3317 if (lock_register(fd, F_SETLK, F_UNLCK, 0, SEEK_SET, 0) < 0) { \
3330 lock_register(int fd, int cmd, int type, off_t offset, int whence, off_t len) in lock_register() function
3501 if (lock_register(mpconf, F_SETLKW, F_WRLCK, 0, SEEK_SET, 0) < 0) { in MP_RegisterPlugin()
3610 if (lock_register(mpconf, F_SETLKW, F_WRLCK, 0, SEEK_SET, 0) < 0) { in MP_DeregisterPlugin()