| /linux/drivers/thunderbolt/ |
| H A D | retimer.c | 1 // 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 D | utils.c | 1 // 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_ops = &mctp_test_netdev_ops; in mctp_test_dev_setup() 35 ndev->needs_free_netdev = true; in mctp_test_dev_setup() 54 dev->ndev = ndev; in __mctp_test_create_dev() [all …]
|
| /linux/net/mctp/ |
| H A D | route.c | 1 // 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 D | tegra234-p3740-0002+p3701-0008.dts | 1 // 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 D | xfs_mount.h | 1 // 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 D | xfs_mount.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2000-2005 Silicon Graphics, Inc. 87 uuid_t *uuid = &mp->m_sb.sb_uuid; in xfs_uuid_mount() 91 super_set_uuid(mp->m_super, uuid->b, sizeof(*uuid)); in xfs_uuid_mount() 97 xfs_warn(mp, "Filesystem has null UUID - can't mount"); in xfs_uuid_mount() 98 return -EINVAL; in xfs_uuid_mount() 103 xfs_warn(mp, "Filesystem has duplicate UUID %pU - ca in xfs_uuid_mount() [all...] |
| /linux/arch/arm/mm/ |
| H A D | cache-v7m.S | 1 /* 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 D | fib.c | 6 * 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 in nsim_fib_get_val() 483 nsim_fib6_rt_nh_find(const struct nsim_fib6_rt * fib6_rt,const struct fib6_info * rt) nsim_fib6_rt_nh_find() argument 496 nsim_fib6_rt_nh_add(struct nsim_fib6_rt * fib6_rt,struct fib6_info * rt) nsim_fib6_rt_nh_add() argument 513 nsim_rt6_release(struct fib6_info * rt) nsim_rt6_release() argument 518 nsim_rt6_release(struct fib6_info * rt) nsim_rt6_release() argument 524 nsim_fib6_rt_nh_del(struct nsim_fib6_rt * fib6_rt,const struct fib6_info * rt) nsim_fib6_rt_nh_del() argument 542 struct fib6_info *rt = rt_arr[0]; nsim_fib6_rt_create() local 590 nsim_fib6_rt_lookup(struct rhashtable * fib_rt_ht,const struct fib6_info * rt) nsim_fib6_rt_lookup() argument 607 struct fib6_info *rt = fib6_event->rt_arr[0]; nsim_fib6_rt_append() local 739 struct fib6_info *rt = fib6_event->rt_arr[0]; nsim_fib6_rt_insert() local 772 struct fib6_info *rt = fib6_event->rt_arr[0]; nsim_fib6_rt_remove() local 802 struct fib6_info *rt = fen6_info->rt; nsim_fib6_event_init() local [all...] |
| /linux/sound/usb/6fire/ |
| H A D | control.c | 1 // 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 in usb6fire_control_output_vol_update() 74 usb6fire_control_output_mute_update(struct control_runtime * rt) usb6fire_control_output_mute_update() argument 82 usb6fire_control_input_vol_update(struct control_runtime * rt) usb6fire_control_input_vol_update() argument 96 usb6fire_control_line_phono_update(struct control_runtime * rt) usb6fire_control_line_phono_update() argument 105 usb6fire_control_opt_coax_update(struct control_runtime * rt) usb6fire_control_opt_coax_update() argument 114 usb6fire_control_set_rate(struct control_runtime * rt,int rate) usb6fire_control_set_rate() argument 137 usb6fire_control_set_channels(struct control_runtime * rt,int n_analog_out,int n_analog_in,bool spdif_out,bool spdif_in) usb6fire_control_set_channels() argument 160 usb6fire_control_streaming_update(struct control_runtime * rt) usb6fire_control_streaming_update() argument 188 struct control_runtime *rt = snd_kcontrol_chip(kcontrol); usb6fire_control_output_vol_put() local 218 struct control_runtime *rt = snd_kcontrol_chip(kcontrol); usb6fire_control_output_vol_get() local 235 struct control_runtime *rt = snd_kcontrol_chip(kcontrol); usb6fire_control_output_mute_put() local 262 struct control_runtime *rt = snd_kcontrol_chip(kcontrol); usb6fire_control_output_mute_get() local 292 struct control_runtime *rt = snd_kcontrol_chip(kcontrol); usb6fire_control_input_vol_put() local 317 struct control_runtime *rt = snd_kcontrol_chip(kcontrol); usb6fire_control_input_vol_get() local 334 struct control_runtime *rt = snd_kcontrol_chip(kcontrol); usb6fire_control_line_phono_put() local 347 struct control_runtime *rt = snd_kcontrol_chip(kcontrol); usb6fire_control_line_phono_get() local 361 struct control_runtime *rt = snd_kcontrol_chip(kcontrol); usb6fire_control_opt_coax_put() local 375 struct control_runtime *rt = snd_kcontrol_chip(kcontrol); usb6fire_control_opt_coax_get() local 383 struct control_runtime *rt = snd_kcontrol_chip(kcontrol); usb6fire_control_digital_thru_put() local 397 struct control_runtime *rt = snd_kcontrol_chip(kcontrol); usb6fire_control_digital_thru_get() local 519 usb6fire_control_add_virtual(struct control_runtime * rt,struct snd_card * card,char * name,const struct snd_kcontrol_new * elems) usb6fire_control_add_virtual() argument 556 struct control_runtime *rt = kzalloc_obj(struct control_runtime); usb6fire_control_init() local [all...] |
| /linux/Documentation/scheduler/ |
| H A D | sched-util-clamp.rst | 1 .. 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/include/uapi/linux/ |
| H A D | ioprio.h | 1 /* 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 D | irqchip.c | 1 // 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/sound/usb/caiaq/ |
| H A D | audio.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (c) 2006-2008 Daniel Mack, Karsten Wiese 31 (stream << 1) | (~(i / (cdev->n_streams * BYTES_PER_SAMPLE_USB)) & 1) 54 guard(spinlock)(&cdev->spinlock); in activate_substream() 56 if (sub->stream == SNDRV_PCM_STREAM_PLAYBACK) in activate_substream() 57 cdev->sub_playback[sub->number] = sub; in activate_substream() 59 cdev->sub_capture[sub->number] = sub; in activate_substream() 66 guard(spinlock_irqsave)(&cdev->spinlock); in deactivate_substream() 68 if (sub->stream == SNDRV_PCM_STREAM_PLAYBACK) in deactivate_substream() 69 cdev->sub_playback[sub->number] = NULL; in deactivate_substream() [all …]
|
| /linux/net/ipv4/ |
| H A D | ip_tunnel.c | 1 // 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->parm in ip_tunnel_lookup() 294 struct rtable *rt; ip_tunnel_bind_dev() local 513 tnl_update_pmtu(struct net_device * dev,struct sk_buff * skb,struct rtable * rt,__be16 df,const struct iphdr * inner_iph,int tunnel_hlen,__be32 dst,bool md) tnl_update_pmtu() argument 579 struct rtable *rt = NULL; ip_md_tunnel_xmit() local 676 struct rtable *rt = NULL; /* Route to the other host */ ip_tunnel_xmit() local 1224 unsigned int max = IP_MAX_MTU - (nt->hlen + sizeof(struct iphdr)); ip_tunnel_newlink() local [all...] |
| H A D | route.c | 1 // 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_hi in rt_cpu_seq_show() 416 const struct rtable *rt = container_of(dst, struct rtable, dst); ipv4_neigh_lookup() local 443 const struct rtable *rt = container_of(dst, struct rtable, dst); ipv4_confirm_neigh() local 578 struct rtable *rt; fnhe_flush_routes() local 630 fill_route_from_fnhe(struct rtable * rt,struct fib_nh_exception * fnhe) fill_route_from_fnhe() argument 650 struct rtable *rt; update_or_create_fnhe() local 744 __ip_do_redirect(struct rtable * rt,struct sk_buff * skb,struct flowi4 * fl4,bool kill_route) __ip_do_redirect() argument 831 struct rtable *rt; ip_do_redirect() local 849 struct rtable *rt = dst_rtable(dst); ipv4_negative_advice() local 875 struct rtable *rt = skb_rtable(skb); ip_rt_send_redirect() local 940 struct rtable *rt = skb_rtable(skb); ip_error() local 1019 __ip_rt_update_pmtu(struct rtable * rt,struct flowi4 * fl4,u32 mtu) __ip_rt_update_pmtu() argument 1074 struct rtable *rt = dst_rtable(dst); ip_rt_update_pmtu() local 1091 struct rtable *rt; ipv4_update_pmtu() local 1108 struct rtable *rt; __ipv4_sk_update_pmtu() local 1126 struct rtable *rt; ipv4_sk_update_pmtu() local 1181 struct rtable *rt; ipv4_redirect() local 1196 struct rtable *rt; ipv4_sk_redirect() local 1211 struct rtable *rt = dst_rtable(dst); ipv4_dst_check() local 1260 struct rtable *rt; ipv4_link_failure() local 1288 ip_rt_get_source(u8 * addr,struct sk_buff * skb,struct rtable * rt) ip_rt_get_source() argument 1319 set_class_tag(struct rtable * rt,u32 tag) set_class_tag() argument 1440 rt_bind_exception(struct rtable * rt,struct fib_nh_exception * fnhe,__be32 daddr,const bool do_cache) rt_bind_exception() argument 1490 rt_cache_route(struct fib_nh_common * nhc,struct rtable * rt) rt_cache_route() argument 1527 rt_add_uncached_list(struct rtable * rt) rt_add_uncached_list() argument 1538 rt_del_uncached_list(struct rtable * rt) rt_del_uncached_list() argument 1557 struct rtable *rt, *safe; rt_flush_dev() local 1579 rt_cache_valid(const struct rtable * rt) rt_cache_valid() argument 1586 rt_set_nexthop(struct rtable * rt,__be32 daddr,const struct fib_result * res,struct fib_nh_exception * fnhe,struct fib_info * fi,u16 type,u32 itag,const bool do_cache) rt_set_nexthop() argument 1649 struct rtable *rt; rt_dst_alloc() local 1675 rt_dst_clone(struct net_device * dev,struct rtable * rt) rt_dst_clone() argument 2197 struct rtable *rt = skb_rtable(hint); ip_route_use_hint() local 2895 struct rtable *rt; ipv4_blackhole_route() local 2932 struct rtable *rt = __ip_route_output_key(net, flp4); ip_route_output_flow() local 2950 rt_fill_info(struct net * net,__be32 dst,__be32 src,struct rtable * rt,u32 table_id,dscp_t dscp,struct flowi4 * fl4,struct sk_buff * skb,u32 portid,u32 seq,unsigned int flags) rt_fill_info() argument 3097 struct rtable *rt; fnhe_dump_bucket() local 3299 struct rtable *rt = NULL; inet_rtm_getroute() local [all...] |
| /linux/include/net/ |
| H A D | x25.h | 1 /* 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/fs/xfs/libxfs/ |
| H A D | xfs_format.h | 1 /* 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-insen [all...] |
| H A D | xfs_types.h | 1 // 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/sound/parisc/ |
| H A D | harmony.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* Hewlett-Packard Harmony audio driver 5 * on the LASI ASIC of various early HP PA-RISC workstations. 7 * Copyright (C) 2004, Kyle McMartin <kyle@{debian.org,parisc-linux.org}> 11 * Copyright 2000-2003 (c) Helge Deller 13 * Copyright 2001 (c) Jean-Christophe Vaugeois 18 * - graveyard and silence buffers last for lifetime of 33 #include <linux/dma-mapping.h> 44 #include <asm/parisc-device.h> 48 static int index = SNDRV_DEFAULT_IDX1; /* Index 0-MAX */ [all …]
|
| /linux/net/ipv6/netfilter/ |
| H A D | ip6t_rt.c | 1 // 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/net/mpls/ |
| H A D | af_mpls.c | 1 // SPDX-License-Identifier: GPL-2.0-only 30 /* max memory we will use for mpls_route */ 40 static int label_limit = (1 << 20) - 1; 73 static void rtmsg_lfib(int event, u32 label, struct mpls_route *rt, 81 platform_label = mpls_dereference(net, net->mpls.platform_label); in mpls_route_input() 91 sequence = read_seqcount_begin(&net->mpls.platform_label_seq); in mpls_platform_label_rcu() 92 platform_label = rcu_dereference(net->mpl in mpls_platform_label_rcu() 118 __mpls_nh_via(struct mpls_route * rt,struct mpls_nh * nh) __mpls_nh_via() argument 123 mpls_nh_via(const struct mpls_route * rt,const struct mpls_nh * nh) mpls_nh_via() argument 180 mpls_multipath_hash(struct mpls_route * rt,struct sk_buff * skb) mpls_multipath_hash() argument 247 mpls_get_nexthop(struct mpls_route * rt,u8 index) mpls_get_nexthop() argument 257 mpls_select_multipath(struct mpls_route * rt,struct sk_buff * skb) mpls_select_multipath() argument 293 mpls_egress(struct net * net,struct mpls_route * rt,struct sk_buff * skb,struct mpls_entry_decoded dec) mpls_egress() argument 371 struct mpls_route *rt; mpls_forward() local 537 struct mpls_route *rt; mpls_rt_alloc() local 558 struct mpls_route *rt; mpls_rt_free_rcu() local 569 mpls_rt_free(struct mpls_route * rt) mpls_rt_free() argument 582 struct mpls_route *rt = new ? new : old; mpls_notify_route() local 594 struct mpls_route *rt; mpls_route_update() local 626 struct rtable *rt; inet_fib_lookup_dev() local 680 find_outdev(struct net * net,struct mpls_route * rt,struct mpls_nh * nh,int oif) find_outdev() argument 712 mpls_nh_assign_dev(struct net * net,struct mpls_route * rt,struct mpls_nh * nh,int oif) mpls_nh_assign_dev() argument 801 mpls_nh_build_from_cfg(struct mpls_route_config * cfg,struct mpls_route * rt) mpls_nh_build_from_cfg() argument 832 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 918 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 997 struct mpls_route *rt, *old; mpls_route_add() local 1530 struct mpls_route *rt; mpls_ifdown() local 1610 struct mpls_route *rt; mpls_ifup() local 2035 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 2204 mpls_rt_uses_dev(struct mpls_route * rt,const struct net_device * dev) mpls_rt_uses_dev() argument 2261 struct mpls_route *rt; mpls_dump_routes() local 2287 lfib_nlmsg_size(struct mpls_route * rt) lfib_nlmsg_size() argument 2324 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 2415 struct mpls_route *rt = NULL; mpls_getroute() local 2799 struct mpls_route *rt; mpls_net_exit() local [all...] |
| /linux/net/smc/ |
| H A D | smc_llc.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Shared Memory Communications over RDMA (SMC-R) and RoCE 37 u16 length_v2; /* 44 - 8192*/ 98 struct smc_llc_msg_add_link_cont_rt rt[]; member 119 struct smc_llc_msg_add_link_cont_rt rt[SMC_LLC_RKEYS_PER_CONT_MSG]; member 209 struct smc_llc_qentry *qentry = flow->qentry; in smc_llc_flow_qentry_clr() 211 flow->qentry = NULL; in smc_llc_flow_qentry_clr() 219 if (flow->qentry) { in smc_llc_flow_qentry_del() 220 qentry = flow->qentry; in smc_llc_flow_qentry_del() 221 flow->qentry = NULL; in smc_llc_flow_qentry_del() [all …]
|
| /linux/include/uapi/asm-generic/ |
| H A D | resource.h | 1 /* 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 D | xfrm_nat_keepalive.c | 1 // 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->daddr = x->id.daddr; in nat_keepalive_init() 37 ka->encap_sport = x->encap->encap_sport; in nat_keepalive_init() 38 ka->encap_dport = x->encap->encap_dport; in nat_keepalive_init() 39 ka->smark = xfrm_smark_get(0, x); in nat_keepalive_init() 45 struct net *net = ka->net; in nat_keepalive_send_ipv4() 47 struct rtable *rt; in nat_keepalive_send_ipv4() local [all …]
|
| /linux/drivers/md/ |
| H A D | dm-raid.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2010-2011 Neil Brown 4 * Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved. 16 #include "md-bitmap.h" 18 #include <linux/device-mapper.h> 21 #define MAX_RAID_DEVICES 253 /* md-raid kernel limit */ 36 * The following flags are used by dm-rai 317 __within_range(long v,long min,long max) __within_range() argument 455 rt_is_raid0(struct raid_type * rt) rt_is_raid0() argument 461 rt_is_raid1(struct raid_type * rt) rt_is_raid1() argument 467 rt_is_raid10(struct raid_type * rt) rt_is_raid10() argument 473 rt_is_raid45(struct raid_type * rt) rt_is_raid45() argument 479 rt_is_raid6(struct raid_type * rt) rt_is_raid6() argument 485 rt_is_raid456(struct raid_type * rt) rt_is_raid456() argument 1140 struct raid_type *rt = rs->raid_type; parse_raid_params() local 3015 struct raid_type *rt; raid_ctr() local 3539 struct raid_type *rt; raid_status() local [all...] |