Searched refs:nsbuf (Results 1 – 2 of 2) sorted by relevance
/linux-2.4.37.9/fs/xfs/ |
D | xfs_dir_leaf.c | 439 int retval, i, sbsize, nsbuf, lastresid=0, want_entno; in xfs_dir_shortform_getdents() local 449 nsbuf = INT_GET(sf->hdr.count, ARCH_CONVERT) + 2; in xfs_dir_shortform_getdents() 450 sbsize = (nsbuf + 1) * sizeof(*sbuf); in xfs_dir_shortform_getdents() 507 qsort(sbuf, nsbuf, sizeof(*sbuf), xfs_dir_shortform_compare); in xfs_dir_shortform_getdents() 511 sbp->entno = nsbuf; in xfs_dir_shortform_getdents() 518 sbp < &sbuf[nsbuf + 1]; sbp++) { in xfs_dir_shortform_getdents() 535 for (sbp = sbuf; sbp < &sbuf[nsbuf + 1]; sbp++) { in xfs_dir_shortform_getdents() 545 if (sbp == &sbuf[nsbuf]) { in xfs_dir_shortform_getdents() 556 while (sbp < &sbuf[nsbuf]) { in xfs_dir_shortform_getdents()
|
D | xfs_attr_leaf.c | 438 int sbsize, nsbuf, count, i; in xfs_attr_shortform_list() local 507 nsbuf = 0; in xfs_attr_shortform_list() 542 nsbuf++; in xfs_attr_shortform_list() 548 qsort(sbuf, nsbuf, sizeof(*sbuf), xfs_attr_shortform_compare); in xfs_attr_shortform_list() 556 for (sbp = sbuf, i = 0; i < nsbuf; i++, sbp++) { in xfs_attr_shortform_list() 566 if (i == nsbuf) { in xfs_attr_shortform_list() 575 for ( ; i < nsbuf; i++, sbp++) { in xfs_attr_shortform_list()
|