| /linux/net/ceph/ |
| A D | messenger_v1.c | 205 if (con->in_seq > con->in_seq_acked) { in prepare_write_message() 206 con->in_seq_acked = con->in_seq; in prepare_write_message() 225 con_out_kvec_add(con, sizeof(con->v1.out_hdr), &con->v1.out_hdr); in prepare_write_message() 235 memcpy(&con->v1.out_hdr, &con->out_msg->hdr, sizeof(con->v1.out_hdr)); in prepare_write_message() 271 con->in_seq_acked = con->in_seq; in prepare_write_ack() 292 con->in_seq_acked = con->in_seq; in prepare_write_seq() 601 con->in_front_crc = con->in_middle_crc = con->in_data_crc = 0; in prepare_read_message() 686 con, con->v1.in_reply.tag, in read_partial_connect() 849 con->ops->peer_reset(con); in process_connect() 1115 BUG_ON(con->in_msg->con != con); in read_partial_message() [all …]
|
| A D | messenger_v2.c | 670 con->in_front_crc, con->in_middle_crc, con->in_data_crc); in verify_epilogue_crcs() 700 WARN_ON(con->v2.hmac_tfm || con->v2.gcm_tfm || con->v2.gcm_req); in setup_crypto() 1341 ret = hmac_sha256(con, con->v2.in_sign_kvecs, con->v2.in_sign_kvec_cnt, in prepare_auth_signature() 1415 con->v2.client_cookie, con->v2.server_cookie, con->v2.global_seq, in prepare_session_reconnect() 1459 con->in_seq_acked = con->in_seq; in prepare_ack() 1619 con->in_seq_acked = con->in_seq; in prepare_message() 1674 add_in_kvec(con, con->v2.in_buf, in prepare_read_preamble() 1730 add_in_kvec(con, con->v2.in_buf, in prepare_read_control_remainder() 2381 con->ops->peer_reset(con); in process_session_reset() 2552 WARN_ON(con->in_msg->con != con); in process_message_header() [all …]
|
| A D | messenger.c | 353 con, con->state); in ceph_sock_data_ready() 509 WARN_ON(con->in_msg->con != con); in ceph_con_reset_protocol() 514 WARN_ON(con->out_msg->con != con); in ceph_con_reset_protocol() 1358 BUG_ON(con->in_msg->con != con); in ceph_con_process_message() 1400 con->ops->put(con); in queue_con_delay() 1416 con->ops->put(con); in cancel_con() 1462 con, con->delay); in con_backoff() 1488 con->ops->fault(con); in con_fault_finish() 1560 con->ops->put(con); in ceph_con_workfn() 1662 msg->con = con ? con->ops->get(con) : NULL; in msg_con_set() [all …]
|
| /linux/drivers/usb/typec/ucsi/ |
| A D | ucsi.c | 205 struct ucsi_connector *con = uwork->con; in ucsi_poll_worker() local 242 uwork->con = con; in ucsi_partner_task() 596 ret = ucsi_get_pdos(con, 1, con->src_pdos, UCSI_MAX_PDOS, in ucsi_get_src_pdos() 631 con->rdo = con->status.request_data_obj; in ucsi_pwr_opmode_change() 735 ret = ucsi_send_command(con->ucsi, command, &con->status, sizeof(con->status)); in ucsi_check_connection() 773 trace_ucsi_connector_change(con->num, &con->status); in ucsi_handle_connector_change() 1033 if (!con->wq) in ucsi_register_port() 1096 con->num); in ucsi_register_port() 1138 con->num); in ucsi_register_port() 1160 trace_ucsi_register_port(con->num, &con->status); in ucsi_register_port() [all …]
|
| A D | psy.c | 49 pdo = con->src_pdos[0]; in ucsi_psy_get_voltage_min() 72 if (con->num_pdos > 0) { in ucsi_psy_get_voltage_max() 73 pdo = con->src_pdos[con->num_pdos - 1]; in ucsi_psy_get_voltage_max() 100 index = rdo_index(con->rdo); in ucsi_psy_get_voltage_now() 128 if (con->num_pdos > 0) { in ucsi_psy_get_current_max() 129 pdo = con->src_pdos[con->num_pdos - 1]; in ucsi_psy_get_current_max() 214 psy_cfg.drv_data = con; in ucsi_register_port_psy() 230 con->psy = power_supply_register(dev, &con->psy_desc, &psy_cfg); in ucsi_register_port_psy() 237 if (IS_ERR_OR_NULL(con->psy)) in ucsi_unregister_port_psy() 241 con->psy = NULL; in ucsi_unregister_port_psy() [all …]
|
| A D | displayport.c | 20 struct ucsi_connector *con; member 57 mutex_lock(&dp->con->lock); in ucsi_displayport_enter() 103 mutex_unlock(&dp->con->lock); in ucsi_displayport_enter() 115 mutex_lock(&dp->con->lock); in ucsi_displayport_exit() 147 mutex_unlock(&dp->con->lock); in ucsi_displayport_exit() 205 mutex_lock(&dp->con->lock); in ucsi_displayport_vdm() 212 mutex_unlock(&dp->con->lock); in ucsi_displayport_vdm() 262 mutex_unlock(&dp->con->lock); in ucsi_displayport_vdm() 278 mutex_lock(&dp->con->lock); in ucsi_displayport_work() 289 mutex_unlock(&dp->con->lock); in ucsi_displayport_work() [all …]
|
| /linux/fs/dlm/ |
| A D | lowcomms.c | 228 con->rx_buf = kmalloc(con->rx_buflen, GFP_NOFS); in dlm_con_init() 258 con = kzalloc(sizeof(*con), alloc); in nodeid2con() 259 if (!con) in nodeid2con() 510 if (!con) in lowcomms_write_space() 635 con = con->sendcon; in lowcomms_error_report() 921 iov.iov_base = con->rx_buf + con->rx_leftover; in receive_from_sock() 945 memmove(con->rx_buf, con->rx_buf + ret, in receive_from_sock() 963 con, con->nodeid); in receive_from_sock() 1195 entry->con = con; in new_writequeue_entry() 1330 struct connection *con = e->con; in _dlm_lowcomms_commit_msg() local [all …]
|
| /linux/net/tipc/ |
| A D | topsrv.c | 120 return con && test_bit(CF_CONNECTED, &con->flags); in connected() 142 kfree(con); in tipc_conn_kref_release() 184 con = kzalloc(sizeof(*con), GFP_ATOMIC); in tipc_conn_alloc() 185 if (!con) in tipc_conn_alloc() 199 kfree(con); in tipc_conn_alloc() 210 return con; in tipc_conn_alloc() 222 return con; in tipc_conn_lookup() 319 if (!con) in tipc_topsrv_queue_evt() 352 if (!queue_work(con->server->send_wq, &con->swork)) in tipc_conn_write_space() 444 if (!queue_work(con->server->rcv_wq, &con->rwork)) in tipc_conn_data_ready() [all …]
|
| /linux/include/linux/ceph/ |
| A D | messenger.h | 33 struct ceph_connection *con, 39 int (*invalidate_authorizer)(struct ceph_connection *con); 42 void (*fault) (struct ceph_connection *con); 46 void (*peer_reset) (struct ceph_connection *con); 58 int (*get_auth_request)(struct ceph_connection *con, 65 int (*handle_auth_done)(struct ceph_connection *con, 249 struct ceph_connection *con; member 485 int ceph_tcp_connect(struct ceph_connection *con); 515 void ceph_con_v1_revoke(struct ceph_connection *con); 517 bool ceph_con_v1_opened(struct ceph_connection *con); [all …]
|
| /linux/drivers/infiniband/ulp/rtrs/ |
| A D | rtrs.c | 81 rtrs_wrn(con->sess, in rtrs_iu_post_recv() 227 return con->cid >= con->sess->irq_con_num; in is_pollqueue() 247 con->cq = cq; in create_cq() 284 if (con->cq) { in destroy_cq() 288 ib_cq_pool_put(con->cq, con->nr_cqe); in destroy_cq() 290 con->cq = NULL; in destroy_cq() 307 destroy_cq(con); in rtrs_cq_qp_create() 310 con->sess = sess; in rtrs_cq_qp_create() 318 if (con->qp) { in rtrs_cq_qp_destroy() 320 con->qp = NULL; in rtrs_cq_qp_destroy() [all …]
|
| A D | rtrs-clt.c | 367 struct rtrs_clt_con *con = req->con; in rtrs_inv_rkey() local 382 struct rtrs_clt_con *con = req->con; in complete_rdma_req() local 1076 struct rtrs_clt_con *con = req->con; in rtrs_clt_write_req() local 1170 struct rtrs_clt_con *con = req->con; in rtrs_clt_read_req() local 1597 con = kzalloc(sizeof(*con), GFP_KERNEL); in create_con() 1598 if (!con) in create_con() 1609 sess->s.con[cid] = &con->c; in create_con() 1618 sess->s.con[con->c.cid] = NULL; in destroy_con() 2168 con = to_clt_con(sess->s.con[cid]); in rtrs_clt_stop_and_destroy_conns() 2189 con = to_clt_con(sess->s.con[cid]); in rtrs_clt_stop_and_destroy_conns() [all …]
|
| A D | rtrs-srv.c | 491 con = id->con; in rtrs_srv_resp_rdma() 512 con->c.cid); in rtrs_srv_resp_rdma() 1020 id->con = con; in process_read() 1073 id->con = con; in process_write() 1527 con = to_srv_con(sess->s.con[i]); in rtrs_srv_close_work() 1550 con = to_srv_con(sess->s.con[i]); in rtrs_srv_close_work() 1553 kfree(con); in rtrs_srv_close_work() 1642 con = kzalloc(sizeof(*con), GFP_KERNEL); in create_con() 1643 if (!con) { in create_con() 1703 sess->s.con[cid] = &con->c; in create_con() [all …]
|
| /linux/drivers/usb/typec/ |
| A D | port-mapper.c | 87 mutex_lock(&con->port_list_lock); in link_port() 88 ret = __link_port(con, node); in link_port() 89 mutex_unlock(&con->port_list_lock); in link_port() 103 mutex_lock(&con->port_list_lock); in unlink_port() 104 __unlink_port(con, node); in unlink_port() 252 con->pld = get_pld(&con->dev); in typec_link_ports() 253 if (!con->pld) in typec_link_ports() 258 typec_unlink_ports(con); in typec_link_ports() 271 __unlink_port(con, node); in typec_unlink_ports() 273 put_device(&con->dev); in typec_unlink_ports() [all …]
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| A D | amdgpu_ras.c | 700 if (!con) in amdgpu_ras_feature_enable() 748 if (!con) in amdgpu_ras_feature_enable_on_boot() 1784 if (!con || !con->eh_data || !bps || !count) in amdgpu_ras_badpages_read() 1890 if (!con || !con->eh_data || !bps || pages <= 0) in amdgpu_ras_add_bad_pages() 1935 if (!con || !con->eh_data) in amdgpu_ras_save_bad_pages() 2010 if (!con || !con->eh_data) in amdgpu_ras_check_bad_page() 2063 if (!con) in amdgpu_ras_recovery_init() 2269 if (con) in amdgpu_ras_init() 2276 if (!con) in amdgpu_ras_init() 2284 con->objs = (struct ras_manager *)(con + 1); in amdgpu_ras_init() [all …]
|
| /linux/arch/arm/mach-s3c/ |
| A D | gpio-samsung.c | 180 u32 con; in samsung_gpio_setcfg_2bit() local 192 con |= cfg; in samsung_gpio_setcfg_2bit() 211 u32 con; in samsung_gpio_getcfg_2bit() local 215 con &= 3; in samsung_gpio_getcfg_2bit() 243 u32 con; in samsung_gpio_setcfg_4bit() local 255 con |= cfg; in samsung_gpio_setcfg_4bit() 278 u32 con; in samsung_gpio_getcfg_4bit() local 308 u32 con; in s3c24xx_gpio_setcfg_abank() local 344 u32 con; in s3c24xx_gpio_getcfg_abank() local 348 con &= 1; in s3c24xx_gpio_getcfg_abank() [all …]
|
| /linux/fs/proc/ |
| A D | consoles.c | 29 struct console *con = v; in show_console_dev() local 33 if (con->device) { in show_console_dev() 36 driver = con->device(con, &index); in show_console_dev() 44 flags[a] = (con->flags & con_flags[a].flag) ? in show_console_dev() 49 seq_printf(m, "%s%d", con->name, con->index); in show_console_dev() 52 con->write ? 'W' : '-', con->unblank ? 'U' : '-', in show_console_dev() 63 struct console *con; in c_start() local 67 for_each_console(con) in c_start() 71 return con; in c_start() 76 struct console *con = v; in c_next() local [all …]
|
| /linux/sound/soc/samsung/ |
| A D | s3c-i2s-v2.c | 75 u32 fic, con, mod; in s3c2412_snd_txctrl() local 80 con = readl(regs + S3C2412_IISCON); in s3c2412_snd_txctrl() 87 con &= ~S3C2412_IISCON_TXDMA_PAUSE; in s3c2412_snd_txctrl() 88 con &= ~S3C2412_IISCON_TXCH_PAUSE; in s3c2412_snd_txctrl() 107 writel(con, regs + S3C2412_IISCON); in s3c2412_snd_txctrl() 116 con |= S3C2412_IISCON_TXCH_PAUSE; in s3c2412_snd_txctrl() 141 dbg_showcon(__func__, con); in s3c2412_snd_txctrl() 148 u32 fic, con, mod; in s3c2412_snd_rxctrl() local 153 con = readl(regs + S3C2412_IISCON); in s3c2412_snd_rxctrl() 161 con &= ~S3C2412_IISCON_RXCH_PAUSE; in s3c2412_snd_rxctrl() [all …]
|
| A D | spdif.c | 184 u32 con, clkcon, cstas; in spdif_hw_params() local 205 con &= ~CON_FIFO_TH_MASK; in spdif_hw_params() 208 con |= CON_PCM_DATA; in spdif_hw_params() 210 con &= ~CON_PCM_MASK; in spdif_hw_params() 213 con |= CON_PCM_16BIT; in spdif_hw_params() 230 con &= ~CON_MCLKDIV_MASK; in spdif_hw_params() 233 con |= CON_MCLKDIV_256FS; in spdif_hw_params() 236 con |= CON_MCLKDIV_384FS; in spdif_hw_params() 239 con |= CON_MCLKDIV_512FS; in spdif_hw_params() 267 writel(con, regs + CON); in spdif_hw_params() [all …]
|
| /linux/tools/perf/scripts/python/ |
| A D | event_analyzing_sample.py | 38 con = sqlite3.connect("/dev/shm/perf.db") variable 39 con.isolation_level = None 48 con.execute(""" 55 con.execute(""" 97 con.execute("insert into gen_events values(?, ?, ?, ?)", 102 con.execute("insert into pebs_ll values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)", 111 con.close() 126 count = con.execute("select count(*) from gen_events") 159 count = con.execute("select count(*) from pebs_ll") 180 dseq = con.execute("select dse, count(dse) from pebs_ll group by dse order by -count(dse)") [all …]
|
| /linux/drivers/media/pci/bt8xx/ |
| A D | bttv-audio-hook.c | 57 unsigned int con; in gvbctv3pci_audio() local 74 con = 0x000; in gvbctv3pci_audio() 77 con = 0x300; in gvbctv3pci_audio() 80 con = 0x200; in gvbctv3pci_audio() 97 con = 0x300; in gvbctv5pci_audio() 100 con = 0x100; in gvbctv5pci_audio() 103 con = 0x000; in gvbctv5pci_audio() 277 con = 0x080000; in terratv_audio() 280 con = 0x180000; in terratv_audio() 283 con = 0; in terratv_audio() [all …]
|
| /linux/drivers/net/ethernet/qlogic/qed/ |
| A D | qed_nvmetcp.c | 620 &hash_con->con); in qed_nvmetcp_acquire_conn() 673 con = hash_con->con; in qed_nvmetcp_offload_conn() 688 memcpy(con->local_ip, conn_info->src.ip, sizeof(con->local_ip)); in qed_nvmetcp_offload_conn() 689 memcpy(con->remote_ip, conn_info->dst.ip, sizeof(con->remote_ip)); in qed_nvmetcp_offload_conn() 712 con->ttl = conn_info->ttl; in qed_nvmetcp_offload_conn() 714 con->mss = conn_info->mss; in qed_nvmetcp_offload_conn() 715 con->cwnd = conn_info->cwnd; in qed_nvmetcp_offload_conn() 717 con->connect_mode = 0; in qed_nvmetcp_offload_conn() 739 con = hash_con->con; in qed_nvmetcp_update_conn() 740 SET_FIELD(con->update_flag, in qed_nvmetcp_update_conn() [all …]
|
| A D | qed_iscsi.c | 1029 struct qed_iscsi_conn *con; member 1167 &hash_con->con); in qed_iscsi_acquire_conn() 1209 struct qed_iscsi_conn *con; in qed_iscsi_offload_conn() local 1219 con = hash_con->con; in qed_iscsi_offload_conn() 1223 memcpy(con->local_ip, conn_info->src.ip, sizeof(con->local_ip)); in qed_iscsi_offload_conn() 1224 memcpy(con->remote_ip, conn_info->dst.ip, sizeof(con->remote_ip)); in qed_iscsi_offload_conn() 1262 con->ttl = conn_info->ttl; in qed_iscsi_offload_conn() 1266 con->mss = conn_info->mss; in qed_iscsi_offload_conn() 1273 con->offl_flags = 0x1; in qed_iscsi_offload_conn() 1284 struct qed_iscsi_conn *con; in qed_iscsi_update_conn() local [all …]
|
| A D | qed_fcoe.c | 719 struct qed_fcoe_conn *con; member 760 if (hash_con->con->icid == handle) in qed_fcoe_get_hash() 865 &hash_con->con); in qed_fcoe_acquire_conn() 873 *handle = hash_con->con->icid; in qed_fcoe_acquire_conn() 874 *fw_cid = hash_con->con->fw_cid; in qed_fcoe_acquire_conn() 907 struct qed_fcoe_conn *con; in qed_fcoe_offload_conn() local 917 con = hash_con->con; in qed_fcoe_offload_conn() 926 con->vlan_tag = conn_info->vlan_tag; in qed_fcoe_offload_conn() 928 con->flags = conn_info->flags; in qed_fcoe_offload_conn() 959 struct qed_fcoe_conn *con; in qed_fcoe_destroy_conn() local [all …]
|
| /linux/drivers/tty/serial/ |
| A D | kgdboc.c | 450 struct console *con; in kgdboc_earlycon_pre_exp_handler() local 464 for_each_console(con) in kgdboc_earlycon_pre_exp_handler() 465 if (con == kgdboc_earlycon_io_ops.cons) in kgdboc_earlycon_pre_exp_handler() 481 con->exit = earlycon_orig_exit; in kgdboc_earlycon_deferred_exit() 523 struct console *con; in kgdboc_earlycon_init() local 532 for_each_console(con) { in kgdboc_earlycon_init() 533 if (con->write && con->read && in kgdboc_earlycon_init() 539 if (!con) { in kgdboc_earlycon_init() 561 kgdboc_earlycon_io_ops.cons = con; in kgdboc_earlycon_init() 568 earlycon_orig_exit = con->exit; in kgdboc_earlycon_init() [all …]
|
| /linux/arch/um/kernel/ |
| A D | kmsg_dump.c | 16 struct console *con; in kmsg_dumper_stdout() local 24 for_each_console(con) { in kmsg_dumper_stdout() 25 if(strcmp(con->name, "tty") == 0 && in kmsg_dumper_stdout() 26 (con->flags & (CON_ENABLED | CON_CONSDEV)) != 0) { in kmsg_dumper_stdout() 33 if (con) in kmsg_dumper_stdout()
|