/linux-6.6.21/fs/xfs/ |
D | xfs_mru_cache.c | 127 struct xfs_mru_cache *mru, in _xfs_mru_cache_migrate() argument 135 if (!mru->time_zero) in _xfs_mru_cache_migrate() 139 while (mru->time_zero <= now - mru->grp_count * mru->grp_time) { in _xfs_mru_cache_migrate() 145 lru_list = mru->lists + mru->lru_grp; in _xfs_mru_cache_migrate() 147 list_splice_init(lru_list, mru->reap_list.prev); in _xfs_mru_cache_migrate() 153 mru->lru_grp = (mru->lru_grp + 1) % mru->grp_count; in _xfs_mru_cache_migrate() 154 mru->time_zero += mru->grp_time; in _xfs_mru_cache_migrate() 160 if (++migrated == mru->grp_count) { in _xfs_mru_cache_migrate() 161 mru->lru_grp = 0; in _xfs_mru_cache_migrate() 162 mru->time_zero = 0; in _xfs_mru_cache_migrate() [all …]
|
D | xfs_filestream.c | 25 struct xfs_mru_cache_elem mru; member 37 struct xfs_mru_cache_elem *mru) in xfs_fstrm_free_func() argument 40 container_of(mru, struct xfs_fstrm_item, mru); in xfs_fstrm_free_func() 43 trace_xfs_filestream_free(pag, mru->key); in xfs_fstrm_free_func() 214 struct xfs_mru_cache_elem *mru; in xfs_filestream_lookup_association() local 218 mru = xfs_mru_cache_lookup(mp->m_filestream, pino); in xfs_filestream_lookup_association() 219 if (!mru) in xfs_filestream_lookup_association() 227 pag = container_of(mru, struct xfs_fstrm_item, mru)->pag; in xfs_filestream_lookup_association() 269 struct xfs_mru_cache_elem *mru; in xfs_filestream_create_association() local 276 mru = xfs_mru_cache_remove(mp->m_filestream, pino); in xfs_filestream_create_association() [all …]
|
D | xfs_mru_cache.h | 24 void xfs_mru_cache_destroy(struct xfs_mru_cache *mru); 25 int xfs_mru_cache_insert(struct xfs_mru_cache *mru, unsigned long key, 28 xfs_mru_cache_remove(struct xfs_mru_cache *mru, unsigned long key); 29 void xfs_mru_cache_delete(struct xfs_mru_cache *mru, unsigned long key); 31 xfs_mru_cache_lookup(struct xfs_mru_cache *mru, unsigned long key); 32 void xfs_mru_cache_done(struct xfs_mru_cache *mru);
|
/linux-6.6.21/net/sched/ |
D | sch_frag.c | 85 u16 mru, int (*xmit)(struct sk_buff *skb)) in sch_fragment() argument 105 IPCB(skb)->frag_max_size = mru; in sch_fragment() 121 IP6CB(skb)->frag_max_size = mru; in sch_fragment() 129 ntohs(skb_protocol(skb, true)), mru, in sch_fragment() 142 u16 mru = tc_skb_cb(skb)->mru; in sch_frag_xmit_hook() local 145 if (mru && skb->len > mru + skb->dev->hard_header_len) in sch_frag_xmit_hook() 146 err = sch_fragment(dev_net(skb->dev), skb, mru, xmit); in sch_frag_xmit_hook()
|
/linux-6.6.21/drivers/net/ethernet/microchip/sparx5/ |
D | sparx5_tc_flower.c | 384 struct sparx5_wildcard_rule *mru; in sparx5_tc_select_protocol_keyset() local 420 mru = &multi->rule[kinfo->sw_per_item]; in sparx5_tc_select_protocol_keyset() 421 if (!mru->selected) { in sparx5_tc_select_protocol_keyset() 422 mru->selected = true; in sparx5_tc_select_protocol_keyset() 423 mru->keyset = portkeysetlist.keysets[idx]; in sparx5_tc_select_protocol_keyset() 424 mru->value = kinfo->type_id; in sparx5_tc_select_protocol_keyset() 426 mru->value &= kinfo->type_id; in sparx5_tc_select_protocol_keyset() 427 mru->mask |= kinfo->type_id; in sparx5_tc_select_protocol_keyset() 438 mru = &multi->rule[idx]; in sparx5_tc_select_protocol_keyset() 439 if (!mru->selected) in sparx5_tc_select_protocol_keyset() [all …]
|
/linux-6.6.21/net/netfilter/ |
D | nf_conntrack_ovs.c | 145 u16 zone, u8 family, u8 *proto, u16 *mru) in nf_ct_handle_fragments() argument 159 *mru = IPCB(skb)->frag_max_size; in nf_ct_handle_fragments() 173 *mru = IP6CB(skb)->frag_max_size; in nf_ct_handle_fragments()
|
/linux-6.6.21/drivers/net/ |
D | mhi_net.c | 40 unsigned int mru; member 278 size = mhi_netdev->mru ? mhi_netdev->mru : READ_ONCE(ndev->mtu); in mhi_net_rx_refill_work() 315 mhi_netdev->mru = mhi_dev->mhi_cntrl->mru; in mhi_net_newlink()
|
/linux-6.6.21/drivers/tty/ipwireless/ |
D | network.c | 58 int mru; member 222 if (put_user(network->mru, user_arg)) in ipwireless_ppp_ioctl() 232 network->mru = val; in ipwireless_ppp_ioctl() 273 network->mru = PPP_MRU; in do_go_online() 516 return network->mru; in ipwireless_ppp_mru()
|
/linux-6.6.21/drivers/net/wwan/ |
D | mhi_wwan_mbim.c | 68 unsigned int mru; member 388 struct sk_buff *skb = alloc_skb(mbim->mru, GFP_KERNEL); in mhi_net_rx_refill_work() 394 mbim->mru, MHI_EOT); in mhi_net_rx_refill_work() 608 mbim->mru = mhi_dev->mhi_cntrl->mru ? mhi_dev->mhi_cntrl->mru : MHI_DEFAULT_MRU; in mhi_mbim_probe()
|
/linux-6.6.21/drivers/net/ppp/ |
D | ppp_deflate.c | 28 int mru; member 45 int unit, int hdrlen, int mru, int debug); 352 int unit, int hdrlen, int mru, int debug) in z_decomp_init() argument 367 state->mru = mru; in z_decomp_init()
|
D | ppp_synctty.c | 56 int mru; member 172 ap->mru = PPP_MRU; in ppp_sync_open() 449 if (put_user(ap->mru, (int __user *) argp)) in ppp_sync_ioctl() 462 ap->mru = val; in ppp_sync_ioctl() 673 skb = dev_alloc_skb(ap->mru + PPP_HDRLEN + 2); in ppp_sync_input()
|
D | ppp_async.c | 46 int mru; member 171 ap->mru = PPP_MRU; in ppp_asynctty_open() 456 if (put_user(ap->mru, p)) in ppp_async_ioctl() 469 ap->mru = val; in ppp_async_ioctl() 867 skb = dev_alloc_skb(ap->mru + PPP_HDRLEN + 2); in ppp_async_input() 992 ap->mru = val; in async_lcp_peek()
|
D | bsd_comp.c | 145 unsigned int mru; /* size of receive (decompress) bufr */ member 178 int opt_len, int unit, int opthdr, int mru, 495 db->mru = 0; in bsd_init() 513 int opt_len, int unit, int opthdr, int mru, in bsd_decomp_init() argument
|
/linux-6.6.21/net/openvswitch/ |
D | actions.c | 853 struct sk_buff *skb, u16 mru, in ovs_fragment() argument 882 IPCB(skb)->frag_max_size = mru; in ovs_fragment() 899 IP6CB(skb)->frag_max_size = mru; in ovs_fragment() 905 ovs_vport_name(vport), ntohs(key->eth.type), mru, in ovs_fragment() 922 u16 mru = OVS_CB(skb)->mru; in do_output() local 932 if (likely(!mru || in do_output() 933 (skb->len <= mru + vport->dev->hard_header_len))) { in do_output() 935 } else if (mru <= vport->dev->mtu) { in do_output() 938 ovs_fragment(net, vport, skb, mru, key); in do_output() 958 upcall.mru = OVS_CB(skb)->mru; in output_userspace() [all …]
|
D | datapath.h | 121 u16 mru; member 145 u16 mru; member
|
D | datapath.c | 275 upcall.mru = OVS_CB(skb)->mru; in ovs_dp_process_packet() 416 if (upcall_info->mru) in upcall_msg_size() 417 size += nla_total_size(sizeof(upcall_info->mru)); in upcall_msg_size() 537 if (upcall_info->mru && in queue_userspace_packet() 538 nla_put_u16(user_skb, OVS_PACKET_ATTR_MRU, upcall_info->mru)) { in queue_userspace_packet() 602 u16 mru = 0; in ovs_packet_cmd_execute() local 624 mru = nla_get_u16(a[OVS_PACKET_ATTR_MRU]); in ovs_packet_cmd_execute() 627 OVS_CB(packet)->mru = mru; in ovs_packet_cmd_execute()
|
D | openvswitch_trace.h | 135 __entry->upcall_mru = upcall_info->mru;
|
/linux-6.6.21/drivers/pci/endpoint/functions/ |
D | pci-epf-mhi.c | 30 u32 mru; member 97 .mru = 0x8000, 113 .mru = 0x8000, 531 mhi_cntrl->mru = info->mru; in pci_epf_mhi_link_up()
|
/linux-6.6.21/drivers/net/caif/ |
D | caif_virtio.c | 118 u32 mru; member 225 if (frm_len > cfv->mru || frm_len <= cfv->rx_hr + cfv->rx_tr) { in cfv_alloc_and_copy_skb() 228 frm_len, cfv->mru, cfv->rx_hr, in cfv_alloc_and_copy_skb() 695 &cfv->mru); in cfv_probe() 702 cfv->mru = CFV_DEF_MTU_SIZE; in cfv_probe()
|
/linux-6.6.21/include/linux/ |
D | ppp-comp.h | 64 int opt_len, int unit, int opthdr, int mru,
|
D | mhi_ep.h | 158 u32 mru; member
|
/linux-6.6.21/include/uapi/linux/ |
D | gsmmux.h | 53 unsigned int mru; member
|
/linux-6.6.21/drivers/tty/ |
D | n_gsm.c | 300 unsigned int mru; member 1616 if (n1 > gsm->mru || n1 > dlci->mtu) { in gsm_process_negotiation() 1647 if (n1 > gsm->mru) { in gsm_process_negotiation() 1649 dlci->mtu = gsm->mru; in gsm_process_negotiation() 2545 if (dc->mtu > MAX_MTU || dc->mtu < MIN_MTU || dc->mtu > gsm->mru) in gsm_dlci_config() 2884 if (gsm->len > gsm->mru) { in gsm0_receive() 2902 if (gsm->len > gsm->mru) { in gsm0_receive() 3028 if (gsm->count > gsm->mru) { /* Allow one for the FCS */ in gsm1_receive() 3251 gsm->mru = 64; /* Default to encoding 1 so these should be 64 */ in gsm_alloc_mux() 3296 c->mru = gsm->mru; in gsm_copy_config_values() [all …]
|
/linux-6.6.21/Documentation/driver-api/tty/ |
D | n_gsm.rst | 83 c.mru = 127; 173 c.mru = 127;
|
/linux-6.6.21/include/net/ |
D | pkt_sched.h | 281 u16 mru; member
|