Searched refs:logname (Results 1 – 5 of 5) sorted by relevance
/drivers/staging/lustre/lustre/mgc/ |
D | mgc_request.c | 98 static int mgc_logname2resid(char *logname, struct ldlm_res_id *res_id, int type) in mgc_logname2resid() argument 106 name_end = strrchr(logname, '-'); in mgc_logname2resid() 108 len = strlen(logname); in mgc_logname2resid() 110 len = name_end - logname; in mgc_logname2resid() 111 return mgc_name2resid(logname, len, res_id, type); in mgc_logname2resid() 158 struct config_llog_data *config_log_find(char *logname, in config_log_find() argument 165 LASSERT(logname != NULL); in config_log_find() 175 if (strcmp(logname, cld->cld_logname) == 0) { in config_log_find() 190 char *logname, in do_config_log_add() argument 198 CDEBUG(D_MGC, "do adding config log %s:%p\n", logname, in do_config_log_add() [all …]
|
/drivers/staging/lustre/lustre/ptlrpc/ |
D | sec_config.c | 635 static int logname2fsname(const char *logname, char *buf, int buflen) in logname2fsname() argument 640 ptr = strrchr(logname, '-'); in logname2fsname() 642 CERROR("%s is not a sptlrpc config log\n", logname); in logname2fsname() 646 len = min((int) (ptr - logname), buflen - 1); in logname2fsname() 648 memcpy(buf, logname, len); in logname2fsname() 653 void sptlrpc_conf_log_update_begin(const char *logname) in sptlrpc_conf_log_update_begin() argument 658 if (logname2fsname(logname, fsname, sizeof(fsname))) in sptlrpc_conf_log_update_begin() 679 void sptlrpc_conf_log_update_end(const char *logname) in sptlrpc_conf_log_update_end() argument 684 if (logname2fsname(logname, fsname, sizeof(fsname))) in sptlrpc_conf_log_update_end() 705 void sptlrpc_conf_log_start(const char *logname) in sptlrpc_conf_log_start() argument [all …]
|
/drivers/staging/lustre/lustre/include/ |
D | lustre_log.h | 62 #define LOG_NAME_LIMIT(logname, name) \ argument 63 snprintf(logname, sizeof(logname), "LOGS/%s", name) 376 int lustre_process_log(struct super_block *sb, char *logname, 378 int lustre_end_log(struct super_block *sb, char *logname,
|
D | lustre_sec.h | 333 void sptlrpc_conf_log_start(const char *logname); 334 void sptlrpc_conf_log_stop(const char *logname); 335 void sptlrpc_conf_log_update_begin(const char *logname); 336 void sptlrpc_conf_log_update_end(const char *logname);
|
/drivers/staging/lustre/lustre/obdclass/ |
D | obd_mount.c | 74 int lustre_process_log(struct super_block *sb, char *logname, in lustre_process_log() argument 92 lustre_cfg_bufs_set_string(bufs, 1, logname); in lustre_process_log() 103 mgc->obd_name, logname, rc); in lustre_process_log() 107 mgc->obd_name, logname, in lustre_process_log() 116 int lustre_end_log(struct super_block *sb, char *logname, in lustre_end_log() argument 130 lustre_cfg_bufs_set_string(&bufs, 1, logname); in lustre_end_log()
|