Home
last modified time | relevance | path

Searched refs:max_t (Results 1 – 11 of 11) sorted by relevance

/include/crypto/
Dif_alg.h184 return max_t(int, max_t(int, sk->sk_sndbuf & PAGE_MASK, PAGE_SIZE) - in af_alg_sndbuf()
210 return max_t(int, max_t(int, sk->sk_rcvbuf & PAGE_MASK, PAGE_SIZE) - in af_alg_rcvbuf()
/include/net/
Dflow_offload.h267 flow_stats->lastused = max_t(u64, flow_stats->lastused, lastused); in flow_stats_update()
Dfq_impl.h310 fq->flows_cnt = max_t(u32, flows_cnt, 1); in fq_init()
Dtcp.h641 return max_t(int, cutoff, 68U - tp->tcp_header_len); in tcp_bound_to_half_wnd()
781 return max_t(s64, t1 - t0, 0); in tcp_stamp_us_delta()
1302 return max_t(unsigned long, inet_csk(sk)->icsk_rto, TCP_RTO_MIN); in tcp_probe0_base()
2100 segs_in = max_t(u16, 1, skb_shinfo(skb)->gso_segs); in tcp_segs_in()
Dsock.h554 off = max_t(s32, off - val, 0); in sk_peek_offset_bwd()
2240 WRITE_ONCE(sk->sk_sndbuf, max_t(u32, val, SOCK_MIN_SNDBUF)); in sk_stream_moderate_sndbuf()
2332 int segs = max_t(u16, 1, skb_shinfo(skb)->gso_segs); in sk_drops_add()
/include/linux/
Dworkqueue.h355 max_t(int, WQ_MAX_ACTIVE, num_possible_cpus() * WQ_MAX_UNBOUND_PER_CPU)
Dkernel.h942 #define max_t(type, x, y) __careful_cmp((type)(x), (type)(y), >) macro
954 #define clamp_t(type, val, lo, hi) min_t(type, max_t(type, val, lo), hi)
Djbd2.h1594 return max_t(long, free, 0); in jbd2_log_space_left()
Dblkdev.h1140 return max_t(unsigned short, rq->nr_phys_segments, 1); in blk_rq_nr_discard_segments()
Dnetdevice.h2114 return max_t(int, -dev->num_tc, 0); in netdev_get_sb_channel()
2825 size_t plen = hdrlen + max_t(size_t, offset + sizeof(u16), start); in skb_gro_remcsum_process()
/include/net/sctp/
Dsctp.h592 return SCTP_TRUNC4(max_t(__u32, dst_mtu(dst), in sctp_dst_mtu()