Searched refs:logname (Results 1 – 5 of 5) sorted by relevance
/linux-4.1.27/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 …]
|
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/ |
D | sec_config.c | 674 static int logname2fsname(const char *logname, char *buf, int buflen) in logname2fsname() argument 679 ptr = strrchr(logname, '-'); in logname2fsname() 681 CERROR("%s is not a sptlrpc config log\n", logname); in logname2fsname() 685 len = min((int) (ptr - logname), buflen - 1); in logname2fsname() 687 memcpy(buf, logname, len); in logname2fsname() 692 void sptlrpc_conf_log_update_begin(const char *logname) in sptlrpc_conf_log_update_begin() argument 697 if (logname2fsname(logname, fsname, sizeof(fsname))) in sptlrpc_conf_log_update_begin() 718 void sptlrpc_conf_log_update_end(const char *logname) in sptlrpc_conf_log_update_end() argument 723 if (logname2fsname(logname, fsname, sizeof(fsname))) in sptlrpc_conf_log_update_end() 744 void sptlrpc_conf_log_start(const char *logname) in sptlrpc_conf_log_start() argument [all …]
|
/linux-4.1.27/drivers/staging/lustre/lustre/include/ |
D | lustre_log.h | 63 #define LOG_NAME_LIMIT(logname, name) \ argument 64 snprintf(logname, sizeof(logname), "LOGS/%s", name) 530 int lustre_process_log(struct super_block *sb, char *logname, 532 int lustre_end_log(struct super_block *sb, char *logname,
|
D | lustre_sec.h | 345 void sptlrpc_conf_log_start(const char *logname); 346 void sptlrpc_conf_log_stop(const char *logname); 347 void sptlrpc_conf_log_update_begin(const char *logname); 348 void sptlrpc_conf_log_update_end(const char *logname);
|
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/ |
D | obd_mount.c | 75 int lustre_process_log(struct super_block *sb, char *logname, in lustre_process_log() argument 93 lustre_cfg_bufs_set_string(bufs, 1, logname); in lustre_process_log() 104 mgc->obd_name, logname, rc); in lustre_process_log() 108 mgc->obd_name, logname, in lustre_process_log() 117 int lustre_end_log(struct super_block *sb, char *logname, in lustre_end_log() argument 131 lustre_cfg_bufs_set_string(&bufs, 1, logname); in lustre_end_log()
|