Searched refs:amt (Results 1 - 26 of 26) sorted by relevance

/linux-4.1.27/Documentation/misc-devices/mei/
H A DMakefile2 hostprogs-y := mei-amt-version
3 HOSTCFLAGS_mei-amt-version.o += -I$(objtree)/usr/include
/linux-4.1.27/include/linux/
H A Dpe.h167 uint32_t stack_size_req;/* amt of stack requested */
168 uint32_t stack_size; /* amt of stack required */
169 uint32_t heap_size_req; /* amt of heap requested */
170 uint32_t heap_size; /* amt of heap required */
201 uint64_t stack_size_req;/* amt of stack requested */
202 uint64_t stack_size; /* amt of stack required */
203 uint64_t heap_size_req; /* amt of heap requested */
204 uint64_t heap_size; /* amt of heap required */
H A Dsched.h3026 static inline void add_rchar(struct task_struct *tsk, ssize_t amt) add_rchar() argument
3028 tsk->ioac.rchar += amt; add_rchar()
3031 static inline void add_wchar(struct task_struct *tsk, ssize_t amt) add_wchar() argument
3033 tsk->ioac.wchar += amt; add_wchar()
3046 static inline void add_rchar(struct task_struct *tsk, ssize_t amt) add_rchar() argument
3050 static inline void add_wchar(struct task_struct *tsk, ssize_t amt) add_wchar() argument
/linux-4.1.27/drivers/video/fbdev/riva/
H A Dnv_driver.c161 u32 amt; riva_get_memlen() local
230 pci_read_config_dword(dev, 0x7C, &amt); riva_get_memlen()
232 memlen = (((amt >> 6) & 31) + 1) * 1024; riva_get_memlen()
235 pci_read_config_dword(dev, 0x84, &amt); riva_get_memlen()
237 memlen = (((amt >> 4) & 127) + 1) * 1024; riva_get_memlen()
H A Driva_hw.c2109 u32 amt; nv10GetConfig() local
2122 pci_read_config_dword(dev, 0x7C, &amt); nv10GetConfig()
2124 chip->RamAmountKBytes = (((amt >> 6) & 31) + 1) * 1024; nv10GetConfig()
2127 pci_read_config_dword(dev, 0x84, &amt); nv10GetConfig()
2129 chip->RamAmountKBytes = (((amt >> 4) & 127) + 1) * 1024; nv10GetConfig()
/linux-4.1.27/kernel/sched/
H A Dstats.h33 # define schedstat_add(rq, field, amt) do { (rq)->field += (amt); } while (0)
46 # define schedstat_add(rq, field, amt) do { } while (0)
/linux-4.1.27/drivers/video/fbdev/nvidia/
H A Dnv_setup.c269 u32 amt; nv10GetConfig() local
271 pci_read_config_dword(dev, 0x7c, &amt); nv10GetConfig()
272 par->RamAmountKBytes = (((amt >> 6) & 31) + 1) * 1024; nv10GetConfig()
274 u32 amt; nv10GetConfig() local
276 pci_read_config_dword(dev, 0x84, &amt); nv10GetConfig()
277 par->RamAmountKBytes = (((amt >> 4) & 127) + 1) * 1024; nv10GetConfig()
/linux-4.1.27/include/net/
H A Dsock.h1210 unsigned long amt, memcg_memory_allocated_add()
1213 page_counter_charge(&prot->memory_allocated, amt); memcg_memory_allocated_add()
1221 unsigned long amt) memcg_memory_allocated_sub()
1223 page_counter_uncharge(&prot->memory_allocated, amt); memcg_memory_allocated_sub()
1238 sk_memory_allocated_add(struct sock *sk, int amt, int *parent_status) sk_memory_allocated_add() argument
1243 memcg_memory_allocated_add(sk->sk_cgrp, amt, parent_status); sk_memory_allocated_add()
1245 atomic_long_add_return(amt, prot->memory_allocated); sk_memory_allocated_add()
1249 return atomic_long_add_return(amt, prot->memory_allocated); sk_memory_allocated_add()
1253 sk_memory_allocated_sub(struct sock *sk, int amt) sk_memory_allocated_sub() argument
1258 memcg_memory_allocated_sub(sk->sk_cgrp, amt); sk_memory_allocated_sub()
1260 atomic_long_sub(amt, prot->memory_allocated); sk_memory_allocated_sub()
1387 static inline int sk_mem_pages(int amt) sk_mem_pages() argument
1389 return (amt + SK_MEM_QUANTUM - 1) >> SK_MEM_QUANTUM_SHIFT; sk_mem_pages()
2004 int amt = 0; sock_wspace() local
2007 amt = sk->sk_sndbuf - atomic_read(&sk->sk_wmem_alloc); sock_wspace()
2008 if (amt < 0) sock_wspace()
2009 amt = 0; sock_wspace()
2011 return amt; sock_wspace()
1209 memcg_memory_allocated_add(struct cg_proto *prot, unsigned long amt, int *parent_status) memcg_memory_allocated_add() argument
1220 memcg_memory_allocated_sub(struct cg_proto *prot, unsigned long amt) memcg_memory_allocated_sub() argument
/linux-4.1.27/drivers/infiniband/hw/amso1100/
H A Dc2_mm.c54 u32 pbe_count; /* amt that fits in a PBL msg */ send_pbl_messages()
55 u32 count; /* amt in this PBL MSG. */ send_pbl_messages()
/linux-4.1.27/fs/gfs2/
H A Daops.c566 unsigned amt; gfs2_internal_read() local
571 amt = size - copied; gfs2_internal_read()
573 amt = PAGE_CACHE_SIZE - offset; gfs2_internal_read()
578 memcpy(buf + copied, p + offset, amt); gfs2_internal_read()
581 copied += amt; gfs2_internal_read()
H A Drgrp.c1353 u64 amt; gfs2_fitrim() local
1399 &amt); gfs2_fitrim()
1404 trimmed += amt; gfs2_fitrim()
/linux-4.1.27/fs/xfs/
H A Dxfs_trans.h94 unsigned int t_log_res; /* amt of log space resvd */
H A Dxfs_trans_dquot.c695 * note the reservation amt in the trans struct too, xfs_trans_dqresv()
/linux-4.1.27/drivers/infiniband/hw/qib/
H A Dqib_init.c1594 unsigned amt; qib_create_rcvhdrq() local
1601 amt = ALIGN(dd->rcvhdrcnt * dd->rcvhdrentsize * qib_create_rcvhdrq()
1609 &dd->pcidev->dev, amt, &rcd->rcvhdrq_phys, qib_create_rcvhdrq()
1616 amt, rcd->ctxt); qib_create_rcvhdrq()
1637 rcd->rcvhdrq_size = amt; qib_create_rcvhdrq()
1653 dma_free_coherent(&dd->pcidev->dev, amt, rcd->rcvhdrq, qib_create_rcvhdrq()
/linux-4.1.27/drivers/infiniband/hw/ipath/
H A Dipath_driver.c1770 int amt = ALIGN(dd->ipath_rcvhdrcnt * dd->ipath_rcvhdrentsize * ipath_create_rcvhdrq() local
1774 &dd->pcidev->dev, amt, &pd->port_rcvhdrq_phys, ipath_create_rcvhdrq()
1780 amt, pd->port_port); ipath_create_rcvhdrq()
1794 dma_free_coherent(&dd->pcidev->dev, amt, ipath_create_rcvhdrq()
1806 pd->port_rcvhdrq_size = amt; ipath_create_rcvhdrq()
1810 amt >> PAGE_SHIFT, pd->port_rcvhdrq, ipath_create_rcvhdrq()
/linux-4.1.27/drivers/misc/mei/
H A Damthif.c312 * mei_amthif_run_next_cmd - send next amt command from queue
/linux-4.1.27/arch/alpha/kernel/
H A Dcore_t2.c4 * Written by Jay A Estabrook (jestabro@amt.tay1.dec.com).
/linux-4.1.27/net/sctp/
H A Dsocket.c118 int amt; sctp_wspace() local
121 amt = asoc->sndbuf_used; sctp_wspace()
123 amt = sk_wmem_alloc_get(asoc->base.sk); sctp_wspace()
125 if (amt >= asoc->base.sk->sk_sndbuf) { sctp_wspace()
127 amt = 0; sctp_wspace()
129 amt = sk_stream_wspace(asoc->base.sk); sctp_wspace()
130 if (amt < 0) sctp_wspace()
131 amt = 0; sctp_wspace()
134 amt = asoc->base.sk->sk_sndbuf - amt; sctp_wspace()
136 return amt; sctp_wspace()
7030 int amt = 0; sctp_writeable() local
7032 amt = sk->sk_sndbuf - sk_wmem_alloc_get(sk); sctp_writeable()
7033 if (amt < 0) sctp_writeable()
7034 amt = 0; sctp_writeable()
7035 return amt; sctp_writeable()
/linux-4.1.27/net/core/
H A Dsock.c2004 int amt = sk_mem_pages(size); __sk_mem_schedule() local
2008 sk->sk_forward_alloc += amt * SK_MEM_QUANTUM; __sk_mem_schedule()
2010 allocated = sk_memory_allocated_add(sk, amt, &parent_status); __sk_mem_schedule()
2071 sk->sk_forward_alloc -= amt * SK_MEM_QUANTUM; __sk_mem_schedule()
2073 sk_memory_allocated_sub(sk, amt); __sk_mem_schedule()
/linux-4.1.27/arch/alpha/include/asm/
H A Dcore_t2.h20 * jestabro@amt.tay1.dec.com Initial Version.
/linux-4.1.27/drivers/tty/
H A Dn_tty.c1957 int amt = poll && !TIME_CHAR(tty) && MIN_CHAR(tty) ? MIN_CHAR(tty) : 1; input_available_p() local
1962 return ldata->commit_head - ldata->read_tail >= amt; input_available_p()
/linux-4.1.27/net/ipv4/
H A Dtcp_output.c2822 int amt, status; sk_forced_wmem_schedule() local
2826 amt = sk_mem_pages(size); sk_forced_wmem_schedule()
2827 sk->sk_forward_alloc += amt * SK_MEM_QUANTUM; sk_forced_wmem_schedule()
2828 sk_memory_allocated_add(sk, amt, &status); sk_forced_wmem_schedule()
/linux-4.1.27/arch/m68k/ifpsp060/src/
H A Dpfpsp.S1453 neg.w %d0 # -shft amt
1485 neg.w %d0 # -shft amt
2316 addi.w &0x3f81,%d0 # find amt to shift
3460 mov.l &11,%d0 # load shift amt
3909 mov.l %a0,%d0 # pass amt to inc by
3920 mov.l %a0,%d0 # pass amt to dec by
5917 # %d1 = "n" = amt to shift
5943 cmpi.w %d1, &29 # is shft amt >= 29
5969 # %d1 = "n" = amt to shift
6029 # %d1 = amt to shift
6034 cmpi.w %d1, &65 # is shift amt > 65?
6563 sub.w &32, %d1 # adjust shft amt by 32
7320 neg.w %d0 # new exp = -(shft amt)
H A Dfpsp.S1454 neg.w %d0 # -shft amt
1486 neg.w %d0 # -shft amt
2317 addi.w &0x3f81,%d0 # find amt to shift
3461 mov.l &11,%d0 # load shift amt
7637 neg.w %d0 # new exp = -(shft amt)
9623 cmpi.w %d0,&-0x3fff # is the shft amt really low?
9658 addi.w &0x3fff,%d0 # turn src amt into exp value
18111 movq.l &0x1,%d0 # pass amt to inc by
18129 movq.l &0x1,%d0 # pass amt to dec by
19396 mov.l %a0,%d0 # pass amt to inc by
19407 mov.l %a0,%d0 # pass amt to dec by
19983 sub.w %d0, %d1 # exp = 0x3f81 - shft amt.
20069 sub.w %d0, %d1 # exp = 0x3c01 - shft amt.
20419 neg.w %d0 # new exp = -(shft amt)
21795 # %d1 = "n" = amt to shift
21821 cmpi.w %d1, &29 # is shft amt >= 29
21847 # %d1 = "n" = amt to shift
21907 # %d1 = amt to shift
21912 cmpi.w %d1, &65 # is shift amt > 65?
22441 sub.w &32, %d1 # adjust shft amt by 32
H A Dfplsp.S7531 neg.w %d0 # new exp = -(shft amt)
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-4.1.27/drivers/video/fbdev/
H A Duvesafb.c49 static int vram_remap; /* set amt. of memory to be used */

Completed in 1223 milliseconds