Lines Matching refs:a

394 static inline void lfs_gstate_xor(lfs_gstate_t *a, const lfs_gstate_t *b) {  in lfs_gstate_xor()  argument
396 ((uint32_t*)a)[i] ^= ((const uint32_t*)b)[i]; in lfs_gstate_xor()
400 static inline bool lfs_gstate_iszero(const lfs_gstate_t *a) { in lfs_gstate_iszero() argument
402 if (((uint32_t*)a)[i] != 0) { in lfs_gstate_iszero()
410 static inline bool lfs_gstate_hasorphans(const lfs_gstate_t *a) { in lfs_gstate_hasorphans() argument
411 return lfs_tag_size(a->tag); in lfs_gstate_hasorphans()
414 static inline uint8_t lfs_gstate_getorphans(const lfs_gstate_t *a) { in lfs_gstate_getorphans() argument
415 return lfs_tag_size(a->tag) & 0x1ff; in lfs_gstate_getorphans()
418 static inline bool lfs_gstate_hasmove(const lfs_gstate_t *a) { in lfs_gstate_hasmove() argument
419 return lfs_tag_type1(a->tag); in lfs_gstate_hasmove()
423 static inline bool lfs_gstate_needssuperblock(const lfs_gstate_t *a) { in lfs_gstate_needssuperblock() argument
424 return lfs_tag_size(a->tag) >> 9; in lfs_gstate_needssuperblock()
427 static inline bool lfs_gstate_hasmovehere(const lfs_gstate_t *a, in lfs_gstate_hasmovehere() argument
429 return lfs_tag_type1(a->tag) && lfs_pair_cmp(a->pair, pair) == 0; in lfs_gstate_hasmovehere()
432 static inline void lfs_gstate_fromle32(lfs_gstate_t *a) { in lfs_gstate_fromle32() argument
433 a->tag = lfs_fromle32(a->tag); in lfs_gstate_fromle32()
434 a->pair[0] = lfs_fromle32(a->pair[0]); in lfs_gstate_fromle32()
435 a->pair[1] = lfs_fromle32(a->pair[1]); in lfs_gstate_fromle32()
439 static inline void lfs_gstate_tole32(lfs_gstate_t *a) { in lfs_gstate_tole32() argument
440 a->tag = lfs_tole32(a->tag); in lfs_gstate_tole32()
441 a->pair[0] = lfs_tole32(a->pair[0]); in lfs_gstate_tole32()
442 a->pair[1] = lfs_tole32(a->pair[1]); in lfs_gstate_tole32()
1028 const struct lfs_attr *a = buffer; in lfs_dir_traverse() local
1029 res = cb(data, LFS_MKTAG(LFS_TYPE_USERATTR + a[i].type, in lfs_dir_traverse()
1030 lfs_tag_id(tag) + diff, a[i].size), a[i].buffer); in lfs_dir_traverse()