Searched refs:range (Results 1 - 16 of 16) sorted by relevance

/system/extras/ext4_utils/
H A Dwipe.c37 u64 range[2]; local
45 range[0] = 0;
46 range[1] = len;
47 ret = ioctl(fd, BLKSECDISCARD, &range);
49 range[0] = 0;
50 range[1] = len;
51 ret = ioctl(fd, BLKDISCARD, &range);
/system/extras/perfprofd/quipper/
H A Daddress_mapper.h23 // Maps a new address range to quipper space.
25 // collide with the new range in real address space, indicating it has been
85 // Length of unmapped space after this range.
88 // Determines if this range intersects another range in real space.
89 inline bool Intersects(const MappedRange& range) const {
90 return (real_addr <= range.real_addr + range.size - 1) &&
91 (real_addr + size - 1 >= range.real_addr);
94 // Determines if this range full
[all...]
H A Daddress_mapper.cc26 MappedRange range; local
27 range.real_addr = real_addr;
28 range.size = size;
29 range.id = id;
30 range.offset_base = offset_base;
33 LOG(ERROR) << "Must allocate a nonzero-length address range.";
47 // does not result in one range being completely covered by another
53 if (!iter->Intersects(range))
58 if (!old_range_found && iter->Covers(range) && iter->size > range
67 const MappedRange& range = mappings_to_delete.front(); local
195 Unmap(const MappedRange& range) argument
[all...]
/system/extras/tests/storage/
H A Dwipe_blkdev.c53 u64 range[2]; local
57 range[0] = 0;
58 range[1] = len;
65 ret = ioctl(fd, req, &range);
/system/vold/
H A DTrimTask.cpp126 struct fstrim_range range; local
127 memset(&range, 0, sizeof(range));
128 range.len = ULLONG_MAX;
131 if (ioctl(fd, (mFlags & Flags::kDeepTrim) ? FIDTRIM : FITRIM, &range)) {
136 LOG(INFO) << "Trimmed " << range.len << " bytes on " << path
138 notifyResult(path, range.len, delta);
H A Dsecdiscard.cpp37 static int file_device_range(const std::string &path, uint64_t range[2]);
67 uint64_t range[2]; local
68 if (file_device_range(path, range) < 0) {
75 if (ioctl(fs_fd, BLKSECDISCARD, range) != 0) {
84 // Find a short range that completely covers the file.
86 static int file_device_range(const std::string &path, uint64_t range[2]) argument
129 range[0] = extent->fe_physical;
130 range[1] = extent->fe_length;
H A DUtils.cpp521 unsigned long long range[2]; local
534 range[0] = 0;
535 range[1] = (unsigned long long) nr_sec * 512;
537 LOG(INFO) << "About to discard " << range[1] << " on " << path;
538 if (ioctl(fd, BLKDISCARD, &range) == 0) {
/system/extras/libpagemap/
H A Dpm_process.c108 uint64_t *range; local
124 range = malloc(numpages * sizeof(uint64_t));
125 if (!range)
131 free(range);
134 error = read(proc->pagemap_fd, (char*)range, numpages * sizeof(uint64_t));
136 /* EOF, mapping is not in userspace mapping range (probably vectors) */
138 free(range);
143 free(range);
147 *range_out = range;
/system/media/camera/docs/
H A Dmetadata_template.mako166 % if prop.range is not None:
167 <range>${prop.range | x}</range>
H A Dmetadata_helpers.py666 range.
677 if entry.range:
682 text += '%s\n' % (dedent(entry.range))
H A Dhtml.mako340 % if prop.range is not None:
341 ${prop.range | md_html, linkify_tags(metadata), wbr}
H A Dmetadata_model.py1055 range: A string range, or None.
1093 range: A string with the range of the values of the entry, e.g. '>= 0'
1187 def range(self): member in class:Entry
1254 self._range = kwargs.get('range')
1401 range: A string with the range of the values of the entry, e.g. '>= 0'
1457 props_distinct = ['description', 'units', 'range', 'details',
/system/netd/server/
H A DRouteController.cpp254 // range (inclusive). Otherwise, the rule matches packets from all UIDs.
559 // If this rule does not specify a UID range, then also add a corresponding high-priority rule
765 for (const UidRanges::Range& range : uidRanges.getRanges()) {
766 if (int ret = modifyVpnUidRangeRule(table, range.first, range.second, secure, add)) {
769 if (int ret = modifyExplicitNetworkRule(netId, table, PERMISSION_NONE, range.first,
770 range.second, add)) {
773 if (int ret = modifyOutputInterfaceRules(interface, table, PERMISSION_NONE, range.first,
774 range.second, add)) {
/system/core/adb/tests/
H A Dtest_adb.py110 for _ in range(num_files):
132 for i in range(num_files):
/system/extras/perfprofd/tests/
H A Dperfprofd_test.cc471 W: line 6: specified value 0 for 'collection_interval' outside permitted range [100 4294967295] (ignored)
473 W: line 8: specified value 2 for 'collection_interval' outside permitted range [100 4294967295] (ignored)
/system/bt/gki/common/
H A Dgki_buffer.c26 #error Number of pools out of range (16 Max)!

Completed in 872 milliseconds