Home
last modified time | relevance | path

Searched refs:ds_idx (Results 1 – 6 of 6) sorted by relevance

/OK3568_Linux_fs/yocto/poky/meta/recipes-extended/cpio/cpio-2.13/
H A DCVE-2021-38185.patch21 (ds_size) and index of the next free byte in the string (ds_idx).
285 + if (string->ds_idx == string->ds_size)
301 + s->ds_idx = len;
318 + s->ds_idx = 0;
333 + s->ds_string[s->ds_idx++] = next_ch;
337 + s->ds_string[s->ds_idx] = '\0';
340 + if (s->ds_idx == 0 && next_ch == EOF)
350 + s->ds_string[s->ds_idx] = c;
353 + s->ds_idx++;
355 + s->ds_string[s->ds_idx] = 0;
[all …]
/OK3568_Linux_fs/buildroot/package/cpio/
H A D0002-Rewrite-dynamic-string-support.patch13 (ds_size) and index of the next free byte in the string (ds_idx).
281 + if (string->ds_idx == string->ds_size)
297 + s->ds_idx = len;
314 + s->ds_idx = 0;
329 + s->ds_string[s->ds_idx++] = next_ch;
333 + s->ds_string[s->ds_idx] = '\0';
336 + if (s->ds_idx == 0 && next_ch == EOF)
346 + s->ds_string[s->ds_idx] = c;
349 + s->ds_idx++;
351 + s->ds_string[s->ds_idx] = 0;
[all …]
H A D0003-Fix-previous-commit.patch26 s->ds_idx = len;
35 memcpy (s->ds_string + s->ds_idx, str, len);
36 s->ds_idx += len;
37 s->ds_string[s->ds_idx] = 0;
/OK3568_Linux_fs/kernel/fs/nfs/filelayout/
H A Dfilelayoutdev.c262 nfs4_fl_prepare_ds(struct pnfs_layout_segment *lseg, u32 ds_idx) in nfs4_fl_prepare_ds() argument
265 struct nfs4_pnfs_ds *ds = dsaddr->ds_list[ds_idx]; in nfs4_fl_prepare_ds()
273 __func__, ds_idx); in nfs4_fl_prepare_ds()
H A Dfilelayout.h110 u32 ds_idx);
/OK3568_Linux_fs/kernel/fs/nfs/flexfilelayout/
H A Dflexfilelayout.c841 u32 ds_idx; in ff_layout_pg_init_read() local
857 ds = ff_layout_get_ds_for_read(pgio, &ds_idx); in ff_layout_pg_init_read()
867 mirror = FF_LAYOUT_COMP(pgio->pg_lseg, ds_idx); in ff_layout_pg_init_read()
871 pgio->pg_mirror_idx = ds_idx; in ff_layout_pg_init_read()