Home
last modified time | relevance | path

Searched refs:INODE_REF (Results 1 – 9 of 9) sorted by relevance

/reactos/drivers/filesystems/btrfs/
H A Dtreefuncs.c1277 INODE_REF* delir = (INODE_REF*)bi->data; in add_delete_inode_extref()
1446 INODE_REF* ir = (INODE_REF*)bi->data; in handle_batch_collision()
1625 if (td->size < sizeof(INODE_REF)) { in handle_batch_collision()
1626 … ERR("INODE_REF was %u bytes, expected at least %Iu\n", td->size, sizeof(INODE_REF)); in handle_batch_collision()
1629 INODE_REF *ir, *delir; in handle_batch_collision()
1633 delir = (INODE_REF*)bi->data; in handle_batch_collision()
1634 ir = (INODE_REF*)td->data; in handle_batch_collision()
1640 if (len < sizeof(INODE_REF) || len < offsetof(INODE_REF, name[0]) + ir->n) { in handle_batch_collision()
1645 itemlen = (uint16_t)offsetof(INODE_REF, name[0]) + ir->n; in handle_batch_collision()
1700 ir = (INODE_REF*)&ir->name[ir->n]; in handle_batch_collision()
H A Dsend.c721 INODE_REF* ir = (INODE_REF*)tp.item->data; in find_send_dir()
724 … if (tp.item->size < sizeof(INODE_REF) || tp.item->size < offsetof(INODE_REF, name[0]) + ir->n) { in find_send_dir()
774 INODE_REF* ir; in send_inode_ref()
782 if (tp->item->size < sizeof(INODE_REF)) { in send_inode_ref()
784 tp->item->size, sizeof(INODE_REF)); in send_inode_ref()
843 ir = (INODE_REF*)tp->item->data; in send_inode_ref()
848 if (len < sizeof(INODE_REF) || len < offsetof(INODE_REF, name[0]) + ir->n) { in send_inode_ref()
866 ir = (INODE_REF*)&ir->name[ir->n]; in send_inode_ref()
1871 INODE_REF* ir = (INODE_REF*)tp.item->data; in send_add_tlv_clone_path()
1873 … if (tp.item->size < sizeof(INODE_REF) || tp.item->size < offsetof(INODE_REF, name[0]) + ir->n) { in send_add_tlv_clone_path()
[all …]
H A Dbtrfs.h378 } INODE_REF; typedef
H A Dcreate.c835 INODE_REF* ir;
838 ir = (INODE_REF*)tp.item->data;
840 while (len >= sizeof(INODE_REF) - 1) {
895 len -= sizeof(INODE_REF) - 1 + ir->n;
896 ir = (INODE_REF*)&ir->name[ir->n];
4214 INODE_REF* ir = (INODE_REF*)tp.item->data;
4216 …if (tp.item->size < offsetof(INODE_REF, name[0]) || tp.item->size < offsetof(INODE_REF, name[0]) +…
H A Dflushthread.c6591 INODE_REF* ir; in flush_fileref()
6593 …ir = ExAllocatePoolWithTag(PagedPool, sizeof(INODE_REF) - 1 + fileref->dc->utf8.Length, ALLOC_TAG); in flush_fileref()
6604 ir, sizeof(INODE_REF) - 1 + ir->n, Batch_InodeRef); in flush_fileref()
6669 INODE_REF* ir; in flush_fileref()
6673 ir = ExAllocatePoolWithTag(PagedPool, sizeof(INODE_REF) - 1 + name->Length, ALLOC_TAG); in flush_fileref()
6684 … fileref->parent->fcb->inode, ir, sizeof(INODE_REF) - 1 + name->Length, Batch_DeleteInodeRef); in flush_fileref()
6795 INODE_REF *ir, *ir2; in flush_fileref()
6799 … ir = ExAllocatePoolWithTag(PagedPool, sizeof(INODE_REF) - 1 + oldutf8->Length, ALLOC_TAG); in flush_fileref()
6811 … ir, sizeof(INODE_REF) - 1 + ir->n, Batch_DeleteInodeRef); in flush_fileref()
6821 …ir2 = ExAllocatePoolWithTag(PagedPool, sizeof(INODE_REF) - 1 + fileref->dc->utf8.Length, ALLOC_TAG… in flush_fileref()
[all …]
H A Dscrub.c159 INODE_REF* ir = (INODE_REF*)tp.item->data; in log_file_checksum_error()
162 if (tp.item->size < sizeof(INODE_REF)) { in log_file_checksum_error()
163 …tp.item->key.obj_id, tp.item->key.obj_type, tp.item->key.offset, tp.item->size, sizeof(INODE_REF)); in log_file_checksum_error()
167 if (tp.item->size < offsetof(INODE_REF, name[0]) + ir->n) { in log_file_checksum_error()
169 tp.item->size, offsetof(INODE_REF, name[0]) + ir->n); in log_file_checksum_error()
H A Dfsctl.c760 INODE_REF* ir; in create_subvol()
1032 irsize = (uint16_t)(offsetof(INODE_REF, name[0]) + sizeof(DOTDOT) - 1); in create_subvol()
H A Dbtrfs.c3133 INODE_REF* ir;
3181 irlen = (uint16_t)offsetof(INODE_REF, name[0]) + 2;
/reactos/sdk/lib/fslib/btrfslib/
H A Dbtrfslib.c905 INODE_REF* ir = malloc(offsetof(INODE_REF, name[0]) + name_len);
911 add_item(r, inode, TYPE_INODE_REF, parent, ir, (uint16_t)offsetof(INODE_REF, name[0]) + ir->n);