Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 3 files:

Smatch caller information:

net/bridge/br_mrp_switchdev.c br_mrp_switchdev_add() -> switchdev_port_obj_add()

Type Parameter Key Value
PARAM_VALUE 1 obj 4338849867369390080
PARAM_VALUE 1 obj->complete 0
PARAM_VALUE 1 obj->flags 0
PARAM_VALUE 1 obj->id 4
PARAM_VALUE 2 extack 0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->ethtool->rss_lock
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex

net/bridge/br_mrp_switchdev.c br_mrp_switchdev_port_obj() -> switchdev_port_obj_add()

Type Parameter Key Value
PARAM_VALUE 0 dev->ethtool_ops->get_rxfh_key_size 0-s64max
PARAM_VALUE 1 obj 5064711521731874816,5493248350489591808,7211363732319375360,7884242569249677312
PARAM_VALUE 1 obj->complete 0
PARAM_VALUE 1 obj->flags 0
PARAM_VALUE 1 obj->id 5-6,8-9
PARAM_VALUE 2 extack 0
DATA_SOURCE 1 obj $1
HARD_MAX 1 obj->id 9
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &rtnl_mutex

net/bridge/br_mrp_switchdev.c br_mrp_switchdev_set_in_role() -> switchdev_port_obj_add()

Type Parameter Key Value
PARAM_VALUE 1 obj 7884242569249677312
PARAM_VALUE 1 obj->complete 0
PARAM_VALUE 1 obj->flags 0
PARAM_VALUE 1 obj->id 9
PARAM_VALUE 2 extack 0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->ethtool->rss_lock
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex

net/bridge/br_mrp_switchdev.c br_mrp_switchdev_set_in_state() -> switchdev_port_obj_add()

Type Parameter Key Value
PARAM_VALUE 1 obj 3906503842089140224
PARAM_VALUE 1 obj->complete 0
PARAM_VALUE 1 obj->flags 0
PARAM_VALUE 1 obj->id 10
PARAM_VALUE 2 extack 0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->ethtool->rss_lock
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex

net/bridge/br_mrp_switchdev.c br_mrp_switchdev_set_ring_role() -> switchdev_port_obj_add()

Type Parameter Key Value
PARAM_VALUE 1 obj 7211363732319375360
PARAM_VALUE 1 obj->complete 0
PARAM_VALUE 1 obj->flags 0
PARAM_VALUE 1 obj->id 6
PARAM_VALUE 2 extack 0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &rtnl_mutex

net/bridge/br_mrp_switchdev.c br_mrp_switchdev_set_ring_state() -> switchdev_port_obj_add()

Type Parameter Key Value
PARAM_VALUE 1 obj 2836262127120068608
PARAM_VALUE 1 obj->complete 0
PARAM_VALUE 1 obj->flags 0
PARAM_VALUE 1 obj->id 7
PARAM_VALUE 2 extack 0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->ethtool->rss_lock
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex

net/bridge/br_switchdev.c br_switchdev_host_mdb_one() -> switchdev_port_obj_add()

