Lines Matching refs:fixedcursor
83 char *fixedcursor; member
91 #define _ATTRLIST_BUF_INIT(a) do {(a)->base = (a)->fixedcursor = (a)->varcursor = NULL; (a)->alloc…
120 fit = lmin(count, ab->allocated - (ab->fixedcursor - ab->base)); in attrlist_pack_fixed()
123 bcopy(source, ab->fixedcursor, fit); in attrlist_pack_fixed()
127 ab->fixedcursor += roundup(count, 4); in attrlist_pack_fixed()
151 ar.attr_dataoffset = (int32_t)(ab->varcursor - ab->fixedcursor); in attrlist_pack_variable2()
227 ar.attr_dataoffset = (int32_t)(ab->varcursor - ab->fixedcursor); in attrlist_pack_string()
282 if ((AB.allocated - (AB.fixedcursor - AB.base)) >= 4) { \
283 *(uint32_t *)AB.fixedcursor = V; \
284 AB.fixedcursor += 4; \
290 if ((AB.allocated - (AB.fixedcursor - AB.base)) >= 8) { \
291 memcpy(AB.fixedcursor, &V, 8); \
292 AB.fixedcursor += 8; \
1227 ab.fixedcursor = ab.base + sizeof(uint32_t); in getvolattrlist()
1229 ab.fixedcursor += sizeof(attribute_set_t); in getvolattrlist()
1557 if (!return_valid && (ab.fixedcursor - ab.base) != fixedsize) { in getvolattrlist()
1559 fixedsize, (long) (ab.fixedcursor - ab.base), alp->commonattr, alp->volattr); in getvolattrlist()
1837 uio_addiov(auio, CAST_USER_ADDR_T(abp->fixedcursor), in attr_pack_common()
1853 bzero(abp->fixedcursor, 32); in attr_pack_common()
1858 abp->fixedcursor += 32; in attr_pack_common()
1871 bcopy(&vap->va_finderinfo[0], abp->fixedcursor, fisize); in attr_pack_common()
1872 abp->fixedcursor += fisize; in attr_pack_common()
1875 bzero(abp->fixedcursor, fisize); in attr_pack_common()
1876 abp->fixedcursor += fisize; in attr_pack_common()
2916 ab.fixedcursor = ab.base + sizeof(uint32_t); in vfs_attr_pack_internal()
2918 ab.fixedcursor += sizeof(attribute_set_t); in vfs_attr_pack_internal()
2951 if (!return_valid && (ab.fixedcursor - ab.base) != fixedsize) { in vfs_attr_pack_internal()
2953 fixedsize, (long) (ab.fixedcursor - ab.base), alp->commonattr, alp->volattr); in vfs_attr_pack_internal()
3729 ab.fixedcursor = ab.base + sizeof(uint32_t); in get_error_attributes()
3735 bzero(ab.fixedcursor, fsiz); in get_error_attributes()
3746 ab.fixedcursor += sizeof(attribute_set_t); in get_error_attributes()