Lines Matching defs:limit
732 * get_seg_limit() - Obtain the limit of a segment descriptor
736 * Obtain the limit of the segment as indicated by the segment descriptor
742 * In protected mode, the limit of the segment descriptor in bytes.
744 * limit is returned as -1L to imply a limit-less segment.
751 unsigned long limit;
768 * If the granularity bit is set, the limit is given in multiples
771 * this means that the segment ends in (limit << 12) + 0xfff.
773 limit = get_desc_limit(&desc);
775 limit = (limit << 12) + 0xfff;
777 return limit;
896 * get_seg_base_limit() - obtain base address and limit of a segment
901 * @limit: Obtained segment limit
903 * Obtain the base address and limit of the segment associated with the operand
906 * associated with the instruction operand. If a limit is not needed (e.g.,
907 * when running in long mode), @limit can be NULL.
911 * 0 on success. @base and @limit will contain the base address and of the
918 unsigned long *limit)
933 if (!limit)
936 *limit = get_seg_limit(regs, seg_reg_idx);
937 if (!(*limit))
1266 * limits are not enforced. In such a case, the segment limit is -1L to
1340 * not enforced. When in virtual-8086 mode, the segment limit is -1L