Type Parameter Key Value
PARAM_VALUE 0 dev 1-u64max
PARAM_VALUE 0 dev->ethtool_ops->get_channels 0,111,381700660363722752,402840448096305152,1007128123812876288,1119130633137881088,1298351405801775104,1347577527654567936,1472258326854758400,1774082171574767616,1904170683163824128,2050736912875872256,2141909250710536192-s64max
PARAM_VALUE 0 dev->ethtool_ops->get_coalesce 0,1305,120571013172043776,284554027957534720,285154942308282368,1305563585567670272,1345046505407942656,1381840223481233408,1485067124157730816,1763202220613722112,1942070703523815424,2023939577880678400,2120969740696072192-s64max
PARAM_VALUE 0 dev->ethtool_ops->get_eeprom 0,7091,105132512822681600,183428446644498432,306047598098632704,709100124536971264,795195984216137728,900818716873285632,917013012708438016,923962352635863040,947935650546454528,1075139541495951360,1324562596710137856-s64max
PARAM_VALUE 0 dev->ethtool_ops->get_eeprom_len 0,36138,20423498026807296,232616222546862080,282419484096442368,361380829234503680,631884988869804032,732387362734645248,783268266088747008,949610969806639104,1179434906118770688,1698277323935440896,1955590846917648384-s64max
PARAM_VALUE 0 dev->ethtool_ops->get_eth_ctrl_stats 0,156,739597994905448448,814799169891856384,1538386700735332352,1569736419809300480,2173021577057935360,4157435516957384704,4762342437294059520,5860048936633978880,6262004285802369024,6371869138122407936,7003801423590010880-s64max
PARAM_VALUE 0 dev->ethtool_ops->get_eth_mac_stats 0,72785,95113867472478208,404549903494479872,432025592581763072,727854139338653696,728106209748561920,964061737704038400,1224056449919279104,1950366442606112768,2732765946482651136,2756096147947642880,2887698204679593984-s64max
PARAM_VALUE 0 dev->ethtool_ops->get_fecparam 0,1182,363201284048154624,789194009940082688,805376857481867264,1182306097689899008,1371398954918379520,1459783414447779840,1481568091959975936,2580290828643438592,2665642746759204864,2883025107358474240,3369229158925000704-s64max
PARAM_VALUE 0 dev->ethtool_ops->get_module_eeprom 0,79051,50477904201809920,392231595602108416,673149123459514368,790510551265148928,843140386984730624,1171772849613266944,1307420112006623232,1746804306155012096,2176916437181927424,2268504436163936256,2718379551398850560-s64max
PARAM_VALUE 0 dev->ethtool_ops->get_module_info 0,755881,37771572221743104,43695256255938560,436579063967522816,755881198088134656,1350647281991528448,1458155903514292224,1539427936370884608,1660829274356891648,2892507550102409216,3537135896171343872,3947144237090660352-s64max
PARAM_VALUE 0 dev->ethtool_ops->get_pause_stats 0,7094,215936480747220992,235242834884493312,679903210063843328,709435474624995328,2943097215907594240,2982401374083555328,3057717698551386112,3608821068454359040,4091116870998953984,5076132096717025280,5298962486601981952-s64max
PARAM_VALUE 0 dev->ethtool_ops->get_pauseparam 0,2761,105583894505594880,112356132448034816,246982972293046272,276195450313760768,540067810635956224,806058688349028352,916875459205099520,934425286242816000,938510197668024320,1110118986399162368,1146232666098868224-s64max
PARAM_VALUE 0 dev->ethtool_ops->get_priv_flags 0,133,392871763766517760,571445033062490112,1038601693302452224,1330854503299719168,1996829197593051136,2120602555341991936,2173552884150882304,2723462450889330688,3799117996789252096,3895517883261427712,4644152912556638208-s64max
PARAM_VALUE 0 dev->ethtool_ops->get_regs_len 0,40921,28614315456409600,186783498856022016,406242432226840576,409216797924679680,544266967285956608,616757943551795200,683805404439867392,705395991483863040,719166248949485568,821243011808858112,905042595615600640-s64max
PARAM_VALUE 0 dev->ethtool_ops->get_ringparam 0,4771,115076430605103104,337519899690872832,345579457253011456,477100442971222016,606841767894261760,848845449082646528,1035538704314150912,1048688297885360128,1084106368245764096,1088979131734265856,1109627439118692352-s64max
PARAM_VALUE 0 dev->ethtool_ops->get_rmon_stats 0,1628,2852884428120064,1220528009076183040,1584369078057046016,1628356586453483520,2397886107903258624,3447509567429505024,3788807140303278080,4600587696753242112,5675324815274024960,5859643016145719296,5879917080546779136-s64max
PARAM_VALUE 0 dev->ethtool_ops->get_rx_ring_count 0,455975,43750612612079616,49167372649967616,255588250171949056,455975441402642432,612101713263845376,918177271230459904,953694964148768768,1116779929836167168,1205575459687424000,1292462775465041920,1408376719699828736-s64max
PARAM_VALUE 0 dev->ethtool_ops->get_rxfh_fields 0,1356,300071341872242688,463968109165645824,759799749752893440,1356453219262840832,1563185841226833920,1683417440758657024,1909799368474025984,2056078908547821568,2860538968861749248,3219735651467763712,3745125616036200448-s64max
PARAM_VALUE 0 dev->ethtool_ops->get_rxfh_indir_size 0,7729,251082969459560448,588046640700882944,719308329826930688,772926101020397568,819291875227414528,923092266113966080,1163574597402419200,2231226242587054080,2620075647048687616,2700132688109817856,2896062923641098240-s64max
PARAM_VALUE 0 dev->ethtool_ops->get_rxfh_key_size 0,10610,36474519302082560,266877731771138048,764097059784024064,1061061046925545472,1163340560922599424,1285804556502589440,1612740227097063424,1684797127264481280,1956778155088887808,1964002706991906816,2023046998168682496-s64max
PARAM_VALUE 0 dev->ethtool_ops->get_rxnfc 0,82787,48163946167062528,119967485186965504,334729535141437440,827877228515385344,901145631121133568,1195179054491906048,1276260840952041472,2173773904723390464,2177450300951400448,2615937429872562176,2869944468034445312-s64max
PARAM_VALUE 0 dev->ethtool_ops->nway_reset 0,60027,78052835941326848,170150578885685248,516213107272413184,600279531523342336,1549411885054308352,1576643969461977088,1671400629353943040,1807345210029699072,1835228041818439680,1938422961418104832,2029595646172164096-s64max
PARAM_VALUE 0 dev->ethtool_ops->self_test 0,420337,65167805882830848,88384312829513728,101583844040957952,420337824634089472,764359100315111424,966294921911234560,1133880164152471552,2094614129261907968,2978675254221271040,3163923897216274432,3201470473291243520-s64max
PARAM_VALUE 0 dev->ethtool_ops->set_channels 0,962571,21352709208489984,33543258012721152,357981756318547968,962571693657235456,1158283128963534848,1604486575358013440,1752142300785127424,1781611223656747008,1810429447847403520,1931004647370153984,2226164056597426176-s64max
PARAM_VALUE 0 dev->ethtool_ops->set_coalesce 0,31215,93338130617008128,134523472192450560,149773321956114432,312156262384082944,565886891301040128,612530516132827136,808221703528730624,875109988141051904,953742350314876928,1075673810150154240,1088581463849836544-s64max
PARAM_VALUE 0 dev->ethtool_ops->set_eeprom 0,1078,353174233338081280,375986164583550976,552450422749310976,1078365578190569472,1130212671822557184,1268342833713938432,1505382036578504704,1560941295676461056,1695775967548215296,1774045043163971584,1840704750910361600-s64max
PARAM_VALUE 0 dev->ethtool_ops->set_fecparam 0,117,370677996460683264,521861032247410688,1116604560543625216,1179195880862212096,2854002322586365952,2971989955215654912,2975163515517284352,3692299332845305856,3926203154416185344,5843575760813645824,5972863596153167872-s64max
PARAM_VALUE 0 dev->ethtool_ops->set_pauseparam 0,27643,14989556868030464,124591074152259584,247051330984435712,276435117949108224,358441019087839232,616540647815913472,639550734606536704,802664535419531264,1083522067435573248,1257605729558593536,1425320646410952704-s64max
PARAM_VALUE 0 dev->ethtool_ops->set_phys_id 0,10384,68339801731481600,201119099510636544,472059534733504512,1038430727154839552,1096199906602209280,1878366887349555200,2117498094450606080,2144953763752366080,2199180973632528384,2422292281516519424,2497639842261450752-s64max
PARAM_VALUE 0 dev->ethtool_ops->set_priv_flags 0,153746,296625663524864,925296044071501824,1269666955789279232,1537469415501418496,2498056812369903616,3842046803816841216,4167130044957933568,4435861317383462912,4720728724280090624,4991531932158885888,5617840717326471168-s64max
PARAM_VALUE 0 dev->ethtool_ops->set_ringparam 0,61004,72369854274531328,144191064692645888,553376562346147840,610049649368301568,728061228243640320,984321747789283328,1091429068290265088,1207329950650777600,1312441694000996352,1325221050558406656,1475819332265877504-s64max
PARAM_VALUE 0 dev->ethtool_ops->set_rxfh_fields 0,7822,357090127051399168,491541609283887104,752465275687395328,782229229927501824,1423100111563911168,1504537776758087680,1509088608911273984,1570628438055821312,1691060251693527040,2653936606816010240,2676070648206708736-s64max
PARAM_VALUE 0 dev->ethtool_ops->set_rxnfc 0,89261,70703181726105600,266241618631204864,466970487141744640,892611041272385536,1283795552027103232,1416611445246517248,1657037639074361344,2267652676649656320,2980829714402250752,3157494360255463424,3516134674357522432-s64max
PARAM_VALUE 1 obj 5447812287996518400
PARAM_VALUE 1 obj->complete 0
PARAM_VALUE 1 obj->flags 4
PARAM_VALUE 1 obj->id 3
PARAM_VALUE 1 obj->orig_dev 4096-ptr_max
PARAM_VALUE 2 extack 0
DATA_SOURCE 0 dev $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &br->multicast_lock
HALF_LOCKED2 &brmctx->br->multicast_lock
HALF_LOCKED2 &cfg->br->multicast_lock
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read

