Lines Matching refs:shm_off
4056 if (a->shm_off < b->shm_off) in lgrp_shm_policy_compar()
4058 if (a->shm_off >= b->shm_off + b->shm_size) in lgrp_shm_policy_compar()
4071 seg1->shm_off + seg1->shm_size != seg2->shm_off || in lgrp_shm_policy_concat()
4093 ASSERT(off >= seg->shm_off && off <= seg->shm_off + seg->shm_size); in lgrp_shm_policy_split()
4095 if (!seg || off < seg->shm_off || off > seg->shm_off + in lgrp_shm_policy_split()
4099 if (off == seg->shm_off || off == seg->shm_off + seg->shm_size) in lgrp_shm_policy_split()
4107 newseg->shm_off = off; in lgrp_shm_policy_split()
4108 newseg->shm_size = seg->shm_size - (off - seg->shm_off); in lgrp_shm_policy_split()
4109 seg->shm_size = off - seg->shm_off; in lgrp_shm_policy_split()
4238 newseg->shm_off = off; in lgrp_shm_policy_set()
4247 if (seg == NULL || off + len <= seg->shm_off) { in lgrp_shm_policy_set()
4251 newseg->shm_size = seg->shm_off - off; in lgrp_shm_policy_set()
4252 off = seg->shm_off; in lgrp_shm_policy_set()
4271 oldeoff = seg->shm_off + seg->shm_size; in lgrp_shm_policy_set()
4294 if (off == seg->shm_off && len == seg->shm_size) { in lgrp_shm_policy_set()
4323 if (off > seg->shm_off) { in lgrp_shm_policy_set()
4358 if (off == seg->shm_off) in lgrp_shm_policy_set()