/openbmc/linux/net/ceph/ |
H 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() 595 con->in_front_crc = con->in_middle_crc = con->in_data_crc = 0; in prepare_read_message() 680 con, con->v1.in_reply.tag, in read_partial_connect() 843 con->ops->peer_reset(con); in process_connect() 1225 BUG_ON(con->in_msg->con != con); in read_partial_message() [all …]
|
H A D | messenger_v2.c | 682 con->in_front_crc, con->in_middle_crc, con->in_data_crc); in verify_epilogue_crcs() 712 WARN_ON(con->v2.hmac_tfm || con->v2.gcm_tfm || con->v2.gcm_req); in setup_crypto() 1469 ret = hmac_sha256(con, con->v2.in_sign_kvecs, con->v2.in_sign_kvec_cnt, in prepare_auth_signature() 1543 con->v2.client_cookie, con->v2.server_cookie, con->v2.global_seq, in prepare_session_reconnect() 1586 con->in_seq_acked, con->in_seq); in prepare_ack() 1587 con->in_seq_acked = con->in_seq; in prepare_ack() 1747 con->in_seq_acked = con->in_seq; in prepare_message() 1802 add_in_kvec(con, con->v2.in_buf, in prepare_read_preamble() 1858 add_in_kvec(con, con->v2.in_buf, in prepare_read_control_remainder() 2730 con->ops->peer_reset(con); in process_session_reset() [all …]
|
H A D | messenger.c | 357 con, con->state); in ceph_sock_data_ready() 514 WARN_ON(con->in_msg->con != con); in ceph_con_reset_protocol() 519 WARN_ON(con->out_msg->con != con); in ceph_con_reset_protocol() 1405 BUG_ON(con->in_msg->con != con); in ceph_con_process_message() 1447 con->ops->put(con); in queue_con_delay() 1463 con->ops->put(con); in cancel_con() 1509 con, con->delay); in con_backoff() 1535 con->ops->fault(con); in con_fault_finish() 1607 con->ops->put(con); in ceph_con_workfn() 1709 msg->con = con ? con->ops->get(con) : NULL; in msg_con_set() [all …]
|
/openbmc/linux/drivers/usb/typec/ucsi/ |
H A D | ucsi.c | 225 struct ucsi_connector *con = uwork->con; in ucsi_poll_worker() local 265 uwork->con = con; in ucsi_partner_task() 644 ret = ucsi_get_pdos(con, TYPEC_SOURCE, 1, con->src_pdos); in ucsi_get_src_pdos() 735 con->rdo = con->status.request_data_obj; in ucsi_pwr_opmode_change() 860 ret = ucsi_send_command(con->ucsi, command, &con->status, sizeof(con->status)); in ucsi_check_connection() 904 trace_ucsi_connector_change(con->num, &con->status); in ucsi_handle_connector_change() 1305 typec_port_set_usb_power_delivery(con->port, con->pd); in ucsi_register_port() 1311 con->num); in ucsi_register_port() 1368 trace_ucsi_register_port(con->num, &con->status); in ucsi_register_port() 1458 for (con = connector; con->port; con++) { in ucsi_init() [all …]
|
H A D | psy.c | 70 pdo = con->src_pdos[0]; in ucsi_psy_get_voltage_min() 93 if (con->num_pdos > 0) { in ucsi_psy_get_voltage_max() 94 pdo = con->src_pdos[con->num_pdos - 1]; in ucsi_psy_get_voltage_max() 121 index = rdo_index(con->rdo); in ucsi_psy_get_voltage_now() 149 if (con->num_pdos > 0) { in ucsi_psy_get_current_max() 150 pdo = con->src_pdos[con->num_pdos - 1]; in ucsi_psy_get_current_max() 237 psy_cfg.drv_data = con; in ucsi_register_port_psy() 253 con->psy = power_supply_register(dev, &con->psy_desc, &psy_cfg); in ucsi_register_port_psy() 260 if (IS_ERR_OR_NULL(con->psy)) in ucsi_unregister_port_psy() 264 con->psy = NULL; in ucsi_unregister_port_psy() [all …]
|
H A D | displayport.c | 20 struct ucsi_connector *con; member 51 struct ucsi *ucsi = dp->con->ucsi; in ucsi_displayport_enter() 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() 218 mutex_unlock(&dp->con->lock); in ucsi_displayport_vdm() 262 mutex_unlock(&dp->con->lock); in ucsi_displayport_vdm() [all …]
|
/openbmc/qemu/ui/ |
H A D | console.c | 266 QemuConsole *con = dcl->con; in displaychangelistener_display_console() local 737 con->hw_ops->ui_info(con->hw, head, &con->ui_info); in dpy_set_ui_info_timer() 796 if (con != dcl->con) { in dpy_gfx_update() 842 if (con != dcl->con) { in dpy_gfx_replace_surface() 858 if (dcl->con && dcl->con != con) { in dpy_gfx_check_format() 896 if (con != dcl->con) { in dpy_text_cursor() 914 if (con != dcl->con) { in dpy_text_update() 932 if (con != dcl->con) { in dpy_text_resize() 1012 if (con != dcl->con) { in dpy_gl_scanout_disable() 1039 if (con != dcl->con) { in dpy_gl_scanout_texture() [all …]
|
H A D | sdl2.c | 215 if (!qemu_input_is_absolute(scon->dcl.con)) { in sdl_hide_cursor() 242 QemuConsole *con = scon ? scon->dcl.con : NULL; in sdl_grab_start() local 244 if (!con || !qemu_console_is_graphic(con)) { in sdl_grab_start() 323 if (qemu_input_is_absolute(scon->dcl.con)) { in sdl_send_mouse_event() 489 QemuConsole *con = scon ? scon->dcl.con : NULL; in handle_textinput() local 491 if (!con) { in handle_textinput() 495 if (QEMU_IS_TEXT_CONSOLE(con)) { in handle_textinput() 894 if (!con) { in sdl2_display_init() 905 assert(con != NULL); in sdl2_display_init() 906 if (!qemu_console_is_graphic(con) && in sdl2_display_init() [all …]
|
H A D | dbus-console.c | 205 if (!dpy_ui_info_supported(ddc->dcl.con)) { in dbus_console_set_ui_info() 213 dpy_set_ui_info(ddc->dcl.con, &info, false); in dbus_console_set_ui_info() 392 if (qemu_input_is_absolute(ddc->dcl.con)) { in dbus_mouse_rel_motion() 459 if (!qemu_input_is_absolute(ddc->dcl.con)) { in dbus_mouse_set_pos() 535 return qemu_console_get_index(ddc->dcl.con); in dbus_display_console_get_index() 554 assert(con); in dbus_display_console_new() 556 label = qemu_console_get_label(con); in dbus_display_console_new() 557 idx = qemu_console_get_index(con); in dbus_display_console_new() 563 ddc->dcl.con = con; in dbus_display_console_new() 572 "head", qemu_console_get_head(con), in dbus_display_console_new() [all …]
|
/openbmc/linux/net/tipc/ |
H A D | topsrv.c | 121 return con && test_bit(CF_CONNECTED, &con->flags); in connected() 143 kfree(con); in tipc_conn_kref_release() 185 con = kzalloc(sizeof(*con), GFP_ATOMIC); in tipc_conn_alloc() 186 if (!con) in tipc_conn_alloc() 200 kfree(con); in tipc_conn_alloc() 213 return con; in tipc_conn_alloc() 225 return con; in tipc_conn_lookup() 322 if (!con) in tipc_topsrv_queue_evt() 355 if (!queue_work(con->server->send_wq, &con->swork)) in tipc_conn_write_space() 449 if (!queue_work(con->server->rcv_wq, &con->rwork)) in tipc_conn_data_ready() [all …]
|
/openbmc/linux/fs/dlm/ |
H A D | lowcomms.c | 305 con = kzalloc(sizeof(*con), alloc); in nodeid2con() 306 if (!con) in nodeid2con() 328 return con; in nodeid2con() 372 if (!con) { in nodeid_to_addr() 384 memcpy(&sas, &con->addr[con->curr_addr_index], in nodeid_to_addr() 389 if (con->curr_addr_index == con->addr_count) in nodeid_to_addr() 467 if (!con) { in dlm_lowcomms_addr() 821 con); in shutdown_connection() 1177 entry->con = con; in new_writequeue_entry() 1295 struct connection *con = e->con; in _dlm_lowcomms_commit_msg() local [all …]
|
/openbmc/qemu/hw/char/ |
H A D | xen_console.c | 89 xen_device_notify_event_channel(XEN_DEVICE(con), con->event_channel, NULL); in OBJECT_DECLARE_SIMPLE_TYPE() 158 xen_device_notify_event_channel(XEN_DEVICE(con), con->event_channel, NULL); in xencons_receive() 165 size = con->buffer.size - con->buffer.consumed; in xencons_send() 168 con->buffer.data + con->buffer.consumed, in xencons_send() 199 if (con->buffer.size - con->buffer.consumed) { in con_event() 236 switch (con->dev) { in xen_console_connect() 279 trace_xen_console_connect(con->dev, con->ring_ref, port, in xen_console_connect() 307 if (con->sring) { in xen_console_disconnect() 441 if (!con->dev) { in xen_console_realize() 537 XenConsole *con; in type_init() local [all …]
|
/openbmc/linux/tools/perf/util/ |
H A D | bpf_lock_contention.c | 42 if (con->save_callstack) in lock_contention_prepare() 51 if (con->filters->nr_types) in lock_contention_prepare() 52 ntypes = con->filters->nr_types; in lock_contention_prepare() 55 if (con->filters->nr_syms) { in lock_contention_prepare() 62 con->filters->syms[i], in lock_contention_prepare() 66 con->filters->syms[i]); in lock_contention_prepare() 78 con->filters->addrs = addrs; in lock_contention_prepare() 128 if (con->filters->nr_types) { in lock_contention_prepare() 138 if (con->filters->nr_addrs) { in lock_contention_prepare() 299 if (con->save_callstack) { in lock_contention_read() [all …]
|
/openbmc/linux/include/linux/ceph/ |
H A D | messenger.h | 34 struct ceph_connection *con, 40 int (*invalidate_authorizer)(struct ceph_connection *con); 43 void (*fault) (struct ceph_connection *con); 47 void (*peer_reset) (struct ceph_connection *con); 59 int (*get_auth_request)(struct ceph_connection *con, 66 int (*handle_auth_done)(struct ceph_connection *con, 94 int (*sparse_read)(struct ceph_connection *con, 280 struct ceph_connection *con; member 527 int ceph_tcp_connect(struct ceph_connection *con); 556 void ceph_con_v1_revoke(struct ceph_connection *con); [all …]
|
/openbmc/qemu/include/ui/ |
H A D | console.h | 277 QemuConsole *con; member 319 void dpy_gfx_update_full(QemuConsole *con); 327 bool dpy_gfx_check_format(QemuConsole *con, 331 void dpy_gl_scanout_texture(QemuConsole *con, 336 void dpy_gl_scanout_dmabuf(QemuConsole *con, 340 void dpy_gl_cursor_position(QemuConsole *con, 342 void dpy_gl_release_dmabuf(QemuConsole *con, 344 void dpy_gl_update(QemuConsole *con, 352 bool console_has_gl(QemuConsole *con); 385 void graphic_console_close(QemuConsole *con); [all …]
|
/openbmc/linux/drivers/infiniband/ulp/rtrs/ |
H A D | rtrs.c | 83 rtrs_wrn(con->path, in rtrs_iu_post_recv() 229 return con->cid >= con->path->irq_con_num; in is_pollqueue() 249 con->cq = cq; in create_cq() 286 if (con->cq) { in destroy_cq() 290 ib_cq_pool_put(con->cq, con->nr_cqe); in destroy_cq() 292 con->cq = NULL; in destroy_cq() 309 destroy_cq(con); in rtrs_cq_qp_create() 312 con->path = path; in rtrs_cq_qp_create() 320 if (con->qp) { in rtrs_cq_qp_destroy() 322 con->qp = NULL; in rtrs_cq_qp_destroy() [all …]
|
H A D | rtrs-clt.c | 368 struct rtrs_clt_con *con = req->con; in rtrs_inv_rkey() local 383 struct rtrs_clt_con *con = req->con; in complete_rdma_req() local 1079 struct rtrs_clt_con *con = req->con; in rtrs_clt_write_req() local 1173 struct rtrs_clt_con *con = req->con; in rtrs_clt_read_req() local 1617 con = kzalloc(sizeof(*con), GFP_KERNEL); in create_con() 1629 clt_path->s.con[cid] = &con->c; in create_con() 1638 clt_path->s.con[con->c.cid] = NULL; in destroy_con() 2179 con = to_clt_con(clt_path->s.con[cid]); in rtrs_clt_stop_and_destroy_conns() 2201 con = to_clt_con(clt_path->s.con[cid]); in rtrs_clt_stop_and_destroy_conns() 2365 con = to_clt_con(clt_path->s.con[i]); in init_conns() [all …]
|
/openbmc/linux/fs/proc/ |
H A D | consoles.c | 29 struct console *con = v; in show_console_dev() local 33 if (con->device) { in show_console_dev() 43 driver = con->device(con, &index); in show_console_dev() 53 flags[a] = (con->flags & con_flags[a].flag) ? in show_console_dev() 58 seq_printf(m, "%s%d", con->name, con->index); in show_console_dev() 60 seq_printf(m, "%c%c%c (%s)", con->read ? 'R' : '-', in show_console_dev() 61 con->write ? 'W' : '-', con->unblank ? 'U' : '-', in show_console_dev() 72 struct console *con; in c_start() local 81 for_each_console(con) in c_start() 85 return con; in c_start() [all …]
|
/openbmc/u-boot/test/dm/ |
H A D | video.c | 111 struct udevice *dev, *con; in dm_test_video_text() local 146 struct udevice *dev, *con; in dm_test_video_chars() local 164 struct udevice *dev, *con; in dm_test_video_ansi() local 171 video_clear(con->parent); in dm_test_video_ansi() 172 video_sync(con->parent, false); in dm_test_video_ansi() 205 struct udevice *dev, *con; in check_vidconsole_output() local 226 vidconsole_put_char(con, '\n'); in check_vidconsole_output() 232 vidconsole_put_char(con, '\n'); in check_vidconsole_output() 332 struct udevice *dev, *con; in dm_test_video_truetype() local 348 struct udevice *dev, *con; in dm_test_video_truetype_scroll() local [all …]
|
/openbmc/linux/arch/arm/mach-s3c/ |
H A D | gpio-samsung.c | 73 u32 con; in samsung_gpio_setcfg_2bit() local 85 con |= cfg; in samsung_gpio_setcfg_2bit() 104 u32 con; in samsung_gpio_getcfg_2bit() local 107 con >>= off * 2; in samsung_gpio_getcfg_2bit() 108 con &= 3; in samsung_gpio_getcfg_2bit() 136 u32 con; in samsung_gpio_setcfg_4bit() local 148 con |= cfg; in samsung_gpio_setcfg_4bit() 171 u32 con; in samsung_gpio_getcfg_4bit() local 177 con >>= shift; in samsung_gpio_getcfg_4bit() 178 con &= 0xf; in samsung_gpio_getcfg_4bit() [all …]
|
/openbmc/linux/tools/perf/scripts/python/ |
H 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 …]
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_ras.c | 769 if (!con) in amdgpu_ras_feature_enable() 824 if (!con) in amdgpu_ras_feature_enable_on_boot() 1989 if (!con || !con->eh_data || !bps || !count) in amdgpu_ras_badpages_read() 2122 if (!con || !con->eh_data || !bps || pages <= 0) in amdgpu_ras_add_bad_pages() 2168 if (!con || !con->eh_data) { in amdgpu_ras_save_bad_pages() 2253 if (!con || !con->eh_data) in amdgpu_ras_check_bad_page() 2602 if (con) in amdgpu_ras_init() 2609 if (!con) in amdgpu_ras_init() 2617 con->objs = (struct ras_manager *)(con + 1); in amdgpu_ras_init() 2706 kfree(con); in amdgpu_ras_init() [all …]
|
/openbmc/linux/drivers/media/pci/bt8xx/ |
H 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 …]
|
/openbmc/linux/drivers/net/ethernet/qlogic/qed/ |
H 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 …]
|
/openbmc/linux/tools/perf/tests/shell/ |
H A D | lock_contention.sh | 54 if ! perf lock con -b true > /dev/null 2>&1 ; then 60 perf lock con -a -b -E 1 -q -- perf bench sched messaging > /dev/null 2> ${result} 90 if ! perf lock con -b true > /dev/null 2>&1 ; then 95 perf lock con -a -b -t -E 1 -q -- perf bench sched messaging > /dev/null 2> ${result} 113 if ! perf lock con -b true > /dev/null 2>&1 ; then 118 perf lock con -a -b -l -E 1 -q -- perf bench sched messaging > /dev/null 2> ${result} 136 if ! perf lock con -b true > /dev/null 2>&1 ; then 168 if ! perf lock con -b true > /dev/null 2>&1 ; then 196 if ! perf lock con -b true > /dev/null 2>&1 ; then 224 if ! perf lock con -b true > /dev/null 2>&1 ; then [all …]
|