net/bridge/br_switchdev.c br_switchdev_mdb_notify() -> switchdev_port_obj_add()

Type Parameter Key Value
PARAM_VALUE 1 obj 1523608716381589504
PARAM_VALUE 1 obj->complete 7429875107731611648
PARAM_VALUE 1 obj->complete_priv 4096-ptr_max
PARAM_VALUE 1 obj->flags 4
PARAM_VALUE 1 obj->id 2
PARAM_VALUE 2 extack 0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dev unit_byte
HALF_LOCKED2 &br->multicast_lock
HALF_LOCKED2 &brmctx->br->multicast_lock
HALF_LOCKED2 &cfg->br->multicast_lock
HALF_LOCKED2 bh

net/bridge/br_switchdev.c br_switchdev_port_vlan_add() -> switchdev_port_obj_add()

Type Parameter Key Value
PARAM_VALUE 1 obj 5666397933578452992
PARAM_VALUE 1 obj->complete 0
PARAM_VALUE 1 obj->flags 0
PARAM_VALUE 1 obj->id 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 2 extack $4
NOSPEC 0 dev->ifindex
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 dev->flags 0-525824[c]
USER_DATA 0 dev->ifindex 0-s32max[c]
NO_OVERFLOW_SIMPLE 0 dev->group
NO_OVERFLOW_SIMPLE 0 dev->num_napi_configs
NO_OVERFLOW_SIMPLE 0 dev->num_rx_queues
NO_OVERFLOW_SIMPLE 0 dev->num_tx_queues
NO_OVERFLOW_SIMPLE 0 dev->real_num_rx_queues
NO_OVERFLOW_SIMPLE 0 dev->real_num_tx_queues
NO_OVERFLOW_SIMPLE 0 dev->tx_queue_len
UNITS 0 dev unit_byte
HALF_LOCKED2 global &rtnl_mutex

net/bridge/br_switchdev.c br_switchdev_port_vlan_no_foreign_add() -> switchdev_port_obj_add()

Type Parameter Key Value
PARAM_VALUE 1 obj 6364876533209624576
PARAM_VALUE 1 obj->complete 0
PARAM_VALUE 1 obj->flags 8
PARAM_VALUE 1 obj->id 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 2 extack $4
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dev unit_byte
HALF_LOCKED2 global &rtnl_mutex