Home
last modified time | relevance | path

Searched refs:tptr (Results 1 – 2 of 2) sorted by relevance

/fs/erofs/
Dtagptr.h53 #define tagptr_cast_ptr(tptr) ((void *)(tptr).v) argument
63 #define tagptr_unfold_ptr(tptr) \ argument
64 ((void *)((tptr).v & ~__tagptr_mask(tptr)))
66 #define tagptr_unfold_tags(tptr) \ argument
67 ((tptr).v & __tagptr_mask(tptr))
/fs/udf/
Dmisc.c277 struct tag *tptr = (struct tag *)data; in udf_update_tag() local
280 tptr->descCRCLength = cpu_to_le16(length); in udf_update_tag()
281 tptr->descCRC = cpu_to_le16(crc_itu_t(0, data + sizeof(struct tag), length)); in udf_update_tag()
282 tptr->tagChecksum = udf_tag_checksum(tptr); in udf_update_tag()
288 struct tag *tptr = (struct tag *)data; in udf_new_tag() local
289 tptr->tagIdent = cpu_to_le16(ident); in udf_new_tag()
290 tptr->descVersion = cpu_to_le16(version); in udf_new_tag()
291 tptr->tagSerialNum = cpu_to_le16(snum); in udf_new_tag()
292 tptr->tagLocation = cpu_to_le32(loc); in udf_new_tag()