Searched refs:to (Results 601 - 625 of 1529) sorted by relevance

<<21222324252627282930>>

/linux-master/fs/erofs/
H A Ddata.c29 * Derive the block size from inode->i_blkbits to make compatible with
49 /* should already be PageUptodate, no need to lock page */
352 * locking needs to be held at the moment.
369 static ssize_t erofs_file_read_iter(struct kiocb *iocb, struct iov_iter *to) argument
374 if (!iov_iter_count(to))
379 return dax_iomap_rw(iocb, to, &erofs_iomap_ops);
390 if ((iocb->ki_pos | iov_iter_count(to) |
391 iov_iter_alignment(to)) & blksize_mask)
394 return iomap_dio_rw(iocb, to, &erofs_iomap_ops,
397 return filemap_read(iocb, to,
[all...]
/linux-master/arch/arm/mach-omap2/
H A Dsleep34xx.S56 * This file needs be built unconditionally as ARM to interoperate correctly
67 * L2 cache needs to be toggled for stable OFF mode functionality on 3630.
68 * This function sets up a flag that will allow for this toggling to take
77 str r1, [r2, r3] @ write to l2dis_3630
82 * Function to call rom code to save secure ram context.
117 * power domains states to the desired target power states.
121 * - only the minimum set of functions gets copied to internal SRAM at boot
142 * For OFF mode: save context and jump to WFI in SDRAM (omap3_do_wfi)
143 * For non-OFF modes: jump to th
[all...]
/linux-master/fs/
H A Dchar_dev.c92 * If major > 0 this function will attempt to reserve the range of minors
203 dev_t to = from + count; local
206 for (n = from; n < to; n = next) {
208 if (next > to)
209 next = to;
217 to = n;
218 for (n = from; n < to; n = next) {
258 * If @major > 0 this function will attempt to reserve a device with the given
263 * The name of this device has nothing to do with the name of the device in
264 * /dev. It only helps to kee
313 dev_t to = from + count; local
[all...]
H A Dsignalfd.c8 * Changed ->read() to return a siginfo strcture instead of signal number.
13 * Thanks to Oleg Nesterov for useful code review and suggestions.
18 * Attach to the sighand only during read() and poll().
71 static int signalfd_copyinfo(struct iov_iter *to, kernel_siginfo_t const *kinfo) argument
108 * Fall through to the SIL_FAULT case. SIL_FAULT_BNDERR,
110 * generated by faults that deliver them synchronously to
148 if (!copy_to_iter_full(&new, sizeof(struct signalfd_siginfo), to))
201 static ssize_t signalfd_read_iter(struct kiocb *iocb, struct iov_iter *to) argument
205 size_t count = iov_iter_count(to);
219 ret = signalfd_copyinfo(to,
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Drss.c107 static int mlx5e_rss_copy(struct mlx5e_rss *to, const struct mlx5e_rss *from) argument
111 if (to->indir.actual_table_size != from->indir.actual_table_size ||
112 to->indir.max_table_size != from->indir.max_table_size) {
113 mlx5e_rss_warn(to->mdev,
114 "Failed to copy RSS due to size mismatch, src (actual %u, max %u) != dst (actual %u, max %u)\n",
116 to->indir.actual_table_size, to->indir.max_table_size);
120 dst_indir_table = to->indir.table;
121 *to
[all...]
/linux-master/include/linux/mtd/
H A Dmtd.h28 * or was not specific to any particular block.
53 * @len: number of data bytes to write/read
57 * @ooblen: number of oob bytes to write/read
64 * Note, some MTD drivers do not allow you to write more than one OOB area at
65 * one go. If you try to do that on such an MTD device, -EINVAL will be
66 * returned. If you want to make your implementation portable on all kind of MTD
88 * to retrieve ECC or free bytes sections.
124 * seen as the bit position in the cell: page attached to bit 0 belongs to
125 * group 0, page attached to bi
[all...]
/linux-master/sound/core/
H A Djack.c20 struct list_head list; /* list of controls belong to the same jack */
22 struct snd_jack *jack; /* pointer to struct snd_jack */
23 bool sw_inject_enable; /* allow to inject plug event via debugfs */
54 * then we need to use a different deallocator. */
102 /* Default to the sound card device. */
169 char __user *to, size_t count, loff_t *ppos)
177 ret = simple_read_from_buffer(to, count, ppos, buf, len);
228 char __user *to, size_t count, loff_t *ppos)
235 ret = simple_read_from_buffer(to, count, ppos, buf, len);
266 char __user *to, size_
168 sw_inject_enable_read(struct file *file, char __user *to, size_t count, loff_t *ppos) argument
227 jack_kctl_id_read(struct file *file, char __user *to, size_t count, loff_t *ppos) argument
265 jack_kctl_mask_bits_read(struct file *file, char __user *to, size_t count, loff_t *ppos) argument
278 jack_kctl_status_read(struct file *file, char __user *to, size_t count, loff_t *ppos) argument
293 jack_type_read(struct file *file, char __user *to, size_t count, loff_t *ppos) argument
[all...]
/linux-master/net/netfilter/
H A Dxt_hashlimit.c3 * xt_hashlimit - Netfilter module to limit the number of packets per time
66 /* need to declare this at the top */
139 cfg_copy(struct hashlimit_cfg3 *to, const void *from, int revision) argument
144 to->mode = cfg->mode;
145 to->avg = cfg->avg;
146 to->burst = cfg->burst;
147 to->size = cfg->size;
148 to->max = cfg->max;
149 to->gc_interval = cfg->gc_interval;
150 to
[all...]
/linux-master/net/sunrpc/
H A Dsocklib.c34 typedef size_t (*xdr_skb_read_actor)(struct xdr_skb_reader *desc, void *to,
38 * xdr_skb_read_bits - copy some data bits from skb to internal buffer
40 * @to: copy destination
41 * @len: number of bytes to copy
43 * Possibly called several times to iterate over an sk_buff and copy
47 xdr_skb_read_bits(struct xdr_skb_reader *desc, void *to, size_t len) argument
51 if (unlikely(skb_copy_bits(desc->skb, desc->offset, to, len)))
59 * xdr_skb_read_and_csum_bits - copy and checksum from skb to buffer
61 * @to: copy destination
62 * @len: number of bytes to cop
66 xdr_skb_read_and_csum_bits(struct xdr_skb_reader *desc, void *to, size_t len) argument
[all...]
/linux-master/net/rds/
H A Dtcp_recv.c4 * This software is available to you under a choice of one of two
5 * licenses. You may choose to be licensed under the terms of the GNU
63 int rds_tcp_inc_copy_to_user(struct rds_incoming *inc, struct iov_iter *to) argument
69 if (!iov_iter_count(to))
77 to_copy = iov_iter_count(to);
80 if (skb_copy_datagram_iter(skb, skb_off, to, to_copy))
86 if (!iov_iter_count(to))
96 * bitmap. They must add up to the exact size of the congestion bitmap. We
97 * use the skb helpers to copy those into the pages that make up the in-memory
102 * This is racing with sending paths which are using test_bit to se
[all...]
/linux-master/drivers/gpu/drm/display/
H A Ddrm_dp_aux_dev.c4 * 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:
146 static ssize_t auxdev_read_iter(struct kiocb *iocb, struct iov_iter *to) argument
155 iov_iter_truncate(to, AUX_MAX_OFFSET - pos);
157 while (iov_iter_count(to)) {
[all...]
/linux-master/drivers/s390/char/
H A Dmonwriter.c224 void *to; local
231 to = (char *) &monpriv->hdr +
233 if (copy_from_user(to, data + written, len)) {
250 to = monpriv->current_buf->data +
252 if (copy_from_user(to, data + written, len)) {
299 * misc_register() has to be the last action in module_init(), because
H A Dsclp_vt220.c59 /* Structures and data needed to register tty driver */
64 /* Lock to protect internal data from concurrent access */
67 /* List of empty pages to be used as write request buffers */
76 /* Timer used for delaying write requests to merge subsequent messages into
80 /* Pointer to current request buffer which has been partially filled but not
122 /* Put buffer back to list of empty buffers */
125 /* Move request from outqueue to empty queue */
201 * Emit vt220 request buffer to SCLP. Return zero on success, non-zero
257 * Helper function to initialize a page with the sclp request structure.
300 * Add msg to buffe
311 int to; local
[all...]
/linux-master/fs/affs/
H A Dfile.c70 /* need to recalculate linear cache, start from old size */
77 /* fix idx and old size to new shift */
81 /* first shrink old cache to make more space */
90 /* fill cache to the needed index */
165 /* we have to do more (not inlined) */
194 /* we seek back to the file header block */
243 /* try to find one of the previous extended blocks */
254 /* fall back to the linear cache */
385 static void affs_write_failed(struct address_space *mapping, loff_t to) argument
389 if (to > inod
526 affs_do_read_folio_ofs(struct folio *folio, size_t to, int create) argument
632 size_t to; local
698 unsigned from, to; local
[all...]
/linux-master/drivers/mtd/devices/
H A Dbcm47xxsflash.c60 pr_err("Timeout waiting for flash to be ready!\n");
182 /* If we don't overwrite whole page, read it to the buffer first */
216 static int bcm47xxsflash_write(struct mtd_info *mtd, loff_t to, size_t len, argument
228 written = bcm47xxsflash_write_st(mtd, to, len, buf);
231 written = bcm47xxsflash_write_at(mtd, to, len, buf);
237 pr_err("Error writing at offset 0x%llX\n", to);
240 to += (loff_t)written;
314 * allowing us to use cached access and gain some performance. Trying
316 * to use uncached access for it.
349 pr_err("Failed to registe
[all...]
/linux-master/arch/m68k/fpsp040/
H A Ddo_func.S5 | to be performed is determined from the lower 7 bits of the
14 | and combined to form the table index. The function called
15 | will start with a0 pointing to the ETEMP operand. Dyadic
73 jmp smovcr |fmovecr; jmp directly to emulation
85 leal ETEMP(%a6),%a0 |a0 is pointer to src op
101 | Load a signed zero to fp0 and set inex2/ainex
113 | Load a signed zero to fp0; do not set inex2/ainex
121 | Load a signed infinity to fp0; do not set inex2/ainex
129 | Load a signed one to fp0; do not set inex2/ainex
137 | Load a signed pi/2 to fp
[all...]
/linux-master/drivers/infiniband/core/
H A Duverbs_ioctl.c4 * This software is available to you under a choice of one of two
5 * licenses. You may choose to be licensed under the terms of the GNU
74 * Each method has an absolute minimum amount of memory it needs to allocate,
99 * @size: Number of bytes to allocate
103 * processing the system call related to the bundle. The allocated memory is
107 * This tries to use a small pool of pre-allocated memory for performance.
199 * to store idrs array and avoid additional memory allocation. The
200 * idrs array is offset to the end of the uobjects array so we will be
201 * able to read idr and replace with a pointer.
272 * struct is zero. Userspace that knows how to us
652 uverbs_get_flags64(u64 *to, const struct uverbs_attr_bundle *attrs_bundle, size_t idx, u64 allowed_bits) argument
685 uverbs_get_flags32(u32 *to, const struct uverbs_attr_bundle *attrs_bundle, size_t idx, u64 allowed_bits) argument
775 _uverbs_get_const_signed(s64 *to, const struct uverbs_attr_bundle *attrs_bundle, size_t idx, s64 lower_bound, u64 upper_bound, s64 *def_val) argument
799 _uverbs_get_const_unsigned(u64 *to, const struct uverbs_attr_bundle *attrs_bundle, size_t idx, u64 upper_bound, u64 *def_val) argument
[all...]
/linux-master/fs/xfs/
H A Dxfs_file.c39 * Decide if the given file range is aligned to the size of the fundamental
59 * as there is no file data to flush, and thus also no need for explicit
89 * All metadata updates are logged, which means that we just have to flush the
90 * log up to the latest LSN that touched the inode.
92 * If we have concurrent fsync/fdatasync() calls, we need them to all block on
94 * we don't get a racing sync operation that does not wait for the metadata to
148 * If we have an RT and/or log subvolume we need to make sure to flush
149 * the write cache the device used for file data first. This is to
150 * ensure newly written file data make it to dis
242 xfs_file_dio_read( struct kiocb *iocb, struct iov_iter *to) argument
266 xfs_file_dax_read( struct kiocb *iocb, struct iov_iter *to) argument
289 xfs_file_buffered_read( struct kiocb *iocb, struct iov_iter *to) argument
308 xfs_file_read_iter( struct kiocb *iocb, struct iov_iter *to) argument
[all...]
/linux-master/arch/s390/kernel/
H A Dptrace.c261 * Handle access to the per_info structure.
297 * debugger user can write to.
298 * 1) cr9: the debugger wants to set a new PER event mask
299 * 2) starting_addr: the debugger wants to set a new starting
300 * address to use with the PER event mask.
301 * 3) ending_addr: the debugger wants to set a new ending
302 * address to use with the PER event mask.
305 * Writes to any other field in per_info are ignored.
320 * Write a word to the user area of a process at location addr. This
321 * operation does have an additional problem compared to peek_use
813 s390_regs_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
862 s390_fpregs_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
908 s390_last_break_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
923 s390_tdb_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
944 s390_vxrs_low_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
984 s390_vxrs_high_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
1013 s390_system_call_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
1030 s390_gs_cb_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
1084 s390_gs_bc_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
1142 s390_runtime_instr_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
1298 s390_compat_regs_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
1348 s390_compat_regs_high_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
1394 s390_compat_last_break_get(struct task_struct *target, const struct user_regset *regset, struct membuf to) argument
[all...]
/linux-master/net/ipv4/
H A Dip_output.c109 /* if egress device is enslaved to an L3 master device pass the
110 * skb to its handler for processing
146 * Add an ip header to a skbuff and send it out.
269 * bridged to a NETIF_F_TSO tunnel stacked over an interface with an
352 * this to non-zero causes ipi_ifindex in in_pktinfo to be overwritten,
387 Note, that local frames are looped back to be delivered
388 to local recipients.
442 * Equivalent to :
508 /* OK, we know where to sen
553 ip_copy_metadata(struct sk_buff *to, struct sk_buff *from) argument
663 ip_frag_ipcb(struct sk_buff *from, struct sk_buff *to, bool first_frag) argument
934 ip_generic_getfrag(void *from, char *to, int offset, int len, int odd, struct sk_buff *skb) argument
951 __ip_append_data(struct sock *sk, struct flowi4 *fl4, struct sk_buff_head *queue, struct inet_cork *cork, struct page_frag *pfrag, int getfrag(void *from, char *to, int offset, int len, int odd, struct sk_buff *skb), void *from, int length, int transhdrlen, unsigned int flags) argument
1344 ip_append_data(struct sock *sk, struct flowi4 *fl4, int getfrag(void *from, char *to, int offset, int len, int odd, struct sk_buff *skb), void *from, int length, int transhdrlen, struct ipcm_cookie *ipc, struct rtable **rtp, unsigned int flags) argument
1535 ip_make_skb(struct sock *sk, struct flowi4 *fl4, int getfrag(void *from, char *to, int offset, int len, int odd, struct sk_buff *skb), void *from, int length, int transhdrlen, struct ipcm_cookie *ipc, struct rtable **rtp, struct inet_cork *cork, unsigned int flags) argument
1572 ip_reply_glue_bits(void *dptr, char *to, int offset, int len, int odd, struct sk_buff *skb) argument
[all...]
/linux-master/drivers/staging/media/atomisp/pci/runtime/frame/src/
H A Dframe.c210 /* Needs 3 extra lines to allow vf_pp prefetching */
276 * Frames with a U and V plane of 8 bits per pixel need to have
471 /* Frame height needs to be even number - needed by hw ISYS2401
472 In case of odd number, round up to even.
692 * to configure DMA for the output buffer,
716 struct ia_css_frame_sp_info *to,
719 ia_css_resolution_to_sp_resolution(&to->res, &from->res);
720 to->padded_width = (uint16_t)from->padded_width;
721 to->format = (uint8_t)from->format;
722 to
715 ia_css_frame_info_to_frame_sp_info( struct ia_css_frame_sp_info *to, const struct ia_css_frame_info *from) argument
726 ia_css_resolution_to_sp_resolution( struct ia_css_sp_resolution *to, const struct ia_css_resolution *from) argument
[all...]
/linux-master/arch/s390/boot/
H A Dhead.S11 * 2) linload will load the image from address 0x10000 to memory 0x10000
15 * In case of SL tape you need to IPL 5 times to get past VOL1 etc
16 * 4) generate the vm reader ipl header, move the generated image to the
19 * We use the cpuid to distinguish between VM and native ipl
20 * params for kernel are pushed to 0x10400 (see setup.h)
39 slr %r0,%r0 # set cpuid to zero
41 sigp %r1,%r0,0x12 # switch to esame mode
42 sam64 # switch to 64 bit addressing mode
48 larl %r12,parmarea # pointer to paramete
[all...]
/linux-master/net/batman-adv/
H A Dmulticast_forw.c43 * @skb: the skb to push onto
44 * @size: the amount of bytes to push
48 * to the given len pointer.
60 * batadv_mcast_forw_push_padding() - push 2 padding bytes to skb's front
61 * @skb: the skb to push onto
64 * Pushes two padding bytes to the front of the given skb.
66 * Return: On success a pointer to the first byte of the two pushed padding
86 * @skb: the skb to potentially push the padding onto
87 * @count: the (estimated) number of originators the multicast packet needs to
88 * be sent to
371 char *to, *from; local
414 char *to, *from = skb->data; local
[all...]
/linux-master/fs/ufs/
H A Dinode.c25 * Big-endian to little-endian byte-swapping/bitmaps by
90 Indirect *from, Indirect *to)
94 to->bh = bh;
97 to->key32 = *(__fs32 *)(to->p = v);
98 for (p = from; p <= to && p->key32 == *(__fs32 *)p->p; p++)
101 return (p > to);
106 Indirect *from, Indirect *to)
110 to->bh = bh;
113 to
88 grow_chain32(struct ufs_inode_info *ufsi, struct buffer_head *bh, __fs32 *v, Indirect *from, Indirect *to) argument
104 grow_chain64(struct ufs_inode_info *ufsi, struct buffer_head *bh, __fs64 *v, Indirect *from, Indirect *to) argument
489 ufs_write_failed(struct address_space *mapping, loff_t to) argument
885 u64 to; member in struct:to_free
[all...]
/linux-master/tools/testing/ktest/
H A Dktest.pl244 # tell build not to worry about warnings, even when WARNINGS_FILE is set
392 For build only tests, it is still needed to differentiate log files.
396 The box is expected to have ssh on normal bootup, provide the user
414 The location of the compiled file to copy to the target.
415 (relative to OUTPUT_DIR)
419 Options to add to \"make\" when building.
424 The place to put your image on the test machine.
428 A script or command to reboo
[all...]

Completed in 286 milliseconds

<<21222324252627282930>>