Home
last modified time | relevance | path

Searched +full:max +full:- +full:rt (Results 1 – 25 of 193) sorted by relevance

12345678

/linux/drivers/thunderbolt/
H A Dretimer.c1 // SPDX-License-Identifier: GPL-2.0
24 * tb_retimer_nvm_read() - Read contents of retimer NVM
25 * @rt: Retimer device
34 int tb_retimer_nvm_read(struct tb_retimer *rt, unsigned int address, void *buf, in tb_retimer_nvm_read() argument
37 return usb4_port_retimer_nvm_read(rt->port, rt->index, address, buf, size); in tb_retimer_nvm_read()
43 struct tb_retimer *rt = tb_to_retimer(nvm->dev); in nvm_read() local
46 pm_runtime_get_sync(&rt->dev); in nvm_read()
48 if (!mutex_trylock(&rt->tb->lock)) { in nvm_read()
53 ret = tb_retimer_nvm_read(rt, offset, val, bytes); in nvm_read()
54 mutex_unlock(&rt->tb->lock); in nvm_read()
[all …]
/linux/net/mctp/test/
H A Dutils.c1 // SPDX-License-Identifier: GPL-2.0
18 skb_queue_tail(&dev->pkts, skb); in mctp_test_dev_tx()
29 ndev->type = ARPHRD_MCTP; in mctp_test_dev_setup()
30 ndev->mtu = MCTP_DEV_TEST_MTU; in mctp_test_dev_setup()
31 ndev->hard_header_len = 0; in mctp_test_dev_setup()
32 ndev->tx_queue_len = 0; in mctp_test_dev_setup()
33 ndev->flags = IFF_NOARP; in mctp_test_dev_setup()
34 ndev->netdev_op in mctp_test_dev_setup()
109 struct mctp_test_route *rt; mctp_route_test_alloc() local
127 struct mctp_test_route *rt; mctp_test_create_route_direct() local
153 struct mctp_test_route *rt; mctp_test_create_route_gw() local
197 mctp_test_route_destroy(struct kunit * test,struct mctp_test_route * rt) mctp_test_route_destroy() argument
[all...]
/linux/net/mctp/
H A Droute.c1 // SPDX-License-Identifier: GPL-2.0
3 * Management Component Transport Protocol (MCTP) - routing
56 sk_for_each_rcu(sk, &net->mctp.binds[hash]) { in mctp_lookup_bind_details()
59 if (!allow_net_any && msk->bind_net == MCTP_NET_ANY) in mctp_lookup_bind_details()
62 if (msk->bind_net != MCTP_NET_ANY && msk->bind_net != cb->net) in mctp_lookup_bind_details()
65 if (msk->bind_type != type) in mctp_lookup_bind_details()
68 if (msk->bind_peer_set && in mctp_lookup_bind_details()
69 !mctp_address_matches(msk->bind_peer_addr, src)) in mctp_lookup_bind_details()
72 if (!mctp_address_matches(msk->bind_local_addr, dest)) in mctp_lookup_bind_details()
87 /* TODO: look up in skb->cb? */ in mctp_lookup_bind()
[all …]
/linux/arch/arm64/boot/dts/nvidia/
H A Dtegra234-p3740-0002+p3701-0008.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include <dt-bindings/input/linux-event-codes.h>
5 #include <dt-bindings/input/gpio-keys.h>
6 #include <dt-bindings/sound/rt5640.h>
7 #include "tegra234-p3701-0008.dtsi"
11 compatible = "nvidia,p3740-0002+p3701-0008", "nvidia,p3701-0008", "nvidia,tegra234";
19 stdout-path = "serial0:115200n8";
29 dai-format = "i2s";
30 remote-endpoint = <&rt5640_ep>;
[all …]
/linux/fs/xfs/
H A Dxfs_mount.h1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2000-2005 Silicon Graphics, Inc.
46 #define XFS_ERR_RETRY_FOREVER -1
51 * signed 32-bit long is sufficient for a HZ value up to 24855. Making it
52 * signed lets us store the special "-1" value, meaning retry forever.
57 long retry_timeout; /* in jiffies, -1 = infinite */
61 * Per-cpu deferred inode inactivation GC lists.
86 * degenerate case of a pre-rtgroup
[all...]
H A Dxfs_mount.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2000-2005 Silicon Graphics, Inc.
68 uuid_t *uuid = &mp->m_sb.sb_uuid; in xfs_uuid_mount()
72 super_set_uuid(mp->m_super, uuid->b, sizeof(*uuid)); in xfs_uuid_mount()
78 xfs_warn(mp, "Filesystem has null UUID - can't mount"); in xfs_uuid_mount()
79 return -EINVAL; in xfs_uuid_mount()
83 for (i = 0, hole = - in xfs_uuid_mount()
[all...]
/linux/arch/arm/mm/
H A Dcache-v7m.S1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * linux/arch/arm/mm/cache-v7m.S
5 * Based on linux/arch/arm/mm/cache-v7.S
20 #include "proc-macros.S"
22 .arch armv7-m
25 .macro v7m_cache_read, rt, reg
26 movw \rt, #:lower16:BASEADDR_V7M_SCB + \reg
27 movt \rt, #:upper16:BASEADDR_V7M_SCB + \reg
28 ldr \rt, [\rt]
31 .macro v7m_cacheop, rt, tmp, op, c = al
[all …]
/linux/drivers/net/netdevsim/
H A Dfib.c6 * June 1991 as shown in the file COPYING in the top-level directory of this
36 u64 max; member
96 struct fib6_info *rt; member
137 enum nsim_resource_id res_id, bool max) in nsim_fib_get_val() argument
143 entry = &fib_data->ipv4.fib; in nsim_fib_get_val()
146 entry = &fib_data->ipv4.rules; in nsim_fib_get_val()
149 entry = &fib_data->ipv6.fib; in nsim_fib_get_val()
152 entry = &fib_data->ipv6.rules; in nsim_fib_get_val()
155 entry = &fib_data->nexthops; in nsim_fib_get_val()
161 return max ? entry->max : atomic64_read(&entry->num); in nsim_fib_get_val()
[all …]
/linux/sound/usb/6fire/
H A Dcontrol.c1 // SPDX-License-Identifier: GPL-2.0-or-later
12 * - Holger Ruckdeschel: he found out how to control individual channel
53 static DECLARE_TLV_DB_MINMAX(tlv_output, -9000, 0);
54 static DECLARE_TLV_DB_MINMAX(tlv_input, -1500, 1500);
60 static void usb6fire_control_output_vol_update(struct control_runtime *rt) in usb6fire_control_output_vol_update() argument
62 struct comm_runtime *comm_rt = rt->chip->comm; in usb6fire_control_output_vol_update()
67 if (!(rt->ovol_updated & (1 << i))) { in usb6fire_control_output_vol_update()
68 comm_rt->write8(comm_rt, 0x12, 0x0f + i, in usb6fire_control_output_vol_update()
69 180 - rt->output_vol[i]); in usb6fire_control_output_vol_update()
70 rt->ovol_updated |= 1 << i; in usb6fire_control_output_vol_update()
[all …]
/linux/Documentation/scheduler/
H A Dsched-util-clamp.rst1 .. SPDX-License-Identifier: GPL-2.0
57 foreground, top-app, etc. Util clamp can be used to constrain how much
60 the ones belonging to the currently active app (top-app group). Beside this
65 1. The big cores are free to run top-app tasks immediately. top-app
102 In the SCHED_FIFO/RR case, uclamp gives the option to run RT tasks at any
103 performance point rather than being tied to MAX frequency all the time. Which
106 Note that by design RT tasks don't have per-task PELT signal and must always
110 when an RT task wakes up. This cost is unchanged by using uclamp. Uclamp only
112 MAX for all RT tasks.
114 See :ref:`section 3.4 <uclamp-default-values>` for default values and
[all …]
/linux/kernel/bpf/
H A Drange_tree.c1 // SPDX-License-Identifier: GPL-2.0-only
12 * rn->rn_rbnode links it into an interval tree while
13 * rn->rb_range_size links it into a second rbtree sorted by size of the range.
22 * The implementation relies on external lock to protect rbtree-s.
23 * The alloc/free of range_node-s is done via kmalloc_nolock().
27 * range_tree_set(rt, 0, max);
56 __find_range(struct range_tree * rt,u32 len) __find_range() argument
75 range_tree_find(struct range_tree * rt,u32 len) range_tree_find() argument
123 range_it_remove(struct range_node * rn,struct range_tree * rt) range_it_remove() argument
131 range_it_iter_first(struct range_tree * rt,u32 start,u32 last) range_it_iter_first() argument
137 range_tree_clear(struct range_tree * rt,u32 start,u32 len) range_tree_clear() argument
184 is_range_tree_set(struct range_tree * rt,u32 start,u32 len) is_range_tree_set() argument
197 range_tree_set(struct range_tree * rt,u32 start,u32 len) range_tree_set() argument
256 range_tree_destroy(struct range_tree * rt) range_tree_destroy() argument
266 range_tree_init(struct range_tree * rt) range_tree_init() argument
[all...]
/linux/arch/arm64/kernel/
H A Darmv8_deprecated.c1 // SPDX-License-Identifier: GPL-2.0-only
22 #include "trace-events-emulation.h"
26 * following three states -
53 int max; member
80 * Implement emulation of the SWP/SWPB instructions using load-exclusive and
81 * store-exclusive.
83 * Syntax of SWP{B} instruction: SWP{B}<c> <Rt>, <Rt2>, [<Rn>]
84 * Where: Rt = destination
90 * Error-checking SWP macros implemented using ldxr{b}/stxr{b}
93 /* Arbitrary constant to ensure forward-progress of the LL/SC loop */
[all …]
/linux/include/uapi/linux/
H A Dioprio.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
9 * Gives us 8 prio classes with 13-bits of data for each class
13 #define IOPRIO_CLASS_MASK (IOPRIO_NR_CLASSES - 1)
14 #define IOPRIO_PRIO_MASK ((1UL << IOPRIO_CLASS_SHIFT) - 1)
21 * These are the io priority classes as implemented by the BFQ and mq-deadline
22 * schedulers. RT is the realtime class, it always gets premium service. For
23 * ATA disks supporting NCQ IO priority, RT class IOs will be processed using
24 * high priority NCQ commands. BE is the best-effort scheduling class, the
39 * The RT and BE priority classes both support up to 8 priority levels that
40 * can be specified using the lower 3-bits of the priority data.
[all …]
/linux/virt/kvm/
H A Dirqchip.c1 // SPDX-License-Identifier: GPL-2.0-only
28 irq_rt = srcu_dereference_check(kvm->irq_routing, &kvm->irq_srcu, in kvm_irq_map_gsi()
29 lockdep_is_held(&kvm->irq_lock)); in kvm_irq_map_gsi()
30 if (irq_rt && gsi < irq_rt->nr_rt_entries) { in kvm_irq_map_gsi()
31 hlist_for_each_entry(e, &irq_rt->map[gsi], link) { in kvm_irq_map_gsi()
44 irq_rt = srcu_dereference(kvm->irq_routing, &kvm->irq_srcu); in kvm_irq_map_chip_pin()
45 return irq_rt->chip[irqchip][pin]; in kvm_irq_map_chip_pin()
52 if (!kvm_arch_irqchip_in_kernel(kvm) || (msi->flags & ~KVM_MSI_VALID_DEVID)) in kvm_send_userspace_msi()
53 return -EINVAL; in kvm_send_userspace_msi()
55 route.msi.address_lo = msi->address_lo; in kvm_send_userspace_msi()
[all …]
/linux/net/ipv6/netfilter/
H A Dip6t_rt.c1 // SPDX-License-Identifier: GPL-2.0-only
4 /* (C) 2001-2002 Andras Kis-Szabo <kisza@sch.bme.hu>
22 MODULE_AUTHOR("Andras Kis-Szabo <kisza@sch.bme.hu>");
26 segsleft_match(u_int32_t min, u_int32_t max, u_int32_t id, bool invert) in segsleft_match() argument
28 return (id >= min && id <= max) ^ invert; in segsleft_match()
35 const struct ip6t_rt *rtinfo = par->matchinfo; in rt_mt6()
46 if (err != -ENOENT) in rt_mt6()
47 par->hotdrop = true; in rt_mt6()
53 par->hotdrop = true; in rt_mt6()
58 if (skb->len - ptr < hdrlen) { in rt_mt6()
[all …]
/linux/include/net/
H A Dx25.h1 /* SPDX-License-Identifier: GPL-2.0 */
114 #define X25_MAX_AE_LEN 40 /* Max num of semi-octets in AE - OSI Nw */
115 #define X25_MAX_DTE_FACIL_LEN 21 /* Max length of DTE facility params */
117 /* Bitset in x25_sock->flags for misc flags */
123 * struct x25_route - x25 routing entry
124 * @node - entry in x25_list_lock
125 * @address - Start of address range
126 * @sigdigits - Number of sig digits
127 * @dev - More than one for MLP
128 * @refcnt - reference counter
[all …]
/linux/net/ipv4/
H A Dip_tunnel.c1 // SPDX-License-Identifier: GPL-2.0-only
65 return !test_bit(IP_TUNNEL_KEY_BIT, p->i_flags); in ip_tunnel_key_match()
67 return test_bit(IP_TUNNEL_KEY_BIT, p->i_flags) && p->i_key == key; in ip_tunnel_key_match()
92 head = &itn->tunnels[hash]; in ip_tunnel_lookup()
95 if (local != t->parms.iph.saddr || in ip_tunnel_lookup()
96 remote != t->parms.iph.daddr || in ip_tunnel_lookup()
97 !(t->dev->flags & IFF_UP)) in ip_tunnel_lookup()
100 if (!ip_tunnel_key_match(&t->parms, flags, key)) in ip_tunnel_lookup()
103 if (READ_ONCE(t->parms.link) == link) in ip_tunnel_lookup()
109 if (remote != t->parms.iph.daddr || in ip_tunnel_lookup()
[all …]
H A Droute.c1 // SPDX-License-Identifier: GPL-2.0-or-later
7 * ROUTE - implementation of the IP router.
48 * Andi Kleen : Load-limit warning messages.
220 seq_printf(seq, "%-127s\n", in rt_cache_seq_show()
241 for (cpu = *pos-1; cpu < nr_cpu_ids; ++cpu) { in rt_cpu_seq_start()
283 0, /* st->in_hit */ in rt_cpu_seq_show()
284 st->in_slow_tot, in rt_cpu_seq_show()
285 st->in_slow_mc, in rt_cpu_seq_show()
286 st->in_no_route, in rt_cpu_seq_show()
287 st->in_brd, in rt_cpu_seq_show()
[all …]
/linux/drivers/input/touchscreen/
H A Dads7846.c1 // SPDX-License-Identifier: GPL-2.0-only
10 * - corgi_ts.c
11 * Copyright (C) 2004-2005 Richard Purdie
12 * - omap_ts.[hc], ads7846.h, ts_osk.c
39 * Support for ads7843 tested on Atmel at91sam926x-EK.
53 * note. The strength of filtering can be set in the board-* specific
76 * driver is used with DMA-based SPI controllers (like atmel_spi) on
77 * systems where main memory is not DMA-coherent (most non-x86 boards).
152 /* leave chip selected when we're done, for quicker re-select? */
159 /*--------------------------------------------------------------------------*/
[all …]
/linux/net/mpls/
H A Daf_mpls.c1 // SPDX-License-Identifier: GPL-2.0-only
31 /* max memory we will use for mpls_route */
41 static int label_limit = (1 << 20) - 1;
74 static void rtmsg_lfib(int event, u32 label, struct mpls_route *rt,
82 platform_label = mpls_dereference(net, net->mpls.platform_label); in mpls_route_input_rcu()
90 if (index >= net->mpls.platform_labels) in mpls_output_possible()
93 platform_label = rcu_dereference(net->mpl in mpls_output_possible()
80 struct mpls_route *rt = NULL; mpls_route_input_rcu() local
96 __mpls_nh_via(struct mpls_route * rt,struct mpls_nh * nh) __mpls_nh_via() argument
101 mpls_nh_via(const struct mpls_route * rt,const struct mpls_nh * nh) mpls_nh_via() argument
157 mpls_multipath_hash(struct mpls_route * rt,struct sk_buff * skb) mpls_multipath_hash() argument
224 mpls_get_nexthop(struct mpls_route * rt,u8 index) mpls_get_nexthop() argument
234 mpls_select_multipath(struct mpls_route * rt,struct sk_buff * skb) mpls_select_multipath() argument
270 mpls_egress(struct net * net,struct mpls_route * rt,struct sk_buff * skb,struct mpls_entry_decoded dec) mpls_egress() argument
348 struct mpls_route *rt; mpls_forward() local
514 struct mpls_route *rt; mpls_rt_alloc() local
533 mpls_rt_free(struct mpls_route * rt) mpls_rt_free() argument
546 struct mpls_route *rt = new ? new : old; mpls_notify_route() local
558 struct mpls_route *rt; mpls_route_update() local
593 struct rtable *rt; inet_fib_lookup_dev() local
648 find_outdev(struct net * net,struct mpls_route * rt,struct mpls_nh * nh,int oif) find_outdev() argument
680 mpls_nh_assign_dev(struct net * net,struct mpls_route * rt,struct mpls_nh * nh,int oif) mpls_nh_assign_dev() argument
769 mpls_nh_build_from_cfg(struct mpls_route_config * cfg,struct mpls_route * rt) mpls_nh_build_from_cfg() argument
800 mpls_nh_build(struct net * net,struct mpls_route * rt,struct mpls_nh * nh,int oif,struct nlattr * via,struct nlattr * newdst,u8 max_labels,struct netlink_ext_ack * extack) mpls_nh_build() argument
886 mpls_nh_build_multi(struct mpls_route_config * cfg,struct mpls_route * rt,u8 max_labels,struct netlink_ext_ack * extack) mpls_nh_build_multi() argument
968 struct mpls_route *rt, *old; mpls_route_add() local
1490 struct mpls_route *rt = rtnl_dereference(platform_label[index]); mpls_ifdown() local
1567 struct mpls_route *rt = rtnl_dereference(platform_label[index]); mpls_ifup() local
1972 mpls_dump_route(struct sk_buff * skb,u32 portid,u32 seq,int event,u32 label,struct mpls_route * rt,int flags) mpls_dump_route() argument
2141 mpls_rt_uses_dev(struct mpls_route * rt,const struct net_device * dev) mpls_rt_uses_dev() argument
2200 struct mpls_route *rt; mpls_dump_routes() local
2220 lfib_nlmsg_size(struct mpls_route * rt) lfib_nlmsg_size() argument
2257 rtmsg_lfib(int event,u32 label,struct mpls_route * rt,struct nlmsghdr * nlh,struct net * net,u32 portid,unsigned int nlm_flags) rtmsg_lfib() argument
2353 struct mpls_route *rt; mpls_getroute() local
2710 struct mpls_route *rt = rtnl_dereference(platform_label[index]); mpls_net_exit() local
[all...]
/linux/fs/xfs/libxfs/
H A Dxfs_format.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (c) 2000-2005 Silicon Graphics, Inc.
12 * This header file defines all the on-disk format definitions for
26 * Fits into a sector-sized buffer at address 0 of each allocation group.
31 #define XFS_SB_VERSION_2 2 /* 6.2 - attributes */
32 #define XFS_SB_VERSION_3 3 /* 6.2 - new inode version */
33 #define XFS_SB_VERSION_4 4 /* 6.2+ - bitmask version */
47 #define XFS_SB_VERSION_BORGBIT 0x4000 /* ASCII only case-insens. */
93 * Superblock - in core version. Must be padded to 64 bit alignment.
101 uuid_t sb_uuid; /* user-visible file system unique id */
[all …]
H A Dxfs_types.h1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2000-2005 Silicon Graphics, Inc.
52 #define NULLFSBLOCK ((xfs_fsblock_t)-1)
53 #define NULLRFSBLOCK ((xfs_rfsblock_t)-1)
54 #define NULLRTBLOCK ((xfs_rtblock_t)-1)
55 #define NULLFILEOFF ((xfs_fileoff_t)-1)
57 #define NULLAGBLOCK ((xfs_agblock_t)-1)
58 #define NULLRGBLOCK ((xfs_rgblock_t)-1)
59 #define NULLAGNUMBER ((xfs_agnumber_t)-1)
60 #define NULLRGNUMBER ((xfs_rgnumber_t)-1)
[all …]
/linux/include/uapi/asm-generic/
H A Dresource.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
9 * a different rlimit ID order in the 5-9 range and want
13 * then it defines them prior including asm-generic/resource.h. )
18 #define RLIMIT_DATA 2 /* max data size */
19 #define RLIMIT_STACK 3 /* max stack size */
20 #define RLIMIT_CORE 4 /* max core file size */
23 # define RLIMIT_RSS 5 /* max resident set size */
27 # define RLIMIT_NPROC 6 /* max number of processes */
31 # define RLIMIT_NOFILE 7 /* max number of open files */
35 # define RLIMIT_MEMLOCK 8 /* max locked-in-memory address space */
[all …]
/linux/net/xfrm/
H A Dxfrm_nat_keepalive.c1 // SPDX-License-Identifier: GPL-2.0-only
33 ka->net = xs_net(x); in nat_keepalive_init()
34 ka->family = x->props.family; in nat_keepalive_init()
35 ka->saddr = x->props.saddr; in nat_keepalive_init()
36 ka->dadd in nat_keepalive_init()
43 struct rtable *rt; nat_keepalive_send_ipv4() local
[all...]
/linux/drivers/hv/
H A Dmshv_irq.c1 // SPDX-License-Identifier: GPL-2.0-only
31 return -EINVAL; in mshv_update_routing_table()
34 return -EINVAL; in mshv_update_routing_table()
36 nr_rt_entries = max(nr_rt_entries, ue[i].gsi); in mshv_update_routing_table()
43 return -ENOMEM; in mshv_update_routing_table()
45 new->num_rt_entries = nr_rt_entries; in mshv_update_routing_table()
49 girq = &new->mshv_girq_info_tbl[ue[i].gsi]; in mshv_update_routing_table()
54 if (girq->guest_irq_num != 0) { in mshv_update_routing_table()
55 r = -EINVAL; in mshv_update_routing_table()
59 girq->guest_irq_num = ue[i].gsi; in mshv_update_routing_table()
[all …]

12345678