Home
last modified time | relevance | path

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

12

/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.h1539 int __sk_mem_raise_allocated(struct sock *sk, int size, int amt, int kind);
1553 static inline int sk_mem_pages(int amt) in sk_mem_pages() argument
1555 return (amt + PAGE_SIZE - 1) >> PAGE_SHIFT; in sk_mem_pages()
2526 int amt = 0; in sock_wspace() local
2529 amt = sk->sk_sndbuf - refcount_read(&sk->sk_wmem_alloc); in sock_wspace()
2530 if (amt < 0) in sock_wspace()
2531 amt = 0; in sock_wspace()
2533 return amt; in sock_wspace()
/linux/kernel/sched/
H A Dstats.h40 #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/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()
H A Driva_hw.c2075 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/tools/testing/selftests/net/
H A Damt.sh90 smcpid=$(< $SMCROUTEDIR/amt.pid)
145 ip netns exec "${GATEWAY}" ip link add amtg master br0 type amt \
149 ip netns exec "${RELAY}" ip link add amtr type amt mode relay \
176 ip netns exec "${RELAY}" smcrouted -P $SMCROUTEDIR/amt.pid
216 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/drivers/infiniband/hw/hfi1/
H A Dinit.c1759 unsigned amt; in hfi1_create_rcvhdrq() local
1762 amt = rcvhdrq_size(rcd); in hfi1_create_rcvhdrq()
1764 rcd->rcvhdrq = dma_alloc_coherent(&dd->pcidev->dev, amt, in hfi1_create_rcvhdrq()
1771 amt, rcd->ctxt); in hfi1_create_rcvhdrq()
1795 dma_free_coherent(&dd->pcidev->dev, amt, rcd->rcvhdrq, in hfi1_create_rcvhdrq()
/linux/net/core/
H A Dsock.c3275 * @amt: pages to allocate in __sk_mem_raise_allocated()
3286 int __sk_mem_raise_allocated(struct sock *sk, int size, int amt, int kind) in __sk_mem_raise_allocated()
3293 sk_memory_allocated_add(sk, amt); in __sk_mem_raise_allocated()
3299 charged = mem_cgroup_sk_charge(sk, amt, gfp_memcg_charge()); in __sk_mem_raise_allocated()
3377 mem_cgroup_sk_charge(sk, amt,
3386 sk_memory_allocated_sub(sk, amt); in __sk_mem_reduce_allocated()
3389 mem_cgroup_sk_uncharge(sk, amt); in __sk_mem_reduce_allocated()
3406 int ret, amt = sk_mem_pages(size); in __sk_mem_reclaim()
3408 sk_forward_alloc_add(sk, amt << PAGE_SHIFT);
3409 ret = __sk_mem_raise_allocated(sk, size, amt, kin
3253 __sk_mem_raise_allocated(struct sock * sk,int size,int amt,int kind) __sk_mem_raise_allocated() argument
3367 int ret, amt = sk_mem_pages(size); __sk_mem_schedule() local
[all...]
/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.c1634 unsigned int amt; in udp_rmem_release() local
1654 amt = (size + sk->sk_forward_alloc - partial) & ~(PAGE_SIZE - 1); in udp_rmem_release()
1655 sk_forward_alloc_add(sk, size - amt); in udp_rmem_release()
1657 if (amt) in udp_rmem_release()
1658 __sk_mem_reduce_allocated(sk, amt >> PAGE_SHIFT); in udp_rmem_release()
H A Dtcp_output.c3744 int delta, amt; in sk_forced_mem_schedule() local
3750 amt = sk_mem_pages(delta); in sk_forced_mem_schedule()
3751 sk_forward_alloc_add(sk, amt << PAGE_SHIFT); in sk_forced_mem_schedule()
3754 mem_cgroup_sk_charge(sk, amt, gfp_memcg_charge() | __GFP_NOFAIL); in sk_forced_mem_schedule()
3759 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.c4153 int amt; in mptcp_graft_subflows() local
4159 amt = sk_mem_pages(sk->sk_forward_alloc + in mptcp_graft_subflows()
4167 if (amt) in mptcp_graft_subflows()
4168 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
/linux/drivers/net/
H A DKconfig323 will be called amt.

12