Lines Matching refs:data
26 * check data at a later time. So for example you would:
28 * write data
37 * close to the order in which the data hits the actual disk, not its cache. So
47 * on data being written before invoking a FLUSH. FUA bypasses cache so once it
52 * way we would process all the discards first and then write all the data, when
53 * in fact we want to do the data and the discard in the order that they
73 * [log_write_entry][ data written ]
93 * data_len - the size of the data in this log entry, this is for private log
94 * entry stuff, the MARK data provided by userspace for example.
128 char *data;
207 kfree(block->data);
213 size_t entrylen, void *data, size_t datalen,
238 memcpy(ptr + entrylen, data, datalen);
259 size_t entrylen, void *data, size_t datalen,
286 DMERR("Couldn't alloc inline data page");
291 memcpy(ptr, data, pg_datalen);
298 DMERR("Couldn't add page of inline data");
304 data += pg_datalen;
332 if (write_metadata(lc, &entry, sizeof(entry), block->data,
341 if (write_inline_data(lc, &entry, sizeof(entry), block->data,
346 /* we don't support both inline data & bio data */
391 kfree(block->data);
584 static int log_mark(struct log_writes_c *lc, char *data)
595 block->data = kstrndup(data, maxsize - 1, GFP_KERNEL);
596 if (!block->data) {
597 DMERR("Error copying mark data");
602 block->datalen = strlen(block->data);
674 * Discards will have bi_size set but there's no actual data, so just
706 /* We don't need the data, just submit */
725 * the actual contents into new pages so we know the data will always be
755 /* Had a flush with data in it, weird */
837 void *data)
841 return fn(ti, lc->dev, 0, ti->len, data);
846 * mark <mark data> - specify the marked data.