/linux-master/fs/smb/server/ |
H A D | unicode.h | 3 * Some of the source code in this file came from fs/cifs/cifs_unicode.c 31 int smb_strtoUTF16(__le16 *to, const char *from, int len,
|
/linux-master/include/asm-generic/ |
H A D | fb.h | 7 * Only include this header file from your architecture's <asm/fb.h>. 37 * access and swap bytes to/from little-endian ordering. Neither is 112 static inline void fb_memcpy_fromio(void *to, const volatile void __iomem *from, size_t n) argument 114 memcpy_fromio(to, from, n); 120 static inline void fb_memcpy_toio(volatile void __iomem *to, const void *from, size_t n) argument 122 memcpy_toio(to, from, n);
|
/linux-master/arch/hexagon/include/asm/ |
H A D | page.h | 62 * Null intermediate page table level (pmd, pud) definitions will come from 113 #define copy_page(to, from) memcpy((to), (from), PAGE_SIZE) 119 #define copy_user_page(to, from, vaddr, pg) copy_page(to, from)
|
/linux-master/arch/x86/kernel/cpu/ |
H A D | hypervisor.c | 87 const void * const *from = (const void * const *)src; local 91 if (from[i]) 92 to[i] = from[i];
|
/linux-master/fs/ocfs2/ |
H A D | aops.h | 13 unsigned from, 17 struct inode *inode, unsigned int from, 24 unsigned from,
|
/linux-master/arch/x86/lib/ |
H A D | copy_mc.c | 26 copy_mc_fragile_handle_tail(char *to, char *from, unsigned len) argument 28 for (; len; --len, to++, from++) 29 if (copy_mc_fragile(to, from, 1)) 53 * Call into the 'fragile' version on systems that benefit from avoiding
|
/linux-master/tools/perf/util/ |
H A D | pmu.y | 29 static void perf_pmu__set_format(unsigned long *bits, long from, long to) 34 to = from; 37 for (b = from; b <= to; b++)
|
H A D | branch.h | 5 * in files included from uapi/linux/perf_event.h such as 34 struct addr_map_symbol from; member in struct:branch_info 42 u64 from; member in struct:branch_entry 84 u64 from, u64 to);
|
/linux-master/net/xfrm/ |
H A D | xfrm_interface_bpf.c | 4 * These are called from SCHED_CLS BPF programs. Note that it is 59 * @from - Pointer to memory from which the metadata will be copied 62 __bpf_kfunc int bpf_skb_set_xfrm_info(struct __sk_buff *skb_ctx, const struct bpf_xfrm_info *from) argument 84 info->if_id = from->if_id; 85 info->link = from->link;
|
/linux-master/drivers/staging/media/atomisp/pci/isp/kernels/s3a/s3a_1.0/ |
H A D | ia_css_s3a.host.c | 49 const struct ia_css_3a_config *from, 55 uDIGIT_FITTING(from->ae_y_coef_r, 16, SH_CSS_AE_YCOEF_SHIFT); 57 uDIGIT_FITTING(from->ae_y_coef_g, 16, SH_CSS_AE_YCOEF_SHIFT); 59 uDIGIT_FITTING(from->ae_y_coef_b, 16, SH_CSS_AE_YCOEF_SHIFT); 65 const struct ia_css_3a_config *from, 71 uDIGIT_FITTING(from->awb_lg_high_raw, 16, s3a_raw_bit_depth); 73 uDIGIT_FITTING(from->awb_lg_low, 16, SH_CSS_BAYER_BITS); 75 uDIGIT_FITTING(from->awb_lg_high, 16, SH_CSS_BAYER_BITS); 81 const struct ia_css_3a_config *from, 90 sDIGIT_FITTING(from 47 ia_css_ae_encode( struct sh_css_isp_ae_params *to, const struct ia_css_3a_config *from, unsigned int size) argument 63 ia_css_awb_encode( struct sh_css_isp_awb_params *to, const struct ia_css_3a_config *from, unsigned int size) argument 79 ia_css_af_encode( struct sh_css_isp_af_params *to, const struct ia_css_3a_config *from, unsigned int size) argument 99 ia_css_s3a_encode( struct sh_css_isp_s3a_params *to, const struct ia_css_3a_config *from, unsigned int size) argument [all...] |
/linux-master/net/x25/ |
H A D | x25_forward.c | 17 int x25_forward_call(struct x25_address *dest_addr, struct x25_neigh *from, argument 40 if (rt->dev == from->dev) { 65 new_frwd->dev2 = from->dev; 90 int x25_forward_data(int lci, struct x25_neigh *from, struct sk_buff *skb) { argument 102 if (from->dev == frwd->dev1) {
|
/linux-master/drivers/mtd/maps/ |
H A D | dc21285.c | 75 static void dc21285_copy_from(struct map_info *map, void *to, unsigned long from, ssize_t len) argument 77 memcpy(to, (void*)(map->virt + from), len); 105 static void dc21285_copy_to_32(struct map_info *map, unsigned long to, const void *from, ssize_t len) argument 109 d.x[0] = *((uint32_t*)from); 111 from += 4; 117 static void dc21285_copy_to_16(struct map_info *map, unsigned long to, const void *from, ssize_t len) argument 121 d.x[0] = *((uint16_t*)from); 123 from += 2; 129 static void dc21285_copy_to_8(struct map_info *map, unsigned long to, const void *from, ssize_t len) argument 132 d.x[0] = *((uint8_t*)from); [all...] |
H A D | uclinux.c | 54 static int uclinux_point(struct mtd_info *mtd, loff_t from, size_t len, argument 58 *virt = map->virt + from; 60 *phys = map->phys + from;
|
/linux-master/arch/um/kernel/skas/ |
H A D | uaccess.c | 138 static int copy_chunk_from_user(unsigned long from, int len, void *arg) argument 142 memcpy((void *) to, (void *) from, len); 147 unsigned long raw_copy_from_user(void *to, const void __user *from, unsigned long n) argument 149 return buffer_op((unsigned long) from, n, 0, copy_chunk_from_user, &to); 155 unsigned long *from_ptr = arg, from = *from_ptr; local 157 memcpy((void *) to, (void *) from, len); 162 unsigned long raw_copy_to_user(void __user *to, const void *from, unsigned long n) argument 164 return buffer_op((unsigned long) to, n, 1, copy_chunk_to_user, &from); 168 static int strncpy_chunk_from_user(unsigned long from, int len, void *arg) argument 173 strncpy(to, (void *) from, le [all...] |
/linux-master/drivers/base/ |
H A D | arch_numa.c | 152 static int __init pcpu_cpu_distance(unsigned int from, unsigned int to) argument 154 return node_distance(early_cpu_to_node(from), early_cpu_to_node(to)); 297 * numa_set_distance() - Set inter node NUMA distance from node to node. 298 * @from: the 'from' node to set distance 302 * Set the distance from node @from to @to to @distance. 305 * If @from or @to is higher than the highest known node or lower than zero 308 void __init numa_set_distance(int from, int to, int distance) argument 315 if (from > 335 __node_distance(int from, int to) argument [all...] |
/linux-master/mm/kasan/ |
H A D | quarantine.c | 67 static void qlist_move_all(struct qlist_head *from, struct qlist_head *to) argument 69 if (unlikely(qlist_empty(from))) 73 *to = *from; 74 qlist_init(from); 78 to->tail->next = from->head; 79 to->tail = from->tail; 80 to->bytes += from->bytes; 82 qlist_init(from); 290 static void qlist_move_cache(struct qlist_head *from, argument 296 if (unlikely(qlist_empty(from))) [all...] |
/linux-master/arch/x86/events/amd/ |
H A D | lbr.c | 48 } from; member in struct:branch_entry 103 u64 from, to; local 111 from = cpuc->lbr_entries[i].from; 113 type = branch_type_fused(from, to, 0, &offset); 116 * Adjust the branch from address in case of instruction 121 cpuc->lbr_entries[i].from += offset; 128 cpuc->lbr_entries[i].from = 0; /* mark invalid */ 141 if (!cpuc->lbr_entries[i].from) { 146 if (!cpuc->lbr_entries[i].from) [all...] |
/linux-master/net/qrtr/ |
H A D | ns.c | 331 static int ctrl_cmd_bye(struct sockaddr_qrtr *from) argument 346 node = node_get(from->sq_node); 361 pkt.client.node = cpu_to_le32(from->sq_node); 380 static int ctrl_cmd_del_client(struct sockaddr_qrtr *from, argument 400 if (from->sq_node != node_id) 403 /* Local DEL_CLIENT messages comes from the port being closed */ 404 if (from->sq_node == qrtr_ns.local_node && from->sq_port != port) 421 * to this port due to the DEL_CLIENT broadcast from qrtr_port_remove(). 454 static int ctrl_cmd_new_server(struct sockaddr_qrtr *from, argument 495 ctrl_cmd_del_server(struct sockaddr_qrtr *from, unsigned int service, unsigned int instance, unsigned int node_id, unsigned int port) argument 520 ctrl_cmd_new_lookup(struct sockaddr_qrtr *from, unsigned int service, unsigned int instance) argument 562 ctrl_cmd_del_lookup(struct sockaddr_qrtr *from, unsigned int service, unsigned int instance) argument [all...] |
/linux-master/arch/powerpc/include/asm/ |
H A D | uaccess.h | 24 * and hide all the ugliness from the user. 125 * This does an atomic 128 byte aligned load from userspace. 302 const void __user *from, unsigned long size); 306 raw_copy_in_user(void __user *to, const void __user *from, unsigned long n) argument 310 allow_read_write_user(to, from, n); 311 ret = __copy_tofrom_user(to, from, n); 312 prevent_read_write_user(to, from, n); 318 const void __user *from, unsigned long n) 322 allow_read_from_user(from, n); 323 ret = __copy_tofrom_user((__force void __user *)to, from, 317 raw_copy_from_user(void *to, const void __user *from, unsigned long n) argument 329 raw_copy_to_user(void __user *to, const void *from, unsigned long n) argument 365 copy_mc_to_kernel(void *to, const void *from, unsigned long size) argument 372 copy_mc_to_user(void __user *to, const void *from, unsigned long n) argument [all...] |
/linux-master/arch/sh/include/asm/ |
H A D | uaccess.h | 85 __kernel_size_t __copy_user(void *to, const void *from, __kernel_size_t n); 88 raw_copy_from_user(void *to, const void __user *from, unsigned long n) argument 90 return __copy_user(to, (__force void *)from, n); 94 raw_copy_to_user(void __user *to, const void *from, unsigned long n) argument 96 return __copy_user((__force void *)to, from, n); 126 unsigned long (*from)(void *dst, const void __user *src, unsigned long cnt); member in struct:mem_access
|
/linux-master/arch/xtensa/include/asm/ |
H A D | uaccess.h | 32 * macros here, and hide all the uglyness from the user. 223 * Copy to/from user space 226 extern unsigned __xtensa_copy_user(void *to, const void *from, unsigned n); 229 raw_copy_from_user(void *to, const void __user *from, unsigned long n) argument 232 return __xtensa_copy_user(to, (__force const void *)from, n); 235 raw_copy_to_user(void __user *to, const void *from, unsigned long n) argument 237 prefetch(from); 238 return __xtensa_copy_user((__force void *)to, from, n);
|
/linux-master/drivers/mtd/nand/onenand/ |
H A D | onenand_bbt.c | 8 * Derived from nand_bbt.c 62 loff_t from; local 71 /* We need only read few bytes from the OOB area */ 81 from = 0; 95 from + j * this->writesize + bd->offs, &ops); 113 rgn = flexonenand_region(mtd, from); 114 from += mtd->eraseregions[rgn].erasesize; 116 from += (1 << bbm->bbt_erase_shift);
|
/linux-master/arch/loongarch/include/asm/ |
H A D | uaccess.h | 5 * Derived from MIPS: 28 * get_user: - Get a simple variable from user space. 35 * This macro copies a single simple variable from user space to kernel 62 * This macro copies a single simple value from kernel space to user 80 * __get_user: - Get a simple variable from user space, with less checking. 87 * This macro copies a single simple variable from user space to kernel 117 * This macro copies a single simple value from kernel space to user 214 extern unsigned long __copy_user(void *to, const void *from, __kernel_size_t n); 217 raw_copy_from_user(void *to, const void __user *from, unsigned long n) argument 219 return __copy_user(to, (__force const void *)from, 223 raw_copy_to_user(void __user *to, const void *from, unsigned long n) argument [all...] |
/linux-master/lib/ |
H A D | parser.c | 66 args[argc].from = s; 90 if (args[argc].to == args[argc].from) 127 * match_number - scan a number in the given base from a substring_t 159 * match_u64int - scan a number in the given base from a substring_t 185 * match_int - scan a decimal representation of an integer from a substring_t 201 * match_uint - scan a decimal representation of an integer from a substring_t 222 * match_u64 - scan a decimal representation of a u64 from 240 * match_octal - scan an octal representation of an integer from a substring_t 256 * match_hex - scan a hex representation of an integer from a substring_t 324 * match_strlcpy - Copy the characters from [all...] |
/linux-master/include/linux/ |
H A D | poll.h | 119 #define __MAP(v, from, to) \ 120 (from < to ? (v & from) * (to/from) : (v & from) / (from/to))
|