Searched refs:max_t (Results 1 – 14 of 14) sorted by relevance
| /include/crypto/ |
| A D | if_alg.h | 190 return max_t(int, max_t(int, sk->sk_sndbuf & PAGE_MASK, PAGE_SIZE) - in af_alg_sndbuf() 216 return max_t(int, max_t(int, sk->sk_rcvbuf & PAGE_MASK, PAGE_SIZE) - in af_alg_rcvbuf()
|
| /include/linux/ |
| A D | closure.h | 467 _t = max_t(long, 1L, _until - jiffies); \ 470 _t = max_t(long, 0L, _until - jiffies); \ 488 ? max_t(long, 1L, _until - jiffies) \
|
| A D | minmax.h | 169 #define max_t(type, x, y) __cmp_once(max, type, x, y) macro
|
| A D | virtio_net.h | 99 u32 needed = start + max_t(u32, thlen, off + sizeof(__sum16)); in __virtio_net_hdr_to_skb()
|
| A D | blk-mq.h | 1181 return max_t(unsigned short, rq->nr_phys_segments, 1); in blk_rq_nr_discard_segments()
|
| A D | jbd2.h | 1754 return max_t(long, free, 0); in jbd2_log_space_left()
|
| A D | netdevice.h | 2634 return max_t(int, -dev->num_tc, 0); in netdev_get_sb_channel()
|
| /include/asm-generic/ |
| A D | memory_model.h | 36 for ((pfn) = max_t(unsigned long, (start_pfn), ARCH_PFN_OFFSET); \
|
| /include/net/ |
| A D | fq_impl.h | 356 fq->flows_cnt = max_t(u32, flows_cnt, 1); in fq_init()
|
| A D | tcp.h | 775 return max_t(int, cutoff, 68U - tp->tcp_header_len); in tcp_bound_to_half_wnd() 945 return max_t(s64, t1 - t0, 0); in tcp_stamp_us_delta() 1512 return max_t(unsigned long, inet_csk(sk)->icsk_rto, TCP_RTO_MIN); in tcp_probe0_base() 1651 tp->rcv_ssthresh = max_t(u32, tp->rcv_ssthresh, in __tcp_adjust_rcv_ssthresh() 2596 segs_in = max_t(u16, 1, skb_shinfo(skb)->gso_segs); in tcp_segs_in()
|
| A D | sock.h | 716 off = max_t(s32, off - val, 0); in sk_peek_offset_bwd() 2548 val = max_t(u32, val, sk_unused_reserved_mem(sk)); in sk_stream_moderate_sndbuf() 2550 WRITE_ONCE(sk->sk_sndbuf, max_t(u32, val, SOCK_MIN_SNDBUF)); in sk_stream_moderate_sndbuf() 2648 int segs = max_t(u16, 1, skb_shinfo(skb)->gso_segs); in sk_drops_add()
|
| A D | flow_offload.h | 559 flow_stats->lastused = max_t(u64, flow_stats->lastused, lastused); in flow_stats_update()
|
| A D | gro.h | 326 size_t plen = hdrlen + max_t(size_t, offset + sizeof(u16), start); in skb_gro_remcsum_process()
|
| /include/net/sctp/ |
| A D | sctp.h | 598 return SCTP_TRUNC4(max_t(__u32, dst_mtu(dst), in sctp_dst_mtu()
|
Completed in 60 milliseconds