Searched refs:from (Results 276 - 300 of 1272) sorted by relevance

<<11121314151617181920>>

/linux-master/include/linux/
H A Dprojid.h53 extern kprojid_t make_kprojid(struct user_namespace *from, projid_t projid);
65 static inline kprojid_t make_kprojid(struct user_namespace *from, projid_t projid) argument
/linux-master/net/ipv4/netfilter/
H A Dnf_nat_snmp_basic_main.c11 * Static NAT is used to remap the networks from the view of the network
24 * The ASB.1/BER parsing code is derived from the gxsnmp package by Gregory
63 __be32 from; member in struct:snmp_ctx
73 memcpy(&s[1], &ctx->from, 4);
83 memcpy(&s[0], &ctx->from, 4);
114 if (*pdata == ctx->from) {
116 (void *)&ctx->from, (void *)&ctx->to);
136 ctx.from = ct->tuplehash[dir].tuple.src.u3.ip;
139 ctx.from = ct->tuplehash[!dir].tuple.src.u3.ip;
143 if (ctx.from
[all...]
/linux-master/include/net/
H A Dinet_ecn.h136 __be32 from, to; local
141 from = *(__be32 *)iph;
142 to = from | htonl(INET_ECN_CE << 20);
145 skb->csum = csum_add(csum_sub(skb->csum, (__force __wsum)from),
152 __be32 from, to; local
157 from = *(__be32 *)iph;
158 to = from ^ htonl(INET_ECN_MASK << 20);
161 skb->csum = csum_add(csum_sub(skb->csum, (__force __wsum)from),
H A Dudplite.h21 static __inline__ int udplite_getfrag(void *from, char *to, int offset, argument
24 struct msghdr *msg = from;
/linux-master/arch/um/include/asm/
H A Duaccess.h25 extern unsigned long raw_copy_from_user(void *to, const void __user *from, unsigned long n);
26 extern unsigned long raw_copy_to_user(void __user *to, const void *from, unsigned long n);
/linux-master/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_smi_events.h39 uint32_t from, uint32_t to,
44 uint32_t from, uint32_t to, uint32_t trigger);
/linux-master/fs/smb/client/
H A Dcifs_unicode.h58 int cifs_from_utf16(char *to, const __le16 *from, int tolen, int fromlen,
60 int cifs_utf16_bytes(const __le16 *from, int maxbytes,
/linux-master/arch/x86/include/asm/
H A Dpage.h31 static inline void copy_user_page(void *to, void *from, unsigned long vaddr, argument
34 copy_page(to, from);
H A Dio.h219 static inline void __iowrite32_copy(void __iomem *to, const void *from, argument
223 : "=&c"(count), "=&D"(to), "=&S"(from)
224 : "0"(count), "1"(to), "2"(from)
386 * Submit data from kernel space to MMIO space, in units of 512 bits at a
396 const u8 *from = src; local
397 const u8 *end = from + count * 64;
399 while (from < end) {
400 movdir64b_io(dst, from);
401 from += 64;
/linux-master/arch/nios2/include/asm/
H A Dpage.h5 * MMU support based on asm/page.h from mips which is:
49 #define copy_page(to, from) memcpy((to), (from), PAGE_SIZE)
/linux-master/tools/testing/selftests/powerpc/copyloops/asm/
H A Dppc_asm.h50 #define DCBT_SETUP_STREAMS(from, from_parms, to, to_parms, scratch) \
54 dcbt 0,from,0b01000; /* addr from */ \
55 dcbt 0,from_parms,0b01010; /* length and depth from */ \
/linux-master/fs/xfs/libxfs/
H A Dxfs_sb.h20 extern void xfs_sb_from_disk(struct xfs_sb *to, struct xfs_dsb *from);
21 extern void xfs_sb_to_disk(struct xfs_dsb *to, struct xfs_sb *from);
/linux-master/drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_1.0/
H A Dia_css_sdis.host.c42 const struct ia_css_dvs_coefficients *from,
45 unsigned int aligned_width = from->grid.aligned_width *
46 from->grid.bqs_per_grid_cell;
47 unsigned int width = from->grid.num_hor_coefs;
52 short *public = from->hor_coefs;
69 const struct ia_css_dvs_coefficients *from,
72 unsigned int aligned_height = from->grid.aligned_height *
73 from->grid.bqs_per_grid_cell;
74 unsigned int height = from->grid.num_ver_coefs;
79 short *public = from
40 ia_css_sdis_horicoef_vmem_encode( struct sh_css_isp_sdis_hori_coef_tbl *to, const struct ia_css_dvs_coefficients *from, unsigned int size) argument
67 ia_css_sdis_vertcoef_vmem_encode( struct sh_css_isp_sdis_vert_coef_tbl *to, const struct ia_css_dvs_coefficients *from, unsigned int size) argument
94 ia_css_sdis_horiproj_encode( struct sh_css_isp_sdis_hori_proj_tbl *to, const struct ia_css_dvs_coefficients *from, unsigned int size) argument
104 ia_css_sdis_vertproj_encode( struct sh_css_isp_sdis_vert_proj_tbl *to, const struct ia_css_dvs_coefficients *from, unsigned int size) argument
[all...]
/linux-master/net/netfilter/ipvs/
H A Dip_vs_ftp.c9 * Most code here is taken from ip_masq_ftp.c in kernel 2.2. The difference
92 /* Get <addr,port> from the string "xxx.xxx.xxx.xxx,ppp,ppp", started
189 /* We allow address only from same family */
235 * from the server (inside-to-outside).
254 union nf_inet_addr from; local
284 &from, &port, cp->af,
289 &from.ip, ntohs(port), &cp->caddr.ip, 0);
300 from = cp->daddr;
305 &from, &port, cp->af,
310 IP_VS_DBG_ADDR(cp->af, &from), ntoh
[all...]
/linux-master/drivers/mtd/devices/
H A Dmtdram.c65 static int ram_point(struct mtd_info *mtd, loff_t from, size_t len, argument
68 *virt = mtd->priv + from;
94 static int ram_unpoint(struct mtd_info *mtd, loff_t from, size_t len) argument
99 static int ram_read(struct mtd_info *mtd, loff_t from, size_t len, argument
102 memcpy(buf, mtd->priv + from, len);
/linux-master/kernel/irq/
H A Ddevres.c150 unsigned int from; member in struct:irq_desc_devres
158 irq_free_descs(this->from, this->cnt);
166 * @from: Start the search from this irq number
178 int __devm_irq_alloc_descs(struct device *dev, int irq, unsigned int from, argument
189 base = __irq_alloc_descs(irq, from, cnt, node, owner, affinity);
195 dr->from = base;
258 * Set up max. 32 interrupts starting from gc->irq_base. Note, this
/linux-master/arch/microblaze/include/asm/
H A Duaccess.h24 const void __user *from, unsigned long size);
78 * get_user: - Get a simple variable from user space.
85 * This macro copies a single simple variable from user space to kernel
174 * This macro copies a single simple value from kernel space to user
243 raw_copy_from_user(void *to, const void __user *from, unsigned long n) argument
245 return __copy_tofrom_user((__force void __user *)to, from, n);
249 raw_copy_to_user(void __user *to, const void *from, unsigned long n) argument
251 return __copy_tofrom_user(to, (__force const void __user *)from, n);
257 * Copy a null terminated string from userspace.
/linux-master/arch/sparc/include/asm/
H A Duaccess_32.h24 * 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) argument
183 return __copy_user(to, (__force void __user *) from, n);
186 static inline unsigned long raw_copy_from_user(void *to, const void __user *from, unsigned long n) argument
188 return __copy_user((__force void __user *) to, from, n);
/linux-master/arch/openrisc/include/asm/
H A Duaccess.h5 * 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) argument
214 return __copy_tofrom_user(to, (__force const void *)from, size);
217 raw_copy_to_user(void __user *to, const void *from, unsigned long size) argument
219 return __copy_tofrom_user((__force void *)to, from, size);
/linux-master/tools/lib/api/fd/
H A Darray.c91 int fdarray__dup_entry_from(struct fdarray *fda, int pos, struct fdarray *from) argument
96 if (pos >= from->nr)
99 entry = &from->entries[pos];
101 npos = fdarray__add(fda, entry->fd, entry->events, from->priv[pos].flags);
103 fda->priv[npos] = from->priv[pos];
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_xcp.h167 amdgpu_get_next_xcp(struct amdgpu_xcp_mgr *xcp_mgr, int *from) argument
172 while (*from < MAX_XCP) {
173 if (xcp_mgr->xcp[*from].valid)
174 return &xcp_mgr->xcp[*from];
175 ++(*from);
/linux-master/tools/perf/util/
H A Dbranch.c19 u64 from, u64 to)
21 if (flags->type == PERF_BR_UNKNOWN || from == 0)
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/arch/xtensa/include/asm/
H A Dpage.h135 extern void copy_page(void *to, void *from);
144 extern void copy_page_alias(void *to, void *from,
150 void copy_user_highpage(struct page *to, struct page *from,
154 # define copy_user_page(to, from, vaddr, pg) copy_page(to, from)
/linux-master/arch/alpha/include/asm/
H A Duaccess.h147 * The "__put_user_xx()" macros tell gcc they read from memory
183 extern long __copy_user(void *to, const void *from, long len);
186 raw_copy_from_user(void *to, const void __user *from, unsigned long len) argument
188 return __copy_user(to, (__force const void *)from, len);
192 raw_copy_to_user(void __user *to, const void *from, unsigned long len) argument
194 return __copy_user((__force void *)to, from, len);
/linux-master/drivers/s390/net/
H A Dsmsgiucv_app.c42 * 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, argument
90 snprintf(ev->envp[0], ENV_SENDER_LEN, ENV_SENDER_STR "%s", from);
121 static void smsg_app_callback(const char *from, char *msg) argument
127 if (sender && strlen(sender) > 0 && strcmp(from, sender) != 0)
138 se = smsg_app_event_alloc(from, msg);

Completed in 389 milliseconds

<<11121314151617181920>>