Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/
Dobd_config.c183 if (!LUSTRE_CFG_BUFLEN(lcfg, 1)) { in class_attach()
189 if (!LUSTRE_CFG_BUFLEN(lcfg, 0)) { in class_attach()
195 if (!LUSTRE_CFG_BUFLEN(lcfg, 2)) { in class_attach()
436 if (lcfg->lcfg_bufcount >= 2 && LUSTRE_CFG_BUFLEN(lcfg, 1) > 0) { in class_cleanup()
547 if (LUSTRE_CFG_BUFLEN(lcfg, 1) < 1 || in class_add_conn()
548 LUSTRE_CFG_BUFLEN(lcfg, 1) > sizeof(struct obd_uuid)) { in class_add_conn()
581 if (LUSTRE_CFG_BUFLEN(lcfg, 1) < 1 || in class_del_conn()
582 LUSTRE_CFG_BUFLEN(lcfg, 1) > sizeof(struct obd_uuid)) { in class_del_conn()
803 (lcfg->lcfg_bufcount < 2 || LUSTRE_CFG_BUFLEN(lcfg, 1) == 0) in class_process_config()
816 err = class_add_profile(LUSTRE_CFG_BUFLEN(lcfg, 1), in class_process_config()
[all …]
/linux-4.4.14/drivers/staging/lustre/lustre/ldlm/
Dldlm_lib.c317 if (LUSTRE_CFG_BUFLEN(lcfg, 1) < 1) { in client_obd_setup()
322 if (LUSTRE_CFG_BUFLEN(lcfg, 1) > 37) { in client_obd_setup()
327 if (LUSTRE_CFG_BUFLEN(lcfg, 2) < 1) { in client_obd_setup()
332 if (LUSTRE_CFG_BUFLEN(lcfg, 2) > 37) { in client_obd_setup()
340 min_t(unsigned int, LUSTRE_CFG_BUFLEN(lcfg, 2), in client_obd_setup()
425 LUSTRE_CFG_BUFLEN(lcfg, 1)); in client_obd_setup()
439 if (LUSTRE_CFG_BUFLEN(lcfg, 3) > 0) { in client_obd_setup()
/linux-4.4.14/drivers/staging/lustre/lustre/include/
Dlustre_cfg.h119 #define LUSTRE_CFG_BUFLEN(lcfg, idx) \ macro
/linux-4.4.14/drivers/staging/lustre/lustre/lov/
Dlov_obd.c761 if (LUSTRE_CFG_BUFLEN(lcfg, 1) < 1) { in lov_setup()
768 if (sizeof(*desc) > LUSTRE_CFG_BUFLEN(lcfg, 1)) { in lov_setup()
770 (int)sizeof(*desc), LUSTRE_CFG_BUFLEN(lcfg, 1)); in lov_setup()
910 if (LUSTRE_CFG_BUFLEN(lcfg, 1) > sizeof(obd_uuid.uuid)) { in lov_process_config_base()
/linux-4.4.14/drivers/staging/lustre/lustre/lmv/
Dlmv_obd.c1281 if (LUSTRE_CFG_BUFLEN(lcfg, 1) < 1) { in lmv_setup()
1287 if (sizeof(*desc) > LUSTRE_CFG_BUFLEN(lcfg, 1)) { in lmv_setup()
1289 (int)sizeof(*desc), LUSTRE_CFG_BUFLEN(lcfg, 1)); in lmv_setup()
1361 if (LUSTRE_CFG_BUFLEN(lcfg, 1) > sizeof(obd_uuid.uuid)) { in lmv_process_config()
/linux-4.4.14/drivers/staging/lustre/lustre/mgc/
Dmgc_request.c1601 if (LUSTRE_CFG_BUFLEN(lcfg, 1) != in mgc_process_config()
/linux-4.4.14/drivers/staging/lustre/lustre/obdecho/
Decho_client.c2036 if (lcfg->lcfg_bufcount < 2 || LUSTRE_CFG_BUFLEN(lcfg, 1) < 1) { in echo_client_setup()