Home
last modified time | relevance | path

Searched refs:middle (Results 1 – 7 of 7) sorted by relevance

/fs/jfs/
Djfs_xtree.c946 int skip, maxentry, middle, righthalf, n; in xtSplitPage() local
1093 middle = maxentry >> 1; in xtSplitPage()
1094 righthalf = maxentry - middle; in xtSplitPage()
1099 if (skip <= middle) { in xtSplitPage()
1101 memmove(&rp->xad[XTENTRYSTART], &sp->xad[middle], in xtSplitPage()
1105 if (skip < middle) in xtSplitPage()
1107 (middle - skip) << L2XTSLOTSIZE); in xtSplitPage()
1115 sp->header.nextindex = cpu_to_le16(middle + 1); in xtSplitPage()
1129 n = skip - middle; in xtSplitPage()
1130 memmove(&rp->xad[XTENTRYSTART], &sp->xad[middle], in xtSplitPage()
[all …]
/fs/overlayfs/
Dreaddir.c44 struct list_head middle; member
205 list_move_tail(&p->l_node, &rdd->middle); in ovl_fill_lowest()
211 list_add_tail(&p->l_node, &rdd->middle); in ovl_fill_lowest()
370 list_add(&rdd.middle, rdd.list); in ovl_dir_read_merged()
373 list_del(&rdd.middle); in ovl_dir_read_merged()
/fs/ocfs2/
Drefcounttree.c1415 int delta, middle = num_used / 2; in ocfs2_find_refcount_split_pos() local
1417 for (delta = 0; delta < middle; delta++) { in ocfs2_find_refcount_split_pos()
1420 &rl->rl_recs[middle - delta - 1], in ocfs2_find_refcount_split_pos()
1421 &rl->rl_recs[middle - delta])) { in ocfs2_find_refcount_split_pos()
1422 *split_index = middle - delta; in ocfs2_find_refcount_split_pos()
1427 if ((middle + delta + 1) == num_used) in ocfs2_find_refcount_split_pos()
1432 &rl->rl_recs[middle + delta], in ocfs2_find_refcount_split_pos()
1433 &rl->rl_recs[middle + delta + 1])) { in ocfs2_find_refcount_split_pos()
1434 *split_index = middle + delta + 1; in ocfs2_find_refcount_split_pos()
1439 if (delta >= middle) in ocfs2_find_refcount_split_pos()
Dxattr.c4585 int delta, middle = count / 2; in ocfs2_xattr_find_divide_pos() local
4593 for (delta = 0; delta < middle; delta++) { in ocfs2_xattr_find_divide_pos()
4595 if (cmp_xe(&entries[middle - delta - 1], in ocfs2_xattr_find_divide_pos()
4596 &entries[middle - delta])) in ocfs2_xattr_find_divide_pos()
4597 return middle - delta; in ocfs2_xattr_find_divide_pos()
4600 if ((middle + delta + 1) == count) in ocfs2_xattr_find_divide_pos()
4604 if (cmp_xe(&entries[middle + delta], in ocfs2_xattr_find_divide_pos()
4605 &entries[middle + delta + 1])) in ocfs2_xattr_find_divide_pos()
4606 return middle + delta + 1; in ocfs2_xattr_find_divide_pos()
/fs/smb/client/
DKconfig77 man-in-the-middle attacks and stronger crypto hashes, so the use
/fs/ceph/
Dcaps.c1272 msg->middle = ceph_buffer_get(arg->xattr_buf); in encode_cap_msg()
4255 h, msg->middle, &extra_info); in ceph_handle_caps()
4279 h, msg->middle, &extra_info); in ceph_handle_caps()
/fs/btrfs/
Dextent-tree.c2081 u64 middle; in find_middle() local
2100 middle = entry->bytenr; in find_middle()
2109 return middle; in find_middle()