Searched refs:spd (Results 1 – 2 of 2) sorted by relevance
435 struct jffs2_sum_dirent_flash *spd; in jffs2_sum_process_sum_data() local437 spd = sp; in jffs2_sum_process_sum_data()440 jeb->offset + je32_to_cpu(spd->offset), in jffs2_sum_process_sum_data()441 jeb->offset + je32_to_cpu(spd->offset) + je32_to_cpu(spd->totlen)); in jffs2_sum_process_sum_data()445 checkedlen = strnlen(spd->name, spd->nsize); in jffs2_sum_process_sum_data()449 je32_to_cpu(spd->offset)); in jffs2_sum_process_sum_data()452 if (checkedlen < spd->nsize) { in jffs2_sum_process_sum_data()455 je32_to_cpu(spd->offset), in jffs2_sum_process_sum_data()464 memcpy(&fd->name, spd->name, checkedlen); in jffs2_sum_process_sum_data()467 ic = jffs2_scan_make_ino_cache(c, je32_to_cpu(spd->pino)); in jffs2_sum_process_sum_data()[all …]
185 struct splice_pipe_desc *spd) in splice_to_pipe() argument187 unsigned int spd_pages = spd->nr_pages; in splice_to_pipe()203 buf->page = spd->pages[page_nr]; in splice_to_pipe()204 buf->offset = spd->partial[page_nr].offset; in splice_to_pipe()205 buf->len = spd->partial[page_nr].len; in splice_to_pipe()206 buf->private = spd->partial[page_nr].private; in splice_to_pipe()207 buf->ops = spd->ops; in splice_to_pipe()214 if (!--spd->nr_pages) in splice_to_pipe()223 spd->spd_release(spd, page_nr++); in splice_to_pipe()253 int splice_grow_spd(const struct pipe_inode_info *pipe, struct splice_pipe_desc *spd) in splice_grow_spd() argument[all …]