Home
last modified time | relevance | path

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

/linux-6.6.21/lib/zlib_inflate/
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()
Dinflate.h106 unsigned ndist; /* number of distance code lengths */ member
/linux-6.6.21/fs/ceph/
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()
Dsuper.h277 int ndist; /* >0 if replicated */ member
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()
/linux-6.6.21/include/linux/ceph/
Dceph_fs.h609 __le32 ndist; /* number of mds' this is replicated on */ member