Lines Matching refs:oe
2951 struct OPEN_ATTR_ENRTY *oe = NULL;
2953 while ((oe = enum_rstbl(log->open_attr_tbl, oe))) {
2956 if (ino_get(&oe->ref) != rno)
2959 op_attr = (struct OpenAttr *)oe->ptr;
3015 static int do_action(struct ntfs_log *log, struct OPEN_ATTR_ENRTY *oe,
3048 oa = oe->ptr;
3156 t32 = le32_to_cpu(oe->bytes_per_index);
3737 struct OPEN_ATTR_ENRTY *oe;
4292 oe = NULL;
4293 while ((oe = enum_rstbl(oatbl, oe))) {
4297 /* Really 'oe' points to OPEN_ATTR_ENRTY_32. */
4298 memcpy(&oe0, oe, SIZEOF_OPENATTRIBUTEENTRY0);
4300 oe->bytes_per_index = oe0.bytes_per_index;
4301 oe->type = oe0.type;
4302 oe->is_dirty_pages = oe0.is_dirty_pages;
4303 oe->name_len = 0;
4304 oe->ref = oe0.ref;
4305 oe->open_record_lsn = oe0.open_record_lsn;
4308 oe->is_attr_name = 0;
4309 oe->ptr = NULL;
4320 oe = Add2Ptr(oatbl, le16_to_cpu(ane->off));
4322 oe->name_len = t16 / sizeof(short);
4323 oe->ptr = ane->name;
4324 oe->is_attr_name = 2;
4545 oe = alloc_rsttbl_from_idx(&oatbl, t16);
4547 if (!oe) {
4558 oe->bytes_per_index = oe0->bytes_per_index;
4559 oe->type = oe0->type;
4560 oe->is_dirty_pages = oe0->is_dirty_pages;
4561 oe->name_len = 0; //oe0.name_len;
4562 oe->ref = oe0->ref;
4563 oe->open_record_lsn = oe0->open_record_lsn;
4565 memcpy(oe, Add2Ptr(lrh, t16), bytes_per_attr_entry);
4570 oe->ptr = kmalloc(t16, GFP_NOFS);
4571 if (!oe->ptr) {
4575 oe->name_len = t16 / sizeof(short);
4576 memcpy(oe->ptr,
4578 oe->is_attr_name = 1;
4580 oe->ptr = NULL;
4581 oe->is_attr_name = 0;
4668 oe = NULL;
4671 oe = enum_rstbl(oatbl, oe);
4672 if (!oe) {
4684 inode = ntfs_iget5(sbi->sb, &oe->ref, NULL);
4696 attr = attr_create_nonres_log(sbi, oe->type, 0, oe->ptr,
4697 oe->name_len, 0);
4711 attr = ni_find_attr(ni_oe, NULL, NULL, oe->type, oe->ptr, oe->name_len,
4760 if (oe->is_attr_name == 1)
4761 kfree(oe->ptr);
4762 oe->is_attr_name = 0;
4763 oe->ptr = oa;
4764 oe->name_len = attr->name_len;
4777 oe = Add2Ptr(oatbl, le32_to_cpu(dp->target_attr));
4779 if (oe->next != RESTART_ENTRY_ALLOCATED_LE)
4782 oa = oe->ptr;
4798 rno = ino_get(&oe->ref);
4801 oe->type == ATTR_DATA) {
4881 oe = Add2Ptr(oatbl, t16);
4883 if (oe->next != RESTART_ENTRY_ALLOCATED_LE) {
4888 oa = oe->ptr;
4954 err = do_action(log, oe, lrh, t16, data, dlen, rec_len, &rec_lsn);
5014 oe = Add2Ptr(oatbl, le16_to_cpu(lrh->target_attr));
5015 oa = oe->ptr;
5060 err = do_action(log, oe, lrh, t16, data, dlen, rec_len, NULL);
5144 oe = NULL;
5145 while ((oe = enum_rstbl(oatbl, oe))) {
5146 rno = ino_get(&oe->ref);
5148 if (oe->is_attr_name == 1) {
5149 kfree(oe->ptr);
5150 oe->ptr = NULL;
5154 if (oe->is_attr_name)
5157 oa = oe->ptr;