cregit-Linux how code gets into the kernel

Release 4.11 net/ceph/ceph_strings.c

Directory: net/ceph
/*
 * Ceph string constants
 */
#include <linux/module.h>
#include <linux/ceph/types.h>


const char *ceph_entity_type_name(int type) { switch (type) { case CEPH_ENTITY_TYPE_MDS: return "mds"; case CEPH_ENTITY_TYPE_OSD: return "osd"; case CEPH_ENTITY_TYPE_MON: return "mon"; case CEPH_ENTITY_TYPE_CLIENT: return "client"; case CEPH_ENTITY_TYPE_AUTH: return "auth"; default: return "unknown"; } }

Contributors

PersonTokensPropCommitsCommitProp
Yehuda Sadeh Weinraub50100.00%1100.00%
Total50100.00%1100.00%

EXPORT_SYMBOL(ceph_entity_type_name);
const char *ceph_osd_op_name(int op) { switch (op) { #define GENERATE_CASE(op, opcode, str) case CEPH_OSD_OP_##op: return (str); __CEPH_FORALL_OSD_OPS(GENERATE_CASE) #undef GENERATE_CASE default: return "???"; } }

Contributors

PersonTokensPropCommitsCommitProp
Ilya Dryomov2052.63%150.00%
Yehuda Sadeh Weinraub1847.37%150.00%
Total38100.00%2100.00%


const char *ceph_osd_watch_op_name(int o) { switch (o) { case CEPH_OSD_WATCH_OP_UNWATCH: return "unwatch"; case CEPH_OSD_WATCH_OP_WATCH: return "watch"; case CEPH_OSD_WATCH_OP_RECONNECT: return "reconnect"; case CEPH_OSD_WATCH_OP_PING: return "ping"; default: return "???"; } }

Contributors

PersonTokensPropCommitsCommitProp
Ilya Dryomov44100.00%1100.00%
Total44100.00%1100.00%


const char *ceph_osd_state_name(int s) { switch (s) { case CEPH_OSD_EXISTS: return "exists"; case CEPH_OSD_UP: return "up"; case CEPH_OSD_AUTOOUT: return "autoout"; case CEPH_OSD_NEW: return "new"; default: return "???"; } }

Contributors

PersonTokensPropCommitsCommitProp
Alex Elder44100.00%1100.00%
Total44100.00%1100.00%


Overall Contributors

PersonTokensPropCommitsCommitProp
Yehuda Sadeh Weinraub7539.89%120.00%
Ilya Dryomov6936.70%360.00%
Alex Elder4423.40%120.00%
Total188100.00%5100.00%
Directory: net/ceph
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.