Searched refs:to (Results 426 - 450 of 1529) sorted by relevance

<<11121314151617181920>>

/linux-master/fs/proc/
H A Dproc_tty.c71 dev_t to = from + p->num; local
93 while (MAJOR(from) < MAJOR(to)) {
98 if (from != to)
99 show_tty_range(m, p, from, to - from);
128 * This function is called by tty_register_driver() to handle
161 * Called by proc_root_init() to initialize the /proc/tty subtree
170 * serial links which is just too easy to abuse for inferring
/linux-master/tools/include/linux/
H A Dbitfield.h91 * @_val: value to test against the field
104 * @_val: value to put in the field
144 #define ____MAKE_OP(type,base,to,from) \
149 return to((v & field_mask(field)) * field_multiplier(field)); \
154 return (old & ~to(field)) | type##_encode_bits(val, field); \
159 *p = (*p & ~to(field)) | type##_encode_bits(val, field); \
/linux-master/drivers/cpufreq/
H A Dmaple-cpufreq.c66 /* Power mode data is an array of the 32 bits PCR values to use for
80 int to; local
93 for (to = 0; to < 10; to++) {
127 * Common interface to the cpufreq core
168 * to ease merging of two drivers in future.
182 /* we actually don't care on which CPU to access PVR */
216 /* Force apply current frequency to make sure everything is in
/linux-master/drivers/mtd/maps/
H A Dphysmap-gemini.c6 * This SoC has an elaborate flash control register, so we need to
67 dev_err(gf->dev, "failed to enable pins\n");
78 dev_err(gf->dev, "failed to disable pins\n");
103 void *to, unsigned long from,
107 inline_map_copy_from(map, to, from, len);
112 unsigned long to,
116 inline_map_copy_to(map, to, from, len);
146 dev_err(dev, "failed to read global status register\n");
189 dev_err(gf->dev, "failed to disable pins\n");
102 gemini_flash_map_copy_from(struct map_info *map, void *to, unsigned long from, ssize_t len) argument
111 gemini_flash_map_copy_to(struct map_info *map, unsigned long to, const void *from, ssize_t len) argument
H A Dlantiq-flash.c25 * The NOR flash is connected to the same external bus unit (EBU) as PCI.
26 * To make PCI work we need to enable the endianness swapping for the address
27 * written to the EBU. This endianness swapping works for PCI correctly but
28 * fails for attached NOR devices. To workaround this we need to use a complex
31 * unlock addresses to ensure that access to the NOR device works correctly.
76 * The normal alternative of using memcpy_{to,from}io also makes use of
78 * with having to use our own loop.
81 ltq_copy_from(struct map_info *map, void *to, argument
85 unsigned char *t = (unsigned char *)to;
95 ltq_copy_to(struct map_info *map, unsigned long to, const void *from, ssize_t len) argument
[all...]
/linux-master/fs/9p/
H A Dxattr.c25 struct iov_iter to; local
28 iov_iter_kvec(&to, ITER_DEST, &kvec, 1, buffer_size);
42 else /* request to get the attr_size */
45 iov_iter_truncate(&to, attr_size);
46 retval = p9_client_read(attr_fid, 0, &to, &err);
60 * Buffer is NULL to compute the size of the buffer required.
86 * is NULL to remove an existing extended attribute, and non-NULL to
90 * previous to the call, respectively.
126 * On success fid points to xatt
[all...]
/linux-master/tools/perf/util/
H A Dbranch.c19 u64 from, u64 to)
30 if (to > from)
36 if (cross_area(from, to, AREA_2M))
38 else if (cross_area(from, to, AREA_4K))
18 branch_type_count(struct branch_type_stat *st, struct branch_flags *flags, u64 from, u64 to) argument
/linux-master/fs/bfs/
H A Dfile.c34 static int bfs_move_block(unsigned long from, unsigned long to, argument
42 new = sb_getblk(sb, to);
58 dprintf("failed to move block %08lx -> %08lx\n", i,
99 /* The rest has to be protected against itself. */
118 /* Ok, we have to move this entire file to the next free block. */
129 dprintf("failed to move ino=%08lx -> fs corruption\n",
165 static void bfs_write_failed(struct address_space *mapping, loff_t to) argument
169 if (to > inode->i_size)
/linux-master/tools/perf/tests/shell/
H A Dtest_perf_data_converter_json.sh2 # 'perf data convert --to-json' command test
32 echo "Testing Perf Data Convertion Command to JSON"
34 perf data convert --to-json "$result" --force -i "$perfdata" >/dev/null 2>&1
36 echo "Perf Data Converter Command to JSON [SUCCESS]"
38 echo "Perf Data Converter Command to JSON [FAILED]"
/linux-master/net/sched/
H A Dem_text.c32 int from, to; local
37 to = tcf_get_base_ptr(skb, tm->to_layer) - skb->data;
38 to += tm->to_offset;
40 return skb_find_text(skb, from, to, tm->config) != UINT_MAX;
/linux-master/include/linux/
H A Dbitfield.h95 * @_val: value to test against the field
108 * @_val: value to put in the field
124 * @_val: value to put in the field
174 #define ____MAKE_OP(type,base,to,from) \
179 return to((v & field_mask(field)) * field_multiplier(field)); \
184 return (old & ~to(field)) | type##_encode_bits(val, field); \
189 *p = (*p & ~to(field)) | type##_encode_bits(val, field); \
H A Dcoredump.h37 * functions to write out all the necessary info.
39 extern void dump_skip_to(struct coredump_params *cprm, unsigned long to);
H A Dassoc_array_priv.h49 * The segments correspond to levels of the tree (the first segment is used at
60 * A shortcut through the index space out to where a collection of nodes/leaves
91 struct assoc_array_ptr *to; member in struct:assoc_array_edit::__anon381
95 u8 to; member in struct:assoc_array_edit::__anon382
101 * Internal tree member pointers are marked in the bottom one or two bits to
102 * indicate what type they are so that we don't have to look behind every
103 * pointer to see what it points to.
105 * We provide functions to test type annotations and to creat
[all...]
/linux-master/arch/sh/include/asm/
H A Dpage.h49 extern void copy_page(void *to, void *from);
50 #define copy_user_page(to, from, vaddr, pg) __copy_user(to, from, PAGE_SIZE)
55 extern void copy_user_highpage(struct page *to, struct page *from,
62 * These are used to make use of C type-checking..
115 * Virtual to physical RAM address translation.
118 * the kernel virtual address space, and thus we don't have to take
120 * is not visible (it is part of the PMB mapping) and so needs to be
/linux-master/arch/parisc/include/asm/
H A Dpage.h19 #define copy_page(to, from) copy_page_asm((void *)(to), (void *)(from))
25 void copy_page_asm(void *to, void *from);
27 void copy_user_highpage(struct page *to, struct page *from, unsigned long vaddr,
32 * These are used to make use of C type-checking..
100 /* WARNING: The definitions below must match exactly to sizeof(pte_t)
119 * If you alter it, make sure to take care of our various fixed mapping
/linux-master/arch/sparc/lib/
H A DM7memset.S12 * Set an array of n chars starting at sp to the character c.
39 * store 8-bytes chunks to align the address on 64 byte boundary
40 * if (value to be set is zero && count >= MIN_ZERO) {
42 * 64-byte cache line to zero which will also clear the
66 * similar to prefetching for normal stores.
81 * "most recently used" for all but the last store to the cache line.
91 #define ST_CHUNK 24 /* multiple of 4 due to loop unrolling */
150 1: stb %o1, [%o5] ! there is at least 1 byte to set
157 cmp %o2, 64 ! check if there are 64 bytes to set
182 cmp %o4, %g1 ! check there are enough bytes to se
[all...]
/linux-master/arch/arc/include/asm/
H A Dentry-arcv2.h13 * (End of struct aligned to end of page [unless nested])
51 ; Before jumping to Interrupt Vector, hardware micro-ops did following:
52 ; 1. SP auto-switched to kernel mode stack
62 ; At the end, SP points to pt_regs
80 ; Before jumping to Exception Vector, hardware micro-ops did following:
81 ; 1. SP auto-switched to kernel mode stack
85 ; At the end, SP points to pt_regs
121 * - interrupt autosave disabled due to CONFIG_ARC_IRQ_NO_AUTOSAVE
157 ; Saving pt_regs->sp correctly requires some extra work due to the way
168 ; ISA requires ADD.nz to hav
[all...]
/linux-master/fs/xfs/libxfs/
H A Dxfs_dir2_leaf.c38 struct xfs_dir3_icleaf_hdr *to,
44 to->forw = be32_to_cpu(from3->hdr.info.hdr.forw);
45 to->back = be32_to_cpu(from3->hdr.info.hdr.back);
46 to->magic = be16_to_cpu(from3->hdr.info.hdr.magic);
47 to->count = be16_to_cpu(from3->hdr.count);
48 to->stale = be16_to_cpu(from3->hdr.stale);
49 to->ents = from3->__ents;
51 ASSERT(to->magic == XFS_DIR3_LEAF1_MAGIC ||
52 to->magic == XFS_DIR3_LEAFN_MAGIC);
54 to
36 xfs_dir2_leaf_hdr_from_disk( struct xfs_mount *mp, struct xfs_dir3_icleaf_hdr *to, struct xfs_dir2_leaf *from) argument
67 xfs_dir2_leaf_hdr_to_disk( struct xfs_mount *mp, struct xfs_dir2_leaf *to, struct xfs_dir3_icleaf_hdr *from) argument
980 int to; /* target leaf index */ local
1041 int to; /* destination copy index */ local
[all...]
/linux-master/arch/alpha/kernel/
H A Dhead.S7 * (START_ADDR). So there isn't much left for us to do: just set up
8 * the kernel global pointer and jump to the kernel entry-point.
26 /* We need to get current_task_info loaded up... */
41 for the UNIQUE value for this process to contain the PCBB
88 # It is handy, on occasion, to make halt actually just loop.
89 # Putting it here means we dont have to recompile the whole
/linux-master/drivers/usb/serial/
H A Dezusb_convert.pl8 # accepts the .hex file(s) on stdin, a basename (to name the initialized
9 # array) as an argument, and prints the .h file to stdout. Typical usage:
38 * This file is presumed to be under the same copyright as the source file
/linux-master/arch/arc/lib/
H A Dmemset.S8 #define SMALL 7 /* Must be at least 6 to deal with alignment/loop issues. */
52 ; adjust bzero args to memset args
55 b memset ;tail call so need to tinker with blink
/linux-master/scripts/dtc/
H A Ddtx_diff37 Each DTx is processed by the dtc compiler to produce a sorted dts source
58 the dts source file for include paths to be set properly for '#include'
59 or '/include/' to be processed.
71 add the path of DTx_1 and DTx_2 to the include paths. If DTx_2 includes
121 echo "Possible hints to resolve the above error:" >&2
272 # ----- prefer dtc from linux kernel, allow fallback to dtc in $PATH
299 ERROR: unable to find a 'dtc' program
310 may need to be specified to find 'dtc'.
313 'export KBUILD_OUTPUT=\${dir}' or add \${dir}/scripts/dtc to \
[all...]
/linux-master/arch/arm/lib/
H A Dbacktrace-clang.S36 * call. Inserting a false stack frame allows us to reference the function
40 * instruction to calculate the saved pc. We can recover the pc in most cases,
42 * default to using the lr. This will be some address in the function, but will
45 * Unfortunately due to the stack frame layout we can't dump r0 - r3, but these
69 * The frame for c_backtrace has pointers to the code of dump_stack. This is
70 * why the frame of c_backtrace is used to for the pc calculation of
71 * dump_stack. This is why we must move back a frame to print dump_stack.
74 * to fully print dump_stack's frame we need both the frame for dump_stack (for
83 * We can then read the offset from the bl opcode to determine where the branch
100 @ to ensur
[all...]
/linux-master/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_2/
H A Dia_css_sdis2.host.c37 struct sh_css_isp_sdis_hori_coef_tbl *to,
48 short *private = (short *)to;
62 struct sh_css_isp_sdis_vert_coef_tbl *to,
73 short *private = (short *)to;
87 struct sh_css_isp_sdis_hori_proj_tbl *to,
91 (void)to;
97 struct sh_css_isp_sdis_vert_proj_tbl *to,
101 (void)to;
236 /* DDR side: need to be aligned to th
36 ia_css_sdis2_horicoef_vmem_encode( struct sh_css_isp_sdis_hori_coef_tbl *to, const struct ia_css_dvs2_coefficients *from, unsigned int size) argument
61 ia_css_sdis2_vertcoef_vmem_encode( struct sh_css_isp_sdis_vert_coef_tbl *to, const struct ia_css_dvs2_coefficients *from, unsigned int size) argument
86 ia_css_sdis2_horiproj_encode( struct sh_css_isp_sdis_hori_proj_tbl *to, const struct ia_css_dvs2_coefficients *from, unsigned int size) argument
96 ia_css_sdis2_vertproj_encode( struct sh_css_isp_sdis_vert_proj_tbl *to, const struct ia_css_dvs2_coefficients *from, unsigned int size) argument
[all...]
/linux-master/arch/arm/mach-mvebu/
H A Dpmsu_ll.S20 strb r0, [r1] @ switch SCU power state to Normal mode
63 mov pc, r0 @ jump to this value

Completed in 332 milliseconds

<<11121314151617181920>>