/linux/tools/perf/scripts/python/ |
H A D | exported-sql-viewer.py | 194 def __init__(self, task, param=None, parent=None): argument 195 super(Thread, self).__init__(parent) 196 self.task = task 197 self.param = param 199 def run(self): argument 201 if self.param is None: 202 done, result = self.task() 204 done, result = self.task(self.param) 205 self 213 __init__(self, glb, params, parent=None) global() argument 220 Item(self, parent) global() argument 226 rowCount(self, parent) global() argument 233 hasChildren(self, parent) global() argument 236 headerData(self, section, orientation, role) global() argument 245 parent(self, child) global() argument 252 index(self, row, column, parent) global() argument 256 DisplayData(self, item, index) global() argument 259 FetchIfNeeded(self, row) global() argument 265 columnAlignment(self, column) global() argument 268 columnFont(self, column) global() argument 271 data(self, index, role) global() argument 285 __init__(self, parent=None) global() argument 291 Item(self, parent) global() argument 297 rowCount(self, parent) global() argument 300 headerData(self, section, orientation, role) global() argument 309 index(self, row, column, parent) global() argument 312 DisplayData(self, item, index) global() argument 315 FetchIfNeeded(self, row) global() argument 321 columnAlignment(self, column) global() argument 324 columnFont(self, column) global() argument 327 data(self, index, role) global() argument 367 __init__(self, parent, finder, is_reg_expr=False) global() argument 417 Widget(self) global() argument 420 Activate(self) global() argument 425 Deactivate(self) global() argument 428 Busy(self) global() argument 435 Idle(self) global() argument 442 Find(self, direction) global() argument 449 ValueChanged(self) global() argument 461 NextPrev(self, direction) global() argument 480 NotFound(self) global() argument 487 __init__(self, glb, params, row, parent_item) global() argument 500 getChildItem(self, row) global() argument 503 getParentItem(self) global() argument 506 getRow(self) global() argument 509 childCount(self) global() argument 516 hasChildren(self) global() argument 521 getData(self, column) global() argument 528 __init__(self, glb, params, row, comm_id, thread_id, call_path_id, time, insn_cnt, cyc_cnt, branch_count, parent_item) global() argument 538 Select(self) global() argument 572 __init__(self, glb, params, row, comm_id, thread_id, call_path_id, name, dso, count, time, insn_cnt, cyc_cnt, branch_count, parent_item) global() argument 589 __init__(self, glb, params, row, comm_id, thread_id, pid, tid, parent_item) global() argument 597 Select(self) global() argument 617 __init__(self, glb, params, row, comm_id, comm, parent_item) global() argument 625 Select(self) global() argument 641 __init__(self, glb, params) global() argument 661 __init__(self, glb, parent=None) global() argument 668 __init__(self, glb, parent=None) global() argument 671 FindSelect(self, value, pattern, query) global() argument 694 Found(self, query, found) global() argument 699 FindValue(self, value, pattern, query, last_value, last_pattern) global() argument 707 FindNext(self, query) global() argument 713 FindPrev(self, query) global() argument 719 FindThread(self, c) global() argument 728 Find(self, value, direction, pattern, context, callback) global() argument 730 __init__(self, *x) global() argument 732 Update(self, *x) global() argument 743 FindDone(self, thread, callback, ids) global() argument 750 __init__(self, glb, parent=None) global() argument 753 GetRoot(self) global() argument 756 columnCount(self, parent=None) global() argument 762 columnHeader(self, column) global() argument 769 columnAlignment(self, column) global() argument 776 DoFindSelect(self, query, match) global() argument 786 FindPath(self, query) global() argument 811 __init__(self, glb, params, row, comm_id, thread_id, calls_id, call_time, time, insn_cnt, cyc_cnt, branch_count, parent_item) global() argument 822 Select(self) global() argument 857 __init__(self, glb, params, row, comm_id, thread_id, calls_id, name, dso, call_time, time, insn_cnt, cyc_cnt, branch_count, parent_item) global() argument 874 __init__(self, glb, params, row, comm_id, thread_id, pid, tid, parent_item) global() argument 882 Select(self) global() argument 902 __init__(self, glb, params, row, comm_id, comm, parent_item) global() argument 910 Select(self) global() argument 926 __init__(self, glb, params) global() argument 946 __init__(self, glb, parent=None) global() argument 949 GetRoot(self) global() argument 952 columnCount(self, parent=None) global() argument 958 columnHeader(self, column) global() argument 965 columnAlignment(self, column) global() argument 972 DoFindSelect(self, query, match) global() argument 981 FindPath(self, query) global() argument 1003 __init__(self, *children) global() argument 1017 __init__(self, *children) global() argument 1031 __init__(self, *children) global() argument 1035 Widget(self) global() argument 1042 __init__(self, parent=None) global() argument 1054 DisplayFound(self, ids) global() argument 1073 Find(self, value, direction, pattern, context) global() argument 1078 FindDone(self, ids) global() argument 1091 __init__(self, glb, parent=None) global() argument 1113 __init__(self, glb, parent=None, thread_at_time=None) global() argument 1134 DisplayThreadAtTime(self, comm_id, thread_id, time) global() argument 1200 __init__(self, x=0, y=0) global() argument 1204 __str__(self) global() argument 1210 __init__(self, lo=0, hi=0) global() argument 1214 __str__(self) global() argument 1221 __init__(self, key, title = "", ordinal = "") global() argument 1235 __init__(self, colour) global() argument 1242 __init__(self, key, exec_comm_id, pid, tid, comm, thread_id, comm_id) global() argument 1259 __init__(self, data, index, x, y, altx=None, alty=None, hregion=None, vregion=None) global() argument 1273 __init__(self, collection, xbase=Decimal(0), ybase=Decimal(0)) global() argument 1280 AddPoint(self, x, y, altx=None, alty=None, hregion=None, vregion=None) global() argument 1288 XToData(self, x) global() argument 1291 YToData(self, y) global() argument 1298 __init__(self, db, collection, cpu, xbase) global() argument 1305 SelectComms(self, db, thread_id, last_comm_id, start_time, end_time) global() argument 1322 SelectSwitches(self, db) global() argument 1353 NewHRegion(self, db, key, thread_id, comm_id, time) global() argument 1371 HRegion(self, db, thread_id, comm_id, time) global() argument 1383 __init__(self, glb) global() argument 1393 AddGraphData(self, data) global() argument 1396 LookupHRegion(self, key) global() argument 1401 AddHRegion(self, key, hregion) global() argument 1408 __init__(self, glb, db, machine_id) global() argument 1423 SelectCPUs(self, db) global() argument 1437 __init__(self, data, graph_width, graph_height, attrs, event_handler, parent=None) global() argument 1447 boundingRect(self) global() argument 1450 PaintPoint(self, painter, last, x) global() argument 1474 paint(self, painter, option, widget) global() argument 1483 BinarySearchPoint(self, target) global() argument 1496 XPixelToData(self, x) global() argument 1507 EventToData(self, event) global() argument 1529 hoverMoveEvent(self, event) global() argument 1534 hoverLeaveEvent(self, event) global() argument 1537 mousePressEvent(self, event) global() argument 1549 __init__(self, width, parent=None) global() argument 1556 boundingRect(self) global() argument 1559 Step(self) global() argument 1569 PaintMarks(self, painter, at_y, lo, hi, step, i) global() argument 1586 paint(self, painter, option, widget) global() argument 1600 ScaleDimensions(self) global() argument 1610 PaintScale(self, painter, at_x, at_y) global() argument 1617 ScaleWidth(self) global() argument 1621 ScaleHeight(self) global() argument 1624 ScaleUnit(self) global() argument 1631 __init__(self, axis, parent=None) global() argument 1635 boundingRect(self) global() argument 1641 paint(self, painter, option, widget) global() argument 1649 Unit(self) global() argument 1652 Text(self) global() argument 1659 __init__(self, axis, parent=None) global() argument 1662 Text(self) global() argument 1682 __init__(self, collection, data, attrs, event_handler, first, parent=None) global() argument 1726 boundingRect(self) global() argument 1729 paint(self, painter, option, widget) global() argument 1732 RBXToPixel(self, x) global() argument 1735 RBXRangeToPixel(self, x0, x1) global() argument 1738 RBPixelToTime(self, x) global() argument 1743 RBEventTimes(self, x0, x1) global() argument 1749 RBEvent(self, x0, x1) global() argument 1753 RBMoveEvent(self, x0, x1) global() argument 1758 RBReleaseEvent(self, x0, x1, selection_state) global() argument 1768 __init__(self, parent=None) global() argument 1775 SetSize(self, width, height) global() argument 1779 boundingRect(self) global() argument 1782 paint(self, painter, option, widget) global() argument 1798 __init__(self, collection, attrs, event_handler, child_class, parent=None) global() argument 1823 EnableRubberBand(self, xlo, xhi, rb_event_handler) global() argument 1836 boundingRect(self) global() argument 1839 paint(self, painter, option, widget) global() argument 1842 RubberBandParent(self) global() argument 1848 RubberBandSetGeometry(self, rect) global() argument 1855 SetSelection(self, selection_state) global() argument 1863 SetBracket(self, rect) global() argument 1872 RubberBandX(self, event) global() argument 1882 RubberBandRect(self, x) global() argument 1892 MousePressEvent(self, event) global() argument 1905 MouseMoveEvent(self, event) global() argument 1913 MouseReleaseEvent(self, event) global() argument 1925 __init__(self, collection, region_attributes, parent=None) global() argument 1937 rowCount(self, parent) global() argument 1940 headerData(self, section, orientation, role) global() argument 1947 index(self, row, column, parent) global() argument 1950 columnCount(self, parent=None) global() argument 1953 columnHeader(self, column) global() argument 1956 data(self, index, role) global() argument 1979 SetHighlight(self, row, set_highlight) global() argument 1985 Highlight(self, highlight_set) global() argument 1999 __init__(self, collection, region_attributes, parent=None) global() argument 2023 resizeEvent(self, event) global() argument 2027 Highlight(self, highlight_set) global() argument 2031 changeEvent(self, event) global() argument 2083 __init__(self, scale, subrange, region_attributes, dp) global() argument 2091 XToPixel(self, x) global() argument 2094 YToPixel(self, y) global() argument 2097 PixelToXRounded(self, px) global() argument 2100 PixelToYRounded(self, py) global() argument 2103 PixelToX(self, px) global() argument 2111 PixelToY(self, py) global() argument 2119 ToPDP(self, dp, scale) global() argument 2135 Update(self) global() argument 2144 __init__(self, parent=None) global() argument 2149 resizeEvent(self, ev) global() argument 2168 __init__(self, parent=None) global() argument 2171 GraphTitleChanged(self, title) global() argument 2174 Title(self) global() argument 2193 __init__(self, glb, collection, parent=None) global() argument 2264 GetScaleForRangeX(self, xsubrange) global() argument 2270 GetScaleForRangeY(self, ysubrange) global() argument 2276 GetScaleForRange(self, subrange) global() argument 2282 PointEvent(self, cpu, time_from, time_to, hregions) global() argument 2290 RightClickEvent(self, cpu, hregion_times, pos) global() argument 2300 RightClickSelect(self, args) global() argument 2303 NoPointEvent(self) global() argument 2307 RangeEvent(self, time_from, time_to) global() argument 2319 BackState(self) global() argument 2322 PushBackState(self) global() argument 2327 PopBackState(self) global() argument 2333 PushForwardState(self) global() argument 2338 PopForwardState(self) global() argument 2344 Title(self) global() argument 2353 Update(self) global() argument 2361 Back(self) global() argument 2368 Forward(self) global() argument 2375 SelectEvent(self, x0, x1, selection_state) global() argument 2385 Zoom(self) global() argument 2405 __init__(self, glb, title, init_fn) global() argument 2420 Done(self) global() argument 2423 ThreadFn(self, glb) global() argument 2430 Result(self) global() argument 2444 __init__(self, glb, parent=None) global() argument 2466 Init(self, db) global() argument 2469 GraphTitleChanged(self, title) global() argument 2476 __init__(self, root) global() argument 2482 FindSelect(self) global() argument 2498 FindValue(self) global() argument 2506 FindThread(self) global() argument 2523 Find(self, value, direction, pattern, context, callback) global() argument 2530 FindDone(self, thread, callback, row) global() argument 2541 __init__(self, dbref, sql, buffer, head, tail, fetch_count, fetching_done, process_target, wait_event, fetched_event, prep) global() argument 2563 Select(self) global() argument 2571 Next(self) global() argument 2579 WaitForTarget(self) global() argument 2588 HasSpace(self, sz) global() argument 2602 WaitForSpace(self, sz) global() argument 2612 AddToBuffer(self, obj) global() argument 2623 FetchBatch(self, batch_size) global() argument 2639 Run(self) global() argument 2659 __init__(self, glb, sql, prep, process_data, parent=None) global() argument 2684 Shutdown(self) global() argument 2692 Thread(self) global() argument 2709 Fetch(self, nr) global() argument 2723 RemoveFromBuffer(self) global() argument 2736 ProcessData(self, count) global() argument 2748 __init__(self, model, parent) global() argument 2799 Widget(self) global() argument 2802 Activate(self) global() argument 2806 Deactivate(self) global() argument 2809 Enable(self, enable) global() argument 2813 Busy(self) global() argument 2819 Idle(self) global() argument 2826 Target(self) global() argument 2829 Done(self) global() argument 2838 Progress(self, count) global() argument 2850 FetchMoreRecords(self) global() argument 2862 __init__(self, row, col, text, parent_item) global() argument 2869 getParentItem(self) global() argument 2872 getRow(self) global() argument 2875 childCount(self) global() argument 2878 hasChildren(self) global() argument 2881 getData(self, column) global() argument 2888 __init__(self, glb, row, data, parent_item) global() argument 2900 getChildItem(self, row) global() argument 2903 getParentItem(self) global() argument 2906 getRow(self) global() argument 2909 Select(self) global() argument 2988 childCount(self) global() argument 2995 hasChildren(self) global() argument 3000 getData(self, column) global() argument 3007 __init__(self) global() argument 3012 getChildItem(self, row) global() argument 3015 getParentItem(self) global() argument 3018 getRow(self) global() argument 3021 childCount(self) global() argument 3024 hasChildren(self) global() argument 3027 getData(self, column) global() argument 3098 __init__(self, glb, event_id, where_clause, parent=None) global() argument 3137 GetRoot(self) global() argument 3140 columnCount(self, parent=None) global() argument 3146 columnHeader(self, column) global() argument 3152 columnFont(self, column) global() argument 3161 DisplayData(self, item, index) global() argument 3166 AddSample(self, data) global() argument 3171 Update(self, fetched) global() argument 3185 FetchMoreRecords(self, count) global() argument 3193 HasMoreRecords(self) global() argument 3200 __init__(self, name = "", where_clause = "", limit = "") global() argument 3205 UniqueId(self) global() argument 3212 __init__(self, glb, event_id, report_vars, parent=None) global() argument 3241 ResizeColumnToContents(self, column, n) global() argument 3257 ResizeColumnsToContents(self) global() argument 3267 UpdateColumnWidths(self, *x) global() argument 3272 Find(self, value, direction, pattern, context) global() argument 3277 FindDone(self, row) global() argument 3288 __init__(self, glb, label, placeholder_text, parent, id = "", default = "") global() argument 3307 TurnTextRed(self) global() argument 3314 TurnTextNormal(self) global() argument 3320 InvalidValue(self, value) global() argument 3326 Invalidate(self) global() argument 3329 DoValidate(self, input_string) global() argument 3332 Validate(self) global() argument 3343 IsValid(self) global() argument 3351 IsNumber(self, value) global() argument 3362 __init__(self, glb, label, placeholder_text, column_name, parent) global() argument 3367 DoValidate(self, input_string) global() argument 3389 __init__(self, glb, label, placeholder_text, parent, id = "", default = "") global() argument 3392 DoValidate(self, input_string) global() argument 3404 __init__(self, glb, label, placeholder_text, table_name, match_column, column_name1, column_name2, parent) global() argument 3412 ValueToIds(self, value) global() argument 3422 DoValidate(self, input_string) global() argument 3438 __init__(self, glb, label, placeholder_text, column_name, parent) global() argument 3456 IdBetween(self, query, lower_id, higher_id, order) global() argument 3463 BinarySearchTime(self, lower_id, higher_id, target_time, get_floor) global() argument 3492 ConvertRelativeTime(self, val) global() argument 3513 ConvertTimeRange(self, vrange) global() argument 3530 AddTimeRange(self, value, ranges) global() argument 3548 DoValidate(self, input_string) global() argument 3560 __init__(self, glb, title, items, partial, parent=None) global() argument 3603 Ok(self) global() argument 3628 ShowMessage(self, msg) global() argument 3631 ClearMessage(self) global() argument 3638 __init__(self, glb, parent=None) global() argument 3675 __init__(self, row, data) global() argument 3679 getData(self, column) global() argument 3688 __init__(self, glb, sql, column_headers, parent=None) global() argument 3698 DisplayData(self, item, index) global() argument 3702 AddSample(self, data) global() argument 3707 Update(self, fetched) global() argument 3721 FetchMoreRecords(self, count) global() argument 3729 HasMoreRecords(self) global() argument 3732 columnCount(self, parent=None) global() argument 3735 columnHeader(self, column) global() argument 3738 SQLTableDataPrep(self, query, count) global() argument 3748 __init__(self, glb, table_name, parent=None) global() argument 3779 samples_view_DataPrep(self, query, count) global() argument 3788 samples_DataPrep(self, query, count) global() argument 3802 __init__(self, parent=None) global() argument 3805 ResizeColumnToContents(self, column, n) global() argument 3820 ResizeColumnsToContents(self) global() argument 3830 UpdateColumnWidths(self, *x) global() argument 4040 __init__(self, view) global() argument 4045 ShowContextMenu(self, pos) global() argument 4050 AddCopy(self, menu) global() argument 4054 AddActions(self, menu) global() argument 4059 __init__(self, view) global() argument 4062 AddActions(self, menu) global() argument 4073 __init__(self, glb, table_name, parent=None) global() argument 4106 Find(self, value, direction, pattern, context) global() argument 4111 FindDone(self, row) global() argument 4141 __init__(self, glb, report_vars, parent=None) global() argument 4174 columnAlignment(self, column) global() argument 4181 __init__(self, glb, parent=None) global() argument 4197 __init__(self, glb, report_vars, parent=None) global() argument 4226 Find(self, value, direction, pattern, context) global() argument 4231 FindDone(self, row) global() argument 4277 __init__(self, mdi_area, menu) global() argument 4288 Update(self) global() argument 4321 setActiveSubWindow(self, nr) global() argument 4475 __init__(self, glb, parent=None) global() argument 4491 __init__(self, parent=None) global() argument 4532 __init__(self, glb, parent=None) global() argument 4611 __init__(self, glb, parent=None) global() argument 4663 Try(self, fn) global() argument 4671 CopyToClipboard(self) global() argument 4674 CopyToClipboardCSV(self) global() argument 4677 Find(self) global() argument 4685 FetchMoreRecords(self) global() argument 4693 ShrinkFont(self) global() argument 4696 EnlargeFont(self) global() argument 4699 EventMenu(self, events, reports_menu) global() argument 4715 TimeChartByCPU(self) global() argument 4718 TableMenu(self, tables, menu) global() argument 4723 NewCallGraph(self) global() argument 4726 NewCallTree(self) global() argument 4729 NewTopCalls(self) global() argument 4735 NewBranchView(self, event_id) global() argument 4738 NewSelectedBranchView(self, event_id) global() argument 4744 NewTableView(self, table_name) global() argument 4747 Help(self) global() argument 4750 About(self) global() argument 4784 __init__(self, dbref, db, dbname) global() argument 4806 FileFromBuildId(self, build_id) global() argument 4810 FileFromNamesAndBuildId(self, short_name, long_name, build_id) global() argument 4826 AddInstanceToShutdownOnExit(self, instance) global() argument 4830 ShutdownInstances(self) global() argument 4837 GetHostMachineId(self) global() argument 4846 HostMachineId(self) global() argument 4851 SelectValue(self, sql) global() argument 4861 SwitchesMinTime(self, machine_id) global() argument 4867 SwitchesMaxTime(self, machine_id) global() argument 4873 SamplesMinTime(self, machine_id) global() argument 4879 SamplesMaxTime(self, machine_id) global() argument 4885 CallsMinTime(self, machine_id) global() argument 4892 CallsMaxTime(self, machine_id) global() argument 4899 GetStartTime(self, machine_id) global() argument 4909 GetFinishTime(self, machine_id) global() argument 4919 HostStartTime(self) global() argument 4925 HostFinishTime(self) global() argument 4931 StartTime(self, machine_id) global() argument 4936 FinishTime(self, machine_id) global() argument 4945 __init__(self, is_sqlite3, dbname) global() argument 4955 Open(self, connection_name) global() argument [all...] |
/linux/scripts/gdb/linux/ |
H A D | mm.py | 24 def __init__(self): argument 28 self.ops = aarch64_page_ops() 33 def __init__(self): argument 34 self.SUBSECTION_SHIFT = 21 35 self.SEBSECTION_SIZE = 1 << self.SUBSECTION_SHIFT 36 self.MODULES_VSIZE = 2 * 1024 * 1024 * 1024 39 self.SECTION_SIZE_BITS = 29 41 self.SECTION_SIZE_BITS = 27 42 self 130 SECTION_NR_TO_ROOT(self, sec) global() argument 133 __nr_to_section(self, nr) global() argument 138 pfn_to_section_nr(self, pfn) global() argument 141 section_nr_to_pfn(self, sec) global() argument 144 __pfn_to_section(self, pfn) global() argument 147 pfn_to_section(self, pfn) global() argument 150 subsection_map_index(self, pfn) global() argument 153 pfn_section_valid(self, ms, pfn) global() argument 160 valid_section(self, mem_section) global() argument 165 early_section(self, mem_section) global() argument 170 pfn_valid(self, pfn) global() argument 182 _PAGE_OFFSET(self, va) global() argument 185 _PAGE_END(self, va) global() argument 188 kasan_reset_tag(self, addr) global() argument 194 __is_lm_address(self, addr) global() argument 199 __lm_to_phys(self, addr) global() argument 202 __kimg_to_phys(self, addr) global() argument 205 __virt_to_phys_nodebug(self, va) global() argument 212 __virt_to_phys(self, va) global() argument 218 virt_to_phys(self, va) global() argument 221 PFN_PHYS(self, pfn) global() argument 224 PHYS_PFN(self, phys) global() argument 227 __phys_to_virt(self, pa) global() argument 230 __phys_to_pfn(self, pa) global() argument 233 __pfn_to_phys(self, pfn) global() argument 236 __pa_symbol_nodebug(self, x) global() argument 239 __phys_addr_symbol(self, x) global() argument 245 __pa_symbol(self, x) global() argument 248 __va(self, pa) global() argument 251 pfn_to_kaddr(self, pfn) global() argument 254 virt_to_pfn(self, va) global() argument 257 sym_to_pfn(self, x) global() argument 260 page_to_pfn(self, page) global() argument 263 page_to_phys(self, page) global() argument 266 pfn_to_page(self, pfn) global() argument 269 page_to_virt(self, page) global() argument 276 virt_to_page(self, va) global() argument 284 page_address(self, page) global() argument 287 folio_address(self, folio) global() argument 293 __init__(self) global() argument 296 invoke(self, arg, from_tty) global() argument 307 __init__(self) global() argument 310 invoke(self, arg, from_tty) global() argument 322 __init__(self) global() argument 325 invoke(self, arg, from_tty) global() argument 337 __init__(self) global() argument 340 invoke(self, arg, from_tty) global() argument 352 __init__(self) global() argument 355 invoke(self, arg, from_tty) global() argument 366 __init__(self) global() argument 369 invoke(self, arg, from_tty) global() argument 380 __init__(self) global() argument 383 invoke(self, arg, from_tty) global() argument 394 __init__(self) global() argument 397 invoke(self, arg, from_tty) global() argument [all...] |
/linux/tools/net/ynl/pyynl/lib/ |
H A D | nlspec.py | 31 def __init__(self, family, yaml): argument 32 self.yaml = yaml 33 self.family = family 35 if 'name' in self.yaml: 36 self.name = self.yaml['name'] 37 self.ident_name = self.name.replace('-', '_') 39 self._super_resolved = False 40 family.add_unresolved(self) 42 __getitem__(self, key) global() argument 45 __contains__(self, key) global() argument 48 get(self, key, default=None) global() argument 51 resolve_up(self, up) global() argument 56 resolve(self) global() argument 72 __init__(self, enum_set, yaml, prev, value_start) global() argument 87 has_doc(self) global() argument 90 raw_value(self) global() argument 93 user_value(self, as_flags=None) global() argument 113 __init__(self, family, yaml) global() argument 128 new_entry(self, entry, prev_entry, value_start) global() argument 131 has_doc(self) global() argument 136 has_entry_doc(self) global() argument 142 get_mask(self, as_flags=None) global() argument 170 __init__(self, family, attr_set, yaml, value) global() argument 201 __init__(self, family, yaml) global() argument 229 new_attr(self, elem, value) global() argument 232 __getitem__(self, key) global() argument 235 __contains__(self, key) global() argument 238 __iter__(self) global() argument 241 items(self) global() argument 259 __init__(self, family, yaml) global() argument 277 __init__(self, family, yaml) global() argument 284 new_member(self, family, elem) global() argument 287 __iter__(self) global() argument 290 items(self) global() argument 304 __init__(self, family, yaml) global() argument 312 new_format(self, family, format) global() argument 326 __init__(self, family, yaml) global() argument 353 __init__(self, family, yaml, req_value, rsp_value) global() argument 370 resolve(self) global() argument 401 __init__(self, family, yaml) global() argument 431 __init__(self, spec_path, schema_path=None, exclude_ops=None) global() argument 494 new_enum(self, elem) global() argument 497 new_attr_set(self, elem) global() argument 500 new_struct(self, elem) global() argument 503 new_sub_message(self, elem) global() argument 506 new_operation(self, elem, req_val, rsp_val) global() argument 509 new_mcast_group(self, elem) global() argument 512 add_unresolved(self, elem) global() argument 515 _dictify_ops_unified(self) global() argument 527 _dictify_ops_directional(self) global() argument 569 find_operation(self, name) global() argument 578 resolve(self) global() argument [all...] |
/linux/tools/testing/selftests/drivers/net/lib/py/ |
H A D | env.py | 21 def __init__(self, src_path): argument 22 self.src_path = Path(src_path) 23 self.test_dir = self.src_path.parent.resolve() 24 self.net_lib_dir = (Path(__file__).parent / "../../../../net/lib").resolve() 26 self.env = self._load_env_file() 28 def _load_env_file(self): argument 31 src_dir = Path(self.src_path).parent.resolve() 56 def __init__(self, src_pat argument 75 __enter__(self) global() argument 80 __exit__(self, ex_type, ex_value, ex_tb) global() argument 86 __del__(self) global() argument 105 __init__(self, src_path, nsim_test=None) global() argument 166 create_local(self) global() argument 186 _check_env(self) global() argument 210 resolve_remote_ifc(self) global() argument 222 __enter__(self) global() argument 225 __exit__(self, ex_type, ex_value, ex_tb) global() argument 231 __del__(self) global() argument 245 require_ipver(self, ipver) global() argument 249 _require_cmd(self, comm, key, host=None) global() argument 257 require_cmd(self, comm, local=True, remote=False) global() argument 265 wait_hw_stats_settle(self) global() argument [all...] |
/linux/tools/verification/rvgen/rvgen/ |
H A D | generator.py | 15 def __init__(self, extra_params={}): argument 16 self.name = extra_params.get("model_name") 17 self.parent = extra_params.get("parent") 18 self.abs_template_dir = \ 19 os.path.join(os.path.dirname(__file__), "templates", self.template_dir) 20 self.main_c = self._read_template_file("main.c") 21 self.kconfig = self._read_template_file("Kconfig") 22 self 27 __fill_rv_kernel_dir(self) global() argument 53 _read_file(self, path) global() argument 64 _read_template_file(self, file) global() argument 74 fill_parent(self) global() argument 77 fill_include_parent(self) global() argument 82 fill_tracepoint_handlers_skel(self) global() argument 85 fill_tracepoint_attach_probe(self) global() argument 88 fill_tracepoint_detach_helper(self) global() argument 91 fill_main_c(self) global() argument 109 fill_model_h(self) global() argument 112 fill_monitor_class_type(self) global() argument 115 fill_monitor_class(self) global() argument 118 fill_tracepoint_args_skel(self, tp_type) global() argument 121 fill_monitor_deps(self) global() argument 129 fill_kconfig(self) global() argument 140 _patch_file(self, file, marker, line) global() argument 147 fill_tracepoint_tooltip(self) global() argument 160 _kconfig_marker(self, container=None) global() argument 164 fill_kconfig_tooltip(self) global() argument 177 fill_makefile_tooltip(self) global() argument 191 fill_monitor_tooltip(self) global() argument 196 __create_directory(self) global() argument 207 __write_file(self, file_name, content) global() argument 217 _create_file(self, file_name, content) global() argument 223 __get_main_name(self) global() argument 229 print_files(self) global() argument 248 __init__(self, extra_params={}) global() argument 252 fill_trace_h(self) global() argument 266 print_files(self) global() argument [all...] |
H A D | dot2c.py | 25 def __init__(self, file_path, model_name=None): argument 27 self.line_length = 100 29 def __buff_to_string(self, buff): argument 38 def __get_enum_states_content(self): argument 40 buff.append("\t%s%s = 0," % (self.initial_state, self.enum_suffix)) 41 for state in self.states: 42 if state != self.initial_state: 43 buff.append("\t%s%s," % (state, self.enum_suffix)) 44 buff.append("\tstate_max%s" % (self 48 get_enum_states_string(self) global() argument 52 format_states_enum(self) global() argument 60 __get_enum_events_content(self) global() argument 74 get_enum_events_string(self) global() argument 78 format_events_enum(self) global() argument 86 get_minimun_type(self) global() argument 100 format_automaton_definition(self) global() argument 112 format_aut_init_header(self) global() argument 117 __get_string_vector_per_line_content(self, buff) global() argument 130 get_aut_init_events_string(self) global() argument 133 get_aut_init_states_string(self) global() argument 136 format_aut_init_events_string(self) global() argument 143 format_aut_init_states_string(self) global() argument 151 __get_max_strlen_of_states(self) global() argument 155 get_aut_init_function(self) global() argument 183 format_aut_init_function(self) global() argument 191 get_aut_init_initial_state(self) global() argument 194 format_aut_init_initial_state(self) global() argument 201 get_aut_init_final_states(self) global() argument 216 format_aut_init_final_states(self) global() argument 222 __get_automaton_initialization_footer_string(self) global() argument 226 format_aut_init_footer(self) global() argument 232 format_invalid_state(self) global() argument 238 format_model(self) global() argument 254 print_model_classic(self) global() argument [all...] |
H A D | ltl2ba.py | 72 def __init__(self, incoming: set['GraphNode'], new, old, _next): argument 73 self.init = False 74 self.outgoing = set() 75 self.labels = set() 76 self.incoming = incoming.copy() 77 self.new = new.copy() 78 self.old = old.copy() 79 self.next = _next.copy() 80 self.id = GraphNode.uid 83 def expand(self, node_se argument 95 __lt__(self, other) global() argument 101 __init__(self, op) global() argument 106 __hash__(self) global() argument 109 __eq__(self, other) global() argument 112 __iter__(self) global() argument 116 negate(self) global() argument 120 expand(self, node, node_set) global() argument 123 __str__(self) global() argument 130 normalize(self) global() argument 142 __init__(self, left: ASTNode, right: ASTNode) global() argument 146 __hash__(self) global() argument 149 __iter__(self) global() argument 153 normalize(self) global() argument 156 negate(self) global() argument 159 _is_temporal(self) global() argument 162 is_temporal(self) global() argument 176 normalize(self) global() argument 179 negate(self) global() argument 182 _is_temporal(self) global() argument 200 normalize(self) global() argument 203 negate(self) global() argument 206 _is_temporal(self) global() argument 226 normalize(self) global() argument 229 negate(self) global() argument 232 _is_temporal(self) global() argument 248 normalize(self) global() argument 251 negate(self) global() argument 254 _is_temporal(self) global() argument 270 normalize(self) global() argument 274 _is_temporal(self) global() argument 277 negate(self) global() argument 282 __init__(self, child: ASTNode) global() argument 285 __iter__(self) global() argument 288 __hash__(self) global() argument 291 normalize(self) global() argument 294 _is_temporal(self) global() argument 297 is_temporal(self) global() argument 302 negate(self) global() argument 306 __str__(self) global() argument 309 normalize(self) global() argument 313 _is_temporal(self) global() argument 316 negate(self) global() argument 321 normalize(self) global() argument 326 _is_temporal(self) global() argument 329 negate(self) global() argument 334 normalize(self) global() argument 337 _is_temporal(self) global() argument 340 negate(self) global() argument 354 __str__(self) global() argument 357 normalize(self) global() argument 360 negate(self) global() argument 363 _is_temporal(self) global() argument 375 __init__(self, name: str) global() argument 378 __hash__(self) global() argument 381 __iter__(self) global() argument 384 negate(self) global() argument 388 normalize(self) global() argument 391 is_temporal(self) global() argument 403 __init__(self, value: bool) global() argument 406 __iter__(self) global() argument 409 __hash__(self) global() argument 412 __str__(self) global() argument 417 negate(self) global() argument 421 normalize(self) global() argument 424 is_temporal(self) global() argument [all...] |
/linux/tools/bpf/bpftool/ |
H A D | json_writer.c | 29 static void jsonw_indent(json_writer_t *self) in jsonw_indent() argument 32 for (i = 0; i < self->depth; ++i) in jsonw_indent() 33 fputs(" ", self->out); in jsonw_indent() 37 static void jsonw_eol(json_writer_t *self) in jsonw_eol() argument 39 if (!self->pretty) in jsonw_eol() 42 putc('\n', self->out); in jsonw_eol() 43 jsonw_indent(self); in jsonw_eol() 47 static void jsonw_eor(json_writer_t *self) in jsonw_eor() argument 49 if (self->sep != '\0') in jsonw_eor() 50 putc(self in jsonw_eor() 57 jsonw_puts(json_writer_t * self,const char * str) jsonw_puts() argument 92 json_writer_t *self = malloc(sizeof(*self)); jsonw_new() local 105 json_writer_t *self = *self_p; jsonw_destroy() local 114 jsonw_pretty(json_writer_t * self,bool on) jsonw_pretty() argument 119 jsonw_reset(json_writer_t * self) jsonw_reset() argument 126 jsonw_begin(json_writer_t * self,int c) jsonw_begin() argument 134 jsonw_end(json_writer_t * self,int c) jsonw_end() argument 147 jsonw_name(json_writer_t * self,const char * name) jsonw_name() argument 158 jsonw_vprintf_enquote(json_writer_t * self,const char * fmt,va_list ap) jsonw_vprintf_enquote() argument 166 jsonw_printf(json_writer_t * self,const char * fmt,...) jsonw_printf() argument 177 jsonw_start_object(json_writer_t * self) jsonw_start_object() argument 182 jsonw_end_object(json_writer_t * self) jsonw_end_object() argument 187 jsonw_start_array(json_writer_t * self) jsonw_start_array() argument 192 jsonw_end_array(json_writer_t * self) jsonw_end_array() argument 198 jsonw_string(json_writer_t * self,const char * value) jsonw_string() argument 204 jsonw_bool(json_writer_t * self,bool val) jsonw_bool() argument 209 jsonw_null(json_writer_t * self) jsonw_null() argument 214 jsonw_float_fmt(json_writer_t * self,const char * fmt,double num) jsonw_float_fmt() argument 220 jsonw_float(json_writer_t * self,double num) jsonw_float() argument 226 jsonw_hu(json_writer_t * self,unsigned short num) jsonw_hu() argument 231 jsonw_uint(json_writer_t * self,uint64_t num) jsonw_uint() argument 236 jsonw_lluint(json_writer_t * self,unsigned long long int num) jsonw_lluint() argument 241 jsonw_int(json_writer_t * self,int64_t num) jsonw_int() argument 247 jsonw_string_field(json_writer_t * self,const char * prop,const char * val) jsonw_string_field() argument 253 jsonw_bool_field(json_writer_t * self,const char * prop,bool val) jsonw_bool_field() argument 260 jsonw_float_field(json_writer_t * self,const char * prop,double val) jsonw_float_field() argument 267 jsonw_float_field_fmt(json_writer_t * self,const char * prop,const char * fmt,double val) jsonw_float_field_fmt() argument 276 jsonw_uint_field(json_writer_t * self,const char * prop,uint64_t num) jsonw_uint_field() argument 282 jsonw_hu_field(json_writer_t * self,const char * prop,unsigned short num) jsonw_hu_field() argument 288 jsonw_lluint_field(json_writer_t * self,const char * prop,unsigned long long int num) jsonw_lluint_field() argument 296 jsonw_int_field(json_writer_t * self,const char * prop,int64_t num) jsonw_int_field() argument 302 jsonw_null_field(json_writer_t * self,const char * prop) jsonw_null_field() argument [all...] |
/linux/tools/testing/selftests/bpf/ |
H A D | json_writer.c | 29 static void jsonw_indent(json_writer_t *self) in jsonw_indent() argument 32 for (i = 0; i < self->depth; ++i) in jsonw_indent() 33 fputs(" ", self->out); in jsonw_indent() 37 static void jsonw_eol(json_writer_t *self) in jsonw_eol() argument 39 if (!self->pretty) in jsonw_eol() 42 putc('\n', self->out); in jsonw_eol() 43 jsonw_indent(self); in jsonw_eol() 47 static void jsonw_eor(json_writer_t *self) in jsonw_eor() argument 49 if (self->sep != '\0') in jsonw_eor() 50 putc(self in jsonw_eor() 57 jsonw_puts(json_writer_t * self,const char * str) jsonw_puts() argument 92 json_writer_t *self = malloc(sizeof(*self)); jsonw_new() local 105 json_writer_t *self = *self_p; jsonw_destroy() local 114 jsonw_pretty(json_writer_t * self,bool on) jsonw_pretty() argument 119 jsonw_reset(json_writer_t * self) jsonw_reset() argument 126 jsonw_begin(json_writer_t * self,int c) jsonw_begin() argument 134 jsonw_end(json_writer_t * self,int c) jsonw_end() argument 147 jsonw_name(json_writer_t * self,const char * name) jsonw_name() argument 158 jsonw_vprintf_enquote(json_writer_t * self,const char * fmt,va_list ap) jsonw_vprintf_enquote() argument 166 jsonw_printf(json_writer_t * self,const char * fmt,...) jsonw_printf() argument 177 jsonw_start_object(json_writer_t * self) jsonw_start_object() argument 182 jsonw_end_object(json_writer_t * self) jsonw_end_object() argument 187 jsonw_start_array(json_writer_t * self) jsonw_start_array() argument 192 jsonw_end_array(json_writer_t * self) jsonw_end_array() argument 198 jsonw_string(json_writer_t * self,const char * value) jsonw_string() argument 204 jsonw_bool(json_writer_t * self,bool val) jsonw_bool() argument 209 jsonw_null(json_writer_t * self) jsonw_null() argument 214 jsonw_float_fmt(json_writer_t * self,const char * fmt,double num) jsonw_float_fmt() argument 220 jsonw_float(json_writer_t * self,double num) jsonw_float() argument 226 jsonw_hu(json_writer_t * self,unsigned short num) jsonw_hu() argument 231 jsonw_uint(json_writer_t * self,uint64_t num) jsonw_uint() argument 236 jsonw_lluint(json_writer_t * self,unsigned long long int num) jsonw_lluint() argument 241 jsonw_int(json_writer_t * self,int64_t num) jsonw_int() argument 247 jsonw_string_field(json_writer_t * self,const char * prop,const char * val) jsonw_string_field() argument 253 jsonw_bool_field(json_writer_t * self,const char * prop,bool val) jsonw_bool_field() argument 260 jsonw_float_field(json_writer_t * self,const char * prop,double val) jsonw_float_field() argument 267 jsonw_float_field_fmt(json_writer_t * self,const char * prop,const char * fmt,double val) jsonw_float_field_fmt() argument 276 jsonw_uint_field(json_writer_t * self,const char * prop,uint64_t num) jsonw_uint_field() argument 282 jsonw_hu_field(json_writer_t * self,const char * prop,unsigned short num) jsonw_hu_field() argument 288 jsonw_lluint_field(json_writer_t * self,const char * prop,unsigned long long int num) jsonw_lluint_field() argument 296 jsonw_int_field(json_writer_t * self,const char * prop,int64_t num) jsonw_int_field() argument 302 jsonw_null_field(json_writer_t * self,const char * prop) jsonw_null_field() argument [all...] |
/linux/tools/crypto/ccp/ |
H A D | test_dbc.py | 34 def __init__(self, data) -> None: argument 35 self.d = None 36 self.signature = b"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF" 37 self.uid = b"1111111111111111" 40 def setUp(self) -> None: argument 41 self.d = open(DEVICE_NODE) 44 def tearDown(self) -> None: argument 45 if self.d: 46 self.d.close() 51 def setUp(self) argument 58 test_unauthenticated_nonce(self) global() argument 65 __init__(self, data) global() argument 70 setUp(self) global() argument 78 test_invalid_nonce_ioctl(self) global() argument 87 test_invalid_setuid_ioctl(self) global() argument 96 test_invalid_setuid_rw_ioctl(self) global() argument 105 test_invalid_param_ioctl(self) global() argument 113 test_invalid_call_ioctl(self) global() argument 123 setUp(self) global() argument 130 test_unauthenticated_nonce(self) global() argument 134 test_multiple_unauthenticated_nonce(self) global() argument 139 test_authenticated_nonce(self) global() argument 146 test_set_uid(self) global() argument 153 test_get_param(self) global() argument 159 test_set_param(self) global() argument 167 setup_identity(self) global() argument 183 setUp(self) global() argument 192 test_get_valid_param(self) global() argument 215 test_get_invalid_param(self) global() argument 225 test_set_fmax(self) global() argument 243 test_set_power_cap(self) global() argument 261 test_set_3d_graphics_mode(self) global() argument [all...] |
/linux/scripts/ |
H A D | rust_is_available_test.py | 122 def run_script(self, expected, override_env): argument 124 "RUSTC": self.default_rustc, 125 "BINDGEN": self.default_bindgen, 126 "CC": self.default_cc, 138 self.assertEqual(result.stdout, b"") 140 if expected == self.Expected.SUCCESS: 143 self.assertEqual(result.returncode, 0) 144 self.assertEqual(result.stderr, b"") 145 elif expected == self.Expected.SUCCESS_WITH_EXTRA_OUTPUT: 150 self 169 test_rustc_unset(self) global() argument 174 test_bindgen_unset(self) global() argument 179 test_cc_unset(self) global() argument 184 test_rustc_missing(self) global() argument 188 test_bindgen_missing(self) global() argument 192 test_rustc_nonexecutable(self) global() argument 196 test_rustc_unexpected_binary(self) global() argument 200 test_rustc_unexpected_name(self) global() argument 205 test_rustc_unexpected_version(self) global() argument 210 test_rustc_no_minor(self) global() argument 215 test_rustc_old_version(self) global() argument 220 test_bindgen_nonexecutable(self) global() argument 224 test_bindgen_unexpected_binary(self) global() argument 228 test_bindgen_unexpected_name(self) global() argument 233 test_bindgen_unexpected_version(self) global() argument 238 test_bindgen_no_minor(self) global() argument 243 test_bindgen_old_version(self) global() argument 248 test_bindgen_bad_version_0_66_0_and_0_66_1(self) global() argument 255 test_bindgen_bad_version_0_66_0_and_0_66_1_patched(self) global() argument 261 test_bindgen_libclang_failure(self) global() argument 267 test_bindgen_libclang_unexpected_version(self) global() argument 273 test_bindgen_libclang_old_version(self) global() argument 278 test_bindgen_bad_libclang_concat(self) global() argument 303 test_clang_matches_bindgen_libclang_different_bindgen(self) global() argument 308 test_clang_matches_bindgen_libclang_different_clang(self) global() argument 313 test_rustc_src_core_krustflags(self) global() argument 317 test_rustc_src_core_rustlibsrc(self) global() argument 321 test_success_cc_unknown(self) global() argument 325 test_success_cc_multiple_arguments_ccache(self) global() argument 333 test_success_rustc_version(self) global() argument 343 test_success_bindgen_version(self) global() argument 353 test_success_bindgen_libclang(self) global() argument 371 test_success_clang_version(self) global() argument 382 test_success_real_programs(self) global() argument [all...] |
H A D | bpf_doc.py | 25 def __init__(self, line='<line not provided>', reader=None): argument 27 BaseException.__init__(self, 31 BaseException.__init__(self, 'Error parsing line: %s' % line) 41 def __init__(self, proto='', desc='', ret=''): argument 42 self.proto = proto 43 self.desc = desc 44 self.ret = ret 46 def to_dict(self): argument 48 'proto': self.proto, 49 'desc': self 61 __init__(self, proto='', desc='', ret='', attrs=[]) global() argument 66 proto_break_down(self) global() argument 92 to_dict(self) global() argument 112 __init__(self, filename) global() argument 124 parse_element(self) global() argument 130 parse_helper(self) global() argument 137 parse_symbol(self) global() argument 149 parse_proto(self) global() argument 164 parse_desc(self, proto) global() argument 190 parse_ret(self, proto) global() argument 216 parse_attrs(self, proto) global() argument 238 seek_to(self, target, help_message, discard_lines = 1) global() argument 249 parse_desc_syscall(self) global() argument 261 parse_enum_syscall(self) global() argument 287 parse_desc_helpers(self) global() argument 299 parse_define_helpers(self) global() argument 326 validate_helpers(self) global() argument 359 run(self) global() argument 375 __init__(self, parser) global() argument 379 print_header(self) global() argument 382 print_footer(self) global() argument 385 print_one(self, helper) global() argument 388 print_all(self) global() argument 394 elem_number_check(self, desc_unique_elem, define_unique_elem, type, instance) global() argument 421 __init__(self, parser) global() argument 424 print_license(self) global() argument 438 print_elem(self, elem) global() argument 453 get_kernel_version(self) global() argument 467 get_last_doc_update(self, delimiter) global() argument 485 __init__(self, parser) global() argument 489 print_header(self) global() argument 541 print_footer(self) global() argument 627 print_proto(self, helper) global() argument 653 print_one(self, helper) global() argument 666 __init__(self, parser) global() argument 670 print_header(self) global() argument 687 print_one(self, command) global() argument 698 __init__(self, parser) global() argument 824 print_header(self) global() argument 850 print_footer(self) global() argument 854 map_type(self, t) global() argument 865 print_one(self, helper) global() argument 920 __init__(self, parser) global() argument 929 print_all(self) global() argument 941 __init__(self, parser) global() argument 945 print_all(self) global() argument [all...] |
/linux/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/ |
H A D | SchedGui.py | 23 def __init__(self, sched_tracer, title, parent = None, id = -1): argument 24 wx.Frame.__init__(self, parent, id, title) 26 (self.screen_width, self.screen_height) = wx.GetDisplaySize() 27 self.screen_width -= 10 28 self.screen_height -= 10 29 self.zoom = 0.5 30 self.scroll_scale = 20 31 self.sched_tracer = sched_tracer 32 self 65 us_to_px(self, val) global() argument 68 px_to_us(self, val) global() argument 71 scroll_start(self) global() argument 75 scroll_start_us(self) global() argument 79 paint_rectangle_zone(self, nr, color, top_color, start, end) global() argument 103 update_rectangles(self, dc, start, end) global() argument 108 on_paint(self, event) global() argument 118 rect_from_ypixel(self, y) global() argument 128 update_summary(self, txt) global() argument 134 on_mouse_down(self, event) global() argument 145 update_width_virtual(self) global() argument 148 __zoom(self, x) global() argument 155 zoom_in(self) global() argument 160 zoom_out(self) global() argument 166 on_key_press(self, event) global() argument [all...] |
/linux/scripts/lib/kdoc/ |
H A D | kdoc_output.py | 65 def __init__(self): argument 68 self.out_mode = self.OUTPUT_ALL 69 self.enable_lineno = None 70 self.nosymbol = {} 71 self.symbol = None 72 self.function_table = None 73 self.config = None 74 self.no_doc_sections = False 76 self 78 set_config(self, config) global() argument 85 set_filter(self, export, internal, symbol, nosymbol, function_table, enable_lineno, no_doc_sections) global() argument 112 highlight_block(self, block) global() argument 122 out_warnings(self, args) global() argument 130 check_doc(self, name, args) global() argument 150 check_declaration(self, dtype, name, args) global() argument 178 msg(self, fname, name, args) global() argument 218 out_doc(self, fname, name, args) global() argument 221 out_function(self, fname, name, args) global() argument 224 out_enum(self, fname, name, args) global() argument 227 out_typedef(self, fname, name, args) global() argument 230 out_struct(self, fname, name, args) global() argument 261 __init__(self) global() argument 272 print_lineno(self, ln) global() argument 279 output_highlight(self, args) global() argument 331 out_section(self, args, out_docblock=False) global() argument 356 out_doc(self, fname, name, args) global() argument 361 out_function(self, fname, name, args) global() argument 443 out_enum(self, fname, name, args) global() argument 472 out_typedef(self, fname, name, args) global() argument 489 out_struct(self, fname, name, args) global() argument 570 __init__(self, modulename) global() argument 596 output_highlight(self, block) global() argument 617 out_doc(self, fname, name, args) global() argument 627 out_function(self, fname, name, args) global() argument 673 out_enum(self, fname, name, args) global() argument 703 out_typedef(self, fname, name, args) global() argument 716 out_struct(self, fname, name, args) global() argument [all...] |
/linux/tools/testing/selftests/damon/ |
H A D | _damon_sysfs.py | 47 def __init__(self, size=None, nr_accesses=None, age=None): argument 48 self.size = size 49 self.nr_accesses = nr_accesses 50 self.age = age 52 if self.size is None: 53 self.size = [0, 2**64 - 1] 54 if self.nr_accesses is None: 55 self.nr_accesses = [0, 2**32 - 1] 56 if self.age is None: 57 self 59 sysfs_dir(self) global() argument 62 stage(self) global() argument 101 __init__(self, metric, target_value=10000, current_value=0, nid=0) global() argument 107 sysfs_dir(self) global() argument 110 stage(self) global() argument 139 __init__(self, sz=0, ms=0, goals=None, reset_interval_ms=0, weight_sz_permil=0, weight_nr_accesses_permil=0, weight_age_permil=0) global() argument 153 sysfs_dir(self) global() argument 156 stage(self) global() argument 204 __init__(self, metric='none', interval=0, high=0, mid=0, low=0) global() argument 211 sysfs_dir(self) global() argument 214 stage(self) global() argument 245 __init__(self, type_='anon', matching=False, allow=False, memcg_path='', addr_start=0, addr_end=0, target_idx=0, min_=0, max_=0) global() argument 258 sysfs_dir(self) global() argument 261 stage(self) global() argument 301 __init__(self, name, filters=[]) global() argument 308 sysfs_dir(self) global() argument 311 stage(self) global() argument 328 __init__(self, id=0, weight=0) global() argument 332 sysfs_dir(self) global() argument 335 stage(self) global() argument 348 __init__(self, dests=[]) global() argument 354 sysfs_dir(self) global() argument 357 stage(self) global() argument 375 __init__(self, nr_tried, sz_tried, nr_applied, sz_applied, qt_exceeds) global() argument 383 __init__(self, start, end, nr_accesses, age) global() argument 406 __init__(self, action='stat', access_pattern=DamosAccessPattern(), quota=DamosQuota(), watermarks=DamosWatermarks(), core_filters=[], ops_filters=[], filters=[], target_nid=0, dests=DamosDests(), apply_interval_us=0) global() argument 433 sysfs_dir(self) global() argument 437 stage(self) global() argument 482 __init__(self, pid) global() argument 485 sysfs_dir(self) global() argument 489 stage(self) global() argument 504 __init__(self, access_bp=0, aggrs=0, min_sample_us=0, max_sample_us=0) global() argument 510 sysfs_dir(self) global() argument 513 stage(self) global() argument 540 __init__(self, sample_us=5000, aggr_us=100000, intervals_goal=IntervalsGoal(), update_us=1000000, min_nr_regions=10, max_nr_regions=1000) global() argument 551 interval_sysfs_dir(self) global() argument 555 nr_regions_range_sysfs_dir(self) global() argument 559 stage(self) global() argument 596 __init__(self, ops='paddr', monitoring_attrs=DamonAttrs(), targets=[], schemes=[]) global() argument 612 sysfs_dir(self) global() argument 616 stage(self) global() argument 661 __init__(self, contexts=[]) global() argument 667 sysfs_dir(self) global() argument 670 start(self) global() argument 691 stop(self) global() argument 695 update_schemes_tried_regions(self) global() argument 725 update_schemes_tried_bytes(self) global() argument 738 update_schemes_stats(self) global() argument 755 update_schemes_effective_quotas(self) global() argument 771 commit(self) global() argument 790 commit_schemes_quota_goals(self) global() argument 805 __init__(self, kdamonds=[]) global() argument 811 sysfs_dir(self) global() argument 814 start(self) global() argument 825 stop(self) global() argument [all...] |
/linux/drivers/gpu/drm/msm/registers/ |
H A D | gen_header.py | 17 def __init__(self, message): argument 18 self.message = message 21 def __init__(self, name): argument 22 self.name = name 23 self.values = [] 25 def has_name(self, name): argument 26 for (n, value) in self.values: 31 def names(self): argument 32 return [n for (n, value) in self.values] 34 def dump(self) argument 48 dump_pack_struct(self) global() argument 52 __init__(self, name, low, high, shr, type, parser) global() argument 76 ctype(self, var_name) global() argument 150 __init__(self, name, template) global() argument 159 get_address_field(self) global() argument 165 dump_regpair_builder(self, reg) global() argument 207 dump_pack_struct(self, reg=None) global() argument 256 dump(self, prefix=None) global() argument 281 __init__(self, attrs, domain, variant, parent, index_type) global() argument 313 index_ctype(self) global() argument 320 indices(self) global() argument 332 total_offset(self) global() argument 340 dump(self) global() argument 360 dump_pack_struct(self) global() argument 363 dump_regpair_builder(self) global() argument 367 __init__(self, attrs, domain, array, bit_size) global() argument 385 indices(self) global() argument 394 total_offset(self) global() argument 400 dump(self) global() argument 412 dump_pack_struct(self) global() argument 416 dump_regpair_builder(self) global() argument 420 dump_py(self) global() argument 425 __init__(self) global() argument 451 error(self, message) global() argument 455 prefix(self, variant=None) global() argument 465 parse_field(self, name, attrs) global() argument 495 parse_varset(self, attrs) global() argument 502 parse_variants(self, attrs) global() argument 515 add_all_variants(self, reg, attrs, parent_variant) global() argument 532 add_all_usages(self, reg, usages) global() argument 541 do_validate(self, schemafile) global() argument 580 do_parse(self, filename) global() argument 596 parse(self, rnn_path, filename, validate) global() argument 602 parse_reg(self, attrs, bit_size) global() argument 638 start_element(self, name, attrs) global() argument 694 end_element(self, name) global() argument 712 character_data(self, data) global() argument 715 dump_reg_usages(self) global() argument 756 dump(self) global() argument 774 dump_regs_py(self) global() argument 784 dump_reg_variants(self, regname, variants) global() argument 852 dump_structs(self) global() argument [all...] |
/linux/tools/testing/selftests/hid/tests/ |
H A D | base_device.py | 46 def __init__(self, path): argument 47 self.path = path 49 def __set_value(self, value): argument 50 with open(self.path, "w") as f: 53 def __get_value(self): argument 54 with open(self.path) as f: 58 def int_value(self) -> int: argument 59 return int(self.__get_value()) 62 def int_value(self, v: int) -> None: argument 63 self 66 str_value(self) global() argument 70 str_value(self, v: str) global() argument 75 __init__(self, sys_path) global() argument 80 brightness(self) global() argument 84 brightness(self, value: int) global() argument 91 __init__(self, sys_path) global() argument 97 capacity(self) global() argument 101 status(self) global() argument 105 type(self) global() argument 288 __init__( self, name, application, rdesc_str: Optional[str] = None, rdesc: Optional[Union[hid.ReportDescriptor, str, bytes]] = None, input_info=None, ) global() argument 372 match_evdev_rule(self, application, evdev) global() argument 384 open(self) global() argument 387 _close_all_opened_evdev(self) global() argument 392 __del__(self) global() argument 395 close(self) global() argument 398 start(self, flags) global() argument 401 stop(self) global() argument 405 next_sync_events(self, application=None) global() argument 419 get_evdev(self, application=None) global() argument 438 is_ready(self) global() argument [all...] |
/linux/tools/testing/kunit/ |
H A D | kunit_tool_test.py | 44 def test_is_subset_of(self): argument 46 self.assertTrue(kconfig0.is_subset_of(kconfig0)) 50 self.assertTrue(kconfig1.is_subset_of(kconfig1)) 51 self.assertTrue(kconfig0.is_subset_of(kconfig1)) 52 self.assertFalse(kconfig1.is_subset_of(kconfig0)) 54 def test_read_from_file(self): argument 66 self.assertEqual(kconfig, expected_kconfig) 68 def test_write_to_file(self): argument 81 self.assertEqual(actual_kconfig, expected_kconfig) 84 def setUp(self) argument 88 noPrintCallContains(self, substr: str) global() argument 92 assertContains(self, needle: str, haystack: kunit_parser.LineStream) global() argument 100 test_output_isolated_correctly(self) global() argument 111 test_output_with_prefix_isolated_correctly(self) global() argument 140 test_parse_successful_test_log(self) global() argument 147 test_parse_successful_nested_tests_log(self) global() argument 154 test_kselftest_nested(self) global() argument 161 test_parse_failed_test_log(self) global() argument 168 test_no_header(self) global() argument 177 test_missing_test_plan(self) global() argument 188 test_no_tests(self) global() argument 197 test_no_tests_no_plan(self) global() argument 209 test_no_kunit_output(self) global() argument 220 test_skipped_test(self) global() argument 229 test_skipped_all_tests(self) global() argument 237 test_ignores_hyphen(self) global() argument 251 test_ignores_prefix_printk_time(self) global() argument 259 test_ignores_multiple_prefixes(self) global() argument 267 test_prefix_mixed_kernel_output(self) global() argument 275 test_prefix_poundsign(self) global() argument 283 test_kernel_panic_end(self) global() argument 291 test_pound_no_prefix(self) global() argument 299 test_summarize_failures(self) global() argument 320 test_ktap_format(self) global() argument 329 test_parse_subtest_header(self) global() argument 335 test_parse_attributes(self) global() argument 351 test_show_test_output_on_failure(self) global() argument 366 test_parse_late_test_plan(self) global() argument 382 test_basic(self) global() argument 399 test_is_lazy(self) global() argument 418 setUp(self) global() argument 422 test_invalid_kunitconfig(self) global() argument 426 test_valid_kunitconfig(self) global() argument 430 test_dir_kunitconfig(self) global() argument 436 test_multiple_kunitconfig(self) global() argument 453 test_multiple_kunitconfig_invalid(self) global() argument 465 test_kconfig_add(self) global() argument 472 test_invalid_arch(self) global() argument 476 test_run_kernel_hits_exception(self) global() argument 492 test_build_reconfig_no_config(self) global() argument 508 test_build_reconfig_existing_config(self) global() argument 528 test_build_reconfig_remove_option(self) global() argument 553 setUp(self) global() argument 557 _json_for(self, log_file) global() argument 565 test_failed_test_json(self) global() argument 571 test_crashed_test_json(self) global() argument 577 test_skipped_test_json(self) global() argument 583 test_no_tests_json(self) global() argument 587 test_nested_json(self) global() argument 594 __eq__(self, other) global() argument 598 setUp(self) global() argument 612 test_config_passes_args_pass(self) global() argument 617 test_build_passes_args_pass(self) global() argument 623 test_exec_passes_args_pass(self) global() argument 631 test_run_passes_args_pass(self) global() argument 639 test_exec_passes_args_fail(self) global() argument 645 test_run_passes_args_fail(self) global() argument 654 test_exec_no_tests(self) global() argument 663 test_exec_raw_output(self) global() argument 671 test_run_raw_output(self) global() argument 680 test_run_raw_output_kunit(self) global() argument 689 test_run_raw_output_invalid(self) global() argument 695 test_run_raw_output_does_not_take_positional_args(self) global() argument 703 test_exec_timeout(self) global() argument 710 test_run_timeout(self) global() argument 718 test_run_builddir(self) global() argument 726 test_config_builddir(self) global() argument 731 test_build_builddir(self) global() argument 737 test_exec_builddir(self) global() argument 744 test_run_kunitconfig(self) global() argument 755 test_config_kunitconfig(self) global() argument 766 test_config_alltests(self) global() argument 779 test_run_multiple_kunitconfig(self, mock_linux_init) global() argument 791 test_run_kconfig_add(self) global() argument 802 test_run_qemu_args(self) global() argument 813 test_run_kernel_args(self) global() argument 820 test_list_tests(self) global() argument 832 test_run_isolated_by_suite(self, mock_tests) global() argument 845 test_run_isolated_by_test(self, mock_tests) global() argument [all...] |
/linux/tools/perf/pmu-events/ |
H A D | metric.py | 13 def ToPerfJson(self) -> str: argument 17 def ToPython(self) -> str: argument 21 def Simplify(self): argument 22 """Returns a simplified version of self.""" 25 def Equals(self, other) -> bool: argument 29 def Substitute(self, name: str, expression: 'Expression') -> 'Expression': argument 32 def __str__(self) -> str: argument 33 return self.ToPerfJson() 35 def __or__(self, other: Union[int, float, 'Expression']) -> 'Operator': argument 36 return Operator('|', self, othe 38 __ror__(self, other: Union[int, float, 'Expression']) global() argument 41 __xor__(self, other: Union[int, float, 'Expression']) global() argument 44 __and__(self, other: Union[int, float, 'Expression']) global() argument 47 __rand__(self, other: Union[int, float, 'Expression']) global() argument 50 __lt__(self, other: Union[int, float, 'Expression']) global() argument 53 __gt__(self, other: Union[int, float, 'Expression']) global() argument 56 __add__(self, other: Union[int, float, 'Expression']) global() argument 59 __radd__(self, other: Union[int, float, 'Expression']) global() argument 62 __sub__(self, other: Union[int, float, 'Expression']) global() argument 65 __rsub__(self, other: Union[int, float, 'Expression']) global() argument 68 __mul__(self, other: Union[int, float, 'Expression']) global() argument 71 __rmul__(self, other: Union[int, float, 'Expression']) global() argument 74 __truediv__(self, other: Union[int, float, 'Expression']) global() argument 77 __rtruediv__(self, other: Union[int, float, 'Expression']) global() argument 80 __mod__(self, other: Union[int, float, 'Expression']) global() argument 115 __init__(self, operator: str, lhs: Union[int, float, Expression], rhs: Union[int, float, Expression]) global() argument 121 Bracket(self, other: Expression, other_str: str, rhs: bool = False) global() argument 153 ToPerfJson(self) global() argument 157 ToPython(self) global() argument 161 Simplify(self) global() argument 192 Equals(self, other: Expression) global() argument 198 Substitute(self, name: str, expression: Expression) global() argument 211 __init__(self, true_val: Union[int, float, Expression], cond: Union[int, float, Expression], false_val: Union[int, float, Expression]) global() argument 218 ToPerfJson(self) global() argument 224 ToPython(self) global() argument 228 Simplify(self) global() argument 240 Equals(self, other: Expression) global() argument 246 Substitute(self, name: str, expression: Expression) global() argument 258 __init__(self, fn: str, lhs: Union[int, float, Expression], rhs: Optional[Union[int, float, Expression]] = None) global() argument 266 ToPerfJson(self) global() argument 271 ToPython(self) global() argument 276 Simplify(self) global() argument 288 Equals(self, other: Expression) global() argument 296 Substitute(self, name: str, expression: Expression) global() argument 314 __init__(self, name: str, legacy_name: str = '') global() argument 318 ToPerfJson(self) global() argument 322 ToPython(self) global() argument 325 Simplify(self) global() argument 328 Equals(self, other: Expression) global() argument 331 Substitute(self, name: str, expression: Expression) global() argument 338 __init__(self, value: Union[float, str]) global() argument 346 ToPerfJson(self) global() argument 349 ToPython(self) global() argument 352 Simplify(self) global() argument 355 Equals(self, other: Expression) global() argument 358 Substitute(self, name: str, expression: Expression) global() argument 365 __init__(self, value: str) global() argument 368 ToPerfJson(self) global() argument 371 ToPython(self) global() argument 374 Simplify(self) global() argument 377 Equals(self, other: Expression) global() argument 380 Substitute(self, name: str, expression: Expression) global() argument 428 __init__(self, name: str, description: str, expr: Expression, scale_unit: str, constraint: bool = False) global() argument 446 __lt__(self, other) global() argument 450 AddToMetricGroup(self, group) global() argument 454 Flatten(self) global() argument 458 ToPerfJson(self) global() argument 476 default(self, o) global() argument 490 __init__(self, name: str, metric_list: List[Union[Metric, 'MetricGroup']]) global() argument 497 AddToMetricGroup(self, group) global() argument 502 Flatten(self) global() argument 510 ToPerfJson(self) global() argument 513 __str__(self) global() argument 520 visit_IfExp(self, node) global() argument [all...] |
/linux/tools/testing/selftests/pidfd/ |
H A D | pidfd_setns_test.c | 82 fd = open("/proc/self/ns/time_for_children", O_RDONLY | O_CLOEXEC); in switch_timens() 98 self->nsfds[i] = -EBADF; in FIXTURE_SETUP() 99 self->child_nsfds1[i] = -EBADF; in FIXTURE_SETUP() 100 self->child_nsfds2[i] = -EBADF; in FIXTURE_SETUP() 101 self->child_pidfd_derived_nsfds[i] = -EBADF; in FIXTURE_SETUP() 102 self->child_pidfd_derived_nsfds1[i] = -EBADF; in FIXTURE_SETUP() 103 self->child_pidfd_derived_nsfds2[i] = -EBADF; in FIXTURE_SETUP() 106 proc_fd = open("/proc/self/ns", O_DIRECTORY | O_CLOEXEC); in FIXTURE_SETUP() 108 TH_LOG("%m - Failed to open /proc/self/ns"); in FIXTURE_SETUP() 111 self in FIXTURE_SETUP() [all...] |
/linux/tools/kvm/kvm_stat/ |
H A D | kvm_stat | 336 def tracepoint_is_child(self, field): argument 343 def __init__(self, exit_reasons): argument 344 self.sc_perf_evt_open = 298 345 self.ioctl_numbers = IOCTL_NUMBERS 346 self.exit_reason_field = 'exit_reason' 347 self.exit_reasons = exit_reasons 349 def debugfs_is_child(self, field): argument 355 def __init__(self): argument 356 self.sc_perf_evt_open = 319 357 self 369 debugfs_is_child(self, field) global() argument 375 __init__(self) global() argument 381 debugfs_is_child(self, field) global() argument 387 __init__(self) global() argument 393 debugfs_is_child(self, field) global() argument 424 __init__(self) global() argument 438 __init__(self) global() argument 441 add_event(self, event) global() argument 444 read(self) global() argument 470 __init__(self, name, group, trace_cpu, trace_pid, trace_point, trace_filter, trace_set='kvm') global() argument 479 __del__(self) global() argument 490 _perf_event_open(self, attr, pid, cpu, group_fd, flags) global() argument 509 _setup_event_attribute(self, trace_set, trace_point) global() argument 519 _setup_event(self, group, trace_cpu, trace_pid, trace_point, trace_filter, trace_set) global() argument 550 enable(self) global() argument 559 disable(self) global() argument 568 reset(self) global() argument 575 __init__(self, pid) global() argument 602 __init__(self, pid, fields_filter) global() argument 625 _get_available_fields(self) global() argument 651 update_fields(self, fields_filter) global() argument 684 _setup_traces(self) global() argument 743 fields(self) global() argument 747 fields(self, fields) global() argument 762 pid(self) global() argument 766 pid(self, pid) global() argument 775 read(self, by_guest=0) global() argument 788 reset(self) global() argument 798 __init__(self, pid, fields_filter, include_past) global() argument 807 _get_available_fields(self) global() argument 819 update_fields(self, fields_filter) global() argument 830 fields(self) global() argument 834 fields(self, fields) global() argument 839 pid(self) global() argument 843 pid(self, pid) global() argument 856 _verify_paths(self) global() argument 863 read(self, reset=0, by_guest=0) global() argument 909 _read_field(self, field, path) global() argument 919 reset(self) global() argument 924 _restore(self) global() argument 940 __init__(self, options) global() argument 947 _get_providers(self, options) global() argument 959 _update_provider_filters(self) global() argument 967 reset(self) global() argument 973 fields_filter(self) global() argument 977 fields_filter(self, fields_filter) global() argument 983 pid_filter(self) global() argument 987 pid_filter(self, pid) global() argument 995 child_events(self) global() argument 999 child_events(self, val) global() argument 1004 get(self, by_guest=0) global() argument 1023 toggle_display_guests(self, to_pid) global() argument 1060 __init__(self, stats, opts) global() argument 1068 __enter__(self) global() argument 1093 __exit__(self, *exception) global() argument 1121 _print_all_gnames(self, row) global() argument 1184 _update_pid(self, pid) global() argument 1190 _refresh_header(self, pid=None) global() argument 1221 _refresh_body(self, sleeptime) global() argument 1229 get_sorted_events(self, stats) global() argument 1332 _display_guest_dead(self) global() argument 1337 _show_msg(self, text) global() argument 1352 _show_help_interactive(self) global() argument 1381 _show_filter_selection(self) global() argument 1414 _show_set_update_interval(self) global() argument 1444 _is_running_guest(self, pid) global() argument 1450 _show_vm_selection_by_guest(self) global() argument 1502 show_stats(self) global() argument 1570 __init__(self, keys) global() argument 1575 get_banner(self) global() argument 1578 get_statline(self, keys, s) global() argument 1586 __init__(self, keys) global() argument 1591 get_banner(self) global() argument 1594 get_statline(self, keys, s) global() argument 1706 __call__(self, parser, namespace, values, option_string=None) global() argument [all...] |
/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
H A D | hw_atl_a0.c | 86 static int hw_atl_a0_hw_reset(struct aq_hw_s *self) in hw_atl_a0_hw_reset() argument 91 hw_atl_glb_glb_reg_res_dis_set(self, 1U); in hw_atl_a0_hw_reset() 92 hw_atl_pci_pci_reg_res_dis_set(self, 0U); in hw_atl_a0_hw_reset() 93 hw_atl_rx_rx_reg_res_dis_set(self, 0U); in hw_atl_a0_hw_reset() 94 hw_atl_tx_tx_reg_res_dis_set(self, 0U); in hw_atl_a0_hw_reset() 97 hw_atl_glb_soft_res_set(self, 1); in hw_atl_a0_hw_reset() 101 self, val, val == 0, in hw_atl_a0_hw_reset() 106 hw_atl_itr_irq_reg_res_dis_set(self, 0U); in hw_atl_a0_hw_reset() 107 hw_atl_itr_res_irq_set(self, 1U); in hw_atl_a0_hw_reset() 111 self, va in hw_atl_a0_hw_reset() 124 hw_atl_a0_hw_qos_set(struct aq_hw_s * self) hw_atl_a0_hw_qos_set() argument 183 hw_atl_a0_hw_rss_hash_set(struct aq_hw_s * self,struct aq_rss_parameters * rss_params) hw_atl_a0_hw_rss_hash_set() argument 211 hw_atl_a0_hw_rss_set(struct aq_hw_s * self,struct aq_rss_parameters * rss_params) hw_atl_a0_hw_rss_set() argument 247 hw_atl_a0_hw_offload_set(struct aq_hw_s * self,struct aq_nic_cfg_s * aq_nic_cfg) hw_atl_a0_hw_offload_set() argument 264 hw_atl_a0_hw_init_tx_path(struct aq_hw_s * self) hw_atl_a0_hw_init_tx_path() argument 283 hw_atl_a0_hw_init_rx_path(struct aq_hw_s * self) hw_atl_a0_hw_init_rx_path() argument 325 hw_atl_a0_hw_mac_addr_set(struct aq_hw_s * self,const u8 * mac_addr) hw_atl_a0_hw_mac_addr_set() argument 351 hw_atl_a0_hw_init(struct aq_hw_s * self,const u8 * mac_addr) hw_atl_a0_hw_init() argument 405 hw_atl_a0_hw_ring_tx_start(struct aq_hw_s * self,struct aq_ring_s * ring) hw_atl_a0_hw_ring_tx_start() argument 413 hw_atl_a0_hw_ring_rx_start(struct aq_hw_s * self,struct aq_ring_s * ring) hw_atl_a0_hw_ring_rx_start() argument 421 hw_atl_a0_hw_start(struct aq_hw_s * self) hw_atl_a0_hw_start() argument 429 hw_atl_a0_hw_tx_ring_tail_update(struct aq_hw_s * self,struct aq_ring_s * ring) hw_atl_a0_hw_tx_ring_tail_update() argument 437 hw_atl_a0_hw_ring_tx_xmit(struct aq_hw_s * self,struct aq_ring_s * ring,unsigned int frags) hw_atl_a0_hw_ring_tx_xmit() argument 513 hw_atl_a0_hw_ring_rx_init(struct aq_hw_s * self,struct aq_ring_s * aq_ring,struct aq_ring_param_s * aq_ring_param) hw_atl_a0_hw_ring_rx_init() argument 555 hw_atl_a0_hw_ring_tx_init(struct aq_hw_s * self,struct aq_ring_s * aq_ring,struct aq_ring_param_s * aq_ring_param) hw_atl_a0_hw_ring_tx_init() argument 585 hw_atl_a0_hw_ring_rx_fill(struct aq_hw_s * self,struct aq_ring_s * ring,unsigned int sw_tail_old) hw_atl_a0_hw_ring_rx_fill() argument 606 hw_atl_a0_hw_ring_tx_head_update(struct aq_hw_s * self,struct aq_ring_s * ring) hw_atl_a0_hw_ring_tx_head_update() argument 623 hw_atl_a0_hw_ring_rx_receive(struct aq_hw_s * self,struct aq_ring_s * ring) hw_atl_a0_hw_ring_rx_receive() argument 726 hw_atl_a0_hw_irq_enable(struct aq_hw_s * self,u64 mask) hw_atl_a0_hw_irq_enable() argument 734 hw_atl_a0_hw_irq_disable(struct aq_hw_s * self,u64 mask) hw_atl_a0_hw_irq_disable() argument 745 hw_atl_a0_hw_irq_read(struct aq_hw_s * self,u64 * mask) hw_atl_a0_hw_irq_read() argument 754 hw_atl_a0_hw_packet_filter_set(struct aq_hw_s * self,unsigned int packet_filter) hw_atl_a0_hw_packet_filter_set() argument 779 hw_atl_a0_hw_multicast_list_set(struct aq_hw_s * self,u8 ar_mac[AQ_HW_MULTICAST_ADDRESS_MAX][ETH_ALEN],u32 count) hw_atl_a0_hw_multicast_list_set() argument 819 hw_atl_a0_hw_interrupt_moderation_set(struct aq_hw_s * self) hw_atl_a0_hw_interrupt_moderation_set() argument 867 hw_atl_a0_hw_stop(struct aq_hw_s * self) hw_atl_a0_hw_stop() argument 874 hw_atl_a0_hw_ring_tx_stop(struct aq_hw_s * self,struct aq_ring_s * ring) hw_atl_a0_hw_ring_tx_stop() argument 882 hw_atl_a0_hw_ring_rx_stop(struct aq_hw_s * self,struct aq_ring_s * ring) hw_atl_a0_hw_ring_rx_stop() argument 890 hw_atl_a0_hw_fl3l4_clear(struct aq_hw_s * self,struct aq_rx_filter_l3l4 * data) hw_atl_a0_hw_fl3l4_clear() argument 916 hw_atl_a0_hw_fl3l4_set(struct aq_hw_s * self,struct aq_rx_filter_l3l4 * data) hw_atl_a0_hw_fl3l4_set() argument [all...] |
H A D | hw_atl_utils.c | 58 static int hw_atl_utils_mpi_set_state(struct aq_hw_s *self, 60 static u32 hw_atl_utils_get_mpi_mbox_tid(struct aq_hw_s *self); 61 static u32 hw_atl_utils_mpi_get_state(struct aq_hw_s *self); 62 static u32 hw_atl_utils_mif_cmd_get(struct aq_hw_s *self); 63 static u32 hw_atl_utils_mif_addr_get(struct aq_hw_s *self); 64 static u32 hw_atl_utils_rpc_state_get(struct aq_hw_s *self); 65 static u32 aq_fw1x_rpc_get(struct aq_hw_s *self); 67 int hw_atl_utils_initfw(struct aq_hw_s *self, const struct aq_fw_ops **fw_ops) in hw_atl_utils_initfw() argument 71 hw_atl_utils_hw_chip_features_init(self, in hw_atl_utils_initfw() 72 &self in hw_atl_utils_initfw() 95 hw_atl_utils_soft_reset_flb(struct aq_hw_s * self) hw_atl_utils_soft_reset_flb() argument 171 hw_atl_utils_soft_reset_rbl(struct aq_hw_s * self) hw_atl_utils_soft_reset_rbl() argument 240 hw_atl_utils_soft_reset(struct aq_hw_s * self) hw_atl_utils_soft_reset() argument 306 hw_atl_utils_fw_downld_dwords(struct aq_hw_s * self,u32 a,u32 * p,u32 cnt) hw_atl_utils_fw_downld_dwords() argument 352 hw_atl_utils_write_b1_mbox(struct aq_hw_s * self,u32 addr,u32 * p,u32 cnt,enum mcp_area area) hw_atl_utils_write_b1_mbox() argument 391 hw_atl_utils_write_b0_mbox(struct aq_hw_s * self,u32 addr,u32 * p,u32 cnt) hw_atl_utils_write_b0_mbox() argument 416 hw_atl_utils_fw_upload_dwords(struct aq_hw_s * self,u32 addr,u32 * p,u32 cnt,enum mcp_area area) hw_atl_utils_fw_upload_dwords() argument 444 hw_atl_write_fwcfg_dwords(struct aq_hw_s * self,u32 * p,u32 cnt) hw_atl_write_fwcfg_dwords() argument 450 hw_atl_write_fwsettings_dwords(struct aq_hw_s * self,u32 offset,u32 * p,u32 cnt) hw_atl_write_fwsettings_dwords() argument 473 hw_atl_utils_init_ucp(struct aq_hw_s * self,const struct aq_hw_caps_s * aq_hw_caps) hw_atl_utils_init_ucp() argument 515 hw_atl_utils_fw_rpc_call(struct aq_hw_s * self,unsigned int rpc_size) hw_atl_utils_fw_rpc_call() argument 538 hw_atl_utils_fw_rpc_wait(struct aq_hw_s * self,struct hw_atl_utils_fw_rpc ** rpc) hw_atl_utils_fw_rpc_wait() argument 599 hw_atl_utils_mpi_create(struct aq_hw_s * self) hw_atl_utils_mpi_create() argument 615 hw_atl_utils_mpi_read_mbox(struct aq_hw_s * self,struct hw_atl_utils_mbox_header * pmbox) hw_atl_utils_mpi_read_mbox() argument 624 hw_atl_utils_mpi_read_stats(struct aq_hw_s * self,struct hw_atl_utils_mbox * pmbox) hw_atl_utils_mpi_read_stats() argument 649 hw_atl_utils_mpi_set_speed(struct aq_hw_s * self,u32 speed) hw_atl_utils_mpi_set_speed() argument 660 hw_atl_utils_mpi_set_state(struct aq_hw_s * self,enum hal_atl_utils_fw_state_e state) hw_atl_utils_mpi_set_state() argument 699 hw_atl_utils_mpi_get_link_status(struct aq_hw_s * self) hw_atl_utils_mpi_get_link_status() argument 742 hw_atl_utils_get_mac_permanent(struct aq_hw_s * self,u8 * mac) hw_atl_utils_get_mac_permanent() argument 830 hw_atl_utils_hw_chip_features_init(struct aq_hw_s * self,u32 * p) hw_atl_utils_hw_chip_features_init() argument 859 hw_atl_fw1x_deinit(struct aq_hw_s * self) hw_atl_fw1x_deinit() argument 867 hw_atl_utils_update_stats(struct aq_hw_s * self) hw_atl_utils_update_stats() argument 919 hw_atl_utils_get_hw_stats(struct aq_hw_s * self) hw_atl_utils_get_hw_stats() argument 949 hw_atl_utils_hw_get_regs(struct aq_hw_s * self,const struct aq_hw_caps_s * aq_hw_caps,u32 * regs_buff) hw_atl_utils_hw_get_regs() argument 962 hw_atl_utils_get_fw_version(struct aq_hw_s * self) hw_atl_utils_get_fw_version() argument 967 aq_fw1x_set_wake_magic(struct aq_hw_s * self,bool wol_enabled,const u8 * mac) aq_fw1x_set_wake_magic() argument 1010 aq_fw1x_set_power(struct aq_hw_s * self,unsigned int power_state,const u8 * mac) aq_fw1x_set_power() argument 1047 hw_atl_utils_get_mpi_mbox_tid(struct aq_hw_s * self) hw_atl_utils_get_mpi_mbox_tid() argument 1056 hw_atl_utils_mpi_get_state(struct aq_hw_s * self) hw_atl_utils_mpi_get_state() argument 1061 hw_atl_utils_mif_cmd_get(struct aq_hw_s * self) hw_atl_utils_mif_cmd_get() argument 1066 hw_atl_utils_mif_addr_get(struct aq_hw_s * self) hw_atl_utils_mif_addr_get() argument 1071 hw_atl_utils_rpc_state_get(struct aq_hw_s * self) hw_atl_utils_rpc_state_get() argument 1076 aq_fw1x_rpc_get(struct aq_hw_s * self) aq_fw1x_rpc_get() argument [all...] |
/linux/tools/net/sunrpc/xdrgen/ |
H A D | xdr_ast.py | 98 def symbolic_width(self) -> List: argument 100 return [get_header_name().upper() + "_" + self.type_name + "_sz"] 102 def __post_init__(self): argument 103 if self.type_name in structs: 104 self.c_classifier = "struct " 105 symbolic_widths[self.type_name] = self.symbolic_width() 112 def symbolic_width(self) -> List: argument 114 return symbolic_widths[self.type_name] 130 def max_width(self) argument 134 symbolic_width(self) global() argument 138 __post_init__(self) global() argument 151 max_width(self) global() argument 155 symbolic_width(self) global() argument 162 __post_init__(self) global() argument 175 max_width(self) global() argument 179 symbolic_width(self) global() argument 186 __post_init__(self) global() argument 200 max_width(self) global() argument 204 symbolic_width(self) global() argument 209 __post_init__(self) global() argument 223 max_width(self) global() argument 227 symbolic_width(self) global() argument 235 __post_init__(self) global() argument 248 max_width(self) global() argument 252 symbolic_width(self) global() argument 256 __post_init__(self) global() argument 271 max_width(self) global() argument 275 symbolic_width(self) global() argument 279 __post_init__(self) global() argument 291 max_width(self) global() argument 295 symbolic_width(self) global() argument 307 __post_init__(self) global() argument 319 __post_init__(self) global() argument 333 max_width(self) global() argument 337 symbolic_width(self) global() argument 341 __post_init__(self) global() argument 353 max_width(self) global() argument 360 symbolic_width(self) global() argument 367 __post_init__(self) global() argument 381 max_width(self) global() argument 388 symbolic_width(self) global() argument 396 __post_init__(self) global() argument 409 max_width(self) global() argument 413 symbolic_width(self) global() argument 417 __post_init__(self) global() argument 453 max_width(self) global() argument 464 symbolic_width(self) global() argument 477 __post_init__(self) global() argument 535 identifier(self, children) global() argument 539 value(self, children) global() argument 545 constant(self, children) global() argument 556 type_specifier(self, children) global() argument 565 constant_def(self, children) global() argument 573 enum(self, children) global() argument 588 fixed_length_opaque(self, children) global() argument 595 variable_length_opaque(self, children) global() argument 605 string(self, children) global() argument 615 fixed_length_array(self, children) global() argument 623 variable_length_array(self, children) global() argument 634 optional_data(self, children) global() argument 641 basic(self, children) global() argument 648 void(self, children) global() argument 653 struct(self, children) global() argument 667 typedef(self, children) global() argument 673 case_spec(self, children) global() argument 682 default_spec(self, children) global() argument 688 union(self, children) global() argument 699 procedure_def(self, children) global() argument 708 version_def(self, children) global() argument 716 program_def(self, children) global() argument 724 pragma_def(self, children) global() argument [all...] |
/linux/drivers/net/ethernet/aquantia/atlantic/ |
H A D | aq_nic.c | 43 static void aq_nic_update_ndev_stats(struct aq_nic_s *self); 45 static void aq_nic_rss_init(struct aq_nic_s *self, unsigned int num_rss_queues) in aq_nic_rss_init() argument 54 struct aq_nic_cfg_s *cfg = &self->aq_nic_cfg; in aq_nic_rss_init() 69 static void aq_nic_cfg_update_num_vecs(struct aq_nic_s *self) in aq_nic_cfg_update_num_vecs() argument 71 struct aq_nic_cfg_s *cfg = &self->aq_nic_cfg; in aq_nic_cfg_update_num_vecs() 75 if (self->irqvecs > AQ_HW_SERVICE_IRQS) in aq_nic_cfg_update_num_vecs() 76 cfg->vecs = min(cfg->vecs, self->irqvecs - AQ_HW_SERVICE_IRQS); in aq_nic_cfg_update_num_vecs() 80 if (ATL_HW_IS_CHIP_FEATURE(self->aq_hw, ANTIGUA)) { in aq_nic_cfg_update_num_vecs() 92 aq_nic_rss_init(self, cfg->num_rss_queues); in aq_nic_cfg_update_num_vecs() 96 void aq_nic_cfg_start(struct aq_nic_s *self) in aq_nic_cfg_start() argument 156 aq_nic_update_link_status(struct aq_nic_s * self) aq_nic_update_link_status() argument 215 struct aq_nic_s *self = private; aq_linkstate_threaded_isr() local 230 struct aq_nic_s *self = container_of(work, struct aq_nic_s, aq_nic_service_task() local 257 struct aq_nic_s *self = timer_container_of(self, t, service_timer); aq_nic_service_timer_cb() local 267 struct aq_nic_s *self = timer_container_of(self, t, polling_timer); aq_nic_polling_timer_cb() local 277 aq_nic_hw_prepare(struct aq_nic_s * self) aq_nic_hw_prepare() argument 299 aq_nic_ndev_register(struct aq_nic_s * self) aq_nic_ndev_register() argument 369 aq_nic_ndev_init(struct aq_nic_s * self) aq_nic_ndev_init() argument 394 aq_nic_set_tx_ring(struct aq_nic_s * self,unsigned int idx,struct aq_ring_s * ring) aq_nic_set_tx_ring() argument 400 aq_nic_get_ndev(struct aq_nic_s * self) aq_nic_get_ndev() argument 405 aq_nic_init(struct aq_nic_s * self) aq_nic_init() argument 472 aq_nic_start(struct aq_nic_s * self) aq_nic_start() argument 575 aq_nic_map_xdp(struct aq_nic_s * self,struct xdp_frame * xdpf,struct aq_ring_s * ring) aq_nic_map_xdp() argument 672 aq_nic_map_skb(struct aq_nic_s * self,struct sk_buff * skb,struct aq_ring_s * ring) aq_nic_map_skb() argument 867 aq_nic_xmit(struct aq_nic_s * self,struct sk_buff * skb) aq_nic_xmit() argument 914 aq_nic_update_interrupt_moderation_settings(struct aq_nic_s * self) aq_nic_update_interrupt_moderation_settings() argument 919 aq_nic_set_packet_filter(struct aq_nic_s * self,unsigned int flags) aq_nic_set_packet_filter() argument 933 aq_nic_set_multicast_list(struct aq_nic_s * self,struct net_device * ndev) aq_nic_set_multicast_list() argument 975 aq_nic_set_mtu(struct aq_nic_s * self,int new_mtu) aq_nic_set_mtu() argument 982 aq_nic_set_mac(struct aq_nic_s * self,struct net_device * ndev) aq_nic_set_mac() argument 987 aq_nic_get_link_speed(struct aq_nic_s * self) aq_nic_get_link_speed() argument 992 aq_nic_get_regs(struct aq_nic_s * self,struct ethtool_regs * regs,void * p) aq_nic_get_regs() argument 1012 aq_nic_get_regs_count(struct aq_nic_s * self) aq_nic_get_regs_count() argument 1020 aq_nic_get_stats(struct aq_nic_s * self,u64 * data) aq_nic_get_stats() argument 1085 aq_nic_update_ndev_stats(struct aq_nic_s * self) aq_nic_update_ndev_stats() argument 1100 aq_nic_get_link_ksettings(struct aq_nic_s * self,struct ethtool_link_ksettings * cmd) aq_nic_get_link_ksettings() argument 1272 aq_nic_set_link_ksettings(struct aq_nic_s * self,const struct ethtool_link_ksettings * cmd) aq_nic_set_link_ksettings() argument 1339 aq_nic_get_cfg(struct aq_nic_s * self) aq_nic_get_cfg() argument 1344 aq_nic_get_fw_version(struct aq_nic_s * self) aq_nic_get_fw_version() argument 1349 aq_nic_set_loopback(struct aq_nic_s * self) aq_nic_set_loopback() argument 1387 aq_nic_stop(struct aq_nic_s * self) aq_nic_stop() argument 1414 aq_nic_set_power(struct aq_nic_s * self) aq_nic_set_power() argument 1427 aq_nic_deinit(struct aq_nic_s * self,bool link_down) aq_nic_deinit() argument 1457 aq_nic_free_vectors(struct aq_nic_s * self) aq_nic_free_vectors() argument 1474 aq_nic_realloc_vectors(struct aq_nic_s * self) aq_nic_realloc_vectors() argument 1490 aq_nic_shutdown(struct aq_nic_s * self) aq_nic_shutdown() argument 1513 aq_nic_reserve_filter(struct aq_nic_s * self,enum aq_rx_filter_type type) aq_nic_reserve_filter() argument 1540 aq_nic_release_filter(struct aq_nic_s * self,enum aq_rx_filter_type type,u32 location) aq_nic_release_filter() argument 1556 aq_nic_set_downshift(struct aq_nic_s * self,int val) aq_nic_set_downshift() argument 1577 aq_nic_set_media_detect(struct aq_nic_s * self,int val) aq_nic_set_media_detect() argument 1602 aq_nic_setup_tc_mqprio(struct aq_nic_s * self,u32 tcs,u8 * prio_tc_map) aq_nic_setup_tc_mqprio() argument 1652 aq_nic_setup_tc_max_rate(struct aq_nic_s * self,const unsigned int tc,const u32 max_rate) aq_nic_setup_tc_max_rate() argument 1672 aq_nic_setup_tc_min_rate(struct aq_nic_s * self,const unsigned int tc,const u32 min_rate) aq_nic_setup_tc_min_rate() argument [all...] |