Home | History | Annotate | Download | only in chfs

Lines Matching defs:opts

117 	chfs_opt_t *opts;
121 opts = fsopts->fs_specific;
125 if ((uint32_t)opts->pagesize < MINSIZE)
127 buf = emalloc(opts->pagesize);
136 opts->pagesize - CHFS_EB_EC_HDR_SIZE);
138 buf_write(fsopts, buf, opts->pagesize);
140 memset(buf, 0xFF, opts->pagesize);
142 if (opts->mediatype == TYPE_NAND) {
157 buf_write(fsopts, buf, opts->pagesize);
231 chfs_opt_t *opts;
235 opts = fsopts->fs_specific;
236 buf = emalloc(opts->pagesize);
246 while ((len = read(fd, buf, opts->pagesize))) {