Lines Matching refs:p_ea
253 const EA_ATTR *p_ea; in ntfs_set_ntfs_ea() local
264 p_ea = (const EA_ATTR*)&value[offs]; in ntfs_set_ntfs_ea()
265 nextoffs = offs + le32_to_cpu(p_ea->next_entry_offset); in ntfs_set_ntfs_ea()
270 && p_ea->name_length in ntfs_set_ntfs_ea()
273 + p_ea->name_length + 1 in ntfs_set_ntfs_ea()
274 + le16_to_cpu(p_ea->value_length)) in ntfs_set_ntfs_ea()
277 + p_ea->name_length + 1 in ntfs_set_ntfs_ea()
278 + le16_to_cpu(p_ea->value_length)) in ntfs_set_ntfs_ea()
280 && !p_ea->name[p_ea->name_length]; in ntfs_set_ntfs_ea()
283 if (p_ea->flags & NEED_EA) in ntfs_set_ntfs_ea()
291 ea_packed += 5 + p_ea->name_length in ntfs_set_ntfs_ea()
292 + le16_to_cpu(p_ea->value_length); in ntfs_set_ntfs_ea()
416 const EA_ATTR *p_ea; in ntfs_ea_check_wsldev() local
447 p_ea = (const EA_ATTR*)&buf[offset]; in ntfs_ea_check_wsldev()
448 next = le32_to_cpu(p_ea->next_entry_offset); in ntfs_ea_check_wsldev()
450 && (p_ea->name_length == (sizeof(lxdev) - 1)) in ntfs_ea_check_wsldev()
451 && (p_ea->value_length in ntfs_ea_check_wsldev()
453 && !memcmp(p_ea->name, lxdev, sizeof(lxdev))); in ntfs_ea_check_wsldev()
459 memcpy(&device, &p_ea->name[p_ea->name_length + 1], in ntfs_ea_check_wsldev()