gn_mapcnt Subroutine
Purpose
Maintains the mapping count in a gnode structure.
Syntax
Parameters
Item | Description | |
---|---|---|
gnode | Points to a gnode structure. | |
flags | Specifies the following mapping
flag:
|
Description
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.
Return Values
The gn_mapcnt subroutine returns no return values.
Error Codes
The gn_mapcnt subroutine returns no error codes.