Home
last modified time | relevance | path

Searched refs:rest (Results 1 – 25 of 308) sorted by relevance

12345678910>>...13

/linux/drivers/scsi/
H A Dscript_asm.pl403 $rest = $2;
404 foreach $rest (split (/\s*,\s*/, $rest)) {
405 if ($rest =~ /^($identifier)\s*=\s*($constant)\s*$/) {
456 $rest = $1;
457 if ($rest =~ /^FROM\s+($value)\s*,\s*(WITH|WHEN)\s+($phase)\s*$/i) {
466 } elsif ($rest =~ /^($value)\s*,\s*(PTR\s+|)($value)\s*,\s*(WITH|WHEN)\s+($phase)\s*$/i) {
478 } elsif ($rest =~ /^MEMORY\s+(.*)/i) {
479 $rest = $1;
481 if ($rest =~ /^($value)\s*,\s*($value)\s*,\s*($value)\s*$/) {
504 $rest = $3;
[all …]
/linux/drivers/staging/media/av7110/
H A Ddvb_filter.c86 int ret = 0, rest; in dvb_filter_pes2ts() local
106 rest = 183 - len; in dvb_filter_pes2ts()
107 if (rest) { in dvb_filter_pes2ts()
109 if (rest - 1) in dvb_filter_pes2ts()
110 memset(buf + 6, 0xff, rest - 1); in dvb_filter_pes2ts()
112 buf[4] = rest; in dvb_filter_pes2ts()
113 memcpy(buf + 5 + rest, pes, len); in dvb_filter_pes2ts()
H A Dav7110_ipack.c129 int rest = p->size - p->count; in write_ipack() local
131 memcpy(p->buf + p->count, data, rest); in write_ipack()
132 p->count += rest; in write_ipack()
134 if (count - rest > 0) in write_ipack()
135 write_ipack(p, data + rest, count - rest); in write_ipack()
/linux/scripts/
H A Dshow_delta49 (time_str, rest) = string.split(line[1:],']',1)
53 return (time, rest)
65 (time, rest) = get_time(line)
78 return ("[%5.6f < %5.6f >]" % (time, delta)) + rest
111 (time, rest) = get_time(line)
114 if string.find(rest, base_str)==1:
H A Dgenerate_rust_target.rs34 if let [ref rest @ .., ref last] = seq[..] { in comma_sep()
35 for v in rest { in comma_sep()
120 if let [ref rest @ .., ref last] = self.0[..] { in fmt()
121 for (key, value) in rest { in fmt()
/linux/rust/pin-init/internal/src/
H A Dzeroable.rs23 mut rest, in parse_zeroable_derive_input()
26 let last = rest.pop(); in parse_zeroable_derive_input()
74 (rest, new_impl_generics, ty_generics, last) in parse_zeroable_derive_input()
78 let (rest, new_impl_generics, ty_generics, last) = parse_zeroable_derive_input(input); in derive()
82 @sig(#(#rest)*), in derive()
91 let (rest, new_impl_generics, ty_generics, last) = parse_zeroable_derive_input(input); in maybe_derive()
95 @sig(#(#rest)*), in maybe_derive()
/linux/rust/pin-init/src/
H A Dmacros.rs601 @fields_munch($field:ident : $($($(::)?core::)?marker::)?PhantomPinned, $($rest:tt)*),
623 @fields_munch($($rest)*),
641 @fields_munch($field:ident : $type:ty, $($rest:tt)*),
658 @fields_munch($($rest)*),
676 @fields_munch($field:ident : $type:ty, $($rest:tt)*),
693 @fields_munch($($rest)*),
711 @fields_munch(#[pin] $($rest:tt)*),
727 @fields_munch($($rest)*),
749 @fields_munch($fvis:vis $field:ident $($rest:tt)*),
765 @fields_munch($field $($rest)*),
[all …]
/linux/fs/proc/
H A Dbootconfig.c23 #define rest(dst, end) ((end) > (dst) ? (end) - (dst) : 0) macro
42 ret = snprintf(dst, rest(dst, end), "%s = ", key); in copy_xbc_key_value_list()
53 ret = snprintf(dst, rest(dst, end), "%c%s%c%s", in copy_xbc_key_value_list()
60 ret = snprintf(dst, rest(dst, end), "\"\"\n"); in copy_xbc_key_value_list()
67 ret = snprintf(dst, rest(dst, end), "# Parameters from bootloader:\n# %s\n", in copy_xbc_key_value_list()
/linux/rust/macros/
H A Dpin_data.rs
H A Dzeroable.rs
/linux/tools/perf/util/
H A Ddemangle-rust-v0.c139 …ust_demangle_v0_demangle(const char *s, size_t s_len, struct demangle_v0 *res, const char **rest) { in rust_demangle_v0_demangle() argument
186 if (rest) { in rust_demangle_v0_demangle()
187 *rest = parser.sym + parser.next; in rust_demangle_v0_demangle()
1685 …mangle_legacy_demangle(const char *s, size_t s_len, struct demangle_legacy *res, const char **rest) in rust_demangle_legacy_demangle() argument
1755 *rest = chars + 1; in rust_demangle_legacy_demangle()
1787 const char *rest; in rust_demangle_legacy_display_demangle() local
1788 … for (rest = inner; rest < res.mangled + res.mangled_len && *rest >= '0' && *rest <= '9'; rest++) { in rust_demangle_legacy_display_demangle()
1790 i += *rest - '0'; in rust_demangle_legacy_display_demangle()
1792 if ((size_t)(res.mangled + res.mangled_len - rest) < i) { in rust_demangle_legacy_display_demangle()
1799 inner = rest + len; in rust_demangle_legacy_display_demangle()
[all …]
/linux/arch/hexagon/lib/
H A Dmemcpy.S159 #define rest R8 /* length - prolog bytes */ macro
321 rest = sub(len, star3); /* whats left after the loop */ define
324 if(p0) rest = add(rest, #16);
329 p0 = cmp.gt(rest, #16);
334 rest = add(rest, #-8); define
357 rest = kernel; define
367 p3 = cmp.eq(kernel, rest);
401 rest = add(kernel, #-1); define
/linux/arch/x86/lib/
H A Dcsum-wrappers_64.c75 __u64 rest, sum64; in csum_ipv6_magic() local
77 rest = (__force __u64)htonl(len) + (__force __u64)htons(proto) + in csum_ipv6_magic()
87 : "[sum]" (rest), [saddr] "r" (saddr), [daddr] "r" (daddr)); in csum_ipv6_magic()
/linux/drivers/s390/block/
H A Ddasd_eer.c128 unsigned long rest, len; in dasd_eer_write_buffer() local
132 rest = count; in dasd_eer_write_buffer()
133 while (rest > 0) { in dasd_eer_write_buffer()
136 len = min(rest, PAGE_SIZE - localhead); in dasd_eer_write_buffer()
139 rest -= len; in dasd_eer_write_buffer()
154 unsigned long rest, len, finalcount; in dasd_eer_read_buffer() local
159 rest = finalcount; in dasd_eer_read_buffer()
160 while (rest > 0) { in dasd_eer_read_buffer()
163 len = min(rest, PAGE_SIZE - localtail); in dasd_eer_read_buffer()
166 rest -= len; in dasd_eer_read_buffer()
/linux/tools/perf/
H A DMakefile85 rest := $(filter-out clean,$(MAKECMDGOALS)) macro
86 ifneq ($(rest),)
87 $(rest): clean
/linux/tools/lib/subcmd/
H A Dparse-options.c375 const char *rest; in parse_long_opt() local
381 rest = skip_prefix(arg, options->long_name); in parse_long_opt()
383 if (!rest) in parse_long_opt()
385 if (*rest == '=') in parse_long_opt()
387 if (*rest) in parse_long_opt()
392 if (!rest) { in parse_long_opt()
400 rest = skip_prefix(arg, options->long_name + 3); in parse_long_opt()
401 if (rest) { in parse_long_opt()
439 rest = skip_prefix(arg + 3, options->long_name); in parse_long_opt()
441 if (!rest && strstarts(options->long_name, arg + 3)) in parse_long_opt()
[all …]
/linux/include/linux/
H A Duaccess.h388 size_t rest = max(ksize, usize) - size; in copy_struct_from_user() local
396 memset(dst + size, 0, rest); in copy_struct_from_user()
398 int ret = check_zeroed_user(src + size, rest); in copy_struct_from_user()
485 size_t rest = max(ksize, usize) - size; in copy_struct_to_user() local
493 if (clear_user(dst + size, rest)) in copy_struct_to_user()
498 memchr_inv(src + size, 0, rest) != NULL; in copy_struct_to_user()
H A Dsockptr.h91 size_t rest = max(ksize, usize) - size; in copy_struct_from_sockptr() local
97 memset(dst + size, 0, rest); in copy_struct_from_sockptr()
101 while (rest--) { in copy_struct_from_sockptr()
/linux/tools/testing/selftests/arm64/fp/
H A Dvlset.c43 char *rest; in parse_options() local
72 vl = strtoul(argv[optind], &rest, 0); in parse_options()
73 if (*rest) { in parse_options()
/linux/rust/kernel/
H A Dlib.rs279 ($($asm:expr),* ; $($rest:tt)*) => {
280 ::core::arch::asm!( $($asm)*, options(att_syntax), $($rest)* )
292 ($($asm:expr),* ; $($rest:tt)*) => {
293 ::core::arch::asm!( $($asm)*, $($rest)* )
/linux/fs/squashfs/
H A Dxattr.c36 size_t rest = buffer_size; in squashfs_listxattr() local
62 if (prefix_size + name_size + 1 > rest) { in squashfs_listxattr()
77 rest -= prefix_size + name_size + 1; in squashfs_listxattr()
98 err = buffer_size - rest; in squashfs_listxattr()
/linux/tools/perf/tests/shell/
H A Dstat+shadow_stat.sh19 while read num evt _ ipc rest
58 while read cpu num evt _ ipc rest
/linux/Documentation/admin-guide/cgroup-v1/
H A Ddevices.rst86 B "c 1:3 rwm", "b 3:* rwm" all the rest
98 A "c 1:3 rwm", "c 1:5 r" all the rest
99 B "c 1:3 rwm", "c 1:5 r" all the rest
108 A "c *:3 rwm", "c 1:5 r" all the rest
109 B "c 1:3 rwm", "c 1:5 r" all the rest
/linux/scripts/dtc/
H A Dsrcpos.c316 char *pos_str, *fresh_fname = NULL, *first, *rest; in srcpos_string_comment() local
354 rest = srcpos_string_comment(pos->next, first_line, level); in srcpos_string_comment()
355 xasprintf(&pos_str, "%s, %s", first, rest); in srcpos_string_comment()
357 free(rest); in srcpos_string_comment()
/linux/lib/zstd/common/
H A Dentropy_common.c293 U32 const rest = total - weightTotal; in HUF_readStats_body() local
294 U32 const verif = 1 << ZSTD_highbit32(rest); in HUF_readStats_body()
295 U32 const lastWeight = ZSTD_highbit32(rest) + 1; in HUF_readStats_body()
296 …if (verif != rest) return ERROR(corruption_detected); /* last value must be a clean power of 2 … in HUF_readStats_body()

12345678910>>...13