Searched refs:overlap (Results 1 - 6 of 6) sorted by relevance

/darwin-on-arm/xnu/bsd/hfs/
H A Drangelist.c38 static enum rl_overlaptype rl_scan_from(struct rl_head *rangelist, off_t start, off_t end, struct rl_entry **overlap, struct rl_entry *range);
79 struct rl_entry *overlap; local
86 ovcase = rl_scan(rangelist, start, end, &overlap);
90 * 0) no overlap
91 * 1) overlap == range
92 * 2) overlap contains range
93 * 3) range contains overlap
94 * 4) overlap starts before range
95 * 5) overlap ends after range
98 case RL_NOOVERLAP: /* 0: no overlap */
172 struct rl_entry *range, *next_range, *overlap, *splitrange; local
258 rl_scan(struct rl_head *rangelist, off_t start, off_t end, struct rl_entry **overlap) argument
281 rl_scan_from(struct rl_head *rangelist, off_t start, off_t end, struct rl_entry **overlap, struct rl_entry *range) argument
446 rl_scan(__unused void *rangelist, __unused off_t start, __unused off_t end, __unused void **overlap) argument
[all...]
H A Drangelist.h64 struct rl_entry **overlap);
/darwin-on-arm/xnu/bsd/kern/
H A Dkern_lockf.c446 struct lockf **prev, *overlap, *ltmp; local
626 * Handle any locks that overlap and are owned by ourselves.
632 ovcase = lf_findoverlap(block, lock, SELF, &prev, &overlap);
634 block = overlap->lf_next;
637 * 0) no overlap
638 * 1) overlap == lock
639 * 2) overlap contains lock
640 * 3) lock contains overlap
641 * 4) overlap starts before lock
642 * 5) overlap end
782 struct lockf *overlap, **prev; local
918 struct lockf **prev, *overlap, *lf = *(lock->lf_head); local
988 lf_findoverlap(struct lockf *lf, struct lockf *lock, int type, struct lockf ***prev, struct lockf **overlap) argument
[all...]
/darwin-on-arm/xnu/osfmk/i386/
H A Dmtrr.c481 int overlap; local
524 * Check for overlap and locate a free range.
536 overlap = var_range_overlap(vr, address, length, type);
537 if (overlap > 0) {
539 * identical overlap permitted, increment ref count.
545 if (overlap < 0) {
643 int result = 0; /* no overlap, or overlap ok */
649 /* detect range overlap */
654 result = 1; /* identical overlap o
[all...]
/darwin-on-arm/xnu/bsd/vfs/
H A Dvfs_journal.c950 off_t overlap, block_start, block_end; local
956 // first, eliminate any overlap with the previous entry
960 overlap = prev_block_end - block_start;
961 if (overlap > 0) {
962 if (overlap % jhdr_size != 0) {
963 panic("jnl: do_overlap: overlap with previous entry not a multiple of %zd\n", jhdr_size);
975 panic("jnl: do_overlap: error inserting during pre-overlap\n");
979 // Regardless, we need to truncate the previous entry to the beginning of the overlap
985 // then, bail out fast if there's no overlap with the entries that follow
987 return 0; // no overlap, n
[all...]
/darwin-on-arm/xnu/bsd/nfs/
H A Dnfs_serv.c1689 int overlap, error; local
1696 overlap = owp->nd_eoff - nd->nd_off;
1697 if (overlap < 0)
1699 if (overlap > 0)
1700 mbuf_adj(nd->nd_nmreq.nmc_mhead, overlap);

Completed in 66 milliseconds