Home
last modified time | relevance | path

Searched refs:session (Results 1 – 25 of 311) sorted by relevance

12345678910>>...13

/linux/net/can/j1939/
A Dtransport.c760 session->pkt.dpo = session->pkt.tx_acked; in j1939_session_tx_dpo()
773 session->pkt.tx = session->pkt.tx_acked; in j1939_session_tx_dpo()
910 len = session->pkt.total - session->pkt.rx; in j1939_session_tx_cts()
1381 session->pkt.tx_acked = session->pkt.total; in j1939_xtp_rx_eoma_one()
1436 if (session->pkt.last > session->pkt.total) in j1939_xtp_rx_cts_one()
1438 session->pkt.last = session->pkt.total; in j1939_xtp_rx_cts_one()
1440 session->pkt.tx = session->pkt.tx_acked; in j1939_xtp_rx_cts_one()
1829 session, session->last_cmd); in j1939_xtp_rx_dat_one()
1879 if (session->pkt.rx >= session->pkt.total) in j1939_xtp_rx_dat_one()
1885 if (session->pkt.rx >= session->pkt.last) in j1939_xtp_rx_dat_one()
[all …]
A Dsocket.c123 if (session->total_queued_size == session->total_message_size) in j1939_sk_get_incomplete_session()
124 session = NULL; in j1939_sk_get_incomplete_session()
130 return session; in j1939_sk_get_incomplete_session()
156 if (!session->sk) in j1939_sk_queue_activate_next_locked()
162 err = session->err; in j1939_sk_queue_activate_next_locked()
199 if (!session->sk) in j1939_sk_queue_activate_next()
1058 __func__, session, session->tskey, state); in __j1939_sk_errqueue()
1073 __j1939_sk_errqueue(session, session->sk, type); in j1939_sk_errqueue()
1103 if (session && in j1939_sk_send_loop()
1125 if (!session) { in j1939_sk_send_loop()
[all …]
/linux/net/bluetooth/hidp/
A Dcore.c135 return hidp_send_message(session, session->ctrl_sock, in hidp_send_ctrl_message()
143 return hidp_send_message(session, session->intr_sock, in hidp_send_intr_message()
723 return hid_parse_report(session->hid, session->rd_data, in hidp_parse()
924 session = kzalloc(sizeof(*session), GFP_KERNEL); in hidp_session_new()
925 if (!session) in hidp_session_new()
1030 if (session) in hidp_session_find()
1060 session->task = kthread_run(hidp_session_thread, session, in hidp_session_start_sync()
1222 hidp_process_transmit(session, &session->intr_transmit, in hidp_session_run()
1235 hidp_process_transmit(session, &session->ctrl_transmit, in hidp_session_run()
1305 l2cap_unregister_user(session->conn, &session->user); in hidp_session_thread()
[all …]
/linux/net/bluetooth/cmtp/
A Dcore.c61 return session; in __cmtp_get_session()
85 ci->num = session->num; in __cmtp_copy_session()
174 cmtp_recv_capimsg(session, session->reassembly[id]); in cmtp_recv_frame()
325 kfree(session); in cmtp_session()
345 if (!session) in cmtp_add_connection()
363 sprintf(session->name, "%pMR", &session->bdaddr); in cmtp_add_connection()
384 session->task = kthread_run(cmtp_session, session, "kcmtpd_ctr_%d", in cmtp_add_connection()
385 session->num); in cmtp_add_connection()
415 kfree(session); in cmtp_add_connection()
433 if (session) { in cmtp_del_connection()
[all …]
A Dcapi.c126 session->msgnum++; in cmtp_msgnum_get()
131 return session->msgnum; in cmtp_msgnum_get()
544 if (!session->ncontroller) in cmtp_attach_device()
551 session->ctrl.driverdata = session; in cmtp_attach_device()
552 strcpy(session->ctrl.name, session->name); in cmtp_attach_device()
569 session->num = session->ctrl.cnr; in cmtp_attach_device()
571 BT_DBG("session %p num %d", session, session->num); in cmtp_attach_device()
575 cmtp_send_interopmsg(session, CAPI_REQ, 0xffff, cmtp_msgnum_get(session), in cmtp_attach_device()
578 cmtp_send_interopmsg(session, CAPI_REQ, 0xffff, cmtp_msgnum_get(session), in cmtp_attach_device()
581 cmtp_send_interopmsg(session, CAPI_REQ, 0xffff, cmtp_msgnum_get(session), in cmtp_attach_device()
[all …]
/linux/drivers/scsi/
A Dlibiscsi.c305 struct iscsi_session *session = conn->session; in iscsi_prep_scsi_cmd_pdu() local
445 struct iscsi_session *session = conn->session; in iscsi_free_task() local
628 struct iscsi_session *session = conn->session; in iscsi_prep_mgmt_task() local
675 struct iscsi_session *session = conn->session; in __iscsi_conn_send_pdu() local
784 struct iscsi_session *session = conn->session; in iscsi_conn_send_pdu() local
1424 session->exp_cmdsn, session->max_cmdsn, in iscsi_check_cmdsn_window_closed()
1425 session->cmdsn, session->queued_cmdsn); in iscsi_check_cmdsn_window_closed()
2204 session = conn->session; in iscsi_conn_unbind()
3052 conn->session = session; in iscsi_conn_setup()
3176 session->queued_cmdsn = session->cmdsn; in iscsi_conn_start()
[all …]
/linux/drivers/s390/char/
A Dvmcp.c76 session->cma_alloc = 1; in vmcp_response_alloc()
87 if (!session->response) in vmcp_response_free()
94 session->cma_alloc = 0; in vmcp_response_free()
108 session = kmalloc(sizeof(*session), GFP_KERNEL); in vmcp_open()
109 if (!session) in vmcp_open()
114 session->resp_size = 0; in vmcp_open()
127 kfree(session); in vmcp_release()
145 size = min_t(size_t, session->resp_size, session->bufsize); in vmcp_read()
171 if (!session->response) in vmcp_write()
179 session->resp_size = cpcmd(cmd, session->response, session->bufsize, in vmcp_write()
[all …]
/linux/net/l2tp/
A Dl2tp_core.c451 session->nr &= session->nr_max; in l2tp_recv_dequeue_skb()
520 nws = (session->nr_max + 1) - (session->nr - nr); in l2tp_seq_check_rx_window()
557 u32 nr_next = (session->nr_oos + 1) & session->nr_max; in l2tp_recv_data_seq()
565 if (session->nr_oos_count > session->nr_oos_count_max) { in l2tp_recv_data_seq()
695 if (!session->lns_mode && !session->send_seq) { in l2tp_recv_common()
716 if (!session->lns_mode && session->send_seq) { in l2tp_recv_common()
861 if (!session || !session->recv_skb) { in l2tp_udp_recv_core()
1556 (*session->session_close)(session); in l2tp_session_delete()
1572 session->hdr_len = 4 + session->cookie_len; in l2tp_session_set_header_len()
1573 session->hdr_len += l2tp_get_l2specific_len(session); in l2tp_session_set_header_len()
[all …]
A Dl2tp_debugfs.c188 if (session->send_seq || session->recv_seq) in l2tp_dfs_seq_session_show()
201 session->cookie[0], session->cookie[1], in l2tp_dfs_seq_session_show()
202 session->cookie[2], session->cookie[3]); in l2tp_dfs_seq_session_show()
205 session->cookie[4], session->cookie[5], in l2tp_dfs_seq_session_show()
206 session->cookie[6], session->cookie[7]); in l2tp_dfs_seq_session_show()
211 session->peer_cookie[0], session->peer_cookie[1], in l2tp_dfs_seq_session_show()
212 session->peer_cookie[2], session->peer_cookie[3]); in l2tp_dfs_seq_session_show()
215 session->peer_cookie[4], session->peer_cookie[5], in l2tp_dfs_seq_session_show()
216 session->peer_cookie[6], session->peer_cookie[7]); in l2tp_dfs_seq_session_show()
221 session->nr, session->ns, in l2tp_dfs_seq_session_show()
[all …]
A Dl2tp_ppp.c162 if (!session) { in pppol2tp_sock_to_session()
173 return session; in pppol2tp_sock_to_session()
283 if (!session) in pppol2tp_sendmsg()
358 if (!session) in pppol2tp_xmit()
415 if (session) { in pppol2tp_session_destruct()
447 if (session) { in pppol2tp_release()
913 if (!session) in pppol2tp_getname()
1041 if (!session) in pppol2tp_tunnel_copy_stats()
1072 if (!session->session_id && !session->peer_session_id) in pppol2tp_ioctl()
1089 if (!session->session_id && !session->peer_session_id) in pppol2tp_ioctl()
[all …]
A Dtrace.h41 TP_ARGS(session),
92 TP_ARGS(session),
103 __entry->tid = session->tunnel ? session->tunnel->tunnel_id : 0;
104 __entry->ptid = session->tunnel ? session->tunnel->peer_tunnel_id : 0;
120 TP_ARGS(session)
125 TP_ARGS(session)
130 TP_ARGS(session)
135 TP_ARGS(session)
140 TP_ARGS(session),
159 TP_ARGS(session)
[all …]
A Dl2tp_eth.c39 struct l2tp_session *session; member
77 struct l2tp_session *session = priv->session; in l2tp_eth_dev_xmit() local
169 if (session) { in l2tp_eth_delete()
205 struct l2tp_session *session, in l2tp_eth_adjust_mtu() argument
251 struct l2tp_session *session; in l2tp_eth_create() local
266 if (IS_ERR(session)) { in l2tp_eth_create()
267 rc = PTR_ERR(session); in l2tp_eth_create()
284 priv->session = session; in l2tp_eth_create()
289 session->show = l2tp_eth_show; in l2tp_eth_create()
310 l2tp_session_delete(session); in l2tp_eth_create()
[all …]
A Dl2tp_netlink.c69 return session; in l2tp_nl_session_get()
639 if (session) { in l2tp_nl_cmd_session_create()
659 if (!session) { in l2tp_nl_cmd_session_delete()
667 pw_type = session->pwtype; in l2tp_nl_cmd_session_delete()
684 if (!session) { in l2tp_nl_cmd_session_modify()
694 l2tp_session_set_header_len(session, session->tunnel->version); in l2tp_nl_cmd_session_modify()
731 if ((session->ifname[0] && in l2tp_nl_session_send()
733 (session->cookie_len && in l2tp_nl_session_send()
734 nla_put(skb, L2TP_ATTR_COOKIE, session->cookie_len, session->cookie)) || in l2tp_nl_session_send()
799 if (!session) { in l2tp_nl_cmd_session_get()
[all …]
/linux/kernel/trace/
A Dtrace_stat.c57 session->stat_root = RB_ROOT; in __reset_stat_session()
63 __reset_stat_session(session); in reset_stat_session()
72 kfree(session); in destroy_session()
254 m->private = session; in tracing_stat_open()
300 session->file = tracefs_create_file(session->ts->name, TRACE_MODE_WRITE, in init_stat_file()
301 stat_dir, session, in init_stat_file()
303 if (!session->file) in init_stat_file()
328 session = kzalloc(sizeof(*session), GFP_KERNEL); in register_stat_tracer()
329 if (!session) in register_stat_tracer()
332 session->ts = trace; in register_stat_tracer()
[all …]
/linux/tools/perf/
A Dbuiltin-daemon.c117 struct daemon_session *session = zalloc(sizeof(*session)); in daemon__add_session() local
119 if (!session) in daemon__add_session()
124 free(session); in daemon__add_session()
130 return session; in daemon__add_session()
152 *session = 0; in get_session_name()
172 if (!session) { in session_config()
175 if (!session) in session_config()
345 session->name, session->pid, session->run); in daemon_session__run()
737 session->pid, session->name, session->run); in cmd_session_list()
774 cmd->signal.sig, session->name, session->pid); in cmd_session_kill()
[all …]
/linux/tools/perf/tests/
A Dtopology.c35 struct perf_session *session; in session_write_header() local
41 session = perf_session__new(&data, NULL); in session_write_header()
45 session->evlist = evlist__new_default(); in session_write_header()
50 session->evlist = evlist__new(); in session_write_header()
61 session->header.data_size += DATA_SIZE; in session_write_header()
64 !perf_session__write_header(session, session->evlist, data.file.fd, true)); in session_write_header()
66 evlist__delete(session->evlist); in session_write_header()
67 perf_session__delete(session); in session_write_header()
74 struct perf_session *session; in check_cpu_topology() local
107 if (!session->header.env.cpu in check_cpu_topology()
[all …]
/linux/tools/perf/util/
A Dsession.c192 struct perf_session *session = zalloc(sizeof(*session)); in __perf_session__new() local
194 if (!session) in __perf_session__new()
199 session->decomp_data.zstd_decomp = &session->zstd_data; in __perf_session__new()
200 session->active_decomp = &session->decomp_data; in __perf_session__new()
267 return session; in __perf_session__new()
297 if (session == NULL) in perf_session__delete()
306 if (session->data) { in perf_session__delete()
312 free(session); in perf_session__delete()
1590 ret = machines__deliver_event(&session->machines, session->evlist, in perf_session__deliver_event()
1712 if (session->one_mmap && !session->header.needs_swap) { in perf_session__peek_event()
[all …]
A Dsession.h73 void perf_session__delete(struct perf_session *session);
81 typedef int (*peek_events_cb_t)(struct perf_session *session,
87 int perf_session__process_events(struct perf_session *session);
94 int perf_session__resolve_callchain(struct perf_session *session,
104 int perf_session__create_kernel_maps(struct perf_session *session);
106 void perf_session__set_id_hdr_size(struct perf_session *session);
111 return machines__find(&session->machines, pid); in perf_session__find_machine()
117 return machines__findnew(&session->machines, pid); in perf_session__findnew_machine()
136 int perf_session__cpu_bitmap(struct perf_session *session,
143 #define perf_session__set_tracepoints_handlers(session, array) \ argument
[all …]
A Dauxtrace.h195 int (*process_event)(struct perf_session *session,
202 int (*queue_data)(struct perf_session *session,
207 int (*flush_events)(struct perf_session *session,
209 void (*free_events)(struct perf_session *session);
210 void (*free)(struct perf_session *session);
380 struct perf_session *session,
508 struct perf_session *session,
514 struct perf_session *session);
516 struct perf_session *session,
521 struct perf_session *session);
[all …]
/linux/tools/perf/tests/shell/
A Ddaemon.sh154 [session-size]
157 [session-time]
204 [session-size]
207 [session-time]
220 ${base}/session-time/output ${base}/session-time/control ${base}/session-time/ack "0"
229 [session-size]
232 [session-time]
254 ${base}/session-time/output ${base}/session-time/control ${base}/session-time/ack "0"
323 [session-size]
326 [session-time]
[all …]
/linux/drivers/net/wwan/iosm/
A Diosm_ipc_mux_codec.c184 session = &ipc_mux->session[cmdh->if_id]; in ipc_mux_dl_dlcmds_decode_process()
493 session = &ipc_mux->session[ul_adb->adgh->if_id]; in ipc_mux_ul_adgh_finish()
542 session = &ipc_mux->session[idx]; in ipc_mux_stop_tx_for_all_sessions()
567 session = &ipc_mux->session[i]; in ipc_mux_lite_send_qlt()
569 if (!session->wwan || session->flow_ctl_mask) in ipc_mux_lite_send_qlt()
623 session->if_id, session->ul_flow_credits, in ipc_mux_ul_bytes_credits_check()
782 session = &ipc_mux->session[session_id]; in ipc_mux_ul_data_encode()
789 if (!session->wwan || session->flow_ctl_mask || in ipc_mux_ul_data_encode()
862 struct mux_session *session = &ipc_mux->session[if_id]; in ipc_mux_ul_trigger_encode() local
887 ipc_mux_netif_tx_flowctrl(session, session->if_id, true); in ipc_mux_ul_trigger_encode()
[all …]
A Diosm_ipc_mux.c48 if_entry = &ipc_mux->session[if_id]; in ipc_mux_session_free()
182 if (ipc_mux->session[i].wwan) in ipc_mux_channel_close()
340 struct mux_session *session; in ipc_mux_restart_tx_for_all_sessions() local
344 session = &ipc_mux->session[idx]; in ipc_mux_restart_tx_for_all_sessions()
346 if (!session->wwan) in ipc_mux_restart_tx_for_all_sessions()
353 if (session->flow_ctl_mask == 0) { in ipc_mux_restart_tx_for_all_sessions()
354 session->net_tx_stop = false; in ipc_mux_restart_tx_for_all_sessions()
365 struct mux_session *session; in ipc_mux_stop_netif_for_all_sessions() local
369 session = &ipc_mux->session[idx]; in ipc_mux_stop_netif_for_all_sessions()
371 if (!session->wwan) in ipc_mux_stop_netif_for_all_sessions()
[all …]
/linux/fs/ceph/
A Dmds_client.c1408 if (!session) { in __open_export_target_session()
1420 return session; in __open_export_target_session()
1434 return session; in ceph_mdsc_open_export_target_session()
1568 BUG_ON(cap->session != session); in ceph_iterate_session_caps()
1773 session->s_cap_ttl = session->s_renew_requested + in renewed_caps()
1942 session->s_mds, session->s_nr_caps, max_caps, in ceph_trim_caps()
2091 ceph_send_cap_releases(session->s_mdsc, session); in ceph_cap_release_work()
2122 ceph_flush_cap_releases(session->s_mdsc, session); in __ceph_queue_cap_release()
3930 .session = session, in send_mds_reconnect()
4809 if (!session) in ceph_mdsc_close_sessions()
[all …]
/linux/tools/perf/Documentation/
A Dperf-daemon.txt84 --session::
85 Send signal to specific session.
92 --session::
93 Send ping to specific session.
105 session-<NAME>.run:
120 [session-cycles]
123 [session-sched]
156 base: /opt/perfdata/session-sched
162 The 'base' path is daemon/session base.
170 Make sure control session is online:
[all …]
/linux/drivers/virt/vboxguest/
A Dvboxguest_core.c590 session->requestor); in vbg_set_session_event_filter()
628 session->event_filter); in vbg_set_session_event_filter()
690 session->requestor); in vbg_set_host_capabilities()
1058 struct vbg_session *session; in vbg_core_open_session() local
1060 session = kzalloc(sizeof(*session), GFP_KERNEL); in vbg_core_open_session()
1061 if (!session) in vbg_core_open_session()
1064 session->gdev = gdev; in vbg_core_open_session()
1065 session->requestor = requestor; in vbg_core_open_session()
1067 return session; in vbg_core_open_session()
1092 kfree(session); in vbg_core_close_session()
[all …]

Completed in 94 milliseconds

12345678910>>...13