Home
last modified time | relevance | path

Searched refs:amt (Results 1 – 25 of 25) sorted by relevance

/linux/drivers/net/
H A Damt.c125 u32 hash = jhash(src, sizeof(*src), tunnel->amt->hash_seed); in amt_source_hash()
127 return reciprocal_scale(hash, tunnel->amt->hash_buckets); in amt_source_hash()
202 u32 hash = jhash(group, sizeof(*group), tunnel->amt->hash_seed); in amt_group_hash()
204 return reciprocal_scale(hash, tunnel->amt->hash_buckets); in amt_group_hash()
233 netdev_dbg(snode->gnode->amt->dev, in amt_destroy_source()
239 netdev_dbg(snode->gnode->amt->dev, in amt_destroy_source()
255 static void amt_del_group(struct amt_dev *amt, struct amt_group_node *gnode) in amt_del_group() argument
262 dev_put(amt->dev); in amt_del_group()
267 netdev_dbg(amt->dev, "Leave group %pI4\n", in amt_del_group()
271 netdev_dbg(amt->dev, "Leave group %pI6\n", in amt_del_group()
[all …]
H A DMakefile18 obj-$(CONFIG_AMT) += amt.o
H A DKconfig316 will be called amt.
/linux/include/linux/sched/
H A Dxacct.h12 static inline void add_rchar(struct task_struct *tsk, ssize_t amt) in add_rchar() argument
14 tsk->ioac.rchar += amt; in add_rchar()
17 static inline void add_wchar(struct task_struct *tsk, ssize_t amt) in add_wchar() argument
19 tsk->ioac.wchar += amt; in add_wchar()
32 static inline void add_rchar(struct task_struct *tsk, ssize_t amt) in add_rchar() argument
36 static inline void add_wchar(struct task_struct *tsk, ssize_t amt) in add_wchar() argument
/linux/drivers/crypto/
H A Domap-crypto.c161 int amt; in omap_crypto_copy_data() local
178 amt = min(src->length - srco, dst->length - dsto); in omap_crypto_copy_data()
179 amt = min(len, amt); in omap_crypto_copy_data()
184 memcpy(dstb, srcb, amt); in omap_crypto_copy_data()
191 srco += amt; in omap_crypto_copy_data()
192 dsto += amt; in omap_crypto_copy_data()
193 len -= amt; in omap_crypto_copy_data()
/linux/include/net/
H A Damt.h242 struct amt_dev *amt; member
294 struct amt_dev *amt; member
403 static inline u64 amt_gmi(const struct amt_dev *amt) in amt_gmi() argument
405 return ((amt->qrv * amt->qi) + amt->qri) * 1000; in amt_gmi()
H A Dsock.h1552 int __sk_mem_raise_allocated(struct sock *sk, int size, int amt, int kind);
1566 static inline int sk_mem_pages(int amt) in sk_mem_pages() argument
1568 return (amt + PAGE_SIZE - 1) >> PAGE_SHIFT; in sk_mem_pages()
2549 int amt = 0; in sock_wspace() local
2552 amt = sk->sk_sndbuf - refcount_read(&sk->sk_wmem_alloc); in sock_wspace()
2553 if (amt < 0) in sock_wspace()
2554 amt = 0; in sock_wspace()
2556 return amt; in sock_wspace()
/linux/drivers/video/fbdev/riva/
H A Dnv_driver.c161 u32 amt; in riva_get_memlen() local
231 pci_read_config_dword(dev, 0x7C, &amt); in riva_get_memlen()
233 memlen = (((amt >> 6) & 31) + 1) * 1024; in riva_get_memlen()
236 pci_read_config_dword(dev, 0x84, &amt); in riva_get_memlen()
238 memlen = (((amt >> 4) & 127) + 1) * 1024; in riva_get_memlen()
/linux/tools/testing/selftests/net/
H A Damt.sh92 smcpid=$(< $SMCROUTEDIR/amt.pid)
147 ip netns exec "${GATEWAY}" ip link add amtg master br0 type amt \
151 ip netns exec "${RELAY}" ip link add amtr type amt mode relay \
178 ip netns exec "${RELAY}" smcrouted -P $SMCROUTEDIR/amt.pid
218 ip link help 2>&1 | grep -q amt
H A DMakefile11 amt.sh \
/linux/net/sctp/
H A Ddiag.c165 int amt; in inet_sctp_diag_fill() local
168 amt = asoc->sndbuf_used; in inet_sctp_diag_fill()
170 amt = sk_wmem_alloc_get(sk); in inet_sctp_diag_fill()
171 mem[SK_MEMINFO_WMEM_ALLOC] = amt; in inet_sctp_diag_fill()
173 amt = atomic_read(&asoc->rmem_alloc); in inet_sctp_diag_fill()
175 amt = sk_rmem_alloc_get(sk); in inet_sctp_diag_fill()
176 mem[SK_MEMINFO_RMEM_ALLOC] = amt; in inet_sctp_diag_fill()
/linux/drivers/video/fbdev/nvidia/
H A Dnv_setup.c243 u32 amt; in nv10GetConfig() local
245 pci_read_config_dword(dev, 0x7c, &amt); in nv10GetConfig()
246 par->RamAmountKBytes = (((amt >> 6) & 31) + 1) * 1024; in nv10GetConfig()
248 u32 amt; in nv10GetConfig() local
250 pci_read_config_dword(dev, 0x84, &amt); in nv10GetConfig()
251 par->RamAmountKBytes = (((amt >> 4) & 127) + 1) * 1024; in nv10GetConfig()
/linux/samples/mei/
H A D.gitignore2 /mei-amt-version
H A DMakefile3 userprogs-always-y += mei-amt-version
/linux/Documentation/devicetree/bindings/scsi/
H A Dhisilicon-sas.txt54 - hip06-sas-v2-quirk-amt : when set, indicates that the v2 controller has the
/linux/net/ipv4/
H A Dudp.c1591 unsigned int amt; in udp_rmem_release() local
1611 amt = (size + sk->sk_forward_alloc - partial) & ~(PAGE_SIZE - 1); in udp_rmem_release()
1612 sk_forward_alloc_add(sk, size - amt); in udp_rmem_release()
1614 if (amt) in udp_rmem_release()
1615 __sk_mem_reduce_allocated(sk, amt >> PAGE_SHIFT); in udp_rmem_release()
H A Dtcp.c909 int delta, amt; in sk_forced_mem_schedule() local
915 amt = sk_mem_pages(delta); in sk_forced_mem_schedule()
916 sk_forward_alloc_add(sk, amt << PAGE_SHIFT); in sk_forced_mem_schedule()
919 mem_cgroup_sk_charge(sk, amt, gfp_memcg_charge() | __GFP_NOFAIL); in sk_forced_mem_schedule()
924 sk_memory_allocated_add(sk, amt); in sk_forced_mem_schedule()
/linux/arch/arm64/boot/dts/hisilicon/
H A Dhip06.dtsi656 hip06-sas-v2-quirk-amt;
H A Dhip07.dtsi1649 hip06-sas-v2-quirk-amt;
/linux/drivers/tty/
H A Dn_tty.c1910 int amt = poll && !TIME_CHAR(tty) && MIN_CHAR(tty) ? MIN_CHAR(tty) : 1; in input_available_p() local
1915 return ldata->commit_head - ldata->read_tail >= amt; in input_available_p()
/linux/net/mptcp/
H A Dprotocol.c4202 int amt; in mptcp_graft_subflows() local
4208 amt = sk_mem_pages(sk->sk_forward_alloc + in mptcp_graft_subflows()
4216 if (amt) in mptcp_graft_subflows()
4217 mem_cgroup_sk_charge(sk, amt, gfp); in mptcp_graft_subflows()
/linux/arch/m68k/ifpsp060/src/
H A Dpfpsp.S1485 neg.w %d0 # -shft amt
2316 addi.w &0x3f81,%d0 # find amt to shift
3920 mov.l %a0,%d0 # pass amt to dec by
H A Dfpsp.S1486 neg.w %d0 # -shft amt
2317 addi.w &0x3f81,%d0 # find amt to shift
7637 neg.w %d0 # new exp = -(shft amt)
18111 movq.l &0x1,%d0 # pass amt to inc by
H A Dfplsp.S9264 cmpi.w %d0,&-0x3fff # is the shft amt really low?
9299 addi.w &0x3fff,%d0 # turn src amt into exp value
10960 sub.w &32, %d1 # adjust shft amt by 32
/linux/
H A DMAINTAINERS1405 F: drivers/net/amt.c