Home
last modified time | relevance | path

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

/Linux-v5.4/lib/zlib_inflate/
Dinflate.c455 state->ndist = BITS(5) + 1; in zlib_inflate()
460 if (state->nlen > 286 || state->ndist > 30) { in zlib_inflate()
491 while (state->have < state->nlen + state->ndist) { in zlib_inflate()
529 if (state->have + copy > state->nlen + state->ndist) { in zlib_inflate()
555 ret = zlib_inflate_table(DISTS, state->lens + state->nlen, state->ndist, in zlib_inflate()
Dinflate.h104 unsigned ndist; /* number of distance code lengths */ member
/Linux-v5.4/fs/ceph/
Dinode.c143 frag->ndist = 0; in __get_or_create_frag()
243 int ndist = le32_to_cpu(dirinfo->ndist); in ceph_fill_dirfrag() local
257 if (ndist == 0 && mds == diri_auth) { in ceph_fill_dirfrag()
273 frag->ndist = 0; in ceph_fill_dirfrag()
291 frag->ndist = min_t(u32, ndist, CEPH_MAX_DIRFRAG_REP); in ceph_fill_dirfrag()
292 for (i = 0; i < frag->ndist; i++) in ceph_fill_dirfrag()
295 ceph_vinop(inode), frag->frag, frag->ndist); in ceph_fill_dirfrag()
Dsuper.h246 int ndist; /* >0 if replicated */ member
Dmds_client.c244 *p += sizeof(**dirfrag) + sizeof(u32) * le32_to_cpu((*dirfrag)->ndist); in parse_reply_info_dir()
962 if (mode == USE_ANY_MDS && frag.ndist > 0) { in __choose_mds()
967 r %= frag.ndist; in __choose_mds()
973 (int)r, frag.ndist); in __choose_mds()
/Linux-v5.4/include/linux/ceph/
Dceph_fs.h536 __le32 ndist; /* number of mds' this is replicated on */ member