Maintains the mapping count in a gnode structure.
Item | Description | |
---|---|---|
gnode | Points to a gnode structure. | |
flags | Specifies the following mapping
flag:
|
The gn_unmapcnt subroutine uses the passed in flags value to determine the appropriate mapping count to decrease in the gnode structure. If the SHM_RDONLY flag is set, the gn_unmapcnt subroutine decreases the gn_mrdcnt field. Otherwise, the gn_unmapcnt subroutine decreases the gn_mwrcnt field.
The gn_unmapcnt subroutine returns no return values.
The gn_unmapcnt subroutine returns no error codes.