Lines Matching refs:dlm_comm

37 static struct dlm_comm *local_comm;
44 struct dlm_comm;
75 static ssize_t comm_nodeid_read(struct dlm_comm *cm, char *buf);
76 static ssize_t comm_nodeid_write(struct dlm_comm *cm, const char *buf,
78 static ssize_t comm_local_read(struct dlm_comm *cm, char *buf);
79 static ssize_t comm_local_write(struct dlm_comm *cm, const char *buf,
81 static ssize_t comm_addr_write(struct dlm_comm *cm, const char *buf,
193 ssize_t (*show)(struct dlm_comm *, char *);
194 ssize_t (*store)(struct dlm_comm *, const char *, size_t);
279 struct dlm_comm { struct
396 static struct dlm_comm *config_item_to_comm(struct config_item *i) in config_item_to_comm()
398 return i ? container_of(i, struct dlm_comm, item) : NULL; in config_item_to_comm()
538 struct dlm_comm *cm; in make_comm()
540 cm = kzalloc(sizeof(struct dlm_comm), GFP_NOFS); in make_comm()
553 struct dlm_comm *cm = config_item_to_comm(i); in drop_comm()
564 struct dlm_comm *cm = config_item_to_comm(i); in release_comm()
658 struct dlm_comm *cm = config_item_to_comm(i); in show_comm()
667 struct dlm_comm *cm = config_item_to_comm(i); in store_comm()
673 static ssize_t comm_nodeid_read(struct dlm_comm *cm, char *buf) in comm_nodeid_read()
678 static ssize_t comm_nodeid_write(struct dlm_comm *cm, const char *buf, in comm_nodeid_write()
685 static ssize_t comm_local_read(struct dlm_comm *cm, char *buf) in comm_local_read()
690 static ssize_t comm_local_write(struct dlm_comm *cm, const char *buf, in comm_local_write()
699 static ssize_t comm_addr_write(struct dlm_comm *cm, const char *buf, size_t len) in comm_addr_write()
810 static struct dlm_comm *get_comm(int nodeid, struct sockaddr_storage *addr) in get_comm()
813 struct dlm_comm *cm = NULL; in get_comm()
845 static void put_comm(struct dlm_comm *cm) in put_comm()
941 struct dlm_comm *cm = get_comm(nodeid, NULL); in dlm_nodeid_to_addr()
953 struct dlm_comm *cm = get_comm(0, addr); in dlm_addr_to_nodeid()