Home
last modified time | relevance | path

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

/tools/lib/bpf/
A Dnlattr.c25 static struct nlattr *nla_next(const struct nlattr *nla, int *remaining) in nla_next() argument
29 *remaining -= totlen; in nla_next()
33 static int nla_ok(const struct nlattr *nla, int remaining) in nla_ok() argument
35 return remaining >= (int)sizeof(*nla) && in nla_ok()
37 nla->nla_len <= remaining; in nla_ok()
/tools/testing/selftests/exec/
A Dbinfmt_script.py54 remaining = size - len(hashbang) - len(leading) - len(root) - len(target) - len(arg)
56 while remaining >= NAME_MAX:
59 remaining -= NAME_MAX
60 middle += fill * remaining
/tools/testing/selftests/net/packetdrill/
A Dtcp_nagle_sendmsg_msg_more.pkt37 // Test >MSS write will unleash MSS packets but hold on the remaining data.
45 // Err... we relase the remaining right after the ACK? note that PUSH is reset
A Dtcp_eor_no-coalesce-subsequent.pkt42 // The 9 remaining 400B chunks should be sent as individual packets.
A Dtcp_slow_start_slow-start-fq-ack-per-2pkt.pkt52 // remaining packets are delivered at a constant rate.
A Dtcp_eor_no-coalesce-retrans.pkt42 // The 9 remaining 400B chunks should be sent as individual packets.
/tools/testing/selftests/tc-testing/
A Dtdc.py96 def load_required_plugins(self, reqs, parser, args, remaining): argument
126 (args, remaining) = parser.parse_known_args(args=remaining, namespace=args)
172 def call_check_args(self, args, remaining): argument
174 pgn_inst.check_args(args, remaining)
744 def check_default_settings(args, remaining, pm): argument
762 pm.call_check_args(args, remaining)
915 def set_operation_mode(pm, parser, args, remaining): argument
957 args = pm.load_required_plugins(req_plugins, parser, args, remaining)
1012 (args, remaining) = parser.parse_known_args()
1016 check_default_settings(args, remaining, pm)
[all …]
A DTdcPlugin.py70 def check_args(self, args, remaining): argument
/tools/testing/selftests/kvm/s390/
A Dcmma_test.c393 TEST_ASSERT_EQ(args.remaining, TEST_DATA_PAGE_COUNT); in assert_all_slots_cmma_dirty()
407 TEST_ASSERT_EQ(args.remaining, 0); in assert_all_slots_cmma_dirty()
420 TEST_ASSERT_EQ(args.remaining, 0); in assert_all_slots_cmma_dirty()
439 if (args.count || args.remaining || args.start_gfn) in assert_no_pages_cmma_dirty()
443 args.remaining in assert_no_pages_cmma_dirty()
/tools/testing/selftests/net/
A Dbusy_poller.c203 ssize_t remaining = buflen; in write_chunk() local
209 write_result = write(fd, buf_offset, remaining); in write_chunk()
214 remaining -= write_result; in write_chunk()
/tools/testing/selftests/gpio/
A Dgpio-aggregator.sh46 remaining=$(find "$CONFIGFS_SIM_DIR" -mindepth 1 -type d 2> /dev/null)
47 if [ -n "$remaining" ]; then
48 fail "Directories remain in $CONFIGFS_SIM_DIR: $remaining"
136 remaining=$(find "$CONFIGFS_AGG_DIR" -mindepth 1 -type d 2> /dev/null)
137 if [ -n "$remaining" ]; then
138 fail "Directories remain in $CONFIGFS_AGG_DIR: $remaining"
/tools/perf/ui/stdio/
A Dhist.c121 u64 remaining; in __callchain__fprintf_graph() local
127 remaining = total_samples; in __callchain__fprintf_graph()
136 remaining -= cumul; in __callchain__fprintf_graph()
147 if (!next && (callchain_param.mode != CHAIN_GRAPH_REL || !remaining)) in __callchain__fprintf_graph()
179 remaining && remaining != total_samples) { in __callchain__fprintf_graph()
181 .hit = remaining, in __callchain__fprintf_graph()
/tools/testing/selftests/hid/tests/
A Dbase.py194 remaining = self.assertInputEventsIn(expected_events, effective_events)
195 assert remaining == []
A Dtest_mouse.py1032 remaining = self.assertInputEventsIn(expected_events, effective_events)
1034 remaining.remove(libevdev.InputEvent(libevdev.EV_SYN.SYN_REPORT, 0))
1039 assert remaining == []
/tools/hv/
A Dhv_kvp_daemon.c738 static void kvp_extract_routes(const char *line, void **output, size_t *remaining) in kvp_extract_routes() argument
755 if (*remaining >= (next_char - address) + 1) { in kvp_extract_routes()
762 *remaining -= next_char - address; in kvp_extract_routes()
767 *remaining -= 1; in kvp_extract_routes()
780 size_t alloc_size = 0, remaining = buffer_len - 1; in kvp_get_gateway() local
801 kvp_extract_routes(line + strlen(needle), &output, &remaining); in kvp_get_gateway()
/tools/perf/scripts/python/
A Dparallel-perf.py410 self.remaining = 0
415 cpu_time_range.remaining -= 1
417 if cpu_time_range.remaining == 0:
568 cpu_time_range.remaining = cnt
/tools/perf/Documentation/
A Dperf-script-perl.txt103 All of the remaining fields in the event's format file have
163 The remaining sections provide descriptions of each of the available
A Dperf-script-python.txt495 All of the remaining fields in the event's format file have
574 The remaining sections provide descriptions of each of the available
/tools/testing/selftests/tc-testing/creating-plugins/
A DAddingPlugins.txt38 def check_args(self, args, remaining) # see "CHECK_ARGS" below
/tools/arch/s390/include/uapi/asm/
A Dkvm.h47 __u64 remaining; member
/tools/testing/selftests/bpf/
A DREADME.rst40 remaining two columns provide additional meta data that helps identify and
/tools/perf/ui/browsers/
A Dhists.c2007 u16 remaining = h->nr_rows - h->row_offset; in ui_browser__hists_seek() local
2008 if (offset > remaining) { in ui_browser__hists_seek()
2009 offset -= remaining; in ui_browser__hists_seek()
/tools/perf/
A Ddesign.txt79 specified by the remaining 63 bits of event_config. The encoding is
/tools/power/pm-graph/
A Dsleepgraph.py2810 remaining = len(sortlist)
2814 while(remaining > 0):
2833 remaining -= 1
2846 remaining = len(devlist)
2875 while(remaining > 0):
2895 remaining -= 1
/tools/memory-model/Documentation/
A Daccess-marking.txt88 reads can enable better checking of the remaining accesses implementing

Completed in 55 milliseconds