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.c2038 ext4_group_t group, int cr) in ext4_mb_good_group() argument
2044 BUG_ON(cr < 0 || cr >= 4); in ext4_mb_good_group()
2049 if (cr <= 2 && free < ac->ac_g_ex.fe_len) in ext4_mb_good_group()
2066 switch (cr) { in ext4_mb_good_group()
2105 int cr; in ext4_mb_regular_allocator() local
2160 cr = ac->ac_2order ? 0 : 1; in ext4_mb_regular_allocator()
2166 for (; cr < 4 && ac->ac_status == AC_STATUS_CONTINUE; cr++) { in ext4_mb_regular_allocator()
2167 ac->ac_criteria = cr; in ext4_mb_regular_allocator()
2185 ret = ext4_mb_good_group(ac, group, cr); in ext4_mb_regular_allocator()
2202 ret = ext4_mb_good_group(ac, group, cr); in ext4_mb_regular_allocator()
[all …]
/fs/nfsd/
Dnfs4state.c2040 static bool is_gss_cred(struct svc_cred *cr) in is_gss_cred() argument
2043 return (cr->cr_flavor > RPC_AUTH_MAXFLAVOR); in is_gss_cred()
2064 struct svc_cred *cr = &rqstp->rq_cred; in svc_rqst_integrity_protected() local
2067 if (!cr->cr_gss_mech) in svc_rqst_integrity_protected()
2069 service = gss_pseudoflavor_to_service(cr->cr_gss_mech, cr->cr_flavor); in svc_rqst_integrity_protected()
2076 struct svc_cred *cr = &rqstp->rq_cred; in nfsd4_mach_creds_match() local
2080 if (cl->cl_cred.cr_gss_mech != cr->cr_gss_mech) in nfsd4_mach_creds_match()
2086 cr->cr_raw_principal); in nfsd4_mach_creds_match()
2087 if (!cr->cr_principal) in nfsd4_mach_creds_match()
2089 return 0 == strcmp(cl->cl_cred.cr_principal, cr->cr_principal); in nfsd4_mach_creds_match()
/fs/btrfs/
Dsend.c1205 struct clone_root *cr = (struct clone_root *)elt; in __clone_root_cmp_bsearch() local
1207 if (root < cr->root->objectid) in __clone_root_cmp_bsearch()
1209 if (root > cr->root->objectid) in __clone_root_cmp_bsearch()