Lines Matching refs:off
128 size_t off; in al_enumerate() local
144 off = PtrOffset(ni->attr_list.le, le); in al_enumerate()
145 if (off + le_min_size > ni->attr_list.size) { in al_enumerate()
153 if (sz < le_min_size || off + sz > ni->attr_list.size || in al_enumerate()
293 size_t off; in al_add_le() local
310 off = PtrOffset(al->le, le); in al_add_le()
318 memcpy(ptr, al->le, off); in al_add_le()
319 memcpy(Add2Ptr(ptr, off + sz), le, old_size - off); in al_add_le()
320 le = Add2Ptr(ptr, off); in al_add_le()
324 memmove(Add2Ptr(le, sz), le, old_size - off); in al_add_le()
343 memmove(le, Add2Ptr(le, sz), old_size - off); in al_add_le()
367 size_t off; in al_remove_le() local
375 off = PtrOffset(al->le, le); in al_remove_le()
377 memmove(le, Add2Ptr(le, size), al->size - (off + size)); in al_remove_le()
394 size_t off; in al_delete_le() local
402 off = PtrOffset(al->le, le); in al_delete_le()
405 if (off >= al->size) in al_delete_le()
423 off += le16_to_cpu(le->size); in al_delete_le()
424 le = Add2Ptr(al->le, off); in al_delete_le()
431 memmove(le, Add2Ptr(le, size), al->size - (off + size)); in al_delete_le()