Home
last modified time | relevance | path

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

/fs/ntfs/
Dcollate.h29 static inline bool ntfs_is_collation_rule_supported(COLLATION_RULE cr) { in ntfs_is_collation_rule_supported() argument
37 if (unlikely(cr != COLLATION_BINARY && cr != COLLATION_NTOFS_ULONG)) in ntfs_is_collation_rule_supported()
39 i = le32_to_cpu(cr); in ntfs_is_collation_rule_supported()
46 extern int ntfs_collate(ntfs_volume *vol, COLLATION_RULE cr,
Dcollate.c101 int ntfs_collate(ntfs_volume *vol, COLLATION_RULE cr, in ntfs_collate() argument
111 BUG_ON(cr != COLLATION_BINARY && cr != COLLATION_NTOFS_ULONG); in ntfs_collate()
112 i = le32_to_cpu(cr); in ntfs_collate()
Dlogfile.c276 LOG_CLIENT_RECORD *ca, *cr; in ntfs_check_log_client_array() local
297 idx = le16_to_cpu(cr->next_client)) { in ntfs_check_log_client_array()
301 cr = ca + idx; in ntfs_check_log_client_array()
304 if (cr->prev_client != LOGFILE_NO_CLIENT) in ntfs_check_log_client_array()
/fs/ocfs2/
Dresize.c104 struct ocfs2_chain_rec *cr; in ocfs2_update_last_group_and_inode() local
152 cr = (&cl->cl_recs[chain]); in ocfs2_update_last_group_and_inode()
153 le32_add_cpu(&cr->c_total, num_bits); in ocfs2_update_last_group_and_inode()
154 le32_add_cpu(&cr->c_free, num_bits); in ocfs2_update_last_group_and_inode()
159 le32_add_cpu(&cr->c_free, -1 * backups); in ocfs2_update_last_group_and_inode()
473 struct ocfs2_chain_rec *cr; in ocfs2_group_add() local
535 cr = &cl->cl_recs[input->chain]; in ocfs2_group_add()
546 group->bg_next_group = cr->c_blkno; in ocfs2_group_add()
559 memset(cr, 0, sizeof(struct ocfs2_chain_rec)); in ocfs2_group_add()
562 cr->c_blkno = cpu_to_le64(input->group); in ocfs2_group_add()
[all …]
/fs/ext4/
Dmballoc.c2041 ext4_group_t group, int cr) in ext4_mb_good_group() argument
2047 BUG_ON(cr < 0 || cr >= 4); in ext4_mb_good_group()
2052 if (cr <= 2 && free < ac->ac_g_ex.fe_len) in ext4_mb_good_group()
2069 switch (cr) { in ext4_mb_good_group()
2108 int cr; in ext4_mb_regular_allocator() local
2164 cr = ac->ac_2order ? 0 : 1; in ext4_mb_regular_allocator()
2170 for (; cr < 4 && ac->ac_status == AC_STATUS_CONTINUE; cr++) { in ext4_mb_regular_allocator()
2171 ac->ac_criteria = cr; in ext4_mb_regular_allocator()
2189 ret = ext4_mb_good_group(ac, group, cr); in ext4_mb_regular_allocator()
2206 ret = ext4_mb_good_group(ac, group, cr); in ext4_mb_regular_allocator()
[all …]
/fs/nfsd/
Dnfs4state.c1917 static bool is_gss_cred(struct svc_cred *cr) in is_gss_cred() argument
1920 return (cr->cr_flavor > RPC_AUTH_MAXFLAVOR); in is_gss_cred()
1941 struct svc_cred *cr = &rqstp->rq_cred; in svc_rqst_integrity_protected() local
1944 if (!cr->cr_gss_mech) in svc_rqst_integrity_protected()
1946 service = gss_pseudoflavor_to_service(cr->cr_gss_mech, cr->cr_flavor); in svc_rqst_integrity_protected()
1953 struct svc_cred *cr = &rqstp->rq_cred; in mach_creds_match() local
1957 if (cl->cl_cred.cr_gss_mech != cr->cr_gss_mech) in mach_creds_match()
1961 if (!cr->cr_principal) in mach_creds_match()
1963 return 0 == strcmp(cl->cl_cred.cr_principal, cr->cr_principal); in mach_creds_match()
/fs/btrfs/
Dsend.c1173 struct clone_root *cr = (struct clone_root *)elt; in __clone_root_cmp_bsearch() local
1175 if (root < cr->root->objectid) in __clone_root_cmp_bsearch()
1177 if (root > cr->root->objectid) in __clone_root_cmp_bsearch()