Searched refs:maxoffset (Results 1 – 3 of 3) sorted by relevance
199 struct short_ad *udf_get_fileshortad(uint8_t *ptr, int maxoffset, uint32_t *offset, in udf_get_fileshortad() argument209 if ((*offset + sizeof(struct short_ad)) > maxoffset) in udf_get_fileshortad()222 struct long_ad *udf_get_filelongad(uint8_t *ptr, int maxoffset, uint32_t *offset, int inc) in udf_get_filelongad() argument231 if ((*offset + sizeof(struct long_ad)) > maxoffset) in udf_get_filelongad()
2368 u_int maxoffset; in ahc_validate_offset() local2372 maxoffset = 0; in ahc_validate_offset()2374 maxoffset = MAX_OFFSET_ULTRA2; in ahc_validate_offset()2377 maxoffset = MAX_OFFSET_16BIT; in ahc_validate_offset()2379 maxoffset = MAX_OFFSET_8BIT; in ahc_validate_offset()2381 *offset = min(*offset, maxoffset); in ahc_validate_offset()
3756 u_int maxoffset; in ahd_validate_offset() local3760 maxoffset = 0; in ahd_validate_offset()3763 maxoffset = MAX_OFFSET_PACED_BUG; in ahd_validate_offset()3765 maxoffset = MAX_OFFSET_PACED; in ahd_validate_offset()3767 maxoffset = MAX_OFFSET_NON_PACED; in ahd_validate_offset()3768 *offset = min(*offset, maxoffset); in ahd_validate_offset()