| /linux/net/llc/ |
| H A D | llc_c_ac.c | 23 #include <net/llc.h> 41 struct llc_sock *llc = llc_sk(sk); 43 if (llc->remote_busy_flag) { 47 llc->remote_busy_flag = 0; in llc_conn_ac_clear_remote_busy() local 48 timer_delete(&llc->busy_state_timer.timer); in llc_conn_ac_clear_remote_busy() 128 struct llc_sock *llc = llc_sk(sk); in llc_conn_ac_rst_ind() 148 if (llc->retry_count > llc->n2) { in llc_conn_ac_rst_ind() 185 struct llc_sock *llc = llc_sk(sk); in llc_conn_ac_clear_remote_busy_if_f_eq_1() 187 if (llc in llc_conn_ac_clear_remote_busy_if_f_eq_1() 134 struct llc_sock *llc = llc_sk(sk); llc_conn_ac_rst_ind() local 191 struct llc_sock *llc = llc_sk(sk); llc_conn_ac_stop_rej_tmr_if_data_flag_eq_2() local 201 struct llc_sock *llc = llc_sk(sk); llc_conn_ac_send_disc_cmd_p_set_x() local 226 struct llc_sock *llc = llc_sk(sk); llc_conn_ac_send_dm_rsp_f_set_p() local 252 struct llc_sock *llc = llc_sk(sk); llc_conn_ac_send_dm_rsp_f_set_1() local 279 struct llc_sock *llc = llc_sk(sk); llc_conn_ac_send_frmr_rsp_f_set_x() local 310 struct llc_sock *llc = llc_sk(sk); llc_conn_ac_resend_frmr_rsp_f_set_0() local 339 struct llc_sock *llc = llc_sk(sk); llc_conn_ac_resend_frmr_rsp_f_set_p() local 367 struct llc_sock *llc = llc_sk(sk); llc_conn_ac_send_i_cmd_p_set_1() local 385 struct llc_sock *llc = llc_sk(sk); llc_conn_ac_send_i_cmd_p_set_0() local 403 struct llc_sock *llc = llc_sk(sk); llc_conn_ac_send_i_xxx_x_set_0() local 433 struct llc_sock *llc = llc_sk(sk); llc_conn_ac_resend_i_xxx_x_set_0_or_send_rr() local 468 struct llc_sock *llc = llc_sk(sk); llc_conn_ac_send_rej_cmd_p_set_1() local 492 struct llc_sock *llc = llc_sk(sk); llc_conn_ac_send_rej_rsp_f_set_1() local 516 struct llc_sock *llc = llc_sk(sk); llc_conn_ac_send_rej_xxx_x_set_0() local 540 struct llc_sock *llc = llc_sk(sk); llc_conn_ac_send_rnr_cmd_p_set_1() local 564 struct llc_sock *llc = llc_sk(sk); llc_conn_ac_send_rnr_rsp_f_set_1() local 588 struct llc_sock *llc = llc_sk(sk); llc_conn_ac_send_rnr_xxx_x_set_0() local 611 struct llc_sock *llc = llc_sk(sk); llc_conn_ac_set_remote_busy() local 624 struct llc_sock *llc = llc_sk(sk); llc_conn_ac_opt_send_rnr_xxx_x_set_0() local 648 struct llc_sock *llc = llc_sk(sk); llc_conn_ac_send_rr_cmd_p_set_1() local 672 struct llc_sock *llc = llc_sk(sk); llc_conn_ac_send_rr_rsp_f_set_1() local 697 struct llc_sock *llc = llc_sk(sk); llc_conn_ac_send_ack_rsp_f_set_1() local 721 struct llc_sock *llc = llc_sk(sk); llc_conn_ac_send_rr_xxx_x_set_0() local 745 struct llc_sock *llc = llc_sk(sk); llc_conn_ac_send_ack_xxx_x_set_0() local 779 struct llc_sock *llc = llc_sk(sk); llc_conn_ac_send_sabme_cmd_p_set_x() local 808 struct llc_sock *llc = llc_sk(sk); llc_conn_ac_send_ua_rsp_f_set_p() local 845 struct llc_sock *llc = llc_sk(sk); llc_conn_ac_start_p_timer() local 866 struct llc_sock *llc = llc_sk(sk); llc_conn_ac_send_ack_if_needed() local 914 struct llc_sock *llc = llc_sk(sk); llc_conn_ac_send_i_rsp_f_set_ackpf() local 941 struct llc_sock *llc = llc_sk(sk); llc_conn_ac_send_i_as_ack() local 969 struct llc_sock *llc = llc_sk(sk); llc_conn_ac_send_rr_rsp_f_set_ackpf() local 1002 struct llc_sock *llc = llc_sk(sk); llc_conn_ac_inc_npta_value() local 1025 struct llc_sock *llc = llc_sk(sk); llc_conn_ac_adjust_npta_by_rr() local 1051 struct llc_sock *llc = llc_sk(sk); llc_conn_ac_adjust_npta_by_rnr() local 1076 struct llc_sock *llc = llc_sk(sk); llc_conn_ac_dec_tx_win_size() local 1096 struct llc_sock *llc = llc_sk(sk); llc_conn_ac_inc_tx_win_size() local 1112 struct llc_sock *llc = llc_sk(sk); llc_conn_ac_stop_other_timers() local 1124 struct llc_sock *llc = llc_sk(sk); llc_conn_ac_start_ack_timer() local 1132 struct llc_sock *llc = llc_sk(sk); llc_conn_ac_start_rej_timer() local 1142 struct llc_sock *llc = llc_sk(sk); llc_conn_ac_start_ack_tmr_if_not_running() local 1158 struct llc_sock *llc = llc_sk(sk); llc_conn_ac_stop_p_timer() local 1176 struct llc_sock *llc = llc_sk(sk); llc_conn_ac_upd_nr_received() local 1338 struct llc_sock *llc = timer_container_of(llc, t, llc_conn_pf_cycle_tmr_cb() local 1346 struct llc_sock *llc = timer_container_of(llc, t, llc_conn_busy_tmr_cb() local 1354 struct llc_sock *llc = timer_container_of(llc, t, ack_timer.timer); llc_conn_ack_tmr_cb() local 1361 struct llc_sock *llc = timer_container_of(llc, t, llc_conn_rej_tmr_cb() local [all...] |
| H A D | llc_conn.c | 11 #include <net/llc.h> 59 struct llc_sock *llc = llc_sk(skb->sk); 126 if (!llc_data_accept_state(llc->state)) in llc_conn_state_process() 129 rc = llc->failed_data_req = 1; in llc_conn_state_process() 210 struct llc_sock *llc; 220 llc = llc_sk(sk); in llc_conn_resend_i_pdu_as_cmd() 222 while ((skb = skb_dequeue(&llc->pdu_unack_q)) != NULL) { in llc_conn_resend_i_pdu_as_cmd() 228 llc->vS = LLC_I_GET_NS(pdu); in llc_conn_resend_i_pdu_as_cmd() 232 llc->vS = (llc in llc_conn_resend_i_pdu_as_cmd() 65 struct llc_sock *llc = llc_sk(skb->sk); llc_conn_state_process() local 216 struct llc_sock *llc; llc_conn_resend_i_pdu_as_cmd() local 258 struct llc_sock *llc = llc_sk(sk); llc_conn_resend_i_pdu_as_rsp() local 300 struct llc_sock *llc = llc_sk(sk); llc_conn_remove_acked_pdus() local 360 struct llc_sock *llc = llc_sk(sk); llc_conn_service() local 393 struct llc_sock *llc = llc_sk(sk); llc_qualify_conn_ev() local 460 struct llc_sock *llc = llc_sk(sk); llc_estab_match() local 537 struct llc_sock *llc = llc_sk(sk); llc_listener_match() local 708 struct llc_sock *llc = llc_sk(sk); llc_sap_add_socket() local 733 struct llc_sock *llc = llc_sk(sk); llc_sap_remove_socket() local 766 struct llc_sock *newllc, *llc = llc_sk(sk); llc_create_incoming_sock() local 861 struct llc_sock *llc = llc_sk(sk); llc_backlog_rcv() local 893 struct llc_sock *llc = llc_sk(sk); llc_sk_init() local 949 struct llc_sock *llc = llc_sk(sk); llc_sk_stop_all_timers() local 975 struct llc_sock *llc = llc_sk(sk); llc_sk_free() local 1012 struct llc_sock *llc = llc_sk(sk); llc_sk_reset() local [all...] |
| H A D | llc_proc.c | 17 #include <net/llc.h> 77 struct llc_sock *llc; in laddr_hash_next() 91 llc = llc_sk(sk); in llc_seq_next() 92 sap = llc->sap; in llc_seq_next() 93 sk = laddr_hash_next(sap, llc_sk_laddr_hashfn(sap, &llc->laddr)); in llc_seq_next() 112 struct llc_sock *llc = llc_sk(sk); in llc_seq_next() 113 struct llc_sap *sap = llc->sap; 123 struct llc_sock *llc; in llc_seq_stop() 131 llc = llc_sk(sk); in llc_seq_socket_show() 136 if (llc in llc_seq_socket_show() 83 struct llc_sock *llc; llc_seq_next() local 118 struct llc_sock *llc = llc_sk(sk); llc_seq_stop() local 129 struct llc_sock *llc; llc_seq_socket_show() local 178 struct llc_sock *llc; llc_seq_core_show() local [all...] |
| H A D | af_llc.c | 5 * Functions in this module are implementation of socket based llc 6 * communications for the Linux operating system. Support of llc class 26 #include <net/llc.h> 84 * llc_ui_header_len - return length of llc header based on operation in llc_ui_addr_null() 85 * @sk: Socket which contains a valid llc socket type. in llc_ui_addr_null() 88 * Provide the length of the llc header depending on what kind of 90 * Returns the correct llc header length. 124 struct llc_sock* llc = llc_sk(sk); 126 if (unlikely(llc_data_accept_state(llc->state) || 127 llc 129 struct llc_sock* llc = llc_sk(sk); llc_ui_send_data() local 203 struct llc_sock *llc; llc_ui_release() local 279 struct llc_sock *llc = llc_sk(sk); llc_ui_autobind() local 344 struct llc_sock *llc = llc_sk(sk); llc_ui_bind() local 484 struct llc_sock *llc = llc_sk(sk); llc_ui_connect() local 622 struct llc_sock *llc = llc_sk(sk); llc_ui_wait_for_busy_core() local 674 struct llc_sock *llc = llc_sk(skb->sk); llc_cmsg_rcv() local 700 struct llc_sock *llc, *newllc; llc_ui_accept() local 766 struct llc_sock *llc = llc_sk(sk); llc_ui_recvmsg() local 934 struct llc_sock *llc = llc_sk(sk); llc_ui_sendmsg() local 1031 struct llc_sock *llc = llc_sk(sk); llc_ui_getname() local 1094 struct llc_sock *llc = llc_sk(sk); llc_ui_setsockopt() local 1176 struct llc_sock *llc = llc_sk(sk); llc_ui_getsockopt() local [all...] |
| H A D | llc_if.c | 42 struct llc_sock *llc = llc_sk(sk); 44 if (unlikely(llc->state == LLC_CONN_STATE_ADM)) in llc_build_and_send_pkt() 47 if (unlikely(llc_data_accept_state(llc->state) || /* data_conn_refuse */ in llc_build_and_send_pkt() 48 llc->p_flag)) { in llc_build_and_send_pkt() local 49 llc->failed_data_req = 1; in llc_build_and_send_pkt() 56 skb->dev = llc->dev; in llc_build_and_send_pkt() 82 struct llc_sock *llc = llc_sk(sk); 85 laddr.lsap = llc->sap->laddr.lsap; in llc_establish_connection() 89 existing = llc_lookup_established(llc->sap, &daddr, &laddr, sock_net(sk)); in llc_establish_connection() 88 struct llc_sock *llc = llc_sk(sk); llc_establish_connection() local
|
| H A D | llc_sap.c | 9 #include <net/llc.h> 19 #include <linux/llc.h> 294 struct llc_sock *llc = llc_sk(sk); 298 llc->laddr.lsap == laddr->lsap && in llc_dgram_match() 299 ether_addr_equal(llc->laddr.mac, laddr->mac); in llc_dgram_match() 353 struct llc_sock *llc = llc_sk(sk); 356 llc->laddr.lsap == laddr->lsap && in llc_mcast_match() 357 llc->dev == skb->dev; in llc_mcast_match() 394 struct llc_sock *llc; in llc_sap_mcast() 398 hlist_for_each_entry(llc, dev_h in llc_sap_mcast() 300 struct llc_sock *llc = llc_sk(sk); llc_dgram_match() local 359 struct llc_sock *llc = llc_sk(sk); llc_mcast_match() local 400 struct llc_sock *llc; llc_sap_mcast() local [all...] |
| H A D | Makefile | 9 obj-$(CONFIG_LLC) += llc.o 11 llc-y := llc_core.o llc_input.o llc_output.o
|
| H A D | llc_c_ev.c | 74 struct llc_sock *llc = llc_sk(sk); 77 if (llc->dev->flags & IFF_LOOPBACK) in llc_util_nr_inside_tx_window() 80 if (skb_queue_empty(&llc->pdu_unack_q)) in llc_util_nr_inside_tx_window() local 82 skb = skb_peek(&llc->pdu_unack_q); in llc_util_nr_inside_tx_window() 85 skb = skb_peek_tail(&llc->pdu_unack_q); in llc_util_nr_inside_tx_window()
|
| /linux/net/nfc/hci/ |
| H A D | llc.c | 87 struct nfc_llc *llc; in nfc_llc_allocate() local 93 llc = kzalloc_obj(struct nfc_llc); in nfc_llc_allocate() 94 if (llc == NULL) in nfc_llc_allocate() 97 llc->data = llc_engine->ops->init(hdev, xmit_to_drv, rcv_to_hci, in nfc_llc_allocate() 99 &llc->rx_headroom, &llc->rx_tailroom, in nfc_llc_allocate() 101 if (llc->data == NULL) { in nfc_llc_allocate() 102 kfree(llc); in nfc_llc_allocate() 105 llc->ops = llc_engine->ops; in nfc_llc_allocate() 107 return llc; in nfc_llc_allocate() 110 void nfc_llc_free(struct nfc_llc *llc) in nfc_llc_free() argument [all …]
|
| H A D | llc_nop.c | 45 static void llc_nop_deinit(struct nfc_llc *llc) in llc_nop_deinit() argument 47 kfree(nfc_llc_get_data(llc)); in llc_nop_deinit() 50 static int llc_nop_start(struct nfc_llc *llc) in llc_nop_start() argument 55 static int llc_nop_stop(struct nfc_llc *llc) in llc_nop_stop() argument 60 static void llc_nop_rcv_from_drv(struct nfc_llc *llc, struct sk_buff *skb) in llc_nop_rcv_from_drv() argument 62 struct llc_nop *llc_nop = nfc_llc_get_data(llc); in llc_nop_rcv_from_drv() 67 static int llc_nop_xmit_from_hci(struct nfc_llc *llc, struct sk_buff *skb) in llc_nop_xmit_from_hci() argument 69 struct llc_nop *llc_nop = nfc_llc_get_data(llc); in llc_nop_xmit_from_hci()
|
| H A D | llc.h | 20 void (*deinit) (struct nfc_llc *llc); 21 int (*start) (struct nfc_llc *llc); 22 int (*stop) (struct nfc_llc *llc); 23 void (*rcv_from_drv) (struct nfc_llc *llc, struct sk_buff *skb); 24 int (*xmit_from_hci) (struct nfc_llc *llc, struct sk_buff *skb); 40 void *nfc_llc_get_data(struct nfc_llc *llc);
|
| H A D | llc_shdlc.c | 761 static void llc_shdlc_deinit(struct nfc_llc *llc) in llc_shdlc_deinit() argument 763 struct llc_shdlc *shdlc = nfc_llc_get_data(llc); in llc_shdlc_deinit() 780 static int llc_shdlc_start(struct nfc_llc *llc) in llc_shdlc_start() argument 782 struct llc_shdlc *shdlc = nfc_llc_get_data(llc); in llc_shdlc_start() 787 static int llc_shdlc_stop(struct nfc_llc *llc) in llc_shdlc_stop() argument 789 struct llc_shdlc *shdlc = nfc_llc_get_data(llc); in llc_shdlc_stop() 796 static void llc_shdlc_rcv_from_drv(struct nfc_llc *llc, struct sk_buff *skb) in llc_shdlc_rcv_from_drv() argument 798 struct llc_shdlc *shdlc = nfc_llc_get_data(llc); in llc_shdlc_rcv_from_drv() 803 static int llc_shdlc_xmit_from_hci(struct nfc_llc *llc, struct sk_buff *skb) in llc_shdlc_xmit_from_hci() argument 805 struct llc_shdlc *shdlc = nfc_llc_get_data(llc); in llc_shdlc_xmit_from_hci()
|
| H A D | core.c | 99 r = nfc_llc_xmit_from_hci(hdev->llc, skb); in nfc_hci_msg_tx_work() 590 r = nfc_llc_start(hdev->llc); in hci_dev_up() 616 nfc_llc_stop(hdev->llc); in hci_dev_up() 629 nfc_llc_stop(hdev->llc); in hci_dev_down() 981 hdev->llc = nfc_llc_allocate(llc_name, hdev, ops->xmit, in nfc_hci_allocate_device() 984 if (hdev->llc == NULL) { in nfc_hci_allocate_device() 993 nfc_llc_free(hdev->llc); in nfc_hci_allocate_device() 1015 nfc_llc_free(hdev->llc); in nfc_hci_free_device() 1097 nfc_llc_rcv_from_drv(hdev->llc, skb); in nfc_hci_recv_frame()
|
| H A D | Makefile | 8 hci-y := core.o hcp.o command.o llc.o llc_nop.o
|
| /linux/drivers/gpu/drm/i915/gt/ |
| H A D | selftest_llc.c | 9 static int gen6_verify_ring_freq(struct intel_llc *llc) in gen6_verify_ring_freq() argument 11 struct drm_i915_private *i915 = llc_to_gt(llc)->i915; in gen6_verify_ring_freq() 17 wakeref = intel_runtime_pm_get(llc_to_gt(llc)->uncore->rpm); in gen6_verify_ring_freq() 19 if (!get_ia_constants(llc, &consts)) in gen6_verify_ring_freq() 25 struct intel_rps *rps = &llc_to_gt(llc)->rps; in gen6_verify_ring_freq() 30 calc_ia_freq(llc, gpu_freq, &consts, &ia_freq, &ring_freq); in gen6_verify_ring_freq() 33 if (snb_pcode_read(llc_to_gt(llc)->uncore, GEN6_PCODE_READ_MIN_FREQ_TABLE, in gen6_verify_ring_freq() 63 intel_runtime_pm_put(llc_to_gt(llc)->uncore->rpm, wakeref); in gen6_verify_ring_freq() 67 int st_llc_verify(struct intel_llc *llc) in st_llc_verify() argument 69 return gen6_verify_ring_freq(llc); in st_llc_verify()
|
| H A D | intel_llc.h | 11 void intel_llc_enable(struct intel_llc *llc); 12 void intel_llc_disable(struct intel_llc *llc);
|
| H A D | selftest_llc.h | 11 int st_llc_verify(struct intel_llc *llc);
|
| /linux/net/bridge/netfilter/ |
| H A D | ebt_802_3.c | 27 __be16 type = hdr->llc.ui.ctrl & IS_UI ? hdr->llc.ui.type : hdr->llc.ni.type; in ebt_802_3_mt() 30 if (NF_INVF(info, EBT_802_3_SAP, info->sap != hdr->llc.ui.ssap)) in ebt_802_3_mt() 32 if (NF_INVF(info, EBT_802_3_SAP, info->sap != hdr->llc.ui.dsap)) in ebt_802_3_mt() 37 if (!(hdr->llc.ui.dsap == CHECK_TYPE && hdr->llc.ui.ssap == CHECK_TYPE)) in ebt_802_3_mt()
|
| /linux/net/smc/ |
| H A D | smc_llc.c | 205 static void smc_llc_enqueue(struct smc_link *link, union smc_llc_msg *llc); 1033 struct smc_llc_msg_add_link *llc = &qentry->msg.add_link; in smc_llc_cli_add_link() local 1040 if (!llc->qp_mtu) in smc_llc_cli_add_link() 1058 ini->smcrv2.daddr = smc_ib_gid_to_ipv4(llc->sender_gid); in smc_llc_cli_add_link() 1061 if (!memcmp(llc->sender_gid, link->peer_gid, SMC_GID_SIZE) && in smc_llc_cli_add_link() 1063 !memcmp(llc->sender_mac, link->peer_mac, ETH_ALEN))) { in smc_llc_cli_add_link() 1084 smc_llc_save_add_link_info(lnk_new, llc); in smc_llc_cli_add_link() 1085 lnk_new->link_id = llc->link_num; /* SMC server assigns link id */ in smc_llc_cli_add_link() 1103 (u8 *)lgr->wr_rx_buf_v2 : (u8 *)llc; in smc_llc_cli_add_link() 1128 struct smc_llc_msg_req_add_link_v2 *llc; in smc_llc_send_request_add_link() local [all …]
|
| /linux/include/net/nfc/ |
| H A D | llc.h | 27 void nfc_llc_free(struct nfc_llc *llc); 29 int nfc_llc_start(struct nfc_llc *llc); 30 int nfc_llc_stop(struct nfc_llc *llc); 31 void nfc_llc_rcv_from_drv(struct nfc_llc *llc, struct sk_buff *skb); 32 int nfc_llc_xmit_from_hci(struct nfc_llc *llc, struct sk_buff *skb);
|
| /linux/drivers/base/ |
| H A D | cacheinfo.c | 61 struct cacheinfo *llc; in last_level_cache_is_valid() 66 llc = per_cpu_cacheinfo_idx(cpu, cache_leaves(cpu) - 1); in last_level_cache_is_valid() 68 return (llc->attributes & CACHE_ID) || !!llc->fw_token; in last_level_cache_is_valid() 78 struct cacheinfo *llc; in last_level_cache_is_shared() 83 llc = per_cpu_cacheinfo_idx(cpu, cache_leaves(cpu) - 1); in last_level_cache_is_shared() 84 if (llc->type != CACHE_TYPE_DATA && llc->type != CACHE_TYPE_UNIFIED) 87 return llc; 956 struct cacheinfo *llc, *sib_ll in cpu_map_shared_cache() 60 struct cacheinfo *llc; last_level_cache_is_valid() local 937 struct cacheinfo *llc, *sib_llc; cpu_map_shared_cache() local 979 struct cacheinfo *llc; update_per_cpu_data_slice_size_cpu() local [all...] |
| /linux/samples/bpf/ |
| H A D | README.rst | 23 'llc' must support target 'bpf', list version and supported targets with 24 command: ``llc --version`` 71 To generate a smaller llc binary one can use:: 91 It is also possible to point make to the newly compiled 'llc' or 94 …make M=samples/bpf LLC=~/git/llvm-project/llvm/build/bin/llc CLANG=~/git/llvm-project/llvm/build/b…
|
| /linux/Documentation/driver-api/nfc/ |
| H A D | nfc-hci.rst | 142 layers such as an llc to store the frame for re-emission, this 154 A new llc must implement the following functions:: 161 void (*deinit) (struct nfc_llc *llc); 162 int (*start) (struct nfc_llc *llc); 163 int (*stop) (struct nfc_llc *llc); 164 void (*rcv_from_drv) (struct nfc_llc *llc, struct sk_buff *skb); 165 int (*xmit_from_hci) (struct nfc_llc *llc, struct sk_buff *skb); 181 The llc must be registered with nfc before it can be used. Do that by 186 Again, note that the llc does not handle the physical link. It is thus very 187 easy to mix any physical link with any llc for a given chip driver. [all …]
|
| /linux/include/uapi/linux/ |
| H A D | if_fc.h | 47 __u8 llc; /* LLC control field */ member
|
| /linux/include/uapi/linux/netfilter_bridge/ |
| H A D | ebt_802_3.h | 53 } llc; member
|