Lines Matching defs:data

144 	 * command (since protocol v2, data must be the last attribute).
198 * need to issue write commands for data extents from this inode.
659 static int tlv_put(struct send_ctx *sctx, u16 attr, const void *data, int len)
674 memcpy(hdr + 1, data, len);
716 #define TLV_PUT(sctx, attrtype, data, attrlen) \
718 ret = tlv_put(sctx, attrtype, data, attrlen); \
730 #define TLV_PUT_U8(sctx, attrtype, data) TLV_PUT_INT(sctx, attrtype, 8, data)
731 #define TLV_PUT_U16(sctx, attrtype, data) TLV_PUT_INT(sctx, attrtype, 16, data)
732 #define TLV_PUT_U32(sctx, attrtype, data) TLV_PUT_INT(sctx, attrtype, 32, data)
733 #define TLV_PUT_U64(sctx, attrtype, data) TLV_PUT_INT(sctx, attrtype, 64, data)
1098 const char *data, int data_len,
1296 /* The owner (root id) of the data backref for the current extent. */
1298 /* The offset of the data backref for the current extent. */
1681 * data from the new extent location. Otherwise we will fail
4620 const struct recorded_ref *data = k;
4624 if (data->dir > ref->dir)
4626 if (data->dir < ref->dir)
4628 if (data->dir_gen > ref->dir_gen)
4630 if (data->dir_gen < ref->dir_gen)
4632 if (data->name_len > ref->name_len)
4634 if (data->name_len < ref->name_len)
4636 result = strcmp(data->name, ref->name);
4699 struct recorded_ref data;
4707 data.dir = dir;
4708 data.dir_gen = dir_gen;
4709 set_ref_path(&data, name);
4710 node = rb_find(&data, &sctx->rbtree_deleted_refs, rbtree_ref_comp);
4729 struct recorded_ref data;
4737 data.dir = dir;
4738 data.dir_gen = dir_gen;
4739 set_ref_path(&data, name);
4740 node = rb_find(&data, &sctx->rbtree_new_refs, rbtree_ref_comp);
4867 const char *data, int data_len)
4877 TLV_PUT(sctx, BTRFS_SEND_A_XATTR_DATA, data, data_len);
4907 const char *name, int name_len, const char *data,
4925 * data in xattrs. Problem with that is, that receiving these zero byte
4934 data = (char *)&dummy_acl;
4943 ret = send_set_xattr(sctx, p, name, name_len, data, data_len);
4952 const char *data, int data_len, void *ctx)
4998 int name_len, const char *data, int data_len, void *vctx)
5006 ctx->found_data = kmemdup(data, data_len, GFP_KERNEL);
5018 char **data, int *data_len)
5035 if (data) {
5036 *data = ctx.found_data;
5047 const char *data, int data_len,
5059 ret = __process_new_xattr(num, di_key, name, name_len, data,
5063 memcmp(data, found_data, data_len)) {
5065 data, data_len, ctx);
5077 const char *data, int data_len,
5086 ret = __process_deleted_xattr(num, di_key, name, name_len, data,
5236 * Since v2, the data attribute header doesn't include a length,
5649 * between the beginning of the command and the file data.
5712 * Send the compressed extent unless the compressed data is
5713 * larger than the decompressed data. This can happen if we're
5744 * cache, so after reading extents and sending their data, we clean
5746 * to the page cache and forcing eviction of other data more useful
6040 * trying to clone or will silently corrupt the data in
6043 * ("Btrfs: fix data corruption due to cloning of eof
6087 * receiver fallback to decompression of the data and
6288 * compressed extent representing data with a size matching
7566 * make us clone the wrong data in case there are new extents using the old
8019 * operation so that we do not miss any data and we do not race with writeback