Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/sun/niu.c niu_add_ethtool_tcam_entry() -> tcam_assoc_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 4096-ptr_max |
| PARAM_VALUE | 0 | np->num_rx_rings | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | np->parent | 4096-ptr_max |
| PARAM_VALUE | 0 | np->parent->rdc_group_cfg | 4096-ptr_max |
| PARAM_VALUE | 0 | np->parent->tcam | 4096-ptr_max |
| PARAM_VALUE | 2 | assoc_data | 0,1024-u64max |
| CAPPED_DATA | 1 | index | 1 |
| CAPPED_DATA | 2 | assoc_data | 1 |
| CAPPED_DATA | 2 | assoc_data | 1 |
| DATA_SOURCE | 0 | np | $0 |
| DATA_SOURCE | 1 | index | r tcam_get_index |
| FUZZY_MAX | 2 | assoc_data | 4096 |
| BIT_INFO | 2 | assoc_data | 0x0,0xfffffffffffffffc |
| BIT_INFO | 2 | assoc_data | 0x0,0xfffffffffffffffc |
| NOSPEC | 1 | index | |
| NOSPEC | 1 | index | |
| PREEMPT_ADD | <- disables preempt | ||
| USER_DATA | 1 | index | 0-u16max[c] |
| USER_DATA | 2 | assoc_data | 1024,1028-8589935612[c] |
| UNITS | 1 | index | unit_array_size |
| LOCK2 | flags | ||
| LOCK2 | 0 | &np->parent->lock | |
| TYPE_LOCK | (struct niu_parent)->lock |
drivers/net/ethernet/sun/niu.c niu_set_ip_frag_rule() -> tcam_assoc_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 4096-ptr_max |
| PARAM_VALUE | 0 | np->clas.vlan_mappings | 4096-ptr_max |
| PARAM_VALUE | 0 | np->device->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | np->parent | 4096-ptr_max |
| PARAM_VALUE | 0 | np->parent->flow_key | 4096-ptr_max |
| PARAM_VALUE | 0 | np->parent->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | np->parent->tcam | 4096-ptr_max |
| PARAM_VALUE | 0 | np->parent->tcam_key | 4096-ptr_max |
| PARAM_VALUE | 0 | *np->dev->name | 0-255 |
| PARAM_VALUE | 0 | *np->dev->prio_tc_map | 0-255 |
| PARAM_VALUE | 1 | index | 0-u16max |
| PARAM_VALUE | 2 | assoc_data | 1024 |
| CAPPED_DATA | 0 | np->num_rx_rings | 1 |
| CAPPED_DATA | 0 | np->num_tx_rings | 1 |
| DATA_SOURCE | 0 | np | $0 |
| BIT_INFO | 0 | np->msg_enable | 0x0,0xffffffff |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | np->dev->real_num_rx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | np->dev->real_num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | np->num_rx_rings | |
| NO_OVERFLOW_SIMPLE | 0 | np->num_tx_rings | |
| LOCK2 | 0 | &np->lock | |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | 0 | &np->dev->lock | |
| TYPE_LOCK | (struct niu)->lock |