Lines Matching defs:data
31 * (not counting any unstuffed data blocks)
89 ea_call_t ea_call, void *data)
106 error = ea_call(ip, bh, ea, prev, data);
125 static int ea_foreach(struct gfs2_inode *ip, ea_call_t ea_call, void *data)
136 error = ea_foreach_i(ip, bh, ea_call, data);
158 error = ea_foreach_i(ip, eabh, ea_call, data);
409 * Returns: actual size of data on success, -errno on error
443 * gfs2_iter_unstuffed - copies the unstuffed xattr data to/from the
447 * @din: The data to be copied in
448 * @dout: The data to be copied out (one of din,dout will be NULL)
519 char *data, size_t size)
527 memcpy(data, GFS2_EA2DATA(el->el_ea), len);
530 ret = gfs2_iter_unstuffed(ip, el->el_ea, NULL, data);
541 char *data;
552 data = kmalloc(len, GFP_NOFS);
554 if (data == NULL)
557 error = gfs2_ea_get_copy(ip, &el, data, len);
559 kfree(data);
561 *ppdata = data;
575 * Returns: actual size of data on success, -errno on error
692 const char *data = er->er_data;
716 memcpy(bh->b_data + mh_size, data, copy);
722 data += copy;
802 const void *data, size_t size)
811 er.er_data = (void *)data;
1124 * scheme of making a "set with NULL data" mean a remove request. Note
1125 * that this is different from a set with zero length data.