Searched refs:to (Results 501 - 525 of 1529) sorted by relevance

<<21222324252627282930>>

/linux-master/drivers/mtd/maps/
H A Dpcmciamtd.c60 /* Force card to be treated as FLASH, ROM or RAM */
80 /* read/write{8,16} copy_{from,to} routines with window remapping
81 * to access whole card
83 static void __iomem *remap_window(struct map_info *map, unsigned long to) argument
95 offset = to & ~(dev->win_size-1);
97 pr_debug("Remapping window from 0x%8.8x to 0x%8.8x\n",
104 return dev->win_base + (to & (dev->win_size-1));
138 static void pcmcia_copy_from_remap(struct map_info *map, void *to, unsigned long from, ssize_t len) argument
143 pr_debug("to = %p from = %lu len = %zd\n", to, fro
187 pcmcia_copy_to_remap(struct map_info *map, unsigned long to, const void *from, ssize_t len) argument
247 pcmcia_copy_from(struct map_info *map, void *to, unsigned long from, ssize_t len) argument
285 pcmcia_copy_to(struct map_info *map, unsigned long to, const void *from, ssize_t len) argument
[all...]
/linux-master/drivers/gpu/drm/amd/amdkfd/
H A Dcwsr_trap_handler_gfx8.asm4 * Permission is hereby granted, free of charge, to any person obtaining a
6 * to deal in the Software without restriction, including without limitation
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8 * and/or sell copies of the Software, and to permit persons to whom the
9 * Software is furnished to do so, subject to the following conditions:
79 var S_SAVE_PC_HI_RCNT_SHIFT = 28 //FIXME check with Brian to ensure all fields other than PC[47:0] can be used
87 //tba_lo and tba_hi need to be saved/restored
127 var s_restore_tmp = ttmp6 //tba_lo/hi need to b
[all...]
H A Dcwsr_trap_handler_gfx9.asm4 * Permission is hereby granted, free of charge, to any person obtaining a
6 * to deal in the Software without restriction, including without limitation
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8 * and/or sell copies of the Software, and to permit persons to whom the
9 * Software is furnished to do so, subject to the following conditions:
222 // Spin wait until context saved to prevent interrupt storm.
233 // exceptions always cause the wave to enter the trap handler.
244 // Maskable exceptions only cause the wave to ente
[all...]
/linux-master/arch/m68k/fpsp040/
H A Dget_op.S9 | determines the opclass (0, 2, or 3) and branches to the
24 | changed but passed to the next module. The next module for
31 | number is packed and written to user memory. For the other
32 | opclasses the number(s) are written back to the fsave stack
34 | '040 is then able to complete the instruction.
38 | The '040 takes an unsupported data trap and gets to this
40 | then an frestore is done to restore the instruction back into
47 | routine which converts the unnorm to a norm (called mk_norm)
49 | res_func sees the denorm tag and converts the denorm to a
77 |round to neares
[all...]
H A Dsto_res.S6 | users destination register then fp0 is moved to the
8 | are then restored to the original contents.
14 | Output: moves the result to the true destination reg or mem
/linux-master/arch/m68k/ifpsp060/
H A Diskeleton.S13 |and any warranty against infringement with regard to the SOFTWARE
23 |You are hereby granted a copyright license to use, modify, and distribute the SOFTWARE
60 | _isp_unimp() branches to here so that the operating system
63 | the PC pointing to the instruction following the instruction
68 | Linux/68k: If returning to user space, check for needed reselections.
88 | stack frame and branches to this routine.
114 bral trap | jump to trap handler
123 | Integer Instruction stack frame and branches to this routine.
128 | stack frame and branches to the _real_trace() entry point.
154 bral trap | jump to tra
[all...]
H A Dos.S13 |and any warranty against infringement with regard to the SOFTWARE
23 |You are hereby granted a copyright license to use, modify, and distribute the SOFTWARE
57 | Each IO routine checks to see if the memory write/read is to/from user
64 | The addresses within the 060SP are guaranteed to be on the stack.
65 | The result is that Unix processes are allowed to sleep as a consequence
76 | Writes to data memory while in supervisor mode.
81 | d0 - number of bytes to write
112 | d0 - number of bytes to read
234 | Write a data byte to use
[all...]
/linux-master/net/netfilter/
H A Dxt_connbytes.c1 /* Kernel module to match connection tracking byte counter.
26 u_int64_t what = 0; /* initialize to make gcc happy */
92 if (sinfo->count.to >= sinfo->count.from)
93 return what <= sinfo->count.to && what >= sinfo->count.from;
95 return what < sinfo->count.to || what > sinfo->count.from;
123 pr_warn("Forcing CT accounting to be enabled\n");
/linux-master/net/qrtr/
H A Dtun.c59 static ssize_t qrtr_tun_read_iter(struct kiocb *iocb, struct iov_iter *to) argument
76 count = min_t(size_t, iov_iter_count(to), skb->len);
77 if (copy_to_iter(skb->data, count, to) != count)
162 pr_err("failed to register Qualcomm IPC Router tun device\n");
/linux-master/arch/x86/um/
H A Dsignal.c26 unsigned int tmp; /* to avoid 16 bit prefixes in the code */
31 /* and move the valid bits to the lower byte. */
87 struct _fpreg __user *to; local
102 to = &buf->_st[0];
104 for (i = 0; i < 8; i++, to++, from++) {
105 unsigned long __user *t = (unsigned long __user *)to;
110 __put_user(from->exponent, &to->exponent))
120 struct _fpxreg *to; local
136 to = (struct _fpxreg *) &fxsave->st_space[0];
138 for (i = 0; i < 8; i++, to
237 copy_sc_to_user(struct sigcontext __user *to, struct _xstate __user *to_fp, struct pt_regs *regs, unsigned long mask) argument
[all...]
/linux-master/drivers/gpu/drm/etnaviv/
H A Detnaviv_drv.h107 * We need to calculate the timeout in terms of number of jiffies
113 struct timespec64 ts, to = { local
121 if (timespec64_compare(&to, &ts) <= 0)
124 ts = timespec64_sub(to, ts);
/linux-master/drivers/net/ethernet/8390/
H A Dmac8390.c13 * and fixed access to Sonic Sys card which masquerades as a Farallon
15 /* 2002-12-30: Try to support more cards, some clues from NetBSD driver */
60 * Unfortunately it seems we have to hardcode these for the moment
62 * Does anyone know where to read it off the card?
140 /* dayna_memcpy to and from card */
141 static void dayna_memcpy_fromcard(struct net_device *dev, void *to,
143 static void dayna_memcpy_tocard(struct net_device *dev, int to,
211 * These correspond to Dayna Sonic cards
254 /* Check up to 32K in 4K increments */
296 /* This is getting to b
653 dayna_memcpy_fromcard(struct net_device *dev, void *to, int from, int count) argument
677 dayna_memcpy_tocard(struct net_device *dev, int to, const void *from, int count) argument
826 volatile unsigned short *to = (void *)tp; local
838 unsigned short *to = tp; local
[all...]
/linux-master/kernel/bpf/
H A Ddispatcher.c10 * dispatcher is a mechanism to avoid the performance penalty of an
13 * there is available room in the dispatcher a direct call to the BPF
14 * program will be generated. All calls to the BPF programs called via
118 * bpf_arch_text_copy to update d->image, which is RO+X.
138 struct bpf_prog *to)
143 if (from == to)
162 changed |= bpf_dispatcher_add_prog(d, to);
137 bpf_dispatcher_change_prog(struct bpf_dispatcher *d, struct bpf_prog *from, struct bpf_prog *to) argument
/linux-master/tools/testing/selftests/sgx/
H A Dtest_encl_bootstrap.S46 # then add the address of encl_stack to get the address for the stack.
53 # Entry point for dynamically created TCS page expected to follow
68 # EENTER to RBX.
/linux-master/arch/sparc/include/asm/
H A Dpage_64.h49 void copy_user_page(void *to, void *from, unsigned long vaddr, struct page *topage);
52 void copy_user_highpage(struct page *to, struct page *from,
55 void copy_highpage(struct page *to, struct page *from);
61 * let's enable it to get the type checking.
67 /* These are used to make use of C type-checking.. */
137 * evaluates to.
/linux-master/arch/s390/include/asm/
H A Dgmap.h27 * @mm: pointer to the parent mm_struct
28 * @guest_to_host: radix tree with guest to host address translation
29 * @host_to_guest: radix tree with pointer to segment table entries
30 * @guest_table_lock: spinlock to protect all entries in the guest page table
32 * @table: pointer to the page directory
39 * @shadow_lock: spinlock to protect the shadow gmap list
40 * @parent: pointer to the parent gmap for shadow guest address spaces
42 * @edat_level: edat level to be used for the shadow translation
43 * @removed: flag to indicate if a shadow guest address space has been removed
44 * @initialized: flag to indicat
[all...]
/linux-master/net/core/
H A Ddatagram.c19 * Alan Cox : Rewrote skb_read_datagram to avoid the
85 * Wait for the last received packet to be different from skb
144 /* We have to unshare an skb before modifying it. */
209 * @queue: socket queue from which to receive
211 * @off: an offset in bytes to peek skb from. Returns an offset
214 * @last: set to last peeked message to inform the wait function
215 * what to look for when peeking
224 * the caller needs to unlock the socket in that case (usually by
225 * calling skb_free_datagram). Returns NULL with @err set to
388 __skb_datagram_iter(const struct sk_buff *skb, int offset, struct iov_iter *to, int len, bool fault_short, size_t (*cb)(const void *, size_t, void *, struct iov_iter *), void *data) argument
501 skb_copy_and_hash_datagram_iter(const struct sk_buff *skb, int offset, struct iov_iter *to, int len, struct ahash_request *hash) argument
523 skb_copy_datagram_iter(const struct sk_buff *skb, int offset, struct iov_iter *to, int len) argument
782 skb_copy_and_csum_datagram(const struct sk_buff *skb, int offset, struct iov_iter *to, int len, __wsum *csump) argument
[all...]
/linux-master/fs/netfs/
H A Dmisc.c12 * Attach a folio to the buffer and maybe set marks on it to say that we need
13 * to put the folio later and twiddle the pagecache flags.
42 * Create the specified range of folios in the buffer attached to the read
48 pgoff_t index, pgoff_t to, gfp_t gfp_mask)
53 if (to + 1 == index) /* Page range is inclusive */
70 } while (index <= to && index != 0);
94 * @mapping: The mapping the folio belongs to.
98 * that writeback can later write to it. This is intended to b
46 netfs_add_folios_to_buffer(struct xarray *buffer, struct address_space *mapping, pgoff_t index, pgoff_t to, gfp_t gfp_mask) argument
[all...]
/linux-master/tools/testing/selftests/net/netfilter/
H A Dnf_nat_edemux.sh42 # Restrict source port to just one so we don't have to exhaust
47 ip netns exec "$ns2" iptables -t nat -A OUTPUT -d 10.96.0.1/32 -p tcp --dport 443 -j DNAT --to-destination 192.168.1.1:5201
49 # ... and route it to the other namespace
57 # ip daddr:dport will be rewritten to 192.168.1.1 5201
63 # Check socat can connect to 10.96.0.1:443 (aka 192.168.1.1:5201).
71 ip netns exec "$ns1" iptables -t nat -A PREROUTING -p tcp --dport 5202 -j REDIRECT --to-ports 5201
72 ip netns exec "$ns1" iptables -t nat -A PREROUTING -p tcp --dport 5203 -j REDIRECT --to-ports 5201
76 # if connect succeeds, client closes instantly due to EOF on stdin.
87 # 'cpid2' to connec
[all...]
/linux-master/include/linux/
H A Dio.h21 void __iowrite32_copy(void __iomem *to, const void *from, size_t count);
24 void __ioread32_copy(void *to, const void __iomem *from, size_t count);
27 void __iowrite64_copy(void __iomem *to, const void *from, size_t count);
94 * implementation attempts to use the ioremap_np() API to provide this
95 * on arches that support it, and falls back to ioremap() on those that
98 * this default implementation can then use to return mappings compliant with
121 * Some systems (x86 without PAT) have a somewhat reliable way to mark a
129 * to have no effect.
170 * wishes to ma
[all...]
/linux-master/fs/
H A Deventpoll.c51 * The acquire order is the one listed above, from 1 to 3.
56 * a spinlock. During the event transfer loop (from kernel to
58 * we need a lock that will allow us to sleep. This lock is a
64 * could lead to deadlock. We need a global mutex to prevent two
67 * going to.
68 * It is necessary to acquire multiple "ep->mtx"es at once in the
69 * case when one epoll fd is added to another. In this case, we
74 * order to communicate this nesting to lockde
1909 ep_timeout_to_timespec(struct timespec64 *to, long ms) argument
1972 ktime_t expires, *to = NULL; local
2151 ep_loop_check(struct eventpoll *ep, struct eventpoll *to) argument
2429 do_epoll_wait(int epfd, struct epoll_event __user *events, int maxevents, struct timespec64 *to) argument
2474 struct timespec64 to; local
2484 do_epoll_pwait(int epfd, struct epoll_event __user *events, int maxevents, struct timespec64 *to, const sigset_t __user *sigmask, size_t sigsetsize) argument
2509 struct timespec64 to; local
2520 struct timespec64 ts, *to = NULL; local
2563 struct timespec64 to; local
2577 struct timespec64 ts, *to = NULL; local
[all...]
/linux-master/arch/sh/lib/
H A Dmemset-sh4.S37 ! Check if enough bytes need to be copied to be worth the big loop
44 ! align the dst to the cache block size if necessary
/linux-master/net/caif/
H A Dcfpkt_skbuff.c176 u8 *to; local
185 /* Check whether we need to add space at the tail */
193 /* Check whether we need to change the SKB before writing to the tail */
203 /* All set to put the last SKB and optionally write data there. */
204 to = pskb_put(skb, lastskb, len);
206 memcpy(to, data, len);
219 u8 *to; local
236 to = skb_push(skb, len);
237 memcpy(to, dat
[all...]
/linux-master/tools/testing/selftests/rcutorture/bin/
H A Dkvm-remote.sh7 # kvm-remote.sh "systems" /path/to/old/run [ <kvm-again.sh args> ]
82 # We are going to run this, so remove the buildonly files.
137 # Check first to avoid the need for cleanup for system-name typos
160 echo Downloading tarball to $i `date` | tee -a "$oldrun/remote-log"
166 echo Unable to download $T/binres.tgz to system $i, waiting and then retrying. $tries prior retries. | tee -a "$oldrun/remote-log"
174 echo Unable to download $T/binres.tgz to system $i, giving up. | tee -a "$oldrun/remote-log"
182 # Function to check for presence of a file on the specified system.
197 echo " ---" ssh failure to
[all...]
/linux-master/fs/coda/
H A Dfile.c7 * Carnegie Mellon encourages users of this code to contribute improvements
8 * to the Coda project. Contact Peter Braam <coda@cs.cmu.edu>.
41 coda_file_read_iter(struct kiocb *iocb, struct iov_iter *to) argument
47 size_t count = iov_iter_count(to);
56 ret = vfs_iter_read(cfi->cfi_container, to, &iocb->ki_pos, 0);
66 coda_file_write_iter(struct kiocb *iocb, struct iov_iter *to) argument
73 size_t count = iov_iter_count(to);
83 ret = vfs_iter_write(cfi->cfi_container, to, &iocb->ki_pos, 0);
206 * should drop the reference to the coda_file that we got.

Completed in 200 milliseconds

<<21222324252627282930>>