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