/linux-6.1.9/drivers/net/ |
D | amt.c | 123 u32 hash = jhash(src, sizeof(*src), tunnel->amt->hash_seed); in amt_source_hash() 125 return reciprocal_scale(hash, tunnel->amt->hash_buckets); in amt_source_hash() 200 u32 hash = jhash(group, sizeof(*group), tunnel->amt->hash_seed); in amt_group_hash() 202 return reciprocal_scale(hash, tunnel->amt->hash_buckets); in amt_group_hash() 231 netdev_dbg(snode->gnode->amt->dev, in amt_destroy_source() 237 netdev_dbg(snode->gnode->amt->dev, in amt_destroy_source() 253 static void amt_del_group(struct amt_dev *amt, struct amt_group_node *gnode) in amt_del_group() argument 260 dev_put(amt->dev); in amt_del_group() 265 netdev_dbg(amt->dev, "Leave group %pI4\n", in amt_del_group() 269 netdev_dbg(amt->dev, "Leave group %pI6\n", in amt_del_group() [all …]
|
D | Makefile | 17 obj-$(CONFIG_AMT) += amt.o
|
/linux-6.1.9/include/linux/sched/ |
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-6.1.9/drivers/crypto/ |
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-6.1.9/kernel/sched/ |
D | stats.h | 40 #define __schedstat_add(var, amt) do { var += (amt); } while (0) argument 41 #define schedstat_add(var, amt) do { if (schedstat_enabled()) { var += (amt); } } while (0) argument 78 # define __schedstat_add(var, amt) do { } while (0) argument 79 # define schedstat_add(var, amt) do { } while (0) argument
|
/linux-6.1.9/include/net/ |
D | amt.h | 242 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()
|
D | sock.h | 1464 sk_memory_allocated_add(struct sock *sk, int amt) in sk_memory_allocated_add() argument 1469 local_reserve = __this_cpu_add_return(*sk->sk_prot->per_cpu_fw_alloc, amt); in sk_memory_allocated_add() 1478 sk_memory_allocated_sub(struct sock *sk, int amt) in sk_memory_allocated_sub() argument 1483 local_reserve = __this_cpu_sub_return(*sk->sk_prot->per_cpu_fw_alloc, amt); in sk_memory_allocated_sub() 1598 int __sk_mem_raise_allocated(struct sock *sk, int size, int amt, int kind); 1612 static inline int sk_mem_pages(int amt) in sk_mem_pages() argument 1614 return (amt + PAGE_SIZE - 1) >> PAGE_SHIFT; in sk_mem_pages() 2488 int amt = 0; in sock_wspace() local 2491 amt = sk->sk_sndbuf - refcount_read(&sk->sk_wmem_alloc); in sock_wspace() 2492 if (amt < 0) in sock_wspace() [all …]
|
/linux-6.1.9/drivers/video/fbdev/riva/ |
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()
|
D | riva_hw.c | 2075 u32 amt; in nv10GetConfig() local 2088 pci_read_config_dword(dev, 0x7C, &amt); in nv10GetConfig() 2090 chip->RamAmountKBytes = (((amt >> 6) & 31) + 1) * 1024; in nv10GetConfig() 2093 pci_read_config_dword(dev, 0x84, &amt); in nv10GetConfig() 2095 chip->RamAmountKBytes = (((amt >> 4) & 127) + 1) * 1024; in nv10GetConfig()
|
/linux-6.1.9/net/sctp/ |
D | diag.c | 158 int amt; in inet_sctp_diag_fill() local 161 amt = asoc->sndbuf_used; in inet_sctp_diag_fill() 163 amt = sk_wmem_alloc_get(sk); in inet_sctp_diag_fill() 164 mem[SK_MEMINFO_WMEM_ALLOC] = amt; in inet_sctp_diag_fill() 166 amt = atomic_read(&asoc->rmem_alloc); in inet_sctp_diag_fill() 168 amt = sk_rmem_alloc_get(sk); in inet_sctp_diag_fill() 169 mem[SK_MEMINFO_RMEM_ALLOC] = amt; in inet_sctp_diag_fill()
|
/linux-6.1.9/drivers/video/fbdev/nvidia/ |
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-6.1.9/samples/mei/ |
D | .gitignore | 2 /mei-amt-version
|
D | Makefile | 3 userprogs-always-y += mei-amt-version
|
/linux-6.1.9/tools/testing/selftests/net/ |
D | amt.sh | 139 ip netns exec "${GATEWAY}" ip link add amtg master br0 type amt \ 143 ip netns exec "${RELAY}" ip link add amtr type amt mode relay \ 204 ip link help 2>&1 | grep -q amt
|
D | Makefile | 25 TEST_PROGS += amt.sh
|
/linux-6.1.9/fs/gfs2/ |
D | aops.c | 486 unsigned amt; in gfs2_internal_read() local 491 amt = size - copied; in gfs2_internal_read() 493 amt = PAGE_SIZE - offset; in gfs2_internal_read() 498 memcpy(buf + copied, p + offset, amt); in gfs2_internal_read() 501 copied += amt; in gfs2_internal_read()
|
/linux-6.1.9/tools/testing/selftests/kvm/lib/ |
D | kvm_util.c | 670 size_t amt; in kvm_memcmp_hva_gva() local 676 for (uintptr_t offset = 0; offset < len; offset += amt) { in kvm_memcmp_hva_gva() 689 amt = len - offset; in kvm_memcmp_hva_gva() 690 if ((ptr1 >> vm->page_shift) != ((ptr1 + amt) >> vm->page_shift)) in kvm_memcmp_hva_gva() 691 amt = vm->page_size - (ptr1 % vm->page_size); in kvm_memcmp_hva_gva() 692 if ((ptr2 >> vm->page_shift) != ((ptr2 + amt) >> vm->page_shift)) in kvm_memcmp_hva_gva() 693 amt = vm->page_size - (ptr2 % vm->page_size); in kvm_memcmp_hva_gva() 695 assert((ptr1 >> vm->page_shift) == ((ptr1 + amt - 1) >> vm->page_shift)); in kvm_memcmp_hva_gva() 696 assert((ptr2 >> vm->page_shift) == ((ptr2 + amt - 1) >> vm->page_shift)); in kvm_memcmp_hva_gva() 703 int ret = memcmp((void *)ptr1, (void *)ptr2, amt); in kvm_memcmp_hva_gva()
|
/linux-6.1.9/drivers/infiniband/hw/qib/ |
D | qib_init.c | 1544 unsigned amt; in qib_create_rcvhdrq() local 1551 amt = ALIGN(dd->rcvhdrcnt * dd->rcvhdrentsize * in qib_create_rcvhdrq() 1559 &dd->pcidev->dev, amt, &rcd->rcvhdrq_phys, in qib_create_rcvhdrq() 1566 amt, rcd->ctxt); in qib_create_rcvhdrq() 1587 rcd->rcvhdrq_size = amt; in qib_create_rcvhdrq() 1603 dma_free_coherent(&dd->pcidev->dev, amt, rcd->rcvhdrq, in qib_create_rcvhdrq()
|
/linux-6.1.9/net/core/ |
D | sock.c | 2965 int __sk_mem_raise_allocated(struct sock *sk, int size, int amt, int kind) in __sk_mem_raise_allocated() argument 2972 sk_memory_allocated_add(sk, amt); in __sk_mem_raise_allocated() 2975 !(charged = mem_cgroup_charge_skmem(sk->sk_memcg, amt, in __sk_mem_raise_allocated() 3033 mem_cgroup_charge_skmem(sk->sk_memcg, amt, in __sk_mem_raise_allocated() 3043 sk_memory_allocated_sub(sk, amt); in __sk_mem_raise_allocated() 3046 mem_cgroup_uncharge_skmem(sk->sk_memcg, amt); in __sk_mem_raise_allocated() 3063 int ret, amt = sk_mem_pages(size); in __sk_mem_schedule() local 3065 sk->sk_forward_alloc += amt << PAGE_SHIFT; in __sk_mem_schedule() 3066 ret = __sk_mem_raise_allocated(sk, size, amt, kind); in __sk_mem_schedule() 3068 sk->sk_forward_alloc -= amt << PAGE_SHIFT; in __sk_mem_schedule()
|
/linux-6.1.9/net/ipv4/ |
D | udp.c | 1446 int amt; in udp_rmem_release() local 1468 amt = (sk->sk_forward_alloc - partial) & ~(PAGE_SIZE - 1); in udp_rmem_release() 1469 sk->sk_forward_alloc -= amt; in udp_rmem_release() 1471 if (amt) in udp_rmem_release() 1472 __sk_mem_reduce_allocated(sk, amt >> PAGE_SHIFT); in udp_rmem_release() 1530 int rmem, delta, amt, err = -ENOMEM; in __udp_enqueue_schedule_skb() local 1564 amt = sk_mem_pages(size); in __udp_enqueue_schedule_skb() 1565 delta = amt << PAGE_SHIFT; in __udp_enqueue_schedule_skb() 1566 if (!__sk_mem_raise_allocated(sk, delta, amt, SK_MEM_RECV)) { in __udp_enqueue_schedule_skb()
|
D | inet_connection_sock.c | 688 int amt; in inet_csk_accept() local 698 amt = sk_mem_pages(newsk->sk_forward_alloc + in inet_csk_accept() 701 if (newsk->sk_memcg && amt) in inet_csk_accept() 702 mem_cgroup_charge_skmem(newsk->sk_memcg, amt, in inet_csk_accept()
|
D | tcp_output.c | 3377 int delta, amt; in sk_forced_mem_schedule() local 3382 amt = sk_mem_pages(delta); in sk_forced_mem_schedule() 3383 sk->sk_forward_alloc += amt << PAGE_SHIFT; in sk_forced_mem_schedule() 3384 sk_memory_allocated_add(sk, amt); in sk_forced_mem_schedule() 3387 mem_cgroup_charge_skmem(sk->sk_memcg, amt, in sk_forced_mem_schedule()
|
/linux-6.1.9/drivers/infiniband/hw/hfi1/ |
D | init.c | 1761 unsigned amt; in hfi1_create_rcvhdrq() local 1766 amt = rcvhdrq_size(rcd); in hfi1_create_rcvhdrq() 1772 rcd->rcvhdrq = dma_alloc_coherent(&dd->pcidev->dev, amt, in hfi1_create_rcvhdrq() 1779 amt, rcd->ctxt); in hfi1_create_rcvhdrq() 1803 dma_free_coherent(&dd->pcidev->dev, amt, rcd->rcvhdrq, in hfi1_create_rcvhdrq()
|
/linux-6.1.9/Documentation/devicetree/bindings/scsi/ |
D | hisilicon-sas.txt | 54 - hip06-sas-v2-quirk-amt : when set, indicates that the v2 controller has the
|
/linux-6.1.9/arch/arm64/boot/dts/hisilicon/ |
D | hip06.dtsi | 648 hip06-sas-v2-quirk-amt;
|