Home
last modified time | relevance | path

Searched refs:obd_statfs (Results 1 – 19 of 19) sorted by relevance

/linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/
Dwiretest.c1443 LASSERTF((int)sizeof(struct obd_statfs) == 144, "found %lld\n", in lustre_assert_wire_constants()
1444 (long long)(int)sizeof(struct obd_statfs)); in lustre_assert_wire_constants()
1445 LASSERTF((int)offsetof(struct obd_statfs, os_type) == 0, "found %lld\n", in lustre_assert_wire_constants()
1446 (long long)(int)offsetof(struct obd_statfs, os_type)); in lustre_assert_wire_constants()
1447 LASSERTF((int)sizeof(((struct obd_statfs *)0)->os_type) == 8, "found %lld\n", in lustre_assert_wire_constants()
1448 (long long)(int)sizeof(((struct obd_statfs *)0)->os_type)); in lustre_assert_wire_constants()
1449 LASSERTF((int)offsetof(struct obd_statfs, os_blocks) == 8, "found %lld\n", in lustre_assert_wire_constants()
1450 (long long)(int)offsetof(struct obd_statfs, os_blocks)); in lustre_assert_wire_constants()
1451 LASSERTF((int)sizeof(((struct obd_statfs *)0)->os_blocks) == 8, "found %lld\n", in lustre_assert_wire_constants()
1452 (long long)(int)sizeof(((struct obd_statfs *)0)->os_blocks)); in lustre_assert_wire_constants()
[all …]
Dlayout.c924 sizeof(struct obd_statfs), lustre_swab_obd_statfs, NULL);
Dpack_generic.c1570 void lustre_swab_obd_statfs(struct obd_statfs *os) in lustre_swab_obd_statfs()
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/
Dlprocfs_status.c375 struct obd_statfs osfs; in blocksize_show()
376 int rc = obd_statfs(NULL, obd->obd_self_export, &osfs, in blocksize_show()
391 struct obd_statfs osfs; in kbytestotal_show()
392 int rc = obd_statfs(NULL, obd->obd_self_export, &osfs, in kbytestotal_show()
414 struct obd_statfs osfs; in kbytesfree_show()
415 int rc = obd_statfs(NULL, obd->obd_self_export, &osfs, in kbytesfree_show()
437 struct obd_statfs osfs; in kbytesavail_show()
438 int rc = obd_statfs(NULL, obd->obd_self_export, &osfs, in kbytesavail_show()
460 struct obd_statfs osfs; in filestotal_show()
461 int rc = obd_statfs(NULL, obd->obd_self_export, &osfs, in filestotal_show()
[all …]
Dstatfs_pack.c49 void statfs_unpack(struct kstatfs *sfs, struct obd_statfs *osfs) in statfs_unpack()
/linux-4.4.14/drivers/staging/lustre/lustre/lov/
Dlov_internal.h187 void lov_update_statfs(struct obd_statfs *osfs, struct obd_statfs *lov_sfs,
189 int lov_fini_statfs(struct obd_device *obd, struct obd_statfs *osfs,
Dlov_request.c558 int lov_fini_statfs(struct obd_device *obd, struct obd_statfs *osfs, in lov_fini_statfs()
594 void lov_update_statfs(struct obd_statfs *osfs, struct obd_statfs *lov_sfs, in lov_update_statfs()
655 struct obd_statfs *osfs, *lov_sfs; in cb_statfs_update()
Dlov_obd.c1365 struct obd_statfs *osfs, __u64 max_age, __u32 flags) in lov_statfs()
1399 struct obd_statfs stat_buf = {0}; in lov_iocontrol()
1425 rc = obd_statfs(NULL, lov->lov_tgts[index]->ltd_exp, &stat_buf, in lov_iocontrol()
/linux-4.4.14/drivers/staging/lustre/lustre/include/
Dobd.h158 struct obd_statfs *oi_osfs;
405 struct obd_statfs lsd_statfs;
763 struct obd_statfs obd_osfs; /* locked by obd_osfs_lock */
1016 struct obd_statfs *osfs, __u64 max_age, __u32 flags);
Dlustre_lib.h104 void statfs_unpack(struct kstatfs *sfs, struct obd_statfs *osfs);
Dobd_class.h1054 struct obd_statfs *osfs, __u64 max_age, in obd_statfs_rqset()
1077 static inline int obd_statfs(const struct lu_env *env, struct obd_export *exp, in obd_statfs() function
1078 struct obd_statfs *osfs, __u64 max_age, in obd_statfs()
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
Dlproc_llite.c56 struct obd_statfs osfs; in blocksize_show()
74 struct obd_statfs osfs; in kbytestotal_show()
99 struct obd_statfs osfs; in kbytesfree_show()
124 struct obd_statfs osfs; in kbytesavail_show()
149 struct obd_statfs osfs; in filestotal_show()
167 struct obd_statfs osfs; in filesfree_show()
Dllite_lib.c149 struct obd_statfs *osfs = NULL; in client_common_fill_super()
256 err = obd_statfs(NULL, sbi->ll_md_exp, osfs, in client_common_fill_super()
1402 int ll_statfs_internal(struct super_block *sb, struct obd_statfs *osfs, in ll_statfs_internal()
1406 struct obd_statfs obd_osfs; in ll_statfs_internal()
1409 rc = obd_statfs(NULL, sbi->ll_md_exp, osfs, max_age, flags); in ll_statfs_internal()
1455 struct obd_statfs osfs; in ll_statfs()
2056 data->ioc_plen1 != sizeof(struct obd_statfs) || in ll_obd_statfs()
Dllite_internal.h773 int ll_statfs_internal(struct super_block *sb, struct obd_statfs *osfs,
/linux-4.4.14/drivers/staging/lustre/lustre/include/lustre/
Dlustre_user.h76 struct obd_statfs { struct
215 #define IOC_OBD_STATFS _IOWR('f', 164, struct obd_statfs *)
Dlustre_idl.h1748 void lustre_swab_obd_statfs(struct obd_statfs *os);
/linux-4.4.14/drivers/staging/lustre/lustre/lmv/
Dlmv_obd.c883 struct obd_statfs stat_buf = {0}; in lmv_iocontrol()
904 rc = obd_statfs(NULL, lmv->tgts[index]->ltd_exp, &stat_buf, in lmv_iocontrol()
1388 struct obd_statfs *osfs, __u64 max_age, __u32 flags) in lmv_statfs()
1392 struct obd_statfs *temp; in lmv_statfs()
1408 rc = obd_statfs(env, lmv->tgts[i]->ltd_exp, temp, in lmv_statfs()
/linux-4.4.14/drivers/staging/lustre/lustre/mdc/
Dmdc_request.c1045 struct obd_export *exp, struct obd_statfs *osfs, in mdc_statfs()
1050 struct obd_statfs *msfs; in mdc_statfs()
1803 struct obd_statfs stat_buf = {0}; in mdc_iocontrol()
/linux-4.4.14/drivers/staging/lustre/lustre/osc/
Dosc_request.c2393 struct obd_statfs *msfs; in osc_statfs_interpret()
2468 struct obd_statfs *osfs, __u64 max_age, __u32 flags) in osc_statfs()
2471 struct obd_statfs *msfs; in osc_statfs()