Lines Matching defs:cp

251 #define	XFS_LIC_INIT(cp)	xfs_lic_init(cp)  argument
253 #define XFS_LIC_INIT(cp) ((cp)->lic_free = XFS_LIC_FREEMASK) argument
257 #define XFS_LIC_INIT_SLOT(cp,slot) xfs_lic_init_slot(cp, slot) argument
259 #define XFS_LIC_INIT_SLOT(cp,slot) \ argument
264 #define XFS_LIC_VACANCY(cp) xfs_lic_vacancy(cp) argument
266 #define XFS_LIC_VACANCY(cp) (((cp)->lic_free) & XFS_LIC_FREEMASK) argument
270 #define XFS_LIC_ALL_FREE(cp) xfs_lic_all_free(cp) argument
272 #define XFS_LIC_ALL_FREE(cp) ((cp)->lic_free = XFS_LIC_FREEMASK) argument
276 #define XFS_LIC_ARE_ALL_FREE(cp) xfs_lic_are_all_free(cp) argument
278 #define XFS_LIC_ARE_ALL_FREE(cp) (((cp)->lic_free & XFS_LIC_FREEMASK) ==\ argument
283 #define XFS_LIC_ISFREE(cp,slot) xfs_lic_isfree(cp,slot) argument
285 #define XFS_LIC_ISFREE(cp,slot) ((cp)->lic_free & (1 << (slot))) argument
289 #define XFS_LIC_CLAIM(cp,slot) xfs_lic_claim(cp,slot) argument
291 #define XFS_LIC_CLAIM(cp,slot) ((cp)->lic_free &= ~(1 << (slot))) argument
295 #define XFS_LIC_RELSE(cp,slot) xfs_lic_relse(cp,slot) argument
297 #define XFS_LIC_RELSE(cp,slot) ((cp)->lic_free |= 1 << (slot)) argument
301 #define XFS_LIC_SLOT(cp,slot) xfs_lic_slot(cp,slot) argument
303 #define XFS_LIC_SLOT(cp,slot) (&((cp)->lic_descs[slot])) argument
351 #define XFS_LBC_INIT(cp) ((cp)->lbc_free = XFS_LBC_FREEMASK) argument
352 #define XFS_LBC_CLAIM(cp, slot) ((cp)->lbc_free &= ~(1 << (slot))) argument
353 #define XFS_LBC_SLOT(cp, slot) (&((cp)->lbc_busy[(slot)])) argument
354 #define XFS_LBC_VACANCY(cp) (((cp)->lbc_free) & XFS_LBC_FREEMASK) argument
355 #define XFS_LBC_ISFREE(cp, slot) ((cp)->lbc_free & (1 << (slot))) argument