Home
last modified time | relevance | path

Searched refs:legacy (Results 1 – 9 of 9) sorted by relevance

/fs/ceph/
Dutil.c32 struct ceph_file_layout_legacy *legacy) in ceph_file_layout_from_legacy() argument
34 fl->stripe_unit = le32_to_cpu(legacy->fl_stripe_unit); in ceph_file_layout_from_legacy()
35 fl->stripe_count = le32_to_cpu(legacy->fl_stripe_count); in ceph_file_layout_from_legacy()
36 fl->object_size = le32_to_cpu(legacy->fl_object_size); in ceph_file_layout_from_legacy()
37 fl->pool_id = le32_to_cpu(legacy->fl_pg_pool); in ceph_file_layout_from_legacy()
44 struct ceph_file_layout_legacy *legacy) in ceph_file_layout_to_legacy() argument
46 legacy->fl_stripe_unit = cpu_to_le32(fl->stripe_unit); in ceph_file_layout_to_legacy()
47 legacy->fl_stripe_count = cpu_to_le32(fl->stripe_count); in ceph_file_layout_to_legacy()
48 legacy->fl_object_size = cpu_to_le32(fl->object_size); in ceph_file_layout_to_legacy()
50 legacy->fl_pg_pool = cpu_to_le32(fl->pool_id); in ceph_file_layout_to_legacy()
[all …]
Dmds_client.c2563 bool legacy = !(session->s_con.peer_features & CEPH_FEATURE_FS_BTIME); in create_request_message() local
2585 len = legacy ? sizeof(*head) : sizeof(struct ceph_mds_request_head); in create_request_message()
2612 if (legacy) { in create_request_message()
2718 bool legacy = !(features & CEPH_FEATURE_FS_BTIME); in find_old_request_head() local
2721 if (legacy) in find_old_request_head()
/fs/nfsd/
Dnfs4recover.c1957 char *hexid, *has_session, *legacy; in nfsd4_umh_cltrack_check() local
1969 legacy = nfsd4_cltrack_legacy_recdir(&clp->cl_name); in nfsd4_umh_cltrack_check()
1975 ret = nfsd4_umh_cltrack_upcall("check", hexid, has_session, legacy); in nfsd4_umh_cltrack_check()
1981 kfree(legacy); in nfsd4_umh_cltrack_check()
1990 char *legacy; in nfsd4_umh_cltrack_grace_done() local
1994 legacy = nfsd4_cltrack_legacy_topdir(); in nfsd4_umh_cltrack_grace_done()
1995 nfsd4_umh_cltrack_upcall("gracedone", timestr, legacy, NULL); in nfsd4_umh_cltrack_grace_done()
1996 kfree(legacy); in nfsd4_umh_cltrack_grace_done()
/fs/cifs/
DKconfig71 bool "Support legacy servers which use less secure dialects"
78 of legacy dialects (SMB1/CIFS and SMB2.0) is discouraged.
Dcifsproto.h322 int legacy /* whether to use old info level */,
Dcifssmb.c4074 int legacy /* old style infolevel */, in CIFSSMBQPathInfo() argument
4122 if (legacy) in CIFSSMBQPathInfo()
4139 else if (!legacy && get_bcc(&pSMBr->hdr) < 40) in CIFSSMBQPathInfo()
4141 else if (legacy && get_bcc(&pSMBr->hdr) < 24) in CIFSSMBQPathInfo()
4154 if (legacy) in CIFSSMBQPathInfo()
/fs/nfs/
DKconfig179 bool "Use the legacy NFS DNS resolver"
/fs/
DKconfig.binfmt119 bool "Enable support for very old legacy flat binaries"
/fs/proc/
Dbase.c1074 static int __set_oom_adj(struct file *file, int oom_adj, bool legacy) in __set_oom_adj() argument
1085 if (legacy) { in __set_oom_adj()
1124 if (!legacy && has_capability_noaudit(current, CAP_SYS_RESOURCE)) in __set_oom_adj()
1143 if (!legacy && has_capability_noaudit(current, CAP_SYS_RESOURCE)) in __set_oom_adj()