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()
224 err = xfs_mru_cache_insert(mp->m_filestream, ip->i_ino, &item->mru); in xfs_filestream_pick_ag()
277 struct xfs_mru_cache_elem *mru; in xfs_filestream_lookup_ag() local
285 mru = xfs_mru_cache_lookup(mp->m_filestream, pip->i_ino); in xfs_filestream_lookup_ag()
286 if (mru) { in xfs_filestream_lookup_ag()
287 ag = container_of(mru, struct xfs_fstrm_item, mru)->ag; in xfs_filestream_lookup_ag()
330 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()
2361 obuff_size = ppp->mru + PPP_HDRLEN + 1; in ppp_decompress_frame()
2364 obuff_size = ppp->mru + PPP_HDRLEN; in ppp_decompress_frame()
2962 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.c814 struct sk_buff *skb, u16 mru, in ovs_fragment() argument
841 IPCB(skb)->frag_max_size = mru; in ovs_fragment()
858 IP6CB(skb)->frag_max_size = mru; in ovs_fragment()
864 ovs_vport_name(vport), ntohs(key->eth.type), mru, in ovs_fragment()
880 u16 mru = OVS_CB(skb)->mru; in do_output() local
890 if (likely(!mru || in do_output()
891 (skb->len <= mru + vport->dev->hard_header_len))) { in do_output()
893 } else if (mru <= vport->dev->mtu) { in do_output()
896 ovs_fragment(net, vport, skb, mru, key); in do_output()
916 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()
371 if (upcall_info->mru) in upcall_msg_size()
372 size += nla_total_size(sizeof(upcall_info->mru)); in upcall_msg_size()
492 if (upcall_info->mru && in queue_userspace_packet()
493 nla_put_u16(user_skb, OVS_PACKET_ATTR_MRU, upcall_info->mru)) { in queue_userspace_packet()
556 u16 mru = 0; in ovs_packet_cmd_execute() local
578 mru = nla_get_u16(a[OVS_PACKET_ATTR_MRU]); in ovs_packet_cmd_execute()
581 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.c228 unsigned int mru; member
1888 if (gsm->len > gsm->mru) { in gsm0_receive()
1906 if (gsm->len > gsm->mru) { in gsm0_receive()
2002 if (gsm->count > gsm->mru) { /* Allow one for the FCS */ in gsm1_receive()
2229 gsm->mru = 64; /* Default to encoding 1 so these should be 64 */ in gsm_alloc_mux()
2252 c->mru = gsm->mru; in gsm_copy_config_values()
2266 if (c->mru > MAX_MRU || c->mtu > MAX_MTU || c->mru < 8 || c->mtu < 8) in gsm_config()
2292 if (c->mru != gsm->mru) in gsm_config()
2314 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.c722 cb.mru = IPCB(skb)->frag_max_size; in tcf_ct_handle_fragments()
735 cb.mru = IP6CB(skb)->frag_max_size; in tcf_ct_handle_fragments()
/kernel/linux/linux-5.10/include/net/
Dsch_generic.h437 u16 mru; member

12