| /linux/net/llc/ |
| A D | llc_c_ac.c | 154 if (llc->retry_count > llc->n2) { in llc_conn_ac_rst_ind() 372 llc_pdu_init_as_i_cmd(skb, 1, llc->vS, llc->vR); in llc_conn_ac_send_i_cmd_p_set_1() 390 llc_pdu_init_as_i_cmd(skb, 0, llc->vS, llc->vR); in llc_conn_ac_send_i_cmd_p_set_0() 408 llc_pdu_init_as_i_cmd(skb, 0, llc->vS, llc->vR); in llc_conn_ac_send_i_xxx_x_set_0() 871 llc->first_pdu_Ns = llc->vR; in llc_conn_ac_send_ack_if_needed() 919 llc_pdu_init_as_i_cmd(skb, llc->ack_pf, llc->vS, llc->vR); in llc_conn_ac_send_i_rsp_f_set_ackpf() 1006 llc->dec_cntr = llc->inc_cntr = 2; in llc_conn_ac_inc_npta_value() 1027 if (!llc->connect_step && !llc->remote_busy_flag) { in llc_conn_ac_adjust_npta_by_rr() 1030 llc->inc_cntr = llc->dec_cntr = 2; in llc_conn_ac_adjust_npta_by_rr() 1032 llc->npta = llc->npta - 1; in llc_conn_ac_adjust_npta_by_rr() [all …]
|
| A D | llc_conn.c | 226 llc = llc_sk(sk); in llc_conn_resend_i_pdu_as_cmd() 238 llc->vS = (llc->vS + 1) % LLC_2_SEQ_NBR_MODULO; in llc_conn_resend_i_pdu_as_cmd() 279 llc->vS = (llc->vS + 1) % LLC_2_SEQ_NBR_MODULO; in llc_conn_resend_i_pdu_as_rsp() 896 llc->inc_cntr = llc->dec_cntr = 2; in llc_sk_init() 897 llc->dec_step = llc->connect_step = 1; in llc_sk_init() 964 llc->ack_pf = 0; in llc_sk_stop_all_timers() 1021 llc->f_flag = 0; in llc_sk_reset() 1022 llc->s_flag = 0; in llc_sk_reset() 1023 llc->ack_pf = 0; in llc_sk_reset() 1029 llc->X = 0; in llc_sk_reset() [all …]
|
| A D | llc_proc.c | 83 struct llc_sock *llc; in llc_seq_next() local 97 llc = llc_sk(sk); in llc_seq_next() 98 sap = llc->sap; in llc_seq_next() 137 llc = llc_sk(sk); in llc_seq_socket_show() 142 if (llc->dev) in llc_seq_socket_show() 155 llc->link); in llc_seq_socket_show() 187 llc = llc_sk(sk); in llc_seq_core_show() 191 llc->daddr.lsap, llc_conn_state_names[llc->state], in llc_seq_core_show() 192 llc->retry_count, llc->k, llc->rw, llc->p_flag, llc->f_flag, in llc_seq_core_show() 193 llc->s_flag, llc->data_flag, llc->remote_busy_flag, in llc_seq_core_show() [all …]
|
| A D | af_llc.c | 211 llc->laddr.lsap, llc->daddr.lsap); in llc_ui_release() 227 netdev_put(llc->dev, &llc->dev_tracker); in llc_ui_release() 311 llc->dev = dev; in llc_ui_autobind() 315 memcpy(llc->laddr.mac, llc->dev->dev_addr, IFHWADDRLEN); in llc_ui_autobind() 316 memcpy(&llc->addr, addr, sizeof(llc->addr)); in llc_ui_autobind() 415 llc->dev = dev; in llc_ui_bind() 421 memcpy(&llc->addr, addr, sizeof(llc->addr)); in llc_ui_bind() 510 llc->link = llc_ui_next_link_no(llc->sap->laddr.lsap); in llc_ui_connect() 943 llc->laddr.lsap, llc->daddr.lsap); in llc_ui_sendmsg() 1013 __func__, llc->laddr.lsap, llc->daddr.lsap, rc); in llc_ui_sendmsg() [all …]
|
| A D | llc_if.c | 48 struct llc_sock *llc = llc_sk(sk); in llc_build_and_send_pkt() local 50 if (unlikely(llc->state == LLC_CONN_STATE_ADM)) in llc_build_and_send_pkt() 53 if (unlikely(llc_data_accept_state(llc->state) || /* data_conn_refuse */ in llc_build_and_send_pkt() 54 llc->p_flag)) { in llc_build_and_send_pkt() 55 llc->failed_data_req = 1; in llc_build_and_send_pkt() 62 skb->dev = llc->dev; in llc_build_and_send_pkt() 88 struct llc_sock *llc = llc_sk(sk); in llc_establish_connection() local 91 laddr.lsap = llc->sap->laddr.lsap; in llc_establish_connection() 95 existing = llc_lookup_established(llc->sap, &daddr, &laddr, sock_net(sk)); in llc_establish_connection()
|
| A D | llc_sap.c | 300 struct llc_sock *llc = llc_sk(sk); in llc_dgram_match() local 304 llc->laddr.lsap == laddr->lsap && in llc_dgram_match() 305 ether_addr_equal(llc->laddr.mac, laddr->mac); in llc_dgram_match() 359 struct llc_sock *llc = llc_sk(sk); in llc_mcast_match() local 362 llc->laddr.lsap == laddr->lsap && in llc_mcast_match() 363 llc->dev == skb->dev; in llc_mcast_match() 400 struct llc_sock *llc; in llc_sap_mcast() local 404 hlist_for_each_entry(llc, dev_hb, dev_hash_node) { in llc_sap_mcast() 406 sk = &llc->sk; in llc_sap_mcast()
|
| A D | Makefile | 15 obj-$(CONFIG_LLC) += llc.o 17 llc-y := llc_core.o llc_input.o llc_output.o
|
| /linux/net/nfc/hci/ |
| A D | llc.c | 105 if (llc == NULL) in nfc_llc_allocate() 110 &llc->rx_headroom, &llc->rx_tailroom, in nfc_llc_allocate() 113 kfree(llc); in nfc_llc_allocate() 118 return llc; in nfc_llc_allocate() 123 llc->ops->deinit(llc); in nfc_llc_free() 124 kfree(llc); in nfc_llc_free() 129 return llc->ops->start(llc); in nfc_llc_start() 135 return llc->ops->stop(llc); in nfc_llc_stop() 141 llc->ops->rcv_from_drv(llc, skb); in nfc_llc_rcv_from_drv() 146 return llc->ops->xmit_from_hci(llc, skb); in nfc_llc_xmit_from_hci() [all …]
|
| 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()
|
| 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);
|
| 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() 772 static int llc_shdlc_start(struct nfc_llc *llc) in llc_shdlc_start() argument 774 struct llc_shdlc *shdlc = nfc_llc_get_data(llc); in llc_shdlc_start() 779 static int llc_shdlc_stop(struct nfc_llc *llc) in llc_shdlc_stop() argument 781 struct llc_shdlc *shdlc = nfc_llc_get_data(llc); in llc_shdlc_stop() 788 static void llc_shdlc_rcv_from_drv(struct nfc_llc *llc, struct sk_buff *skb) in llc_shdlc_rcv_from_drv() argument 790 struct llc_shdlc *shdlc = nfc_llc_get_data(llc); in llc_shdlc_rcv_from_drv() 795 static int llc_shdlc_xmit_from_hci(struct nfc_llc *llc, struct sk_buff *skb) in llc_shdlc_xmit_from_hci() argument 797 struct llc_shdlc *shdlc = nfc_llc_get_data(llc); in llc_shdlc_xmit_from_hci()
|
| 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() 971 hdev->llc = nfc_llc_allocate(llc_name, hdev, ops->xmit, in nfc_hci_allocate_device() 974 if (hdev->llc == NULL) { in nfc_hci_allocate_device() 983 nfc_llc_free(hdev->llc); in nfc_hci_allocate_device() 1005 nfc_llc_free(hdev->llc); in nfc_hci_free_device() 1087 nfc_llc_rcv_from_drv(hdev->llc, skb); in nfc_hci_recv_frame()
|
| A D | Makefile | 8 hci-y := core.o hcp.o command.o llc.o llc_nop.o
|
| /linux/drivers/gpu/drm/i915/gt/ |
| A D | intel_llc.c | 25 static struct intel_gt *llc_to_gt(struct intel_llc *llc) in llc_to_gt() argument 27 return container_of(llc, struct intel_gt, llc); in llc_to_gt() 50 static bool get_ia_constants(struct intel_llc *llc, in get_ia_constants() argument 53 struct drm_i915_private *i915 = llc_to_gt(llc)->i915; in get_ia_constants() 54 struct intel_rps *rps = &llc_to_gt(llc)->rps; in get_ia_constants() 72 static void calc_ia_freq(struct intel_llc *llc, in calc_ia_freq() argument 78 struct drm_i915_private *i915 = llc_to_gt(llc)->i915; in calc_ia_freq() 123 if (!get_ia_constants(llc, &consts)) in gen6_update_ring_freq() 150 void intel_llc_enable(struct intel_llc *llc) in intel_llc_enable() argument 152 gen6_update_ring_freq(llc); in intel_llc_enable() [all …]
|
| 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()
|
| A D | intel_llc.h | 11 void intel_llc_enable(struct intel_llc *llc); 12 void intel_llc_disable(struct intel_llc *llc);
|
| A D | selftest_llc.h | 11 int st_llc_verify(struct intel_llc *llc);
|
| /linux/net/bridge/netfilter/ |
| 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/include/net/nfc/ |
| 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/net/smc/ |
| A D | smc_llc.c | 1039 if (!llc->qp_mtu) in smc_llc_cli_add_link() 1150 llc->gid_cnt = gidlist.len; in smc_llc_send_request_add_link() 1201 if (llc->raw.data[i]) in smc_llc_is_empty_llc_message() 1789 smc_llc_init_msg_hdr(&llc->hd, link->lgr, sizeof(*llc)); in smc_llc_rmt_conf_rkey() 1810 memcpy(lgr->wr_rx_buf_v2, llc, sizeof(*llc)); in smc_llc_rmt_delete_rkey() 1819 memset(&llc->rkey[0], 0, sizeof(llc->rkey)); in smc_llc_rmt_delete_rkey() 1820 memset(&llc->reserved2, 0, sizeof(llc->reserved2)); in smc_llc_rmt_delete_rkey() 1821 smc_llc_init_msg_hdr(&llc->hd, link->lgr, sizeof(*llc)); in smc_llc_rmt_delete_rkey() 1836 llc->err_mask = err_mask; in smc_llc_rmt_delete_rkey() 2093 if (llc->raw.hdr.length != sizeof(*llc)) in smc_llc_rx_handler() [all …]
|
| /linux/drivers/base/ |
| A D | cacheinfo.c | 59 struct cacheinfo *llc; in last_level_cache_is_valid() local 64 llc = per_cpu_cacheinfo_idx(cpu, cache_leaves(cpu) - 1); in last_level_cache_is_valid() 66 return (llc->attributes & CACHE_ID) || !!llc->fw_token; in last_level_cache_is_valid() 889 struct cacheinfo *llc, *sib_llc; in cpu_map_shared_cache() local 897 if (llc->type != CACHE_TYPE_DATA && llc->type != CACHE_TYPE_UNIFIED) in cpu_map_shared_cache() 901 *map = &llc->shared_cpu_map; in cpu_map_shared_cache() 906 for_each_cpu(sibling, &llc->shared_cpu_map) { in cpu_map_shared_cache() 931 struct cacheinfo *llc; in update_per_cpu_data_slice_size_cpu() local 940 if (llc->type != CACHE_TYPE_DATA && llc->type != CACHE_TYPE_UNIFIED) in update_per_cpu_data_slice_size_cpu() 943 nr_shared = cpumask_weight(&llc->shared_cpu_map); in update_per_cpu_data_slice_size_cpu() [all …]
|
| /linux/samples/bpf/ |
| 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/ |
| 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/net/openvswitch/ |
| A D | flow.c | 525 struct llc_snap_hdr *llc; in parse_ethertype() local 540 llc = (struct llc_snap_hdr *) skb->data; in parse_ethertype() 541 if (llc->dsap != LLC_SAP_SNAP || in parse_ethertype() 542 llc->ssap != LLC_SAP_SNAP || in parse_ethertype() 543 (llc->oui[0] | llc->oui[1] | llc->oui[2]) != 0) in parse_ethertype() 548 if (eth_proto_is_802_3(llc->ethertype)) in parse_ethertype() 549 return llc->ethertype; in parse_ethertype()
|
| /linux/include/uapi/linux/ |
| A D | if_fc.h | 47 __u8 llc; /* LLC control field */ member
|