Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
Dobd_config.c340 if (!LUSTRE_CFG_BUFLEN(lcfg, 1)) { in class_attach()
346 if (!LUSTRE_CFG_BUFLEN(lcfg, 0)) { in class_attach()
352 if (!LUSTRE_CFG_BUFLEN(lcfg, 2)) { in class_attach()
642 if (lcfg->lcfg_bufcount >= 2 && LUSTRE_CFG_BUFLEN(lcfg, 1) > 0) { in class_cleanup()
778 if (LUSTRE_CFG_BUFLEN(lcfg, 1) < 1 || in class_add_conn()
779 LUSTRE_CFG_BUFLEN(lcfg, 1) > sizeof(struct obd_uuid)) { in class_add_conn()
813 if (LUSTRE_CFG_BUFLEN(lcfg, 1) < 1 || in class_del_conn()
814 LUSTRE_CFG_BUFLEN(lcfg, 1) > sizeof(struct obd_uuid)) { in class_del_conn()
1012 new_len = LUSTRE_CFG_BUFLEN(cfg, 1) + strlen(new_name) - name_len; in lustre_cfg_rename()
1122 (lcfg->lcfg_bufcount < 2 || LUSTRE_CFG_BUFLEN(lcfg, 1) == 0) in class_process_config()
[all …]
/linux-4.1.27/drivers/staging/lustre/lustre/ldlm/
Dldlm_lib.c318 if (LUSTRE_CFG_BUFLEN(lcfg, 1) < 1) { in client_obd_setup()
323 if (LUSTRE_CFG_BUFLEN(lcfg, 1) > 37) { in client_obd_setup()
328 if (LUSTRE_CFG_BUFLEN(lcfg, 2) < 1) { in client_obd_setup()
333 if (LUSTRE_CFG_BUFLEN(lcfg, 2) > 37) { in client_obd_setup()
342 min_t(unsigned int, LUSTRE_CFG_BUFLEN(lcfg, 2), in client_obd_setup()
427 LUSTRE_CFG_BUFLEN(lcfg, 1)); in client_obd_setup()
441 if (LUSTRE_CFG_BUFLEN(lcfg, 3) > 0) { in client_obd_setup()
/linux-4.1.27/drivers/staging/lustre/lustre/include/
Dlustre_cfg.h119 #define LUSTRE_CFG_BUFLEN(lcfg, idx) \ macro
/linux-4.1.27/drivers/staging/lustre/lustre/lov/
Dlov_obd.c774 if (LUSTRE_CFG_BUFLEN(lcfg, 1) < 1) { in lov_setup()
781 if (sizeof(*desc) > LUSTRE_CFG_BUFLEN(lcfg, 1)) { in lov_setup()
783 (int)sizeof(*desc), LUSTRE_CFG_BUFLEN(lcfg, 1)); in lov_setup()
927 if (LUSTRE_CFG_BUFLEN(lcfg, 1) > sizeof(obd_uuid.uuid)) { in lov_process_config_base()
/linux-4.1.27/drivers/staging/lustre/lustre/lmv/
Dlmv_obd.c1318 if (LUSTRE_CFG_BUFLEN(lcfg, 1) < 1) { in lmv_setup()
1324 if (sizeof(*desc) > LUSTRE_CFG_BUFLEN(lcfg, 1)) { in lmv_setup()
1326 (int)sizeof(*desc), LUSTRE_CFG_BUFLEN(lcfg, 1)); in lmv_setup()
1401 if (LUSTRE_CFG_BUFLEN(lcfg, 1) > sizeof(obd_uuid.uuid)) { in lmv_process_config()
/linux-4.1.27/drivers/staging/lustre/lustre/mgc/
Dmgc_request.c1631 if (LUSTRE_CFG_BUFLEN(lcfg, 1) != in mgc_process_config()
/linux-4.1.27/drivers/staging/lustre/lustre/obdecho/
Decho_client.c2037 if (lcfg->lcfg_bufcount < 2 || LUSTRE_CFG_BUFLEN(lcfg, 1) < 1) { in echo_client_setup()