| /linux/drivers/net/ |
| H A D | amt.c | 125 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 …]
|
| /linux/include/linux/sched/ |
| H A D | xacct.h | 12 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 D | omap-crypto.c | 161 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/drivers/video/fbdev/riva/ |
| H A D | nv_driver.c | 161 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 D | amt.sh | 92 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 D | Makefile | 11 amt.sh \
|
| /linux/net/sctp/ |
| H A D | diag.c | 166 int amt; in inet_sctp_diag_fill() local 169 amt = asoc->sndbuf_used; in inet_sctp_diag_fill() 171 amt = sk_wmem_alloc_get(sk); in inet_sctp_diag_fill() 172 mem[SK_MEMINFO_WMEM_ALLOC] = amt; in inet_sctp_diag_fill() 174 amt = atomic_read(&asoc->rmem_alloc); in inet_sctp_diag_fill() 176 amt = sk_rmem_alloc_get(sk); in inet_sctp_diag_fill() 177 mem[SK_MEMINFO_RMEM_ALLOC] = amt; in inet_sctp_diag_fill()
|
| /linux/drivers/video/fbdev/nvidia/ |
| H A D | nv_setup.c | 243 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 | .gitignore | 2 /mei-amt-version
|
| H A D | Makefile | 3 userprogs-always-y += mei-amt-version
|
| /linux/net/core/ |
| H A D | sock.c | 3333 int __sk_mem_raise_allocated(struct sock *sk, int size, int amt, int kind) in __sk_mem_raise_allocated() argument 3340 sk_memory_allocated_add(sk, amt); in __sk_mem_raise_allocated() 3346 charged = mem_cgroup_sk_charge(sk, amt, gfp_memcg_charge()); in __sk_mem_raise_allocated() 3424 mem_cgroup_sk_charge(sk, amt, in __sk_mem_raise_allocated() 3433 sk_memory_allocated_sub(sk, amt); in __sk_mem_raise_allocated() 3436 mem_cgroup_sk_uncharge(sk, amt); in __sk_mem_raise_allocated() 3453 int ret, amt = sk_mem_pages(size); in __sk_mem_schedule() local 3455 sk_forward_alloc_add(sk, amt << PAGE_SHIFT); in __sk_mem_schedule() 3456 ret = __sk_mem_raise_allocated(sk, size, amt, kind); in __sk_mem_schedule() 3458 sk_forward_alloc_add(sk, -(amt << PAGE_SHIFT)); in __sk_mem_schedule() [all …]
|
| /linux/Documentation/devicetree/bindings/scsi/ |
| H A D | hisilicon-sas.txt | 54 - hip06-sas-v2-quirk-amt : when set, indicates that the v2 controller has the
|
| /linux/net/ipv4/ |
| H A D | udp.c | 1593 unsigned int amt; in udp_rmem_release() local 1613 amt = (size + sk->sk_forward_alloc - partial) & ~(PAGE_SIZE - 1); in udp_rmem_release() 1614 sk_forward_alloc_add(sk, size - amt); in udp_rmem_release() 1616 if (amt) in udp_rmem_release() 1617 __sk_mem_reduce_allocated(sk, amt >> PAGE_SHIFT); in udp_rmem_release()
|
| /linux/arch/arm64/boot/dts/hisilicon/ |
| H A D | hip06.dtsi | 656 hip06-sas-v2-quirk-amt;
|
| H A D | hip07.dtsi | 1649 hip06-sas-v2-quirk-amt;
|
| /linux/drivers/tty/ |
| H A D | n_tty.c | 1910 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 D | protocol.c | 4355 int amt; in mptcp_graft_subflows() local 4361 amt = sk_mem_pages(sk->sk_forward_alloc + in mptcp_graft_subflows() 4369 if (amt) in mptcp_graft_subflows() 4370 mem_cgroup_sk_charge(sk, amt, gfp); in mptcp_graft_subflows()
|
| /linux/arch/m68k/ifpsp060/src/ |
| H A D | pfpsp.S | 1485 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 D | fpsp.S | 1486 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 D | fplsp.S | 9264 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 D | MAINTAINERS | 1463 F: drivers/net/amt.c
|