Home
last modified time | relevance | path

Searched defs:connection (Results 1 – 25 of 25) sorted by relevance

/linux-4.1.27/drivers/block/drbd/
Ddrbd_receiver.c492 static int drbd_recv(struct drbd_connection *connection, void *buf, size_t size) in drbd_recv()
525 static int drbd_recv_all(struct drbd_connection *connection, void *buf, size_t size) in drbd_recv_all()
538 static int drbd_recv_all_warn(struct drbd_connection *connection, void *buf, size_t size) in drbd_recv_all_warn()
567 static struct socket *drbd_try_connect(struct drbd_connection *connection) in drbd_try_connect()
656 struct drbd_connection *connection; member
674 static int prepare_listen_socket(struct drbd_connection *connection, struct accept_wait_data *ad) in prepare_listen_socket()
745 static struct socket *drbd_wait_for_connect(struct drbd_connection *connection, struct accept_wait_… in drbd_wait_for_connect()
784 static int send_first_packet(struct drbd_connection *connection, struct drbd_socket *sock, in send_first_packet()
792 static int receive_first_packet(struct drbd_connection *connection, struct socket *sock) in receive_first_packet()
843 static bool connection_established(struct drbd_connection *connection, in connection_established()
[all …]
Ddrbd_state.c65 bool conn_all_vols_unconf(struct drbd_connection *connection) in conn_all_vols_unconf()
105 enum drbd_role conn_highest_role(struct drbd_connection *connection) in conn_highest_role()
121 enum drbd_role conn_highest_peer(struct drbd_connection *connection) in conn_highest_peer()
137 enum drbd_disk_state conn_highest_disk(struct drbd_connection *connection) in conn_highest_disk()
153 enum drbd_disk_state conn_lowest_disk(struct drbd_connection *connection) in conn_lowest_disk()
169 enum drbd_disk_state conn_highest_pdsk(struct drbd_connection *connection) in conn_highest_pdsk()
185 enum drbd_conns conn_lowest_conn(struct drbd_connection *connection) in conn_lowest_conn()
201 static bool no_peer_wf_report_params(struct drbd_connection *connection) in no_peer_wf_report_params()
218 static void wake_up_all_devices(struct drbd_connection *connection) in wake_up_all_devices()
525 static void conn_pr_state_change(struct drbd_connection *connection, union drbd_state os, union drb… in conn_pr_state_change()
[all …]
Ddrbd_nl.c297 static void setup_khelper_env(struct drbd_connection *connection, char **envp) in setup_khelper_env()
334 struct drbd_connection *connection = first_peer_device(device)->connection; in drbd_khelper() local
374 static int conn_khelper(struct drbd_connection *connection, char *cmd) in conn_khelper()
409 static enum drbd_fencing_p highest_fencing_policy(struct drbd_connection *connection) in highest_fencing_policy()
438 bool conn_try_outdate_peer(struct drbd_connection *connection) in conn_try_outdate_peer()
536 struct drbd_connection *connection = (struct drbd_connection *)data; in _try_outdate_peer_async() local
544 void conn_try_outdate_peer_async(struct drbd_connection *connection) in conn_try_outdate_peer_async()
566 struct drbd_connection *const connection = peer_device ? peer_device->connection : NULL; in drbd_set_role() local
575 struct drbd_connection *connection; in drbd_set_role() local
1152 struct drbd_connection *connection = first_peer_device(device)->connection; in drbd_setup_queue_param() local
[all …]
Ddrbd_req.c184 static void wake_all_senders(struct drbd_connection *connection) in wake_all_senders()
190 void start_new_tl_epoch(struct drbd_connection *connection) in start_new_tl_epoch()
337 struct drbd_connection *connection = peer_device ? peer_device->connection : NULL; in set_if_null_req_next() local
346 struct drbd_connection *connection = peer_device ? peer_device->connection : NULL; in advance_conn_req_next() local
363 struct drbd_connection *connection = peer_device ? peer_device->connection : NULL; in set_if_null_req_ack_pending() local
372 struct drbd_connection *connection = peer_device ? peer_device->connection : NULL; in advance_conn_req_ack_pending() local
389 struct drbd_connection *connection = peer_device ? peer_device->connection : NULL; in set_if_null_req_not_net_done() local
398 struct drbd_connection *connection = peer_device ? peer_device->connection : NULL; in advance_conn_req_not_net_done() local
582 struct drbd_connection *const connection = peer_device ? peer_device->connection : NULL; in __req_mod() local
1000 struct drbd_connection *connection = first_peer_device(device)->connection; in maybe_pull_ahead() local
[all …]
Ddrbd_main.c191 void tl_release(struct drbd_connection *connection, unsigned int barrier_nr, in tl_release()
275 void _tl_restart(struct drbd_connection *connection, enum drbd_req_event what) in _tl_restart()
283 void tl_restart(struct drbd_connection *connection, enum drbd_req_event what) in tl_restart()
298 void tl_clear(struct drbd_connection *connection) in tl_clear()
309 struct drbd_connection *connection = first_peer_device(device)->connection; in tl_abort_disk_io() local
486 int conn_lowest_minor(struct drbd_connection *connection) in conn_lowest_minor()
566 unsigned int drbd_header_size(struct drbd_connection *connection) in drbd_header_size()
606 static unsigned int prepare_header(struct drbd_connection *connection, int vnr, in prepare_header()
618 static void *__conn_prepare_command(struct drbd_connection *connection, in __conn_prepare_command()
626 void *conn_prepare_command(struct drbd_connection *connection, struct drbd_socket *sock) in conn_prepare_command()
[all …]
Ddrbd_debugfs.c307 struct drbd_connection *connection, in seq_print_resource_transfer_log_summary()
368 struct drbd_connection *connection; in in_flight_summary_show() local
571 struct drbd_connection *connection = m->private; in callback_history_show() local
585 struct drbd_connection *connection = inode->i_private; in callback_history_open() local
592 struct drbd_connection *connection = inode->i_private; in callback_history_release() local
607 struct drbd_connection *connection = m->private; in connection_oldest_requests_show() local
632 struct drbd_connection *connection = inode->i_private; in connection_oldest_requests_open() local
639 struct drbd_connection *connection = inode->i_private; in connection_oldest_requests_release() local
652 void drbd_debugfs_connection_add(struct drbd_connection *connection) in drbd_debugfs_connection_add()
687 void drbd_debugfs_connection_cleanup(struct drbd_connection *connection) in drbd_debugfs_connection_cleanup()
Ddrbd_debugfs.h30 static inline void drbd_debugfs_connection_add(struct drbd_connection *connection) { } in drbd_debugfs_connection_add()
31 static inline void drbd_debugfs_connection_cleanup(struct drbd_connection *connection) { } in drbd_debugfs_connection_cleanup()
Ddrbd_worker.c589 struct drbd_connection *const connection = peer_device ? peer_device->connection : NULL; in make_resync_request() local
833 struct drbd_connection *connection = first_peer_device(device)->connection; in ping_peer() local
1304 static int drbd_send_barrier(struct drbd_connection *connection) in drbd_send_barrier()
1334 static void re_init_if_first_write(struct drbd_connection *connection, unsigned int epoch) in re_init_if_first_write()
1343 static void maybe_send_barrier(struct drbd_connection *connection, unsigned int epoch) in maybe_send_barrier()
1360 struct drbd_connection *const connection = peer_device->connection; in w_send_out_of_sync() local
1391 struct drbd_connection *connection = peer_device->connection; in w_send_dblock() local
1420 struct drbd_connection *connection = peer_device->connection; in w_send_read_req() local
1635 static bool use_checksum_based_resync(struct drbd_connection *connection, struct drbd_device *devic… in use_checksum_based_resync()
1658 struct drbd_connection *connection = peer_device ? peer_device->connection : NULL; in drbd_start_resync() local
[all …]
Ddrbd_int.h108 #define __drbd_printk_connection(level, connection, fmt, args...) \ argument
265 struct drbd_connection *connection; member
385 struct drbd_connection *connection; member
812 struct drbd_connection *connection; member
1009 struct drbd_connection *connection; member
1031 #define for_each_connection(connection, resource) \ argument
1034 #define for_each_connection_rcu(connection, resource) \ argument
1037 #define for_each_connection_safe(connection, tmp, resource) \ argument
1929 struct drbd_connection *connection = in drbd_device_post_work() local
1939 static inline void wake_asender(struct drbd_connection *connection) in wake_asender()
[all …]
/linux-4.1.27/arch/um/drivers/
Dport_kern.c36 struct connection { struct
47 struct connection *conn = data; in pipe_interrupt() argument
/linux-4.1.27/fs/dlm/
Dlowcomms.c103 struct connection { struct
117 int (*rx_action) (struct connection *); /* What to do when active */ argument
118 void (*connect_action) (struct connection *); /* What to do to connect */ argument
125 struct connection *othercon; argument
130 #define sock2con(x) ((struct connection *)(x)->sk_user_data) argument
/linux-4.1.27/include/uapi/linux/
Dncp_fs.h33 int connection; /* Connection number the server assigned us */ member
44 unsigned int connection; member
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/
Dniobuf.c493 struct ptlrpc_connection *connection; in ptl_send_rpc() local
/linux-4.1.27/sound/drivers/opl3/
Dopl3_synth.c601 static int snd_opl3_set_connection(struct snd_opl3 * opl3, int connection) in snd_opl3_set_connection()
Dopl3_midi.c302 unsigned char connection; in snd_opl3_note_on() local
/linux-4.1.27/sound/oss/
Dopl3.c411 int connection; in set_voice_volume() local
889 int connection = ((instr->operators[10] & 0x01) << 1) | (instr->operators[10 + OFFS_4OP] & 0x01); in opl3_aftertouch() local
/linux-4.1.27/include/uapi/sound/
Dasound_fm.h59 unsigned char connection; /* 0 for serial, 1 for parallel */ member
/linux-4.1.27/fs/ncpfs/
Dioctl.c95 u32 connection; member
Dncp_fs_sb.h53 u16 connection; /* Remote connection number */ member
/linux-4.1.27/include/uapi/drm/
Dexynos_drm.h59 unsigned int connection; member
Ddrm_mode.h246 __u32 connection; member
/linux-4.1.27/drivers/net/plip/
Dplip.c217 enum plip_connection_state connection; member
/linux-4.1.27/net/ipx/
Daf_ipx.c422 int connection = 0; in ncp_connection_hack() local
/linux-4.1.27/include/acpi/
Dactypes.h1109 u8 *connection; member
/linux-4.1.27/drivers/usb/core/
Dhub.c4103 unsigned connection = 0xffff; in hub_port_debounce() local