/linux-master/tools/include/linux/ |
H A D | bitfield.h | 91 * @_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 D | maple-cpufreq.c | 66 /* 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 D | physmap-gemini.c | 6 * 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 D | lantiq-flash.c | 25 * 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 D | xattr.c | 25 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 D | branch.c | 19 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 D | file.c | 34 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 D | test_perf_data_converter_json.sh | 2 # '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 D | em_text.c | 32 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 D | bitfield.h | 95 * @_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 D | coredump.h | 37 * functions to write out all the necessary info. 39 extern void dump_skip_to(struct coredump_params *cprm, unsigned long to);
|
H A D | assoc_array_priv.h | 49 * 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 D | page.h | 49 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 D | page.h | 19 #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 D | M7memset.S | 12 * 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 D | entry-arcv2.h | 13 * (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 D | xfs_dir2_leaf.c | 38 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 D | head.S | 7 * (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 D | ezusb_convert.pl | 8 # 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 D | memset.S | 8 #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 D | dtx_diff | 37 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 D | backtrace-clang.S | 36 * 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 D | ia_css_sdis2.host.c | 37 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 D | pmsu_ll.S | 20 strb r0, [r1] @ switch SCU power state to Normal mode 63 mov pc, r0 @ jump to this value
|
/linux-master/arch/arm/boot/compressed/ |
H A D | head-sa1100.S | 28 @ Be sure to flush kernel binary out of the cache, 31 @ memory to be sure we hit the same cache.
|