Searched refs:ndist (Results 1 - 12 of 12) sorted by relevance
/kernel/linux/linux-5.10/lib/zlib_inflate/ |
H A D | inflate.c | 470 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()
|
H A D | inflate.h | 106 unsigned ndist; /* number of distance code lengths */ member
|
/kernel/linux/linux-6.6/lib/zlib_inflate/ |
H A D | inflate.c | 470 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()
|
H A D | inflate.h | 106 unsigned ndist; /* number of distance code lengths */ member
|
/kernel/linux/linux-5.10/fs/ceph/ |
H A D | inode.c | 155 frag->ndist = 0; in __get_or_create_frag() 245 * fragment in tree ONLY if ndist > 0. Otherwise, only 255 int ndist = le32_to_cpu(dirinfo->ndist); in ceph_fill_dirfrag() local 269 if (ndist == 0 && mds == diri_auth) { in ceph_fill_dirfrag() 285 frag->ndist = 0; in ceph_fill_dirfrag() 303 frag->ndist = min_t(u32, ndist, CEPH_MAX_DIRFRAG_REP); in ceph_fill_dirfrag() 304 for (i = 0; i < frag->ndist; i++) in ceph_fill_dirfrag() 306 dout("fill_dirfrag %llx.%llx frag %x ndist in ceph_fill_dirfrag() [all...] |
H A D | super.h | 240 * delegation info. That is, if mds >= 0 || ndist > 0. 253 int ndist; /* >0 if replicated */ member
|
H A D | mds_client.c | 246 *p += sizeof(**dirfrag) + sizeof(u32) * le32_to_cpu((*dirfrag)->ndist); in parse_reply_info_dir() 1116 if (mode == USE_ANY_MDS && frag.ndist > 0) { in __choose_mds() 1121 r %= frag.ndist; in __choose_mds() 1125 frag.frag, mds, (int)r, frag.ndist); in __choose_mds()
|
/kernel/linux/linux-6.6/fs/ceph/ |
H A D | inode.c | 277 frag->ndist = 0; in __get_or_create_frag() 367 * fragment in tree ONLY if ndist > 0. Otherwise, only 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() 428 dout("fill_dirfrag %llx.%llx frag %x ndist in ceph_fill_dirfrag() [all...] |
H A D | mds_client.c | 301 *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()
|
H A D | super.h | 264 * delegation info. That is, if mds >= 0 || ndist > 0. 277 int ndist; /* >0 if replicated */ member
|
/kernel/linux/linux-5.10/include/linux/ceph/ |
H A D | ceph_fs.h | 542 __le32 ndist; /* number of mds' this is replicated on */ member
|
/kernel/linux/linux-6.6/include/linux/ceph/ |
H A D | ceph_fs.h | 609 __le32 ndist; /* number of mds' this is replicated on */ member
|
Completed in 27 milliseconds