Searched refs:spd (Results 1 – 2 of 2) sorted by relevance
175 struct splice_pipe_desc *spd) in splice_to_pipe() argument177 unsigned int spd_pages = spd->nr_pages; in splice_to_pipe()199 buf->page = spd->pages[page_nr]; in splice_to_pipe()200 buf->offset = spd->partial[page_nr].offset; in splice_to_pipe()201 buf->len = spd->partial[page_nr].len; in splice_to_pipe()202 buf->private = spd->partial[page_nr].private; in splice_to_pipe()203 buf->ops = spd->ops; in splice_to_pipe()204 if (spd->flags & SPLICE_F_GIFT) in splice_to_pipe()214 if (!--spd->nr_pages) in splice_to_pipe()222 if (spd->flags & SPLICE_F_NONBLOCK) { in splice_to_pipe()[all …]
433 struct jffs2_sum_dirent_flash *spd; in jffs2_sum_process_sum_data() local435 spd = sp; in jffs2_sum_process_sum_data()438 jeb->offset + je32_to_cpu(spd->offset), in jffs2_sum_process_sum_data()439 jeb->offset + je32_to_cpu(spd->offset) + je32_to_cpu(spd->totlen)); in jffs2_sum_process_sum_data()443 checkedlen = strnlen(spd->name, spd->nsize); in jffs2_sum_process_sum_data()446 jeb->offset + je32_to_cpu(spd->offset)); in jffs2_sum_process_sum_data()449 if (checkedlen < spd->nsize) { in jffs2_sum_process_sum_data()451 jeb->offset + je32_to_cpu(spd->offset), checkedlen); in jffs2_sum_process_sum_data()459 memcpy(&fd->name, spd->name, checkedlen); in jffs2_sum_process_sum_data()462 ic = jffs2_scan_make_ino_cache(c, je32_to_cpu(spd->pino)); in jffs2_sum_process_sum_data()[all …]