Home
last modified time | relevance | path

Searched refs:mru (Results 1 – 25 of 31) sorted by relevance

12

/kernel/linux/linux-5.10/fs/xfs/
Dxfs_mru_cache.c127 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 …]
Dxfs_filestream.c24 struct xfs_mru_cache_elem mru; member
81 struct xfs_mru_cache_elem *mru) in xfs_fstrm_free_func() argument
85 container_of(mru, struct xfs_fstrm_item, mru); in xfs_fstrm_free_func()
88 trace_xfs_filestream_free(mp, mru->key, item->ag); in xfs_fstrm_free_func()
225 err = xfs_mru_cache_insert(mp->m_filestream, ip->i_ino, &item->mru); in xfs_filestream_pick_ag()
278 struct xfs_mru_cache_elem *mru; in xfs_filestream_lookup_ag() local
286 mru = xfs_mru_cache_lookup(mp->m_filestream, pip->i_ino); in xfs_filestream_lookup_ag()
287 if (mru) { in xfs_filestream_lookup_ag()
288 ag = container_of(mru, struct xfs_fstrm_item, mru)->ag; in xfs_filestream_lookup_ag()
331 struct xfs_mru_cache_elem *mru; in xfs_filestream_new_ag() local
[all …]
Dxfs_mru_cache.h24 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);
/kernel/linux/linux-5.10/drivers/tty/ipwireless/
Dnetwork.c58 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()
/kernel/linux/linux-5.10/drivers/net/ppp/
Dppp_deflate.c28 int mru; member
45 int unit, int hdrlen, int mru, int debug);
353 int unit, int hdrlen, int mru, int debug) in z_decomp_init() argument
368 state->mru = mru; in z_decomp_init()
Dppp_synctty.c56 int mru; member
172 ap->mru = PPP_MRU; in ppp_sync_open()
460 if (put_user(ap->mru, (int __user *) argp)) in ppp_sync_ioctl()
469 ap->mru = val; in ppp_sync_ioctl()
681 skb = dev_alloc_skb(ap->mru + PPP_HDRLEN + 2); in ppp_sync_input()
Dppp_async.c46 int mru; member
171 ap->mru = PPP_MRU; in ppp_asynctty_open()
467 if (put_user(ap->mru, p)) in ppp_async_ioctl()
476 ap->mru = val; in ppp_async_ioctl()
875 skb = dev_alloc_skb(ap->mru + PPP_HDRLEN + 2); in ppp_async_input()
1000 ap->mru = val; in async_lcp_peek()
Dbsd_comp.c145 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
Dppp_generic.c123 int mru; /* max receive unit 60 */ member
688 ppp->mru = val; in ppp_ioctl()
1118 ppp->mru = PPP_MRU; in ppp_dev_configure()
2363 obuff_size = ppp->mru + PPP_HDRLEN + 1; in ppp_decompress_frame()
2366 obuff_size = ppp->mru + PPP_HDRLEN; in ppp_decompress_frame()
2964 ppp->file.index, 0, ppp->mru, ppp->debug)) { in ppp_ccp_peek()
Dppp_mppe.c415 int hdrlen, int mru, int debug) in mppe_decomp_init() argument
/kernel/linux/linux-5.10/net/openvswitch/
Dactions.c850 struct sk_buff *skb, u16 mru, in ovs_fragment() argument
877 IPCB(skb)->frag_max_size = mru; in ovs_fragment()
894 IP6CB(skb)->frag_max_size = mru; in ovs_fragment()
900 ovs_vport_name(vport), ntohs(key->eth.type), mru, in ovs_fragment()
916 u16 mru = OVS_CB(skb)->mru; in do_output() local
926 if (likely(!mru || in do_output()
927 (skb->len <= mru + vport->dev->hard_header_len))) { in do_output()
929 } else if (mru <= vport->dev->mtu) { in do_output()
932 ovs_fragment(net, vport, skb, mru, key); in do_output()
952 upcall.mru = OVS_CB(skb)->mru; in output_userspace()
[all …]
Ddatapath.h103 u16 mru; member
127 u16 mru; member
Ddatapath.c242 upcall.mru = OVS_CB(skb)->mru; in ovs_dp_process_packet()
378 if (upcall_info->mru) in upcall_msg_size()
379 size += nla_total_size(sizeof(upcall_info->mru)); in upcall_msg_size()
499 if (upcall_info->mru && in queue_userspace_packet()
500 nla_put_u16(user_skb, OVS_PACKET_ATTR_MRU, upcall_info->mru)) { in queue_userspace_packet()
564 u16 mru = 0; in ovs_packet_cmd_execute() local
586 mru = nla_get_u16(a[OVS_PACKET_ATTR_MRU]); in ovs_packet_cmd_execute()
589 OVS_CB(packet)->mru = mru; in ovs_packet_cmd_execute()
Dvport.c435 OVS_CB(skb)->mru = 0; in ovs_vport_receive()
Dflow.c893 OVS_CB(skb)->mru = tc_ext ? tc_ext->mru : 0; in ovs_flow_key_extract()
Dconntrack.c509 ovs_cb.mru = IPCB(skb)->frag_max_size; in handle_fragments()
523 ovs_cb.mru = IP6CB(skb)->frag_max_size; in handle_fragments()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dgsmmux.h20 unsigned int mru; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dgsmmux.h32 unsigned int mru; member
/kernel/linux/linux-5.10/include/uapi/linux/
Dgsmmux.h18 unsigned int mru; member
/kernel/linux/linux-5.10/drivers/net/caif/
Dcaif_virtio.c118 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()
/kernel/linux/linux-5.10/include/linux/
Dppp-comp.h64 int opt_len, int unit, int opthdr, int mru,
/kernel/linux/linux-5.10/drivers/tty/
Dn_gsm.c231 unsigned int mru; member
1991 if (gsm->len > gsm->mru) { in gsm0_receive()
2009 if (gsm->len > gsm->mru) { in gsm0_receive()
2116 if (gsm->count > gsm->mru) { /* Allow one for the FCS */ in gsm1_receive()
2316 gsm->mru = 64; /* Default to encoding 1 so these should be 64 */ in gsm_alloc_mux()
2359 c->mru = gsm->mru; in gsm_copy_config_values()
2374 if (c->mru > MAX_MRU || c->mtu > MAX_MTU || c->mru < 8 || c->mtu < 8) in gsm_config()
2400 if (c->mru != gsm->mru) in gsm_config()
2414 gsm->mru = c->mru; in gsm_config()
/kernel/linux/linux-5.10/Documentation/driver-api/serial/
Dn_gsm.rst61 c.mru = 127;
/kernel/linux/linux-5.10/net/sched/
Dact_ct.c717 cb.mru = IPCB(skb)->frag_max_size; in tcf_ct_handle_fragments()
730 cb.mru = IP6CB(skb)->frag_max_size; in tcf_ct_handle_fragments()
/kernel/linux/linux-5.10/include/net/
Dsch_generic.h423 u16 mru; member

12