Home
last modified time | relevance | path

Searched refs:ndist (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/lib/zlib_inflate/
H A Dinflate.h106 unsigned ndist; /* number of distance code lengths */ member
H A Dinflate.c470 state->ndist = BITS(5) + 1; in zlib_inflate()
475 if (state->nlen > 286 || state->ndist > 30) { in zlib_inflate()
506 while (state->have < state->nlen + state->ndist) { in zlib_inflate()
544 if (state->have + copy > state->nlen + state->ndist) { in zlib_inflate()
570 ret = zlib_inflate_table(DISTS, state->lens + state->nlen, state->ndist, in zlib_inflate()
/openbmc/u-boot/lib/zlib/
H A Dinflate.h109 unsigned ndist; /* number of distance code lengths */ member
H A Dinflate.c614 state->ndist = BITS(5) + 1; in inflate()
619 if (state->nlen > 286 || state->ndist > 30) { in inflate()
650 while (state->have < state->nlen + state->ndist) { in inflate()
688 if (state->have + copy > state->nlen + state->ndist) { in inflate()
714 ret = inflate_table(DISTS, state->lens + state->nlen, state->ndist, in inflate()
/openbmc/linux/fs/ceph/
H A Dinode.c277 frag->ndist = 0; in __get_or_create_frag()
377 int ndist = le32_to_cpu(dirinfo->ndist); in ceph_fill_dirfrag() local
391 if (ndist == 0 && mds == diri_auth) { in ceph_fill_dirfrag()
407 frag->ndist = 0; in ceph_fill_dirfrag()
425 frag->ndist = min_t(u32, ndist, CEPH_MAX_DIRFRAG_REP); in ceph_fill_dirfrag()
426 for (i = 0; i < frag->ndist; i++) in ceph_fill_dirfrag()
429 ceph_vinop(inode), frag->frag, frag->ndist); in ceph_fill_dirfrag()
H A Dsuper.h277 int ndist; /* >0 if replicated */ member
H A Dmds_client.c301 *p += sizeof(**dirfrag) + sizeof(u32) * le32_to_cpu((*dirfrag)->ndist); in parse_reply_info_dir()
1358 if (mode == USE_ANY_MDS && frag.ndist > 0) { in __choose_mds()
1363 r %= frag.ndist; in __choose_mds()
1367 frag.frag, mds, (int)r, frag.ndist); in __choose_mds()
/openbmc/linux/include/linux/ceph/
H A Dceph_fs.h609 __le32 ndist; /* number of mds' this is replicated on */ member