Home
last modified time | relevance | path

Searched refs:l2 (Results 1 – 11 of 11) sorted by relevance

/fs/ntfs3/
Dupcase.c36 int ntfs_cmp_names(const __le16 *s1, size_t l1, const __le16 *s2, size_t l2, in ntfs_cmp_names() argument
41 size_t len = min(l1, l2); in ntfs_cmp_names()
55 return l1 - l2; in ntfs_cmp_names()
65 diff2 = l1 - l2; in ntfs_cmp_names()
75 size_t l2 = uni2->len; in ntfs_cmp_names_cpu() local
76 size_t len = min(l1, l2); in ntfs_cmp_names_cpu()
92 return l1 - l2; in ntfs_cmp_names_cpu()
102 diff2 = l1 - l2; in ntfs_cmp_names_cpu()
Dindex.c34 static int cmp_fnames(const void *key1, size_t l1, const void *key2, size_t l2, in cmp_fnames() argument
43 if (l2 <= offsetof(struct ATTR_FILE_NAME, name)) in cmp_fnames()
47 if (l2 < fsize2) in cmp_fnames()
69 static int cmp_uint(const void *key1, size_t l1, const void *key2, size_t l2, in cmp_uint() argument
75 if (l2 < sizeof(u32)) in cmp_uint()
88 static int cmp_sdh(const void *key1, size_t l1, const void *key2, size_t l2, in cmp_sdh() argument
95 if (l2 < sizeof(struct SECURITY_KEY)) in cmp_sdh()
123 static int cmp_uints(const void *key1, size_t l1, const void *key2, size_t l2, in cmp_uints() argument
139 if (l2 <= sizeof(int)) in cmp_uints()
141 l2 -= sizeof(int); in cmp_uints()
[all …]
Dntfs_fs.h835 int ntfs_cmp_names(const __le16 *s1, size_t l1, const __le16 *s2, size_t l2,
/fs/hpfs/
Dname.c77 const unsigned char *n2, unsigned l2, int last) in hpfs_compare_names() argument
79 unsigned l = l1 < l2 ? l1 : l2; in hpfs_compare_names()
88 if (l1 < l2) return -1; in hpfs_compare_names()
89 if (l1 > l2) return 1; in hpfs_compare_names()
/fs/cifs/
Ddir.c814 int i, l1, l2; in cifs_ci_compare() local
828 l2 = codepage->char2uni(&name->name[i], name->len - i, &c2); in cifs_ci_compare()
834 if (unlikely(l1 < 0 && l2 < 0)) { in cifs_ci_compare()
845 if (l1 != l2) in cifs_ci_compare()
Ddfs_cache.c624 int i, l1, l2; in dfs_path_equal() local
632 l2 = cache_cp->char2uni(&s2[i], len2 - i, &c2); in dfs_path_equal()
633 if (unlikely(l1 < 0 && l2 < 0)) { in dfs_path_equal()
639 if (l1 != l2) in dfs_path_equal()
/fs/nfs/
Dpnfs.h674 const struct pnfs_layout_range *l2) in pnfs_lseg_range_intersecting() argument
677 u64 end2 = pnfs_end_offset(l2->offset, l2->length); in pnfs_lseg_range_intersecting()
679 return pnfs_is_range_intersecting(l1->offset, end1, l2->offset, end2); in pnfs_lseg_range_intersecting()
Dpnfs.c631 const struct pnfs_layout_range *l2) in pnfs_lseg_range_contained() argument
635 u64 start2 = l2->offset; in pnfs_lseg_range_contained()
636 u64 end2 = pnfs_end_offset(start2, l2->length); in pnfs_lseg_range_contained()
1626 const struct pnfs_layout_range *l2) in pnfs_lseg_range_cmp() argument
1631 d = l1->offset - l2->offset; in pnfs_lseg_range_cmp()
1636 d = l2->length - l1->length; in pnfs_lseg_range_cmp()
1641 return (int)(l1->iomode == IOMODE_READ) - (int)(l2->iomode == IOMODE_READ); in pnfs_lseg_range_cmp()
1646 const struct pnfs_layout_range *l2) in pnfs_lseg_range_is_after() argument
1648 return pnfs_lseg_range_cmp(l1, l2) > 0; in pnfs_lseg_range_is_after()
Dpagelist.c1041 const struct nfs_lock_context *l2) in nfs_match_lock_context() argument
1043 return l1->lockowner == l2->lockowner; in nfs_match_lock_context()
/fs/xfs/
Dxfs_extent_busy.c618 const struct list_head *l2) in xfs_extent_busy_ag_cmp() argument
623 container_of(l2, struct xfs_extent_busy, list); in xfs_extent_busy_ag_cmp()
/fs/nfs/flexfilelayout/
Dflexfilelayout.c270 struct pnfs_layout_segment *l2) in ff_lseg_match_mirrors() argument
287 const struct pnfs_layout_range *l2) in ff_lseg_range_is_after() argument
291 if (l1->iomode != l2->iomode) in ff_lseg_range_is_after()
294 end2 = pnfs_calc_offset_end(l2->offset, l2->length); in ff_lseg_range_is_after()
295 if (end1 < l2->offset) in ff_lseg_range_is_after()
299 return l2->offset <= l1->offset; in ff_lseg_range_is_after()