Home
last modified time | relevance | path

Searched refs:from (Results 976 - 1000 of 4771) sorted by relevance

1...<<31323334353637383940>>...191

/kernel/linux/linux-6.6/kernel/bpf/
H A Dcore.c255 /* We keep fp->aux from fp_old around in the new in bpf_prog_realloc()
301 * since they are unstable from user space side. in bpf_prog_calc_tag()
507 * 1) Move over tail of insnsi from next instruction onwards, in bpf_patch_insn_single()
509 * new ones (patching is always from 1 to n insns, n > 0). in bpf_patch_insn_single()
1078 /* Allocate jit binary from bpf_prog_pack allocator.
1132 /* Copy JITed text from rw_header to its final location, the ro_header. */
1219 * can pick them up from prog->aux. in bpf_jit_get_func_addr()
1246 static int bpf_jit_blind_insn(const struct bpf_insn *from, in bpf_jit_blind_insn() argument
1260 * AX register is inaccessible from user space. It is mapped in in bpf_jit_blind_insn()
1275 if (from in bpf_jit_blind_insn()
[all...]
/kernel/linux/linux-5.10/arch/x86/kvm/svm/
H A Dnested.c145 /* We don't want to see VMMCALLs from a nested guest */ in recalc_intercepts()
156 struct vmcb_control_area *from) in copy_vmcb_control_area()
161 dst->intercepts[i] = from->intercepts[i]; in copy_vmcb_control_area()
163 dst->iopm_base_pa = from->iopm_base_pa; in copy_vmcb_control_area()
164 dst->msrpm_base_pa = from->msrpm_base_pa; in copy_vmcb_control_area()
165 dst->tsc_offset = from->tsc_offset; in copy_vmcb_control_area()
167 dst->tlb_ctl = from->tlb_ctl; in copy_vmcb_control_area()
168 dst->int_ctl = from->int_ctl; in copy_vmcb_control_area()
169 dst->int_vector = from->int_vector; in copy_vmcb_control_area()
170 dst->int_state = from in copy_vmcb_control_area()
155 copy_vmcb_control_area(struct vmcb_control_area *dst, struct vmcb_control_area *from) copy_vmcb_control_area() argument
[all...]
/kernel/linux/linux-5.10/drivers/mmc/core/
H A Dcore.c526 * mmc_cqe_recovery - Recover from CQE errors.
1071 /* Fill the mask, from max bit to min bit. */ in mmc_vddrange_to_ocrmask()
1451 * Remove the current bus handler from a host.
1657 static int mmc_do_erase(struct mmc_card *card, unsigned int from, in mmc_do_erase() argument
1685 (from >> card->erase_shift)) + 1; in mmc_do_erase()
1687 qty += to - from + 1; in mmc_do_erase()
1690 (from / card->erase_size)) + 1; in mmc_do_erase()
1693 from <<= 9; in mmc_do_erase()
1701 cmd.arg = from; in mmc_do_erase()
1733 * use R1B response. Or we need to prevent the host from doin in mmc_do_erase()
1774 mmc_align_erase_size(struct mmc_card *card, unsigned int *from, unsigned int *to, unsigned int nr) mmc_align_erase_size() argument
1831 mmc_erase(struct mmc_card *card, unsigned int from, unsigned int nr, unsigned int arg) mmc_erase() argument
1938 mmc_erase_group_aligned(struct mmc_card *card, unsigned int from, unsigned int nr) mmc_erase_group_aligned() argument
[all...]
/kernel/linux/linux-5.10/fs/btrfs/
H A Dsuper.c123 * __btrfs_handle_fs_error decodes expected errors from the caller and
253 * This will prevent new transactions from starting or trying to join this
290 * __btrfs_panic decodes unexpected, fatal errors from the caller,
605 strncmp(args[0].from, "zlib", 4) == 0) { in btrfs_parse_options()
620 args[0].from + 4); in btrfs_parse_options()
625 } else if (strncmp(args[0].from, "lzo", 3) == 0) { in btrfs_parse_options()
634 } else if (strncmp(args[0].from, "zstd", 4) == 0) { in btrfs_parse_options()
640 args[0].from + 4); in btrfs_parse_options()
646 } else if (strncmp(args[0].from, "no", 2) == 0) { in btrfs_parse_options()
656 args[0].from); in btrfs_parse_options()
[all...]
/kernel/linux/linux-5.10/fs/xfs/libxfs/
H A Dxfs_dir2_node.c248 struct xfs_dir2_free *from) in xfs_dir2_free_hdr_from_disk()
251 struct xfs_dir3_free *from3 = (struct xfs_dir3_free *)from; in xfs_dir2_free_hdr_from_disk()
261 to->magic = be32_to_cpu(from->hdr.magic); in xfs_dir2_free_hdr_from_disk()
262 to->firstdb = be32_to_cpu(from->hdr.firstdb); in xfs_dir2_free_hdr_from_disk()
263 to->nvalid = be32_to_cpu(from->hdr.nvalid); in xfs_dir2_free_hdr_from_disk()
264 to->nused = be32_to_cpu(from->hdr.nused); in xfs_dir2_free_hdr_from_disk()
265 to->bests = from->bests; in xfs_dir2_free_hdr_from_disk()
275 struct xfs_dir3_icfree_hdr *from) in xfs_dir2_free_hdr_to_disk()
280 ASSERT(from->magic == XFS_DIR3_FREE_MAGIC); in xfs_dir2_free_hdr_to_disk()
282 to3->hdr.hdr.magic = cpu_to_be32(from in xfs_dir2_free_hdr_to_disk()
245 xfs_dir2_free_hdr_from_disk( struct xfs_mount *mp, struct xfs_dir3_icfree_hdr *to, struct xfs_dir2_free *from) xfs_dir2_free_hdr_from_disk() argument
272 xfs_dir2_free_hdr_to_disk( struct xfs_mount *mp, struct xfs_dir2_free *to, struct xfs_dir3_icfree_hdr *from) xfs_dir2_free_hdr_to_disk() argument
413 __be16 *from; /* pointer to freespace entry */ xfs_dir2_leaf_to_node() local
[all...]
/kernel/linux/linux-6.6/drivers/mmc/core/
H A Dcore.c526 * mmc_cqe_recovery - Recover from CQE errors.
1076 /* Fill the mask, from max bit to min bit. */ in mmc_vddrange_to_ocrmask()
1406 * Remove the current bus handler from a host.
1601 static int mmc_do_erase(struct mmc_card *card, unsigned int from, in mmc_do_erase() argument
1629 (from >> card->erase_shift)) + 1; in mmc_do_erase()
1631 qty += to - from + 1; in mmc_do_erase()
1634 (from / card->erase_size)) + 1; in mmc_do_erase()
1637 from <<= 9; in mmc_do_erase()
1645 cmd.arg = from; in mmc_do_erase()
1703 unsigned int *from, in mmc_align_erase_size()
1702 mmc_align_erase_size(struct mmc_card *card, unsigned int *from, unsigned int *to, unsigned int nr) mmc_align_erase_size() argument
1759 mmc_erase(struct mmc_card *card, unsigned int from, unsigned int nr, unsigned int arg) mmc_erase() argument
1866 mmc_erase_group_aligned(struct mmc_card *card, unsigned int from, unsigned int nr) mmc_erase_group_aligned() argument
[all...]
/kernel/linux/linux-6.6/fs/btrfs/
H A Dsuper.c411 strncmp(args[0].from, "zlib", 4) == 0) { in btrfs_parse_options()
426 args[0].from + 4); in btrfs_parse_options()
431 } else if (strncmp(args[0].from, "lzo", 3) == 0) { in btrfs_parse_options()
440 } else if (strncmp(args[0].from, "zstd", 4) == 0) { in btrfs_parse_options()
446 args[0].from + 4); in btrfs_parse_options()
452 } else if (strncmp(args[0].from, "no", 2) == 0) { in btrfs_parse_options()
462 args[0].from); in btrfs_parse_options()
471 * If we remount from compress-force=xxx to in btrfs_parse_options()
522 args[0].from); in btrfs_parse_options()
588 args[0].from); in btrfs_parse_options()
[all...]
/kernel/linux/linux-6.6/fs/xfs/libxfs/
H A Dxfs_dir2_node.c248 struct xfs_dir2_free *from) in xfs_dir2_free_hdr_from_disk()
251 struct xfs_dir3_free *from3 = (struct xfs_dir3_free *)from; in xfs_dir2_free_hdr_from_disk()
261 to->magic = be32_to_cpu(from->hdr.magic); in xfs_dir2_free_hdr_from_disk()
262 to->firstdb = be32_to_cpu(from->hdr.firstdb); in xfs_dir2_free_hdr_from_disk()
263 to->nvalid = be32_to_cpu(from->hdr.nvalid); in xfs_dir2_free_hdr_from_disk()
264 to->nused = be32_to_cpu(from->hdr.nused); in xfs_dir2_free_hdr_from_disk()
265 to->bests = from->bests; in xfs_dir2_free_hdr_from_disk()
275 struct xfs_dir3_icfree_hdr *from) in xfs_dir2_free_hdr_to_disk()
280 ASSERT(from->magic == XFS_DIR3_FREE_MAGIC); in xfs_dir2_free_hdr_to_disk()
282 to3->hdr.hdr.magic = cpu_to_be32(from in xfs_dir2_free_hdr_to_disk()
245 xfs_dir2_free_hdr_from_disk( struct xfs_mount *mp, struct xfs_dir3_icfree_hdr *to, struct xfs_dir2_free *from) xfs_dir2_free_hdr_from_disk() argument
272 xfs_dir2_free_hdr_to_disk( struct xfs_mount *mp, struct xfs_dir2_free *to, struct xfs_dir3_icfree_hdr *from) xfs_dir2_free_hdr_to_disk() argument
413 __be16 *from; /* pointer to freespace entry */ xfs_dir2_leaf_to_node() local
[all...]
/test/xts/acts/security/huks/security_huks_reformed_test/huks_cipher_promise_BasicTest/entry/src/ohosTest/js/test/Cipher/
H A DSecurityHuksCipherSM2BasicPromiseJsunit.test.js17 import { describe, it, expect } from '@ohos/hypium';
18 import huks from '@ohos.security.huks';
19 import { HuksCipherRSA } from '../../../../../../../utils/param/cipher/publicCipherParam';
20 import { stringToUint8Array, uint8ArrayToString, arrayEqual } from '../../../../../../../utils/param/publicFunc';
21 import { Data1kb } from '../../../../../../../utils/data.json';
144 if (Array.from(inDataArray).length < dateSize) {
148 let count = Math.floor(Array.from(inDataArray).length / dateSize);
149 let remainder = Array.from(inDataArray).length % dateSize;
151 HuksOptions.inData = new Uint8Array(Array.from(huksOptionsInData).slice(dateSize * i, dateSize * (i + 1)));
157 Array.from(huksOptionsInDat
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
H A Dbitfield.h21 * of the quantities that we deal with are DMAed to/from host memory,
109 * Extract bit field portion [low,high) from the native-endian element
130 * Extract bit field portion [low,high) from the 64-bit little-endian
137 * Extract bit field portion [low,high) from the 32-bit little-endian
451 #define EFX_AND_OWORD(oword, from, mask) \
453 (oword).u64[0] = (from).u64[0] & (mask).u64[0]; \
454 (oword).u64[1] = (from).u64[1] & (mask).u64[1]; \
457 #define EFX_AND_QWORD(qword, from, mask) \
458 (qword).u64[0] = (from).u64[0] & (mask).u64[0]
460 #define EFX_OR_OWORD(oword, from, mas
[all...]
/kernel/linux/linux-6.6/arch/x86/kernel/
H A Dsignal_64.c186 /* Set up to return from userspace. If provided, use a stub in x64_setup_rt_frame()
281 const struct kernel_siginfo *from) in x32_copy_siginfo_to_user()
285 copy_siginfo_to_external32(&new, from); in x32_copy_siginfo_to_user()
286 if (from->si_signo == SIGCHLD) { in x32_copy_siginfo_to_user()
287 new._sifields._sigchld_x32._utime = from->si_utime; in x32_copy_siginfo_to_user()
288 new._sifields._sigchld_x32._stime = from->si_stime; in x32_copy_siginfo_to_user()
296 const struct kernel_siginfo *from) in copy_siginfo_to_user32()
299 return x32_copy_siginfo_to_user(to, from); in copy_siginfo_to_user32()
300 return __copy_siginfo_to_user32(to, from); in copy_siginfo_to_user32()
280 x32_copy_siginfo_to_user(struct compat_siginfo __user *to, const struct kernel_siginfo *from) x32_copy_siginfo_to_user() argument
295 copy_siginfo_to_user32(struct compat_siginfo __user *to, const struct kernel_siginfo *from) copy_siginfo_to_user32() argument
/kernel/linux/linux-5.10/arch/nds32/lib/
H A Dmemmove.S34 lmw.bim $p0, [$r1], $p0 ! Read a word from src
49 lmw.adm $p0, [$r1], $p0 ! Read a word from src
59 lb.bi $p0, [$r1], $t0 ! Read a byte from src
/kernel/linux/linux-5.10/arch/parisc/include/asm/
H A Dpage.h26 #define copy_page(to, from) copy_page_asm((void *)(to), (void *)(from))
31 void copy_page_asm(void *to, void *from);
/kernel/linux/linux-6.6/arch/ia64/include/asm/
H A Dpage.h66 extern void copy_page (void *to, void *from);
78 #define copy_user_page(to, from, vaddr, page) \
80 copy_page((to), (from)); \
/kernel/linux/linux-6.6/arch/sparc/include/asm/
H A Duaccess_64.h57 * and hide all the ugliness from the user.
228 const void __user *from,
232 const void *from,
238 const void __user *from,
/kernel/linux/linux-5.10/net/netfilter/
H A Dxt_connbytes.c92 if (sinfo->count.to >= sinfo->count.from) in connbytes_mt()
93 return what <= sinfo->count.to && what >= sinfo->count.from; in connbytes_mt()
95 return what < sinfo->count.to || what > sinfo->count.from; in connbytes_mt()
/kernel/linux/linux-5.10/net/qrtr/
H A Dtun.c85 static ssize_t qrtr_tun_write_iter(struct kiocb *iocb, struct iov_iter *from) in qrtr_tun_write_iter() argument
89 size_t len = iov_iter_count(from); in qrtr_tun_write_iter()
103 if (!copy_from_iter_full(kbuf, len, from)) { in qrtr_tun_write_iter()
/kernel/linux/linux-5.10/fs/9p/
H A Dxattr.c107 struct iov_iter from; in v9fs_fid_xattr_set() local
110 iov_iter_kvec(&from, WRITE, &kvec, 1, value_len); in v9fs_fid_xattr_set()
128 p9_client_write(fid, 0, &from, &retval); in v9fs_fid_xattr_set()
/kernel/linux/linux-5.10/drivers/s390/net/
H A Dsmsgiucv.c24 void (*callback)(const char *from, char *str);
48 /* Path pending from *MSG. */ in smsg_path_pending()
71 /* Remove trailing whitespace from the sender name. */ in smsg_message_pending()
89 void (*callback)(const char *from, char *str)) in smsg_register_callback()
106 void (*callback)(const char *from, in smsg_unregister_callback()
88 smsg_register_callback(const char *prefix, void (*callback)(const char *from, char *str)) smsg_register_callback() argument
105 smsg_unregister_callback(const char *prefix, void (*callback)(const char *from, char *str)) smsg_unregister_callback() argument
/kernel/linux/linux-5.10/include/linux/
H A Dclocksource.h74 * @tick_stable: Optional function called periodically from the watchdog
141 static inline u32 clocksource_freq2mult(u32 freq, u32 shift_constant, u64 from) in clocksource_freq2mult() argument
143 /* freq = cyc/from in clocksource_freq2mult()
146 * mult = from/freq * 2^shift in clocksource_freq2mult()
147 * mult = from * 2^shift / freq in clocksource_freq2mult()
148 * mult = (from<<shift) / freq in clocksource_freq2mult()
150 u64 tmp = ((u64)from) << shift_constant; in clocksource_freq2mult()
159 * clocksource_khz2mult - calculates mult from khz and shift
172 * clocksource_hz2mult - calculates mult from hz and shift
218 clocks_calc_mult_shift(u32 *mult, u32 *shift, u32 from, u3
[all...]
/kernel/linux/linux-6.6/fs/9p/
H A Dxattr.c112 struct iov_iter from; in v9fs_fid_xattr_set() local
115 iov_iter_kvec(&from, ITER_SOURCE, &kvec, 1, value_len); in v9fs_fid_xattr_set()
133 p9_client_write(fid, 0, &from, &retval); in v9fs_fid_xattr_set()
/kernel/linux/linux-6.6/include/linux/
H A Dclocksource.h70 * validate the clocksource from which the snapshot was
79 * @tick_stable: Optional function called periodically from the watchdog
147 static inline u32 clocksource_freq2mult(u32 freq, u32 shift_constant, u64 from) in clocksource_freq2mult() argument
149 /* freq = cyc/from in clocksource_freq2mult()
152 * mult = from/freq * 2^shift in clocksource_freq2mult()
153 * mult = from * 2^shift / freq in clocksource_freq2mult()
154 * mult = (from<<shift) / freq in clocksource_freq2mult()
156 u64 tmp = ((u64)from) << shift_constant; in clocksource_freq2mult()
165 * clocksource_khz2mult - calculates mult from khz and shift
178 * clocksource_hz2mult - calculates mult from h
[all...]
/kernel/linux/linux-6.6/net/qrtr/
H A Dtun.c85 static ssize_t qrtr_tun_write_iter(struct kiocb *iocb, struct iov_iter *from) in qrtr_tun_write_iter() argument
89 size_t len = iov_iter_count(from); in qrtr_tun_write_iter()
103 if (!copy_from_iter_full(kbuf, len, from)) { in qrtr_tun_write_iter()
/kernel/linux/linux-6.6/drivers/s390/net/
H A Dsmsgiucv.c24 void (*callback)(const char *from, char *str);
48 /* Path pending from *MSG. */ in smsg_path_pending()
71 /* Remove trailing whitespace from the sender name. */ in smsg_message_pending()
89 void (*callback)(const char *from, char *str)) in smsg_register_callback()
106 void (*callback)(const char *from, in smsg_unregister_callback()
88 smsg_register_callback(const char *prefix, void (*callback)(const char *from, char *str)) smsg_register_callback() argument
105 smsg_unregister_callback(const char *prefix, void (*callback)(const char *from, char *str)) smsg_unregister_callback() argument
/kernel/linux/linux-6.6/net/netfilter/
H A Dxt_connbytes.c92 if (sinfo->count.to >= sinfo->count.from) in connbytes_mt()
93 return what <= sinfo->count.to && what >= sinfo->count.from; in connbytes_mt()
95 return what < sinfo->count.to || what > sinfo->count.from; in connbytes_mt()

Completed in 23 milliseconds

1...<<31323334353637383940>>...191