/kernel/linux/linux-5.10/include/net/ |
H A D | ip6_fib.h | 207 struct fib6_info __rcu *from; member 294 struct fib6_info *from; in rt6_get_cookie() local 302 from = rcu_dereference(rt->from); in rt6_get_cookie() 303 if (from) in rt6_get_cookie() 304 fib6_get_cookie_safe(from, &cookie); in rt6_get_cookie() 474 const struct fib6_info *from; in rt6_get_prefsrc() local 478 from = rcu_dereference(rt->from); in rt6_get_prefsrc() 479 if (from) { in rt6_get_prefsrc() [all...] |
H A D | checksum.h | 11 * Borrows very liberally from tcp.c and ip.c, see those 125 static __always_inline void csum_replace4(__sum16 *sum, __be32 from, __be32 to) in csum_replace4() argument 127 __wsum tmp = csum_sub(~csum_unfold(*sum), (__force __wsum)from); in csum_replace4() 150 __be32 from, __be32 to, bool pseudohdr); 152 const __be32 *from, const __be32 *to, 159 __be16 from, __be16 to, bool pseudohdr) in inet_proto_csum_replace2() 161 inet_proto_csum_replace4(sum, skb, (__force __be32)from, in inet_proto_csum_replace2() 158 inet_proto_csum_replace2(__sum16 *sum, struct sk_buff *skb, __be16 from, __be16 to, bool pseudohdr) inet_proto_csum_replace2() argument
|
/kernel/linux/linux-6.6/drivers/media/v4l2-core/ |
H A D | v4l2-ctrls-request.c | 54 const struct v4l2_ctrl_handler *from) in v4l2_ctrl_request_clone() 59 if (WARN_ON(!hdl || hdl == from)) in v4l2_ctrl_request_clone() 67 mutex_lock(from->lock); in v4l2_ctrl_request_clone() 68 list_for_each_entry(ref, &from->ctrl_refs, node) { in v4l2_ctrl_request_clone() 72 /* Skip refs inherited from other devices */ in v4l2_ctrl_request_clone() 79 mutex_unlock(from->lock); in v4l2_ctrl_request_clone() 152 struct v4l2_ctrl_handler *from) in v4l2_ctrl_request_bind() 156 ret = v4l2_ctrl_request_clone(hdl, from); in v4l2_ctrl_request_bind() 160 from, false, &hdl->req_obj); in v4l2_ctrl_request_bind() 162 mutex_lock(from in v4l2_ctrl_request_bind() 53 v4l2_ctrl_request_clone(struct v4l2_ctrl_handler *hdl, const struct v4l2_ctrl_handler *from) v4l2_ctrl_request_clone() argument 150 v4l2_ctrl_request_bind(struct media_request *req, struct v4l2_ctrl_handler *hdl, struct v4l2_ctrl_handler *from) v4l2_ctrl_request_bind() argument [all...] |
/kernel/linux/linux-6.6/include/net/ |
H A D | ip6_fib.h | 211 struct fib6_info __rcu *from; member 295 struct fib6_info *from; in rt6_get_cookie() local 303 from = rcu_dereference(rt->from); in rt6_get_cookie() 304 if (from) in rt6_get_cookie() 305 fib6_get_cookie_safe(from, &cookie); in rt6_get_cookie() 467 const struct fib6_info *from; in rt6_get_prefsrc() local 471 from = rcu_dereference(rt->from); in rt6_get_prefsrc() 472 if (from) in rt6_get_prefsrc() [all...] |
H A D | checksum.h | 11 * Borrows very liberally from tcp.c and ip.c, see those 131 static __always_inline void csum_replace4(__sum16 *sum, __be32 from, __be32 to) in csum_replace4() argument 133 __wsum tmp = csum_sub(~csum_unfold(*sum), (__force __wsum)from); in csum_replace4() 156 __be32 from, __be32 to, bool pseudohdr); 158 const __be32 *from, const __be32 *to, 165 __be16 from, __be16 to, bool pseudohdr) in inet_proto_csum_replace2() 167 inet_proto_csum_replace4(sum, skb, (__force __be32)from, in inet_proto_csum_replace2() 164 inet_proto_csum_replace2(__sum16 *sum, struct sk_buff *skb, __be16 from, __be16 to, bool pseudohdr) inet_proto_csum_replace2() argument
|
/kernel/linux/linux-5.10/arch/xtensa/include/asm/ |
H A D | page.h | 133 extern void copy_page(void *to, void *from); 142 extern void copy_page_alias(void *to, void *from, 148 void copy_user_highpage(struct page *to, struct page *from, 152 # define copy_user_page(to, from, vaddr, pg) copy_page(to, from)
|
H A D | uaccess.h | 56 * macros here, and hide all the uglyness from the user. 247 * Copy to/from user space 250 extern unsigned __xtensa_copy_user(void *to, const void *from, unsigned n); 253 raw_copy_from_user(void *to, const void __user *from, unsigned long n) in raw_copy_from_user() argument 256 return __xtensa_copy_user(to, (__force const void *)from, n); in raw_copy_from_user() 259 raw_copy_to_user(void __user *to, const void *from, unsigned long n) in raw_copy_to_user() argument 261 prefetch(from); in raw_copy_to_user() 262 return __xtensa_copy_user((__force void *)to, from, n); in raw_copy_to_user()
|
/kernel/linux/linux-5.10/arch/openrisc/include/asm/ |
H A D | uaccess.h | 5 * Linux architectural port borrowing liberally from similar works of 48 /* Ensure that the range from addr to addr+size is all within the process' 71 * and hide all the uglyness from the user. 247 __copy_tofrom_user(void *to, const void *from, unsigned long size); 249 raw_copy_from_user(void *to, const void __user *from, unsigned long size) in raw_copy_from_user() argument 251 return __copy_tofrom_user(to, (__force const void *)from, size); in raw_copy_from_user() 254 raw_copy_to_user(void __user *to, const void *from, unsigned long size) in raw_copy_to_user() argument 256 return __copy_tofrom_user((__force void *)to, from, size); in raw_copy_to_user()
|
/kernel/linux/linux-5.10/arch/sparc/include/asm/ |
H A D | uaccess_32.h | 20 * when doing system calls from kernel mode legitimately. 35 * No one can read/write anything from userland in the kernel space by setting 80 * and hide all the ugliness from the user. 235 unsigned long __copy_user(void __user *to, const void __user *from, unsigned long size); 237 static inline unsigned long raw_copy_to_user(void __user *to, const void *from, unsigned long n) in raw_copy_to_user() argument 239 return __copy_user(to, (__force void __user *) from, n); in raw_copy_to_user() 242 static inline unsigned long raw_copy_from_user(void *to, const void __user *from, unsigned long n) in raw_copy_from_user() argument 244 return __copy_user((__force void __user *) to, from, n); in raw_copy_from_user()
|
/kernel/linux/linux-6.6/arch/openrisc/include/asm/ |
H A D | uaccess.h | 5 * Linux architectural port borrowing liberally from similar works of 34 * and hide all the uglyness from the user. 210 __copy_tofrom_user(void *to, const void *from, unsigned long size); 212 raw_copy_from_user(void *to, const void __user *from, unsigned long size) in raw_copy_from_user() argument 214 return __copy_tofrom_user(to, (__force const void *)from, size); in raw_copy_from_user() 217 raw_copy_to_user(void __user *to, const void *from, unsigned long size) in raw_copy_to_user() argument 219 return __copy_tofrom_user((__force void *)to, from, size); in raw_copy_to_user()
|
/kernel/linux/linux-6.6/arch/sparc/include/asm/ |
H A D | uaccess_32.h | 24 * and hide all the ugliness from the user. 179 unsigned long __copy_user(void __user *to, const void __user *from, unsigned long size); 181 static inline unsigned long raw_copy_to_user(void __user *to, const void *from, unsigned long n) in raw_copy_to_user() argument 183 return __copy_user(to, (__force void __user *) from, n); in raw_copy_to_user() 186 static inline unsigned long raw_copy_from_user(void *to, const void __user *from, unsigned long n) in raw_copy_from_user() argument 188 return __copy_user((__force void __user *) to, from, n); in raw_copy_from_user()
|
/kernel/linux/linux-5.10/drivers/mtd/devices/ |
H A D | mtdram.c | 65 static int ram_point(struct mtd_info *mtd, loff_t from, size_t len, in ram_point() argument 68 *virt = mtd->priv + from; in ram_point() 94 static int ram_unpoint(struct mtd_info *mtd, loff_t from, size_t len) in ram_unpoint() argument 99 static int ram_read(struct mtd_info *mtd, loff_t from, size_t len, in ram_read() argument 102 memcpy(buf, mtd->priv + from, len); in ram_read()
|
/kernel/linux/linux-5.10/kernel/irq/ |
H A D | devres.c | 150 unsigned int from; member 158 irq_free_descs(this->from, this->cnt); in devm_irq_desc_release() 166 * @from: Start the search from this irq number 178 int __devm_irq_alloc_descs(struct device *dev, int irq, unsigned int from, in __devm_irq_alloc_descs() argument 189 base = __irq_alloc_descs(irq, from, cnt, node, owner, affinity); in __devm_irq_alloc_descs() 195 dr->from = base; in __devm_irq_alloc_descs() 258 * Set up max. 32 interrupts starting from gc->irq_base. Note, this
|
/kernel/linux/linux-5.10/drivers/s390/net/ |
H A D | smsgiucv_app.c | 42 * accepted from any z/VM user ID. */ 45 MODULE_PARM_DESC(sender, "z/VM user ID from which CP SMSGs are accepted"); 67 static struct smsg_app_event *smsg_app_event_alloc(const char *from, in smsg_app_event_alloc() argument 90 snprintf(ev->envp[0], ENV_SENDER_LEN, ENV_SENDER_STR "%s", from); in smsg_app_event_alloc() 121 static void smsg_app_callback(const char *from, char *msg) in smsg_app_callback() argument 127 if (sender && strlen(sender) > 0 && strcmp(from, sender) != 0) in smsg_app_callback() 138 se = smsg_app_event_alloc(from, msg); in smsg_app_callback()
|
/kernel/linux/linux-6.6/drivers/mtd/devices/ |
H A D | mtdram.c | 65 static int ram_point(struct mtd_info *mtd, loff_t from, size_t len, in ram_point() argument 68 *virt = mtd->priv + from; in ram_point() 94 static int ram_unpoint(struct mtd_info *mtd, loff_t from, size_t len) in ram_unpoint() argument 99 static int ram_read(struct mtd_info *mtd, loff_t from, size_t len, in ram_read() argument 102 memcpy(buf, mtd->priv + from, len); in ram_read()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_xcp.h | 166 amdgpu_get_next_xcp(struct amdgpu_xcp_mgr *xcp_mgr, int *from) in amdgpu_get_next_xcp() argument 171 while (*from < MAX_XCP) { in amdgpu_get_next_xcp() 172 if (xcp_mgr->xcp[*from].valid) in amdgpu_get_next_xcp() 173 return &xcp_mgr->xcp[*from]; in amdgpu_get_next_xcp() 174 ++(*from); in amdgpu_get_next_xcp()
|
/kernel/linux/linux-6.6/kernel/irq/ |
H A D | devres.c | 150 unsigned int from; member 158 irq_free_descs(this->from, this->cnt); in devm_irq_desc_release() 166 * @from: Start the search from this irq number 178 int __devm_irq_alloc_descs(struct device *dev, int irq, unsigned int from, in __devm_irq_alloc_descs() argument 189 base = __irq_alloc_descs(irq, from, cnt, node, owner, affinity); in __devm_irq_alloc_descs() 195 dr->from = base; in __devm_irq_alloc_descs() 258 * Set up max. 32 interrupts starting from gc->irq_base. Note, this
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | branch.c | 19 u64 from, u64 to) in branch_type_count() 21 if (flags->type == PERF_BR_UNKNOWN || from == 0) in branch_type_count() 30 if (to > from) in branch_type_count() 36 if (cross_area(from, to, AREA_2M)) in branch_type_count() 38 else if (cross_area(from, to, AREA_4K)) in branch_type_count() 18 branch_type_count(struct branch_type_stat *st, struct branch_flags *flags, u64 from, u64 to) branch_type_count() argument
|
/kernel/linux/linux-6.6/drivers/s390/net/ |
H A D | smsgiucv_app.c | 42 * accepted from any z/VM user ID. */ 45 MODULE_PARM_DESC(sender, "z/VM user ID from which CP SMSGs are accepted"); 67 static struct smsg_app_event *smsg_app_event_alloc(const char *from, in smsg_app_event_alloc() argument 90 snprintf(ev->envp[0], ENV_SENDER_LEN, ENV_SENDER_STR "%s", from); in smsg_app_event_alloc() 121 static void smsg_app_callback(const char *from, char *msg) in smsg_app_callback() argument 127 if (sender && strlen(sender) > 0 && strcmp(from, sender) != 0) in smsg_app_callback() 138 se = smsg_app_event_alloc(from, msg); in smsg_app_callback()
|
/kernel/linux/linux-6.6/tools/lib/api/fd/ |
H A D | array.c | 91 int fdarray__dup_entry_from(struct fdarray *fda, int pos, struct fdarray *from) in fdarray__dup_entry_from() argument 96 if (pos >= from->nr) in fdarray__dup_entry_from() 99 entry = &from->entries[pos]; in fdarray__dup_entry_from() 101 npos = fdarray__add(fda, entry->fd, entry->events, from->priv[pos].flags); in fdarray__dup_entry_from() 103 fda->priv[npos] = from->priv[pos]; in fdarray__dup_entry_from()
|
/kernel/linux/linux-5.10/drivers/base/regmap/ |
H A D | trace.h | 228 TP_PROTO(struct regmap *map, unsigned int from, 231 TP_ARGS(map, from, to), 235 __field( unsigned int, from ) 241 __entry->from = from; 245 TP_printk("%s %u-%u", __get_str(name), (unsigned int)__entry->from,
|
/kernel/linux/linux-5.10/arch/microblaze/include/asm/ |
H A D | uaccess.h | 91 const void __user *from, unsigned long size); 145 * get_user: - Get a simple variable from user space. 152 * This macro copies a single simple variable from user space to kernel 241 * This macro copies a single simple value from kernel space to user 310 raw_copy_from_user(void *to, const void __user *from, unsigned long n) in raw_copy_from_user() argument 312 return __copy_tofrom_user((__force void __user *)to, from, n); in raw_copy_from_user() 316 raw_copy_to_user(void __user *to, const void *from, unsigned long n) in raw_copy_to_user() argument 318 return __copy_tofrom_user(to, (__force const void __user *)from, n); in raw_copy_to_user() 324 * Copy a null terminated string from userspace. 326 extern int __strncpy_user(char *to, const char __user *from, in [all...] |
/kernel/linux/linux-6.6/arch/arm/lib/ |
H A D | uaccess_with_memcpy.c | 93 __copy_to_user_memcpy(void __user *to, const void *from, unsigned long n) in __copy_to_user_memcpy() argument 122 __memcpy((void *)to, from, tocopy); in __copy_to_user_memcpy() 125 from += tocopy; in __copy_to_user_memcpy() 141 arm_copy_to_user(void __user *to, const void *from, unsigned long n) in arm_copy_to_user() argument 152 n = __copy_to_user_std(to, from, n); in arm_copy_to_user() 156 from, n); in arm_copy_to_user()
|
/kernel/linux/linux-6.6/arch/riscv/include/asm/ |
H A D | uaccess.h | 5 * This file was copied from include/asm-generic/uaccess.h 112 * __get_user: - Get a simple variable from user space, with less checking. 118 * This macro copies a single simple variable from user space to kernel 146 * get_user: - Get a simple variable from user space. 152 * This macro copies a single simple variable from user space to kernel 233 * This macro copies a single simple value from kernel space to user 269 * This macro copies a single simple value from kernel space to user 289 const void *from, unsigned long n); 291 const void __user *from, unsigned long n); 294 raw_copy_from_user(void *to, const void __user *from, unsigne argument 300 raw_copy_to_user(void __user *to, const void *from, unsigned long n) raw_copy_to_user() argument [all...] |
/kernel/linux/linux-6.6/drivers/base/regmap/ |
H A D | trace.h | 255 TP_PROTO(struct regmap *map, unsigned int from, 258 TP_ARGS(map, from, to), 262 __field( unsigned int, from ) 268 __entry->from = from; 272 TP_printk("%s %u-%u", __get_str(name), __entry->from, __entry->to)
|