leaf              214 arch/x86/kernel/cpu/intel_cacheinfo.c 	switch (leaf) {
leaf              247 arch/x86/kernel/cpu/intel_cacheinfo.c 	eax->split.type = types[leaf];
leaf              248 arch/x86/kernel/cpu/intel_cacheinfo.c 	eax->split.level = levels[leaf];
leaf              249 arch/x86/kernel/cpu/intel_cacheinfo.c 	if (leaf == 3)
leaf              639 arch/x86/kernel/cpu/intel_cacheinfo.c 	return show_shared_cpu_map_func(leaf, 0, buf);
leaf              644 arch/x86/kernel/cpu/intel_cacheinfo.c 	return show_shared_cpu_map_func(leaf, 1, buf);
leaf             1838 fs/ext4/extents.c 	ext4_fsblk_t leaf;
leaf             1842 fs/ext4/extents.c 	leaf = idx_pblock(path->p_idx);
leaf             1851 fs/ext4/extents.c 	ext_debug("index is empty, remove it, free block %llu\n", leaf);
leaf             1852 fs/ext4/extents.c 	bh = sb_find_get_block(inode->i_sb, leaf);
leaf             1853 fs/ext4/extents.c 	ext4_forget(handle, 1, inode, bh, leaf);
leaf             1854 fs/ext4/extents.c 	ext4_free_blocks(handle, inode, leaf, 1, 1);
leaf              759 fs/gfs2/dir.c  		struct gfs2_leaf *leaf;
leaf              777 fs/gfs2/dir.c  			leaf = (struct gfs2_leaf *)bh->b_data;
leaf              778 fs/gfs2/dir.c  			ln = be64_to_cpu(leaf->lf_next);
leaf              809 fs/gfs2/dir.c  	struct gfs2_leaf *leaf;
leaf              817 fs/gfs2/dir.c  	leaf = (struct gfs2_leaf *)bh->b_data;
leaf              818 fs/gfs2/dir.c  	leaf->lf_depth = cpu_to_be16(depth);
leaf              819 fs/gfs2/dir.c  	leaf->lf_entries = 0;
leaf              820 fs/gfs2/dir.c  	leaf->lf_dirent_format = cpu_to_be32(GFS2_FORMAT_DE);
leaf              821 fs/gfs2/dir.c  	leaf->lf_next = 0;
leaf              822 fs/gfs2/dir.c  	memset(leaf->lf_reserved, 0, sizeof(leaf->lf_reserved));
leaf              823 fs/gfs2/dir.c  	dent = (struct gfs2_dirent *)(leaf+1);
leaf              826 fs/gfs2/dir.c  	return leaf;
leaf              843 fs/gfs2/dir.c  	struct gfs2_leaf *leaf;
leaf              856 fs/gfs2/dir.c  	leaf = new_leaf(inode, &bh, 0);
leaf              857 fs/gfs2/dir.c  	if (!leaf)
leaf              862 fs/gfs2/dir.c  	leaf->lf_entries = cpu_to_be16(dip->i_di.di_entries);
leaf             1273 fs/gfs2/dir.c  	int leaf = 0;
leaf             1332 fs/gfs2/dir.c  			larr[leaf++] = bh;
leaf             1342 fs/gfs2/dir.c  	for(i = 0; i < leaf; i++)
leaf             1546 fs/gfs2/dir.c  	struct gfs2_leaf *leaf, *oleaf;
leaf             1568 fs/gfs2/dir.c  	leaf = new_leaf(inode, &bh, be16_to_cpu(oleaf->lf_depth));
leaf             1569 fs/gfs2/dir.c  	if (!leaf) {
leaf             1603 fs/gfs2/dir.c  	struct gfs2_leaf *leaf;
leaf             1616 fs/gfs2/dir.c  				leaf = (struct gfs2_leaf *)bh->b_data;
leaf             1617 fs/gfs2/dir.c  				be16_add_cpu(&leaf->lf_entries, 1);
leaf             1695 fs/gfs2/dir.c  		struct gfs2_leaf *leaf = (struct gfs2_leaf *)bh->b_data;
leaf             1696 fs/gfs2/dir.c  		u16 entries = be16_to_cpu(leaf->lf_entries);
leaf             1699 fs/gfs2/dir.c  		leaf->lf_entries = cpu_to_be16(--entries);
leaf             1778 fs/gfs2/dir.c  	struct gfs2_leaf *leaf;
leaf             1817 fs/gfs2/dir.c  			leaf = (struct gfs2_leaf *)bh->b_data;
leaf             1818 fs/gfs2/dir.c  			len = 1 << (dip->i_depth - be16_to_cpu(leaf->lf_depth));
leaf             1126 fs/jfs/jfs_dmap.c 	s8 *leaf;
leaf             1137 fs/jfs/jfs_dmap.c 	leaf = dp->tree.stree + le32_to_cpu(dp->tree.leafidx);
leaf             1154 fs/jfs/jfs_dmap.c 	if (leaf[word] == NOFREE)
leaf             1201 fs/jfs/jfs_dmap.c 				if (leaf[word] < BUDMIN)
leaf             1208 fs/jfs/jfs_dmap.c 				    min((int)leaf[word], NLSTOL2BSZ(nwords));
leaf             1258 fs/jfs/jfs_dmap.c 	s8 *leaf;
leaf             1266 fs/jfs/jfs_dmap.c 	leaf = dp->tree.stree + le32_to_cpu(dp->tree.leafidx);
leaf             1280 fs/jfs/jfs_dmap.c 		if (leaf[word] < l2nb)
leaf             1293 fs/jfs/jfs_dmap.c 		if (leaf[word] < BUDMIN)
leaf             2076 fs/jfs/jfs_dmap.c 	s8 *leaf;
leaf             2079 fs/jfs/jfs_dmap.c 	leaf = dp->tree.stree + LEAFIND;
leaf             2145 fs/jfs/jfs_dmap.c 				if (leaf[word] < BUDMIN) {
leaf             2157 fs/jfs/jfs_dmap.c 				size = min((int)leaf[word], NLSTOL2BSZ(nwords));
leaf             2559 fs/jfs/jfs_dmap.c 	s8 *leaf = tp->dmt_stree + le32_to_cpu(tp->dmt_leafidx);
leaf             2563 fs/jfs/jfs_dmap.c 	if (leaf[leafno] > tp->dmt_budmin) {
leaf             2569 fs/jfs/jfs_dmap.c 		cursz = leaf[leafno] - 1;
leaf             2624 fs/jfs/jfs_dmap.c 	s8 *leaf = tp->dmt_stree + le32_to_cpu(tp->dmt_leafidx);
leaf             2629 fs/jfs/jfs_dmap.c 	assert(leaf[leafno] == NOFREE);
leaf             2650 fs/jfs/jfs_dmap.c 	while (leaf[leafno] == NOFREE) {
leaf             2666 fs/jfs/jfs_dmap.c 			if (leaf[bud] != NOFREE) {
leaf             2670 fs/jfs/jfs_dmap.c 				cursz = leaf[bud] - 1;
leaf             2677 fs/jfs/jfs_dmap.c 	if (leaf[leafno] != size) {
leaf             2702 fs/jfs/jfs_dmap.c 	s8 *leaf;
leaf             2709 fs/jfs/jfs_dmap.c 		leaf = tp->dmt_stree + le32_to_cpu(tp->dmt_leafidx);
leaf             2736 fs/jfs/jfs_dmap.c 			if (newval > leaf[buddy])
leaf             2740 fs/jfs/jfs_dmap.c 			if (newval < leaf[buddy])
leaf             3163 fs/jfs/jfs_dmap.c 	s8 oldroot, *leaf;
leaf             3172 fs/jfs/jfs_dmap.c 	leaf = tp->stree + LEAFIND;
leaf              853 fs/jfs/jfs_dtree.c 		data.leaf.tid = tid;
leaf              854 fs/jfs/jfs_dtree.c 		data.leaf.ip = ip;
leaf              857 fs/jfs/jfs_dtree.c 		data.leaf.ip = NULL;	/* signifies legacy directory format */
leaf              859 fs/jfs/jfs_dtree.c 	data.leaf.ino = *fsn;
leaf             3932 fs/jfs/jfs_dtree.c 		lh->inumber = cpu_to_le32(data->leaf.ino);
leaf             3935 fs/jfs/jfs_dtree.c 		if (data->leaf.ip) {
leaf             3939 fs/jfs/jfs_dtree.c 			lh->index = cpu_to_le32(add_index(data->leaf.tid,
leaf             3940 fs/jfs/jfs_dtree.c 							  data->leaf.ip,
leaf             4019 fs/jfs/jfs_dtree.c 		if ((p->header.flag & BT_LEAF) && data->leaf.ip) {
leaf             4029 fs/jfs/jfs_dtree.c 				modify_index(data->leaf.tid, data->leaf.ip,
leaf               32 fs/jfs/jfs_dtree.h 	} leaf;
leaf              335 fs/ubifs/tnc.c 	ubifs_assert(!zbr->leaf);
leaf              352 fs/ubifs/tnc.c 	zbr->leaf = lnc_node;
leaf              370 fs/ubifs/tnc.c 	ubifs_assert(!zbr->leaf);
leaf              380 fs/ubifs/tnc.c 	zbr->leaf = node;
leaf              391 fs/ubifs/tnc.c 	if (!zbr->leaf)
leaf              393 fs/ubifs/tnc.c 	kfree(zbr->leaf);
leaf              394 fs/ubifs/tnc.c 	zbr->leaf = NULL;
leaf              415 fs/ubifs/tnc.c 	if (zbr->leaf) {
leaf              418 fs/ubifs/tnc.c 		memcpy(node, zbr->leaf, zbr->len);
leaf              533 fs/ubifs/tnc.c 	if (!zbr->leaf) {
leaf              547 fs/ubifs/tnc.c 		dent = zbr->leaf;
leaf              821 fs/ubifs/tnc.c 	if (!zbr->leaf) {
leaf              840 fs/ubifs/tnc.c 		dent = zbr->leaf;
leaf              709 fs/ubifs/ubifs.h 		void *leaf;
leaf             1203 fs/xfs/xfs_attr.c 	xfs_attr_leafblock_t *leaf;
leaf             1212 fs/xfs/xfs_attr.c 	leaf = bp->data;
leaf             1213 fs/xfs/xfs_attr.c 	if (unlikely(be16_to_cpu(leaf->hdr.info.magic) != XFS_ATTR_LEAF_MAGIC)) {
leaf             1215 fs/xfs/xfs_attr.c 				     context->dp->i_mount, leaf);
leaf             1827 fs/xfs/xfs_attr.c 	xfs_attr_leafblock_t *leaf;
leaf             1856 fs/xfs/xfs_attr.c 				leaf = bp->data;
leaf             1857 fs/xfs/xfs_attr.c 				if (cursor->hashval > be32_to_cpu(leaf->entries[
leaf             1858 fs/xfs/xfs_attr.c 				    be16_to_cpu(leaf->hdr.count)-1].hashval)) {
leaf             1860 fs/xfs/xfs_attr.c 							   context, leaf);
leaf             1864 fs/xfs/xfs_attr.c 					     be32_to_cpu(leaf->entries[0].hashval)) {
leaf             1866 fs/xfs/xfs_attr.c 							   context, leaf);
leaf             1937 fs/xfs/xfs_attr.c 		leaf = bp->data;
leaf             1938 fs/xfs/xfs_attr.c 		if (unlikely(be16_to_cpu(leaf->hdr.info.magic)
leaf             1942 fs/xfs/xfs_attr.c 					     context->dp->i_mount, leaf);
leaf             1951 fs/xfs/xfs_attr.c 		if (context->seen_enough || leaf->hdr.info.forw == 0)
leaf             1953 fs/xfs/xfs_attr.c 		cursor->blkno = be32_to_cpu(leaf->hdr.info.forw);
leaf             2315 fs/xfs/xfs_attr.c 		(__psunsigned_t)be16_to_cpu(leaf->hdr.count),
leaf             2316 fs/xfs/xfs_attr.c 		(__psunsigned_t)be32_to_cpu(leaf->entries[0].hashval),
leaf             2317 fs/xfs/xfs_attr.c 		(__psunsigned_t)be32_to_cpu(leaf->entries[
leaf             2318 fs/xfs/xfs_attr.c 				be16_to_cpu(leaf->hdr.count)-1].hashval));
leaf              724 fs/xfs/xfs_attr_leaf.c 	xfs_attr_leafblock_t *leaf;
leaf              729 fs/xfs/xfs_attr_leaf.c 	leaf = bp->data;
leaf              730 fs/xfs/xfs_attr_leaf.c 	ASSERT(be16_to_cpu(leaf->hdr.info.magic) == XFS_ATTR_LEAF_MAGIC);
leaf              732 fs/xfs/xfs_attr_leaf.c 	entry = &leaf->entries[0];
leaf              734 fs/xfs/xfs_attr_leaf.c 	for (i = 0; i < be16_to_cpu(leaf->hdr.count); entry++, i++) {
leaf              739 fs/xfs/xfs_attr_leaf.c 		name_loc = XFS_ATTR_LEAF_NAME_LOCAL(leaf, i);
leaf              761 fs/xfs/xfs_attr_leaf.c 	xfs_attr_leafblock_t *leaf;
leaf              775 fs/xfs/xfs_attr_leaf.c 	leaf = (xfs_attr_leafblock_t *)tmpbuffer;
leaf              776 fs/xfs/xfs_attr_leaf.c 	ASSERT(be16_to_cpu(leaf->hdr.info.magic) == XFS_ATTR_LEAF_MAGIC);
leaf              819 fs/xfs/xfs_attr_leaf.c 	entry = &leaf->entries[0];
leaf              820 fs/xfs/xfs_attr_leaf.c 	for (i = 0; i < be16_to_cpu(leaf->hdr.count); entry++, i++) {
leaf              826 fs/xfs/xfs_attr_leaf.c 		name_loc = XFS_ATTR_LEAF_NAME_LOCAL(leaf, i);
leaf              848 fs/xfs/xfs_attr_leaf.c 	xfs_attr_leafblock_t *leaf;
leaf              883 fs/xfs/xfs_attr_leaf.c 	leaf = bp2->data;
leaf              884 fs/xfs/xfs_attr_leaf.c 	ASSERT(be16_to_cpu(leaf->hdr.info.magic) == XFS_ATTR_LEAF_MAGIC);
leaf              887 fs/xfs/xfs_attr_leaf.c 		leaf->entries[be16_to_cpu(leaf->hdr.count)-1 ].hashval;
leaf              912 fs/xfs/xfs_attr_leaf.c 	xfs_attr_leafblock_t *leaf;
leaf              925 fs/xfs/xfs_attr_leaf.c 	leaf = bp->data;
leaf              926 fs/xfs/xfs_attr_leaf.c 	memset((char *)leaf, 0, XFS_LBSIZE(dp->i_mount));
leaf              927 fs/xfs/xfs_attr_leaf.c 	hdr = &leaf->hdr;
leaf             1003 fs/xfs/xfs_attr_leaf.c 	xfs_attr_leafblock_t *leaf;
leaf             1008 fs/xfs/xfs_attr_leaf.c 	leaf = bp->data;
leaf             1009 fs/xfs/xfs_attr_leaf.c 	ASSERT(be16_to_cpu(leaf->hdr.info.magic) == XFS_ATTR_LEAF_MAGIC);
leaf             1011 fs/xfs/xfs_attr_leaf.c 		&& (args->index <= be16_to_cpu(leaf->hdr.count)));
leaf             1012 fs/xfs/xfs_attr_leaf.c 	hdr = &leaf->hdr;
leaf             1072 fs/xfs/xfs_attr_leaf.c 	xfs_attr_leafblock_t *leaf;
leaf             1081 fs/xfs/xfs_attr_leaf.c 	leaf = bp->data;
leaf             1082 fs/xfs/xfs_attr_leaf.c 	ASSERT(be16_to_cpu(leaf->hdr.info.magic) == XFS_ATTR_LEAF_MAGIC);
leaf             1083 fs/xfs/xfs_attr_leaf.c 	hdr = &leaf->hdr;
leaf             1090 fs/xfs/xfs_attr_leaf.c 	entry = &leaf->entries[args->index];
leaf             1096 fs/xfs/xfs_attr_leaf.c 		    XFS_DA_LOGRANGE(leaf, entry, tmp + sizeof(*entry)));
leaf             1128 fs/xfs/xfs_attr_leaf.c 			  XFS_DA_LOGRANGE(leaf, entry, sizeof(*entry)));
leaf             1144 fs/xfs/xfs_attr_leaf.c 		name_loc = XFS_ATTR_LEAF_NAME_LOCAL(leaf, args->index);
leaf             1151 fs/xfs/xfs_attr_leaf.c 		name_rmt = XFS_ATTR_LEAF_NAME_REMOTE(leaf, args->index);
leaf             1162 fs/xfs/xfs_attr_leaf.c 	     XFS_DA_LOGRANGE(leaf, XFS_ATTR_LEAF_NAME(leaf, args->index),
leaf             1163 fs/xfs/xfs_attr_leaf.c 				   xfs_attr_leaf_entsize(leaf, args->index)));
leaf             1184 fs/xfs/xfs_attr_leaf.c 	be16_add_cpu(&hdr->usedbytes, xfs_attr_leaf_entsize(leaf, args->index));
leaf             1186 fs/xfs/xfs_attr_leaf.c 		XFS_DA_LOGRANGE(leaf, hdr, sizeof(*hdr)));
leaf             1531 fs/xfs/xfs_attr_leaf.c 	xfs_attr_leafblock_t *leaf;
leaf             1546 fs/xfs/xfs_attr_leaf.c 	leaf = (xfs_attr_leafblock_t *)info;
leaf             1547 fs/xfs/xfs_attr_leaf.c 	count = be16_to_cpu(leaf->hdr.count);
leaf             1550 fs/xfs/xfs_attr_leaf.c 		be16_to_cpu(leaf->hdr.usedbytes);
leaf             1603 fs/xfs/xfs_attr_leaf.c 		leaf = (xfs_attr_leafblock_t *)info;
leaf             1604 fs/xfs/xfs_attr_leaf.c 		count  = be16_to_cpu(leaf->hdr.count);
leaf             1606 fs/xfs/xfs_attr_leaf.c 		bytes -= be16_to_cpu(leaf->hdr.usedbytes);
leaf             1607 fs/xfs/xfs_attr_leaf.c 		leaf = bp->data;
leaf             1608 fs/xfs/xfs_attr_leaf.c 		ASSERT(be16_to_cpu(leaf->hdr.info.magic) == XFS_ATTR_LEAF_MAGIC);
leaf             1609 fs/xfs/xfs_attr_leaf.c 		count += be16_to_cpu(leaf->hdr.count);
leaf             1610 fs/xfs/xfs_attr_leaf.c 		bytes -= be16_to_cpu(leaf->hdr.usedbytes);
leaf             1653 fs/xfs/xfs_attr_leaf.c 	xfs_attr_leafblock_t *leaf;
leaf             1661 fs/xfs/xfs_attr_leaf.c 	leaf = bp->data;
leaf             1662 fs/xfs/xfs_attr_leaf.c 	ASSERT(be16_to_cpu(leaf->hdr.info.magic) == XFS_ATTR_LEAF_MAGIC);
leaf             1663 fs/xfs/xfs_attr_leaf.c 	hdr = &leaf->hdr;
leaf             1671 fs/xfs/xfs_attr_leaf.c 	entry = &leaf->entries[args->index];
leaf             1687 fs/xfs/xfs_attr_leaf.c 	entsize = xfs_attr_leaf_entsize(leaf, args->index);
leaf             1752 fs/xfs/xfs_attr_leaf.c 	memset(XFS_ATTR_LEAF_NAME(leaf, args->index), 0, entsize);
leaf             1755 fs/xfs/xfs_attr_leaf.c 	     XFS_DA_LOGRANGE(leaf, XFS_ATTR_LEAF_NAME(leaf, args->index),
leaf             1763 fs/xfs/xfs_attr_leaf.c 	    XFS_DA_LOGRANGE(leaf, entry, tmp + sizeof(*entry)));
leaf             1764 fs/xfs/xfs_attr_leaf.c 	entry = &leaf->entries[be16_to_cpu(hdr->count)];
leaf             1775 fs/xfs/xfs_attr_leaf.c 		entry = &leaf->entries[0];
leaf             1793 fs/xfs/xfs_attr_leaf.c 			  XFS_DA_LOGRANGE(leaf, hdr, sizeof(*hdr)));
leaf             1800 fs/xfs/xfs_attr_leaf.c 	tmp += be16_to_cpu(leaf->hdr.count) * sizeof(xfs_attr_leaf_entry_t);
leaf             1801 fs/xfs/xfs_attr_leaf.c 	tmp += be16_to_cpu(leaf->hdr.usedbytes);
leaf             1919 fs/xfs/xfs_attr_leaf.c 	xfs_attr_leafblock_t *leaf;
leaf             1926 fs/xfs/xfs_attr_leaf.c 	leaf = bp->data;
leaf             1927 fs/xfs/xfs_attr_leaf.c 	ASSERT(be16_to_cpu(leaf->hdr.info.magic) == XFS_ATTR_LEAF_MAGIC);
leaf             1928 fs/xfs/xfs_attr_leaf.c 	ASSERT(be16_to_cpu(leaf->hdr.count)
leaf             1935 fs/xfs/xfs_attr_leaf.c 	probe = span = be16_to_cpu(leaf->hdr.count) / 2;
leaf             1936 fs/xfs/xfs_attr_leaf.c 	for (entry = &leaf->entries[probe]; span > 4;
leaf             1937 fs/xfs/xfs_attr_leaf.c 		   entry = &leaf->entries[probe]) {
leaf             1947 fs/xfs/xfs_attr_leaf.c 	       (!leaf->hdr.count
leaf             1948 fs/xfs/xfs_attr_leaf.c 	       || (probe < be16_to_cpu(leaf->hdr.count))));
leaf             1959 fs/xfs/xfs_attr_leaf.c 	while ((probe < be16_to_cpu(leaf->hdr.count)) &&
leaf             1964 fs/xfs/xfs_attr_leaf.c 	if ((probe == be16_to_cpu(leaf->hdr.count)) ||
leaf             1973 fs/xfs/xfs_attr_leaf.c 	for (  ; (probe < be16_to_cpu(leaf->hdr.count)) &&
leaf             1988 fs/xfs/xfs_attr_leaf.c 			name_loc = XFS_ATTR_LEAF_NAME_LOCAL(leaf, probe);
leaf             1998 fs/xfs/xfs_attr_leaf.c 			name_rmt = XFS_ATTR_LEAF_NAME_REMOTE(leaf, probe);
leaf             2025 fs/xfs/xfs_attr_leaf.c 	xfs_attr_leafblock_t *leaf;
leaf             2030 fs/xfs/xfs_attr_leaf.c 	leaf = bp->data;
leaf             2031 fs/xfs/xfs_attr_leaf.c 	ASSERT(be16_to_cpu(leaf->hdr.info.magic) == XFS_ATTR_LEAF_MAGIC);
leaf             2032 fs/xfs/xfs_attr_leaf.c 	ASSERT(be16_to_cpu(leaf->hdr.count)
leaf             2034 fs/xfs/xfs_attr_leaf.c 	ASSERT(args->index < be16_to_cpu(leaf->hdr.count));
leaf             2036 fs/xfs/xfs_attr_leaf.c 	entry = &leaf->entries[args->index];
leaf             2038 fs/xfs/xfs_attr_leaf.c 		name_loc = XFS_ATTR_LEAF_NAME_LOCAL(leaf, args->index);
leaf             2053 fs/xfs/xfs_attr_leaf.c 		name_rmt = XFS_ATTR_LEAF_NAME_REMOTE(leaf, args->index);
leaf             2255 fs/xfs/xfs_attr_leaf.c 	xfs_attr_leafblock_t *leaf;
leaf             2257 fs/xfs/xfs_attr_leaf.c 	leaf = bp->data;
leaf             2258 fs/xfs/xfs_attr_leaf.c 	ASSERT(be16_to_cpu(leaf->hdr.info.magic) == XFS_ATTR_LEAF_MAGIC);
leaf             2260 fs/xfs/xfs_attr_leaf.c 		*count = be16_to_cpu(leaf->hdr.count);
leaf             2261 fs/xfs/xfs_attr_leaf.c 	if (!leaf->hdr.count)
leaf             2263 fs/xfs/xfs_attr_leaf.c 	return be32_to_cpu(leaf->entries[be16_to_cpu(leaf->hdr.count)-1].hashval);
leaf             2277 fs/xfs/xfs_attr_leaf.c 	ASSERT(be16_to_cpu(leaf->hdr.info.magic) == XFS_ATTR_LEAF_MAGIC);
leaf             2278 fs/xfs/xfs_attr_leaf.c 	if (leaf->entries[index].flags & XFS_ATTR_LOCAL) {
leaf             2279 fs/xfs/xfs_attr_leaf.c 		name_loc = XFS_ATTR_LEAF_NAME_LOCAL(leaf, index);
leaf             2283 fs/xfs/xfs_attr_leaf.c 		name_rmt = XFS_ATTR_LEAF_NAME_REMOTE(leaf, index);
leaf             2321 fs/xfs/xfs_attr_leaf.c 	xfs_attr_leafblock_t *leaf;
leaf             2326 fs/xfs/xfs_attr_leaf.c 	leaf = bp->data;
leaf             2330 fs/xfs/xfs_attr_leaf.c 	xfs_attr_trace_l_cl("blk start", context, leaf);
leaf             2336 fs/xfs/xfs_attr_leaf.c 		entry = &leaf->entries[0];
leaf             2337 fs/xfs/xfs_attr_leaf.c 		for (i = 0; i < be16_to_cpu(leaf->hdr.count); entry++, i++) {
leaf             2350 fs/xfs/xfs_attr_leaf.c 		if (i == be16_to_cpu(leaf->hdr.count)) {
leaf             2355 fs/xfs/xfs_attr_leaf.c 		entry = &leaf->entries[0];
leaf             2364 fs/xfs/xfs_attr_leaf.c 	for (  ; (i < be16_to_cpu(leaf->hdr.count)); entry++, i++) {
leaf             2375 fs/xfs/xfs_attr_leaf.c 				XFS_ATTR_LEAF_NAME_LOCAL(leaf, i);
leaf             2387 fs/xfs/xfs_attr_leaf.c 				XFS_ATTR_LEAF_NAME_REMOTE(leaf, i);
leaf             2426 fs/xfs/xfs_attr_leaf.c 	xfs_attr_trace_l_cl("blk end", context, leaf);
leaf             2441 fs/xfs/xfs_attr_leaf.c 	xfs_attr_leafblock_t *leaf;
leaf             2462 fs/xfs/xfs_attr_leaf.c 	leaf = bp->data;
leaf             2463 fs/xfs/xfs_attr_leaf.c 	ASSERT(be16_to_cpu(leaf->hdr.info.magic) == XFS_ATTR_LEAF_MAGIC);
leaf             2464 fs/xfs/xfs_attr_leaf.c 	ASSERT(args->index < be16_to_cpu(leaf->hdr.count));
leaf             2466 fs/xfs/xfs_attr_leaf.c 	entry = &leaf->entries[ args->index ];
leaf             2471 fs/xfs/xfs_attr_leaf.c 		name_loc = XFS_ATTR_LEAF_NAME_LOCAL(leaf, args->index);
leaf             2475 fs/xfs/xfs_attr_leaf.c 		name_rmt = XFS_ATTR_LEAF_NAME_REMOTE(leaf, args->index);
leaf             2486 fs/xfs/xfs_attr_leaf.c 			 XFS_DA_LOGRANGE(leaf, entry, sizeof(*entry)));
leaf             2490 fs/xfs/xfs_attr_leaf.c 		name_rmt = XFS_ATTR_LEAF_NAME_REMOTE(leaf, args->index);
leaf             2494 fs/xfs/xfs_attr_leaf.c 			 XFS_DA_LOGRANGE(leaf, name_rmt, sizeof(*name_rmt)));
leaf             2510 fs/xfs/xfs_attr_leaf.c 	xfs_attr_leafblock_t *leaf;
leaf             2526 fs/xfs/xfs_attr_leaf.c 	leaf = bp->data;
leaf             2527 fs/xfs/xfs_attr_leaf.c 	ASSERT(be16_to_cpu(leaf->hdr.info.magic) == XFS_ATTR_LEAF_MAGIC);
leaf             2528 fs/xfs/xfs_attr_leaf.c 	ASSERT(args->index < be16_to_cpu(leaf->hdr.count));
leaf             2530 fs/xfs/xfs_attr_leaf.c 	entry = &leaf->entries[ args->index ];
leaf             2535 fs/xfs/xfs_attr_leaf.c 			XFS_DA_LOGRANGE(leaf, entry, sizeof(*entry)));
leaf             2537 fs/xfs/xfs_attr_leaf.c 		name_rmt = XFS_ATTR_LEAF_NAME_REMOTE(leaf, args->index);
leaf             2541 fs/xfs/xfs_attr_leaf.c 			 XFS_DA_LOGRANGE(leaf, name_rmt, sizeof(*name_rmt)));
leaf             2841 fs/xfs/xfs_attr_leaf.c 	xfs_attr_leafblock_t *leaf;
leaf             2847 fs/xfs/xfs_attr_leaf.c 	leaf = bp->data;
leaf             2848 fs/xfs/xfs_attr_leaf.c 	ASSERT(be16_to_cpu(leaf->hdr.info.magic) == XFS_ATTR_LEAF_MAGIC);
leaf             2854 fs/xfs/xfs_attr_leaf.c 	entry = &leaf->entries[0];
leaf             2855 fs/xfs/xfs_attr_leaf.c 	for (i = 0; i < be16_to_cpu(leaf->hdr.count); entry++, i++) {
leaf             2858 fs/xfs/xfs_attr_leaf.c 			name_rmt = XFS_ATTR_LEAF_NAME_REMOTE(leaf, i);
leaf             2882 fs/xfs/xfs_attr_leaf.c 	entry = &leaf->entries[0];
leaf             2883 fs/xfs/xfs_attr_leaf.c 	for (i = 0; i < be16_to_cpu(leaf->hdr.count); entry++, i++) {
leaf             2886 fs/xfs/xfs_attr_leaf.c 			name_rmt = XFS_ATTR_LEAF_NAME_REMOTE(leaf, i);
leaf              308 fs/xfs/xfs_da_btree.c 	xfs_dir2_leaf_t *leaf;
leaf              333 fs/xfs/xfs_da_btree.c 		leaf = (xfs_dir2_leaf_t *)oldroot;
leaf              334 fs/xfs/xfs_da_btree.c 		size = (int)((char *)&leaf->ents[be16_to_cpu(leaf->hdr.count)] -
leaf              335 fs/xfs/xfs_da_btree.c 			     (char *)leaf);
leaf              892 fs/xfs/xfs_dir2_block.c 	xfs_dir2_leaf_t		*leaf;		/* leaf structure */
leaf              908 fs/xfs/xfs_dir2_block.c 	leaf = lbp->data;
leaf              909 fs/xfs/xfs_dir2_block.c 	ASSERT(be16_to_cpu(leaf->hdr.info.magic) == XFS_DIR2_LEAF1_MAGIC);
leaf              910 fs/xfs/xfs_dir2_block.c 	ltp = xfs_dir2_leaf_tail_p(mp, leaf);
leaf              944 fs/xfs/xfs_dir2_block.c 	       (uint)sizeof(*lep) * (be16_to_cpu(leaf->hdr.count) - be16_to_cpu(leaf->hdr.stale));
leaf              973 fs/xfs/xfs_dir2_block.c 	btp->count = cpu_to_be32(be16_to_cpu(leaf->hdr.count) - be16_to_cpu(leaf->hdr.stale));
leaf              980 fs/xfs/xfs_dir2_block.c 	for (from = to = 0; from < be16_to_cpu(leaf->hdr.count); from++) {
leaf              981 fs/xfs/xfs_dir2_block.c 		if (be32_to_cpu(leaf->ents[from].address) == XFS_DIR2_NULL_DATAPTR)
leaf              983 fs/xfs/xfs_dir2_block.c 		lep[to++] = leaf->ents[from];
leaf               56 fs/xfs/xfs_dir2_block.h 	xfs_dir2_leaf_entry_t	leaf[1];
leaf               76 fs/xfs/xfs_dir2_leaf.c 	xfs_dir2_leaf_t		*leaf;		/* leaf structure */
leaf              104 fs/xfs/xfs_dir2_leaf.c 	leaf = lbp->data;
leaf              112 fs/xfs/xfs_dir2_leaf.c 	leaf->hdr.count = cpu_to_be16(be32_to_cpu(btp->count));
leaf              113 fs/xfs/xfs_dir2_leaf.c 	leaf->hdr.stale = cpu_to_be16(be32_to_cpu(btp->stale));
leaf              118 fs/xfs/xfs_dir2_leaf.c 	memcpy(leaf->ents, blp, be32_to_cpu(btp->count) * sizeof(xfs_dir2_leaf_entry_t));
leaf              119 fs/xfs/xfs_dir2_leaf.c 	xfs_dir2_leaf_log_ents(tp, lbp, 0, be16_to_cpu(leaf->hdr.count) - 1);
leaf              140 fs/xfs/xfs_dir2_leaf.c 	ltp = xfs_dir2_leaf_tail_p(mp, leaf);
leaf              176 fs/xfs/xfs_dir2_leaf.c 	xfs_dir2_leaf_t		*leaf;		/* leaf structure */
leaf              211 fs/xfs/xfs_dir2_leaf.c 	leaf = lbp->data;
leaf              212 fs/xfs/xfs_dir2_leaf.c 	ltp = xfs_dir2_leaf_tail_p(mp, leaf);
leaf              221 fs/xfs/xfs_dir2_leaf.c 	for (use_block = -1, lep = &leaf->ents[index];
leaf              222 fs/xfs/xfs_dir2_leaf.c 	     index < be16_to_cpu(leaf->hdr.count) && be32_to_cpu(lep->hashval) == args->hashval;
leaf              254 fs/xfs/xfs_dir2_leaf.c 		(leaf->hdr.stale ? 0 : (uint)sizeof(leaf->ents[0])) +
leaf              255 fs/xfs/xfs_dir2_leaf.c 		(use_block != -1 ? 0 : (uint)sizeof(leaf->bests[0]));
leaf              266 fs/xfs/xfs_dir2_leaf.c 	if ((char *)bestsp - (char *)&leaf->ents[be16_to_cpu(leaf->hdr.count)] <
leaf              267 fs/xfs/xfs_dir2_leaf.c 				needbytes && be16_to_cpu(leaf->hdr.stale) > 1) {
leaf              274 fs/xfs/xfs_dir2_leaf.c 	else if ((char *)bestsp - (char *)&leaf->ents[be16_to_cpu(
leaf              275 fs/xfs/xfs_dir2_leaf.c 						leaf->hdr.count)] < needbytes) {
leaf              331 fs/xfs/xfs_dir2_leaf.c 	else if (be16_to_cpu(leaf->hdr.stale)) {
leaf              332 fs/xfs/xfs_dir2_leaf.c 		lfloglow = be16_to_cpu(leaf->hdr.count);
leaf              437 fs/xfs/xfs_dir2_leaf.c 	if (!leaf->hdr.stale) {
leaf              441 fs/xfs/xfs_dir2_leaf.c 		if (index < be16_to_cpu(leaf->hdr.count))
leaf              443 fs/xfs/xfs_dir2_leaf.c 				(be16_to_cpu(leaf->hdr.count) - index) * sizeof(*lep));
leaf              448 fs/xfs/xfs_dir2_leaf.c 		lfloghigh = be16_to_cpu(leaf->hdr.count);
leaf              449 fs/xfs/xfs_dir2_leaf.c 		be16_add_cpu(&leaf->hdr.count, 1);
leaf              469 fs/xfs/xfs_dir2_leaf.c 				be32_to_cpu(leaf->ents[lowstale].address) !=
leaf              479 fs/xfs/xfs_dir2_leaf.c 			     highstale < be16_to_cpu(leaf->hdr.count) &&
leaf              480 fs/xfs/xfs_dir2_leaf.c 				be32_to_cpu(leaf->ents[highstale].address) !=
leaf              491 fs/xfs/xfs_dir2_leaf.c 		    (highstale == be16_to_cpu(leaf->hdr.count) ||
leaf              494 fs/xfs/xfs_dir2_leaf.c 			ASSERT(be32_to_cpu(leaf->ents[lowstale].address) ==
leaf              501 fs/xfs/xfs_dir2_leaf.c 				memmove(&leaf->ents[lowstale],
leaf              502 fs/xfs/xfs_dir2_leaf.c 					&leaf->ents[lowstale + 1],
leaf              504 fs/xfs/xfs_dir2_leaf.c 			lep = &leaf->ents[index - 1];
leaf              513 fs/xfs/xfs_dir2_leaf.c 			ASSERT(be32_to_cpu(leaf->ents[highstale].address) ==
leaf              520 fs/xfs/xfs_dir2_leaf.c 				memmove(&leaf->ents[index + 1],
leaf              521 fs/xfs/xfs_dir2_leaf.c 					&leaf->ents[index],
leaf              523 fs/xfs/xfs_dir2_leaf.c 			lep = &leaf->ents[index];
leaf              527 fs/xfs/xfs_dir2_leaf.c 		be16_add_cpu(&leaf->hdr.stale, -1);
leaf              558 fs/xfs/xfs_dir2_leaf.c 	xfs_dir2_leaf_t		*leaf;		/* leaf structure */
leaf              563 fs/xfs/xfs_dir2_leaf.c 	leaf = bp->data;
leaf              565 fs/xfs/xfs_dir2_leaf.c 	ASSERT(be16_to_cpu(leaf->hdr.info.magic) == XFS_DIR2_LEAF1_MAGIC);
leaf              571 fs/xfs/xfs_dir2_leaf.c 	ASSERT(be16_to_cpu(leaf->hdr.count) <= xfs_dir2_max_leaf_ents(mp));
leaf              572 fs/xfs/xfs_dir2_leaf.c 	ltp = xfs_dir2_leaf_tail_p(mp, leaf);
leaf              576 fs/xfs/xfs_dir2_leaf.c 	ASSERT((char *)&leaf->ents[be16_to_cpu(leaf->hdr.count)] <=
leaf              581 fs/xfs/xfs_dir2_leaf.c 	for (i = stale = 0; i < be16_to_cpu(leaf->hdr.count); i++) {
leaf              582 fs/xfs/xfs_dir2_leaf.c 		if (i + 1 < be16_to_cpu(leaf->hdr.count))
leaf              583 fs/xfs/xfs_dir2_leaf.c 			ASSERT(be32_to_cpu(leaf->ents[i].hashval) <=
leaf              584 fs/xfs/xfs_dir2_leaf.c 			       be32_to_cpu(leaf->ents[i + 1].hashval));
leaf              585 fs/xfs/xfs_dir2_leaf.c 		if (be32_to_cpu(leaf->ents[i].address) == XFS_DIR2_NULL_DATAPTR)
leaf              588 fs/xfs/xfs_dir2_leaf.c 	ASSERT(be16_to_cpu(leaf->hdr.stale) == stale);
leaf              602 fs/xfs/xfs_dir2_leaf.c 	xfs_dir2_leaf_t	*leaf;		/* leaf structure */
leaf              606 fs/xfs/xfs_dir2_leaf.c 	leaf = bp->data;
leaf              607 fs/xfs/xfs_dir2_leaf.c 	if (!leaf->hdr.stale) {
leaf              613 fs/xfs/xfs_dir2_leaf.c 	for (from = to = 0, loglow = -1; from < be16_to_cpu(leaf->hdr.count); from++) {
leaf              614 fs/xfs/xfs_dir2_leaf.c 		if (be32_to_cpu(leaf->ents[from].address) == XFS_DIR2_NULL_DATAPTR)
leaf              622 fs/xfs/xfs_dir2_leaf.c 			leaf->ents[to] = leaf->ents[from];
leaf              629 fs/xfs/xfs_dir2_leaf.c 	ASSERT(be16_to_cpu(leaf->hdr.stale) == from - to);
leaf              630 fs/xfs/xfs_dir2_leaf.c 	be16_add_cpu(&leaf->hdr.count, -(be16_to_cpu(leaf->hdr.stale)));
leaf              631 fs/xfs/xfs_dir2_leaf.c 	leaf->hdr.stale = 0;
leaf              658 fs/xfs/xfs_dir2_leaf.c 	xfs_dir2_leaf_t	*leaf;		/* leaf structure */
leaf              663 fs/xfs/xfs_dir2_leaf.c 	leaf = bp->data;
leaf              664 fs/xfs/xfs_dir2_leaf.c 	ASSERT(be16_to_cpu(leaf->hdr.stale) > 1);
leaf              671 fs/xfs/xfs_dir2_leaf.c 		be32_to_cpu(leaf->ents[lowstale].address) != XFS_DIR2_NULL_DATAPTR;
leaf              679 fs/xfs/xfs_dir2_leaf.c 	     highstale < be16_to_cpu(leaf->hdr.count) &&
leaf              680 fs/xfs/xfs_dir2_leaf.c 		be32_to_cpu(leaf->ents[highstale].address) != XFS_DIR2_NULL_DATAPTR &&
leaf              688 fs/xfs/xfs_dir2_leaf.c 	    (highstale == be16_to_cpu(leaf->hdr.count) ||
leaf              697 fs/xfs/xfs_dir2_leaf.c 	for (from = to = 0; from < be16_to_cpu(leaf->hdr.count); from++) {
leaf              704 fs/xfs/xfs_dir2_leaf.c 		    be32_to_cpu(leaf->ents[from].address) == XFS_DIR2_NULL_DATAPTR) {
leaf              718 fs/xfs/xfs_dir2_leaf.c 			leaf->ents[to] = leaf->ents[from];
leaf              732 fs/xfs/xfs_dir2_leaf.c 	be16_add_cpu(&leaf->hdr.count, -(from - to));
leaf              733 fs/xfs/xfs_dir2_leaf.c 	leaf->hdr.stale = cpu_to_be16(1);
leaf              741 fs/xfs/xfs_dir2_leaf.c 		highstale = be16_to_cpu(leaf->hdr.count);
leaf              742 fs/xfs/xfs_dir2_leaf.c 	*highlogp = be16_to_cpu(leaf->hdr.count) - 1;
leaf             1133 fs/xfs/xfs_dir2_leaf.c 	xfs_dir2_leaf_t		*leaf;		/* leaf structure */
leaf             1153 fs/xfs/xfs_dir2_leaf.c 	leaf = bp->data;
leaf             1157 fs/xfs/xfs_dir2_leaf.c 	leaf->hdr.info.magic = cpu_to_be16(magic);
leaf             1158 fs/xfs/xfs_dir2_leaf.c 	leaf->hdr.info.forw = 0;
leaf             1159 fs/xfs/xfs_dir2_leaf.c 	leaf->hdr.info.back = 0;
leaf             1160 fs/xfs/xfs_dir2_leaf.c 	leaf->hdr.count = 0;
leaf             1161 fs/xfs/xfs_dir2_leaf.c 	leaf->hdr.stale = 0;
leaf             1169 fs/xfs/xfs_dir2_leaf.c 		ltp = xfs_dir2_leaf_tail_p(mp, leaf);
leaf             1189 fs/xfs/xfs_dir2_leaf.c 	xfs_dir2_leaf_t		*leaf;		/* leaf structure */
leaf             1192 fs/xfs/xfs_dir2_leaf.c 	leaf = bp->data;
leaf             1193 fs/xfs/xfs_dir2_leaf.c 	ASSERT(be16_to_cpu(leaf->hdr.info.magic) == XFS_DIR2_LEAF1_MAGIC);
leaf             1194 fs/xfs/xfs_dir2_leaf.c 	ltp = xfs_dir2_leaf_tail_p(tp->t_mountp, leaf);
leaf             1197 fs/xfs/xfs_dir2_leaf.c 	xfs_da_log_buf(tp, bp, (uint)((char *)firstb - (char *)leaf),
leaf             1198 fs/xfs/xfs_dir2_leaf.c 		(uint)((char *)lastb - (char *)leaf + sizeof(*lastb) - 1));
leaf             1213 fs/xfs/xfs_dir2_leaf.c 	xfs_dir2_leaf_t		*leaf;		/* leaf structure */
leaf             1215 fs/xfs/xfs_dir2_leaf.c 	leaf = bp->data;
leaf             1216 fs/xfs/xfs_dir2_leaf.c 	ASSERT(be16_to_cpu(leaf->hdr.info.magic) == XFS_DIR2_LEAF1_MAGIC ||
leaf             1217 fs/xfs/xfs_dir2_leaf.c 	       be16_to_cpu(leaf->hdr.info.magic) == XFS_DIR2_LEAFN_MAGIC);
leaf             1218 fs/xfs/xfs_dir2_leaf.c 	firstlep = &leaf->ents[first];
leaf             1219 fs/xfs/xfs_dir2_leaf.c 	lastlep = &leaf->ents[last];
leaf             1220 fs/xfs/xfs_dir2_leaf.c 	xfs_da_log_buf(tp, bp, (uint)((char *)firstlep - (char *)leaf),
leaf             1221 fs/xfs/xfs_dir2_leaf.c 		(uint)((char *)lastlep - (char *)leaf + sizeof(*lastlep) - 1));
leaf             1232 fs/xfs/xfs_dir2_leaf.c 	xfs_dir2_leaf_t		*leaf;		/* leaf structure */
leaf             1234 fs/xfs/xfs_dir2_leaf.c 	leaf = bp->data;
leaf             1235 fs/xfs/xfs_dir2_leaf.c 	ASSERT(be16_to_cpu(leaf->hdr.info.magic) == XFS_DIR2_LEAF1_MAGIC ||
leaf             1236 fs/xfs/xfs_dir2_leaf.c 	       be16_to_cpu(leaf->hdr.info.magic) == XFS_DIR2_LEAFN_MAGIC);
leaf             1237 fs/xfs/xfs_dir2_leaf.c 	xfs_da_log_buf(tp, bp, (uint)((char *)&leaf->hdr - (char *)leaf),
leaf             1238 fs/xfs/xfs_dir2_leaf.c 		(uint)(sizeof(leaf->hdr) - 1));
leaf             1249 fs/xfs/xfs_dir2_leaf.c 	xfs_dir2_leaf_t		*leaf;		/* leaf structure */
leaf             1254 fs/xfs/xfs_dir2_leaf.c 	leaf = bp->data;
leaf             1255 fs/xfs/xfs_dir2_leaf.c 	ASSERT(be16_to_cpu(leaf->hdr.info.magic) == XFS_DIR2_LEAF1_MAGIC);
leaf             1256 fs/xfs/xfs_dir2_leaf.c 	ltp = xfs_dir2_leaf_tail_p(mp, leaf);
leaf             1257 fs/xfs/xfs_dir2_leaf.c 	xfs_da_log_buf(tp, bp, (uint)((char *)ltp - (char *)leaf),
leaf             1276 fs/xfs/xfs_dir2_leaf.c 	xfs_dir2_leaf_t		*leaf;		/* leaf structure */
leaf             1290 fs/xfs/xfs_dir2_leaf.c 	leaf = lbp->data;
leaf             1294 fs/xfs/xfs_dir2_leaf.c 	lep = &leaf->ents[index];
leaf             1332 fs/xfs/xfs_dir2_leaf.c 	xfs_dir2_leaf_t		*leaf;		/* leaf structure */
leaf             1350 fs/xfs/xfs_dir2_leaf.c 	leaf = lbp->data;
leaf             1360 fs/xfs/xfs_dir2_leaf.c 	for (lep = &leaf->ents[index]; index < be16_to_cpu(leaf->hdr.count) &&
leaf             1459 fs/xfs/xfs_dir2_leaf.c 	xfs_dir2_leaf_t		*leaf;		/* leaf structure */
leaf             1478 fs/xfs/xfs_dir2_leaf.c 	leaf = lbp->data;
leaf             1484 fs/xfs/xfs_dir2_leaf.c 	lep = &leaf->ents[index];
leaf             1490 fs/xfs/xfs_dir2_leaf.c 	ltp = xfs_dir2_leaf_tail_p(mp, leaf);
leaf             1502 fs/xfs/xfs_dir2_leaf.c 	be16_add_cpu(&leaf->hdr.stale, 1);
leaf             1596 fs/xfs/xfs_dir2_leaf.c 	xfs_dir2_leaf_t		*leaf;		/* leaf structure */
leaf             1608 fs/xfs/xfs_dir2_leaf.c 	leaf = lbp->data;
leaf             1612 fs/xfs/xfs_dir2_leaf.c 	lep = &leaf->ents[index];
leaf             1646 fs/xfs/xfs_dir2_leaf.c 	xfs_dir2_leaf_t		*leaf;		/* leaf structure */
leaf             1650 fs/xfs/xfs_dir2_leaf.c 	leaf = lbp->data;
leaf             1652 fs/xfs/xfs_dir2_leaf.c 	if (!leaf->hdr.count)
leaf             1659 fs/xfs/xfs_dir2_leaf.c 	for (lep = leaf->ents, low = 0, high = be16_to_cpu(leaf->hdr.count) - 1,
leaf             1703 fs/xfs/xfs_dir2_leaf.c 	xfs_dir2_leaf_t		*leaf;		/* leaf structure */
leaf             1727 fs/xfs/xfs_dir2_leaf.c 	leaf = lbp->data;
leaf             1728 fs/xfs/xfs_dir2_leaf.c 	ltp = xfs_dir2_leaf_tail_p(mp, leaf);
leaf             1768 fs/xfs/xfs_dir2_leaf.c 	xfs_dir2_leaf_t		*leaf;		/* leaf structure */
leaf             1818 fs/xfs/xfs_dir2_leaf.c 	leaf = lbp->data;
leaf             1819 fs/xfs/xfs_dir2_leaf.c 	ASSERT(be16_to_cpu(leaf->hdr.info.magic) == XFS_DIR2_LEAFN_MAGIC);
leaf             1834 fs/xfs/xfs_dir2_leaf.c 	if ((uint)sizeof(leaf->hdr) +
leaf             1835 fs/xfs/xfs_dir2_leaf.c 	    (be16_to_cpu(leaf->hdr.count) - be16_to_cpu(leaf->hdr.stale)) * (uint)sizeof(leaf->ents[0]) +
leaf             1836 fs/xfs/xfs_dir2_leaf.c 	    be32_to_cpu(free->hdr.nvalid) * (uint)sizeof(leaf->bests[0]) +
leaf             1837 fs/xfs/xfs_dir2_leaf.c 	    (uint)sizeof(leaf->tail) >
leaf             1846 fs/xfs/xfs_dir2_leaf.c 	if (be16_to_cpu(leaf->hdr.stale))
leaf             1850 fs/xfs/xfs_dir2_leaf.c 	leaf->hdr.info.magic = cpu_to_be16(XFS_DIR2_LEAF1_MAGIC);
leaf             1854 fs/xfs/xfs_dir2_leaf.c 	ltp = xfs_dir2_leaf_tail_p(mp, leaf);
leaf             1860 fs/xfs/xfs_dir2_leaf.c 		be32_to_cpu(ltp->bestcount) * sizeof(leaf->bests[0]));
leaf              118 fs/xfs/xfs_dir2_node.c 	xfs_dir2_leaf_t		*leaf;		/* leaf structure */
leaf              146 fs/xfs/xfs_dir2_node.c 	leaf = lbp->data;
leaf              147 fs/xfs/xfs_dir2_node.c 	ltp = xfs_dir2_leaf_tail_p(mp, leaf);
leaf              166 fs/xfs/xfs_dir2_node.c 	leaf->hdr.info.magic = cpu_to_be16(XFS_DIR2_LEAFN_MAGIC);
leaf              191 fs/xfs/xfs_dir2_node.c 	xfs_dir2_leaf_t		*leaf;		/* leaf structure */
leaf              203 fs/xfs/xfs_dir2_node.c 	leaf = bp->data;
leaf              219 fs/xfs/xfs_dir2_node.c 	if (be16_to_cpu(leaf->hdr.count) == xfs_dir2_max_leaf_ents(mp)) {
leaf              220 fs/xfs/xfs_dir2_node.c 		if (!leaf->hdr.stale)
leaf              222 fs/xfs/xfs_dir2_node.c 		compact = be16_to_cpu(leaf->hdr.stale) > 1;
leaf              225 fs/xfs/xfs_dir2_node.c 	ASSERT(index == 0 || be32_to_cpu(leaf->ents[index - 1].hashval) <= args->hashval);
leaf              226 fs/xfs/xfs_dir2_node.c 	ASSERT(index == be16_to_cpu(leaf->hdr.count) ||
leaf              227 fs/xfs/xfs_dir2_node.c 	       be32_to_cpu(leaf->ents[index].hashval) >= args->hashval);
leaf              243 fs/xfs/xfs_dir2_node.c 	else if (leaf->hdr.stale) {
leaf              244 fs/xfs/xfs_dir2_node.c 		lfloglow = be16_to_cpu(leaf->hdr.count);
leaf              250 fs/xfs/xfs_dir2_node.c 	if (!leaf->hdr.stale) {
leaf              251 fs/xfs/xfs_dir2_node.c 		lep = &leaf->ents[index];
leaf              252 fs/xfs/xfs_dir2_node.c 		if (index < be16_to_cpu(leaf->hdr.count))
leaf              254 fs/xfs/xfs_dir2_node.c 				(be16_to_cpu(leaf->hdr.count) - index) * sizeof(*lep));
leaf              256 fs/xfs/xfs_dir2_node.c 		lfloghigh = be16_to_cpu(leaf->hdr.count);
leaf              257 fs/xfs/xfs_dir2_node.c 		be16_add_cpu(&leaf->hdr.count, 1);
leaf              273 fs/xfs/xfs_dir2_node.c 				be32_to_cpu(leaf->ents[lowstale].address) !=
leaf              283 fs/xfs/xfs_dir2_node.c 			     highstale < be16_to_cpu(leaf->hdr.count) &&
leaf              284 fs/xfs/xfs_dir2_node.c 				be32_to_cpu(leaf->ents[highstale].address) !=
leaf              296 fs/xfs/xfs_dir2_node.c 		    (highstale == be16_to_cpu(leaf->hdr.count) ||
leaf              298 fs/xfs/xfs_dir2_node.c 			ASSERT(be32_to_cpu(leaf->ents[lowstale].address) ==
leaf              302 fs/xfs/xfs_dir2_node.c 				memmove(&leaf->ents[lowstale],
leaf              303 fs/xfs/xfs_dir2_node.c 					&leaf->ents[lowstale + 1],
leaf              305 fs/xfs/xfs_dir2_node.c 			lep = &leaf->ents[index - 1];
leaf              314 fs/xfs/xfs_dir2_node.c 			ASSERT(be32_to_cpu(leaf->ents[highstale].address) ==
leaf              318 fs/xfs/xfs_dir2_node.c 				memmove(&leaf->ents[index + 1],
leaf              319 fs/xfs/xfs_dir2_node.c 					&leaf->ents[index],
leaf              321 fs/xfs/xfs_dir2_node.c 			lep = &leaf->ents[index];
leaf              325 fs/xfs/xfs_dir2_node.c 		be16_add_cpu(&leaf->hdr.stale, -1);
leaf              349 fs/xfs/xfs_dir2_node.c 	xfs_dir2_leaf_t	*leaf;			/* leaf structure */
leaf              353 fs/xfs/xfs_dir2_node.c 	leaf = bp->data;
leaf              355 fs/xfs/xfs_dir2_node.c 	ASSERT(be16_to_cpu(leaf->hdr.info.magic) == XFS_DIR2_LEAFN_MAGIC);
leaf              356 fs/xfs/xfs_dir2_node.c 	ASSERT(be16_to_cpu(leaf->hdr.count) <= xfs_dir2_max_leaf_ents(mp));
leaf              357 fs/xfs/xfs_dir2_node.c 	for (i = stale = 0; i < be16_to_cpu(leaf->hdr.count); i++) {
leaf              358 fs/xfs/xfs_dir2_node.c 		if (i + 1 < be16_to_cpu(leaf->hdr.count)) {
leaf              359 fs/xfs/xfs_dir2_node.c 			ASSERT(be32_to_cpu(leaf->ents[i].hashval) <=
leaf              360 fs/xfs/xfs_dir2_node.c 			       be32_to_cpu(leaf->ents[i + 1].hashval));
leaf              362 fs/xfs/xfs_dir2_node.c 		if (be32_to_cpu(leaf->ents[i].address) == XFS_DIR2_NULL_DATAPTR)
leaf              365 fs/xfs/xfs_dir2_node.c 	ASSERT(be16_to_cpu(leaf->hdr.stale) == stale);
leaf              378 fs/xfs/xfs_dir2_node.c 	xfs_dir2_leaf_t	*leaf;			/* leaf structure */
leaf              380 fs/xfs/xfs_dir2_node.c 	leaf = bp->data;
leaf              381 fs/xfs/xfs_dir2_node.c 	ASSERT(be16_to_cpu(leaf->hdr.info.magic) == XFS_DIR2_LEAFN_MAGIC);
leaf              383 fs/xfs/xfs_dir2_node.c 		*count = be16_to_cpu(leaf->hdr.count);
leaf              384 fs/xfs/xfs_dir2_node.c 	if (!leaf->hdr.count)
leaf              386 fs/xfs/xfs_dir2_node.c 	return be32_to_cpu(leaf->ents[be16_to_cpu(leaf->hdr.count) - 1].hashval);
leaf              408 fs/xfs/xfs_dir2_node.c 	xfs_dir2_leaf_t		*leaf;		/* leaf structure */
leaf              419 fs/xfs/xfs_dir2_node.c 	leaf = bp->data;
leaf              420 fs/xfs/xfs_dir2_node.c 	ASSERT(be16_to_cpu(leaf->hdr.info.magic) == XFS_DIR2_LEAFN_MAGIC);
leaf              422 fs/xfs/xfs_dir2_node.c 	ASSERT(be16_to_cpu(leaf->hdr.count) > 0);
leaf              443 fs/xfs/xfs_dir2_node.c 	for (lep = &leaf->ents[index]; index < be16_to_cpu(leaf->hdr.count) &&
leaf              553 fs/xfs/xfs_dir2_node.c 	xfs_dir2_leaf_t		*leaf;		/* leaf structure */
leaf              563 fs/xfs/xfs_dir2_node.c 	leaf = bp->data;
leaf              564 fs/xfs/xfs_dir2_node.c 	ASSERT(be16_to_cpu(leaf->hdr.info.magic) == XFS_DIR2_LEAFN_MAGIC);
leaf              566 fs/xfs/xfs_dir2_node.c 	ASSERT(be16_to_cpu(leaf->hdr.count) > 0);
leaf              583 fs/xfs/xfs_dir2_node.c 	for (lep = &leaf->ents[index]; index < be16_to_cpu(leaf->hdr.count) &&
leaf              656 fs/xfs/xfs_dir2_node.c 	ASSERT(index == be16_to_cpu(leaf->hdr.count) ||
leaf              927 fs/xfs/xfs_dir2_node.c 	xfs_dir2_leaf_t		*leaf;		/* leaf structure */
leaf              940 fs/xfs/xfs_dir2_node.c 	leaf = bp->data;
leaf              941 fs/xfs/xfs_dir2_node.c 	ASSERT(be16_to_cpu(leaf->hdr.info.magic) == XFS_DIR2_LEAFN_MAGIC);
leaf              945 fs/xfs/xfs_dir2_node.c 	lep = &leaf->ents[index];
leaf              957 fs/xfs/xfs_dir2_node.c 	be16_add_cpu(&leaf->hdr.stale, 1);
leaf             1111 fs/xfs/xfs_dir2_node.c 		((uint)sizeof(leaf->hdr) +
leaf             1112 fs/xfs/xfs_dir2_node.c 		 (uint)sizeof(leaf->ents[0]) *
leaf             1113 fs/xfs/xfs_dir2_node.c 		 (be16_to_cpu(leaf->hdr.count) - be16_to_cpu(leaf->hdr.stale))) <
leaf             1202 fs/xfs/xfs_dir2_node.c 	xfs_dir2_leaf_t		*leaf;		/* leaf structure */
leaf             1213 fs/xfs/xfs_dir2_node.c 	leaf = (xfs_dir2_leaf_t *)info;
leaf             1214 fs/xfs/xfs_dir2_node.c 	count = be16_to_cpu(leaf->hdr.count) - be16_to_cpu(leaf->hdr.stale);
leaf             1215 fs/xfs/xfs_dir2_node.c 	bytes = (uint)sizeof(leaf->hdr) + count * (uint)sizeof(leaf->ents[0]);
leaf             1267 fs/xfs/xfs_dir2_node.c 		leaf = (xfs_dir2_leaf_t *)info;
leaf             1268 fs/xfs/xfs_dir2_node.c 		count = be16_to_cpu(leaf->hdr.count) - be16_to_cpu(leaf->hdr.stale);
leaf             1270 fs/xfs/xfs_dir2_node.c 		leaf = bp->data;
leaf             1271 fs/xfs/xfs_dir2_node.c 		ASSERT(be16_to_cpu(leaf->hdr.info.magic) == XFS_DIR2_LEAFN_MAGIC);
leaf             1272 fs/xfs/xfs_dir2_node.c 		count += be16_to_cpu(leaf->hdr.count) - be16_to_cpu(leaf->hdr.stale);
leaf             1273 fs/xfs/xfs_dir2_node.c 		bytes -= count * (uint)sizeof(leaf->ents[0]);
leaf             1942 fs/xfs/xfs_dir2_node.c 	xfs_dir2_leaf_t		*leaf;		/* leaf structure */
leaf             1974 fs/xfs/xfs_dir2_node.c 		leaf = blk->bp->data;
leaf             1975 fs/xfs/xfs_dir2_node.c 		lep = &leaf->ents[blk->index];
leaf               56 include/net/ip6_fib.h 	struct rt6_info		*leaf;
leaf              128 include/net/ip6_fib.h 	struct rt6_info *leaf;
leaf               81 include/net/sch_generic.h 	struct Qdisc *		(*leaf)(struct Qdisc *, unsigned long cl);
leaf              333 net/ipv4/fib_trie.c 	struct leaf *l = container_of(head, struct leaf, rcu);
leaf              349 net/ipv4/fib_trie.c 	call_rcu(&leaf->rcu, __leaf_info_free_rcu);
leaf              383 net/ipv4/fib_trie.c 		free_leaf((struct leaf *) tn);
leaf              388 net/ipv4/fib_trie.c static struct leaf *leaf_new(void)
leaf              390 net/ipv4/fib_trie.c 	struct leaf *l = kmem_cache_alloc(trie_leaf_kmem, GFP_KERNEL);
leaf              954 net/ipv4/fib_trie.c static struct leaf *
leaf              981 net/ipv4/fib_trie.c 		return (struct leaf *)n;
leaf             1020 net/ipv4/fib_trie.c 	struct leaf *l;
leaf             1076 net/ipv4/fib_trie.c 		l = (struct leaf *) n;
leaf             1176 net/ipv4/fib_trie.c 	struct leaf *l;
leaf             1394 net/ipv4/fib_trie.c 		ret = check_leaf(t, (struct leaf *)n, key, flp, res);
leaf             1419 net/ipv4/fib_trie.c 			ret = check_leaf(t, (struct leaf *)n, key, flp, res);
leaf             1596 net/ipv4/fib_trie.c 	struct leaf *l;
leaf             1709 net/ipv4/fib_trie.c static struct leaf *leaf_walk_rcu(struct tnode *p, struct node *c)
leaf             1726 net/ipv4/fib_trie.c 				return (struct leaf *) c;
leaf             1741 net/ipv4/fib_trie.c static struct leaf *trie_firstleaf(struct trie *t)
leaf             1749 net/ipv4/fib_trie.c 		return (struct leaf *) n;
leaf             1754 net/ipv4/fib_trie.c static struct leaf *trie_nextleaf(struct leaf *l)
leaf             1765 net/ipv4/fib_trie.c static struct leaf *trie_leafindex(struct trie *t, int index)
leaf             1767 net/ipv4/fib_trie.c 	struct leaf *l = trie_firstleaf(t);
leaf             1782 net/ipv4/fib_trie.c 	struct leaf *l, *ll = NULL;
leaf             1810 net/ipv4/fib_trie.c 	struct leaf *l;
leaf             1948 net/ipv4/fib_trie.c 	struct leaf *l;
leaf             1994 net/ipv4/fib_trie.c 					   max(sizeof(struct leaf),
leaf             2119 net/ipv4/fib_trie.c 			struct leaf *l = (struct leaf *)n;
leaf             2163 net/ipv4/fib_trie.c 	bytes = sizeof(struct leaf) * stat->leaves;
leaf             2225 net/ipv4/fib_trie.c 		   sizeof(struct leaf), sizeof(struct tnode));
leaf             2407 net/ipv4/fib_trie.c 		struct leaf *l = (struct leaf *) n;
leaf             2465 net/ipv4/fib_trie.c static struct leaf *fib_route_get_idx(struct fib_route_iter *iter, loff_t pos)
leaf             2467 net/ipv4/fib_trie.c 	struct leaf *l = NULL;
leaf             2512 net/ipv4/fib_trie.c 	struct leaf *l = v;
leaf             2559 net/ipv4/fib_trie.c 	struct leaf *l = v;
leaf              201 net/ipv6/ip6_fib.c 		table->tb6_root.leaf = net->ipv6.ip6_null_entry;
leaf              283 net/ipv6/ip6_fib.c 	for (rt = w->leaf; rt; rt = rt->u.dst.rt6_next) {
leaf              287 net/ipv6/ip6_fib.c 			w->leaf = rt;
leaf              292 net/ipv6/ip6_fib.c 	w->leaf = NULL;
leaf              433 net/ipv6/ip6_fib.c 		key = (struct rt6key *)((u8 *)fn->leaf + offset);
leaf              449 net/ipv6/ip6_fib.c 				rt6_release(fn->leaf);
leaf              450 net/ipv6/ip6_fib.c 				fn->leaf = NULL;
leaf              538 net/ipv6/ip6_fib.c 		in->leaf = fn->leaf;
leaf              539 net/ipv6/ip6_fib.c 		atomic_inc(&in->leaf->rt6i_ref);
leaf              607 net/ipv6/ip6_fib.c 	ins = &fn->leaf;
leaf              609 net/ipv6/ip6_fib.c 	for (iter = fn->leaf; iter; iter=iter->u.dst.rt6_next) {
leaf              641 net/ipv6/ip6_fib.c 	if (ins == &fn->leaf)
leaf              719 net/ipv6/ip6_fib.c 			sfn->leaf = info->nl_net->ipv6.ip6_null_entry;
leaf              751 net/ipv6/ip6_fib.c 		if (fn->leaf == NULL) {
leaf              752 net/ipv6/ip6_fib.c 			fn->leaf = rt;
leaf              774 net/ipv6/ip6_fib.c 		if (pn != fn && pn->leaf == rt) {
leaf              775 net/ipv6/ip6_fib.c 			pn->leaf = NULL;
leaf              778 net/ipv6/ip6_fib.c 		if (pn != fn && !pn->leaf && !(pn->fn_flags & RTN_RTINFO)) {
leaf              779 net/ipv6/ip6_fib.c 			pn->leaf = fib6_find_prefix(info->nl_net, pn);
leaf              781 net/ipv6/ip6_fib.c 			if (!pn->leaf) {
leaf              782 net/ipv6/ip6_fib.c 				WARN_ON(pn->leaf == NULL);
leaf              783 net/ipv6/ip6_fib.c 				pn->leaf = info->nl_net->ipv6.ip6_null_entry;
leaf              786 net/ipv6/ip6_fib.c 			atomic_inc(&pn->leaf->rt6i_ref);
leaf              849 net/ipv6/ip6_fib.c 			key = (struct rt6key *) ((u8 *) fn->leaf +
leaf              912 net/ipv6/ip6_fib.c 		struct rt6key *key = (struct rt6key *)((u8 *)fn->leaf + offset);
leaf              972 net/ipv6/ip6_fib.c 			return fn->left->leaf;
leaf              975 net/ipv6/ip6_fib.c 			return fn->right->leaf;
leaf             1002 net/ipv6/ip6_fib.c 		WARN_ON(fn->leaf != NULL);
leaf             1015 net/ipv6/ip6_fib.c 			fn->leaf = fib6_find_prefix(net, fn);
leaf             1017 net/ipv6/ip6_fib.c 			if (fn->leaf==NULL) {
leaf             1018 net/ipv6/ip6_fib.c 				WARN_ON(!fn->leaf);
leaf             1019 net/ipv6/ip6_fib.c 				fn->leaf = net->ipv6.ip6_null_entry;
leaf             1022 net/ipv6/ip6_fib.c 			atomic_inc(&fn->leaf->rt6i_ref);
leaf             1082 net/ipv6/ip6_fib.c 		rt6_release(pn->leaf);
leaf             1083 net/ipv6/ip6_fib.c 		pn->leaf = NULL;
leaf             1110 net/ipv6/ip6_fib.c 		if (w->state == FWS_C && w->leaf == rt) {
leaf             1112 net/ipv6/ip6_fib.c 			w->leaf = rt->u.dst.rt6_next;
leaf             1113 net/ipv6/ip6_fib.c 			if (w->leaf == NULL)
leaf             1122 net/ipv6/ip6_fib.c 	if (fn->leaf == NULL) {
leaf             1136 net/ipv6/ip6_fib.c 			if (!(fn->fn_flags&RTN_RTINFO) && fn->leaf == rt) {
leaf             1137 net/ipv6/ip6_fib.c 				fn->leaf = fib6_find_prefix(net, fn);
leaf             1138 net/ipv6/ip6_fib.c 				atomic_inc(&fn->leaf->rt6i_ref);
leaf             1185 net/ipv6/ip6_fib.c 	for (rtp = &fn->leaf; *rtp; rtp = &(*rtp)->u.dst.rt6_next) {
leaf             1230 net/ipv6/ip6_fib.c 			w->leaf = fn->leaf;
leaf             1255 net/ipv6/ip6_fib.c 			w->leaf = fn->leaf;
leaf             1257 net/ipv6/ip6_fib.c 			if (w->leaf && fn->fn_flags&RTN_RTINFO) {
leaf             1282 net/ipv6/ip6_fib.c 				w->leaf = w->node->leaf;
leaf             1315 net/ipv6/ip6_fib.c 	for (rt = w->leaf; rt; rt = rt->u.dst.rt6_next) {
leaf             1318 net/ipv6/ip6_fib.c 			w->leaf = rt;
leaf             1330 net/ipv6/ip6_fib.c 	w->leaf = rt;
leaf             1497 net/ipv6/ip6_fib.c 	net->ipv6.fib6_main_tbl->tb6_root.leaf = net->ipv6.ip6_null_entry;
leaf             1507 net/ipv6/ip6_fib.c 	net->ipv6.fib6_local_tbl->tb6_root.leaf = net->ipv6.ip6_null_entry;
leaf              411 net/ipv6/route.c 	for (rt = fn->leaf; rt && rt != rr_head && rt->rt6i_metric == metric;
leaf              424 net/ipv6/route.c 		  __func__, fn->leaf, oif);
leaf              428 net/ipv6/route.c 		fn->rr_ptr = rt0 = fn->leaf;
leaf              438 net/ipv6/route.c 			next = fn->leaf;
leaf              553 net/ipv6/route.c 	rt = fn->leaf;
leaf             1339 net/ipv6/route.c 		for (rt = fn->leaf; rt; rt = rt->u.dst.rt6_next) {
leaf             1391 net/ipv6/route.c 	for (rt = fn->leaf; rt; rt = rt->u.dst.rt6_next) {
leaf             1659 net/ipv6/route.c 	for (rt = fn->leaf; rt; rt = rt->u.dst.rt6_next) {
leaf             1714 net/ipv6/route.c 	for (rt = table->tb6_root.leaf; rt; rt=rt->u.dst.rt6_next) {
leaf             1760 net/ipv6/route.c 	for (rt = table->tb6_root.leaf; rt; rt = rt->u.dst.rt6_next) {
leaf              254 net/sched/sch_api.c 	struct Qdisc *leaf;
leaf              263 net/sched/sch_api.c 	leaf = cops->leaf(p, cl);
leaf              265 net/sched/sch_api.c 	return leaf;
leaf              926 net/sched/sch_api.c 	struct Qdisc *leaf;
leaf              930 net/sched/sch_api.c 	leaf = cops->leaf(q, cl);
leaf              931 net/sched/sch_api.c 	if (leaf) {
leaf              932 net/sched/sch_api.c 		if (leaf == arg->p || arg->depth > 7)
leaf              934 net/sched/sch_api.c 		return check_loop(leaf, arg->p, arg->depth + 1);
leaf              678 net/sched/sch_atm.c 	.leaf		= atm_tc_leaf,
leaf             2047 net/sched/sch_cbq.c 	.leaf		=	cbq_leaf,
leaf              480 net/sched/sch_dsmark.c 	.leaf		=	dsmark_leaf,
leaf             1717 net/sched/sch_hfsc.c 	.leaf		= hfsc_class_leaf,
leaf               95 net/sched/sch_htb.c 		} leaf;
leaf              527 net/sched/sch_htb.c 	WARN_ON(cl->level || !cl->un.leaf.q || !cl->un.leaf.q->q.qlen);
leaf              530 net/sched/sch_htb.c 		cl->prio_activity = 1 << (cl->un.leaf.aprio = cl->un.leaf.prio);
leaf              532 net/sched/sch_htb.c 		list_add_tail(&cl->un.leaf.drop_list,
leaf              533 net/sched/sch_htb.c 			      q->drops + cl->un.leaf.aprio);
leaf              549 net/sched/sch_htb.c 	list_del_init(&cl->un.leaf.drop_list);
leaf              575 net/sched/sch_htb.c 	} else if ((ret = qdisc_enqueue(skb, cl->un.leaf.q)) != NET_XMIT_SUCCESS) {
leaf              620 net/sched/sch_htb.c 	} else if ((ret = cl->un.leaf.q->ops->requeue(skb, cl->un.leaf.q)) !=
leaf              825 net/sched/sch_htb.c 		if (unlikely(cl->un.leaf.q->q.qlen == 0)) {
leaf              843 net/sched/sch_htb.c 		skb = cl->un.leaf.q->dequeue(cl->un.leaf.q);
leaf              862 net/sched/sch_htb.c 		cl->un.leaf.deficit[level] -= qdisc_pkt_len(skb);
leaf              863 net/sched/sch_htb.c 		if (cl->un.leaf.deficit[level] < 0) {
leaf              864 net/sched/sch_htb.c 			cl->un.leaf.deficit[level] += cl->un.leaf.quantum;
leaf              870 net/sched/sch_htb.c 		if (!cl->un.leaf.q->q.qlen)
leaf              942 net/sched/sch_htb.c 							  un.leaf.drop_list);
leaf              944 net/sched/sch_htb.c 			if (cl->un.leaf.q->ops->drop &&
leaf              945 net/sched/sch_htb.c 			    (len = cl->un.leaf.q->ops->drop(cl->un.leaf.q))) {
leaf              947 net/sched/sch_htb.c 				if (!cl->un.leaf.q->q.qlen)
leaf              970 net/sched/sch_htb.c 				if (cl->un.leaf.q)
leaf              971 net/sched/sch_htb.c 					qdisc_reset(cl->un.leaf.q);
leaf              972 net/sched/sch_htb.c 				INIT_LIST_HEAD(&cl->un.leaf.drop_list);
leaf             1085 net/sched/sch_htb.c 	if (!cl->level && cl->un.leaf.q)
leaf             1086 net/sched/sch_htb.c 		tcm->tcm_info = cl->un.leaf.q->handle;
leaf             1098 net/sched/sch_htb.c 	opt.quantum = cl->un.leaf.quantum;
leaf             1099 net/sched/sch_htb.c 	opt.prio = cl->un.leaf.prio;
leaf             1118 net/sched/sch_htb.c 	if (!cl->level && cl->un.leaf.q)
leaf             1119 net/sched/sch_htb.c 		cl->qstats.qlen = cl->un.leaf.q->q.qlen;
leaf             1144 net/sched/sch_htb.c 		if ((*old = xchg(&cl->un.leaf.q, new)) != NULL) {
leaf             1157 net/sched/sch_htb.c 	return (cl && !cl->level) ? cl->un.leaf.q : NULL;
leaf             1164 net/sched/sch_htb.c 	if (cl->un.leaf.q->q.qlen == 0)
leaf             1192 net/sched/sch_htb.c 	WARN_ON(cl->level || !cl->un.leaf.q || cl->prio_activity);
leaf             1199 net/sched/sch_htb.c 	INIT_LIST_HEAD(&parent->un.leaf.drop_list);
leaf             1200 net/sched/sch_htb.c 	parent->un.leaf.q = new_q ? new_q : &noop_qdisc;
leaf             1201 net/sched/sch_htb.c 	parent->un.leaf.quantum = parent->quantum;
leaf             1202 net/sched/sch_htb.c 	parent->un.leaf.prio = parent->prio;
leaf             1212 net/sched/sch_htb.c 		WARN_ON(!cl->un.leaf.q);
leaf             1213 net/sched/sch_htb.c 		qdisc_destroy(cl->un.leaf.q);
leaf             1275 net/sched/sch_htb.c 		qlen = cl->un.leaf.q->q.qlen;
leaf             1276 net/sched/sch_htb.c 		qdisc_reset(cl->un.leaf.q);
leaf             1277 net/sched/sch_htb.c 		qdisc_tree_decrease_qlen(cl->un.leaf.q, qlen);
leaf             1379 net/sched/sch_htb.c 		INIT_LIST_HEAD(&cl->un.leaf.drop_list);
leaf             1392 net/sched/sch_htb.c 			unsigned int qlen = parent->un.leaf.q->q.qlen;
leaf             1395 net/sched/sch_htb.c 			qdisc_reset(parent->un.leaf.q);
leaf             1396 net/sched/sch_htb.c 			qdisc_tree_decrease_qlen(parent->un.leaf.q, qlen);
leaf             1397 net/sched/sch_htb.c 			qdisc_destroy(parent->un.leaf.q);
leaf             1411 net/sched/sch_htb.c 		cl->un.leaf.q = new_q ? new_q : &noop_qdisc;
leaf             1438 net/sched/sch_htb.c 		cl->un.leaf.quantum = rtab->rate.rate / q->rate2quantum;
leaf             1439 net/sched/sch_htb.c 		if (!hopt->quantum && cl->un.leaf.quantum < 1000) {
leaf             1443 net/sched/sch_htb.c 			cl->un.leaf.quantum = 1000;
leaf             1445 net/sched/sch_htb.c 		if (!hopt->quantum && cl->un.leaf.quantum > 200000) {
leaf             1449 net/sched/sch_htb.c 			cl->un.leaf.quantum = 200000;
leaf             1452 net/sched/sch_htb.c 			cl->un.leaf.quantum = hopt->quantum;
leaf             1453 net/sched/sch_htb.c 		if ((cl->un.leaf.prio = hopt->prio) >= TC_HTB_NUMPRIO)
leaf             1454 net/sched/sch_htb.c 			cl->un.leaf.prio = TC_HTB_NUMPRIO - 1;
leaf             1457 net/sched/sch_htb.c 		cl->quantum = cl->un.leaf.quantum;
leaf             1458 net/sched/sch_htb.c 		cl->prio = cl->un.leaf.prio;
leaf             1547 net/sched/sch_htb.c 	.leaf		=	htb_leaf,
leaf              127 net/sched/sch_ingress.c 	.leaf		=	ingress_leaf,
leaf              434 net/sched/sch_multiq.c 	.leaf		=	multiq_leaf,
leaf              703 net/sched/sch_netem.c 	.leaf		=	netem_leaf,
leaf              404 net/sched/sch_prio.c 	.leaf		=	prio_leaf,
leaf              348 net/sched/sch_red.c 	.leaf		=	red_leaf,
leaf              455 net/sched/sch_tbf.c 	.leaf		=	tbf_leaf,