/linux-master/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | sch_red_prio.sh | 4 QDISC=prio
|
H A D | qos_defprio.sh | 18 # | dcb app default-prio <prio> | 50 dcb app flush dev $swp1 default-prio 91 dcb app add dev $swp1 default-prio $prio_install 101 dcb app del dev $swp1 default-prio $prio_install 106 local prio 108 for prio in {0..7}; do 109 __test_defprio $prio $prio 112 dcb app add dev $swp1 default-prio [all...] |
H A D | qos_dscp_bridge.sh | 23 # | | dcb dscp-prio 10:0...17:7 dcb dscp-prio 20:0...27:7 | | 75 dcb app add dev $swp1 dscp-prio 10:0 11:1 12:2 13:3 14:4 15:5 16:6 17:7 76 dcb app add dev $swp2 dscp-prio 20:0 21:1 22:2 23:3 24:4 25:5 26:6 27:7 81 dcb app del dev $swp2 dscp-prio 20:0 21:1 22:2 23:3 24:4 25:5 26:6 27:7 82 dcb app del dev $swp1 dscp-prio 10:0 11:1 12:2 13:3 14:4 15:5 16:6 17:7 127 local prio=$1; shift 132 local dscp_10=$(((prio + 10) << 2)) 133 local dscp_20=$(((prio + 20) << 2)) 152 if ((key == prio [all...] |
/linux-master/tools/testing/selftests/bpf/ |
H A D | bpf_sockopt_helpers.h | 8 int prio; local 15 if (bpf_getsockopt(ctx, SOL_SOCKET, SO_PRIORITY, &prio, sizeof(prio))) 17 if (bpf_setsockopt(ctx, SOL_SOCKET, SO_PRIORITY, &prio, sizeof(prio)))
|
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_vlan.h | 13 u8 prio; member in struct:ice_vlan 16 #define ICE_VLAN(tpid, vid, prio) ((struct ice_vlan){ tpid, vid, prio })
|
/linux-master/include/linux/sched/ |
H A D | prio.h | 13 * values are inverted: lower p->prio value means higher priority. 27 #define PRIO_TO_NICE(prio) ((prio) - DEFAULT_PRIO) 40 static inline long rlimit_to_nice(long prio) argument 42 return (MAX_NICE - prio + 1);
|
H A D | deadline.h | 7 * the fact that any of them has higher prio than RT and 15 static inline int dl_prio(int prio) argument 17 if (unlikely(prio < MAX_DL_PRIO)) 24 return dl_prio(p->prio);
|
H A D | rt.h | 9 static inline int rt_prio(int prio) argument 11 if (unlikely(prio < MAX_RT_PRIO)) 18 return rt_prio(p->prio);
|
/linux-master/lib/ |
H A D | parman.c | 44 int (*item_add)(struct parman *parman, struct parman_prio *prio, 46 void (*item_remove)(struct parman *parman, struct parman_prio *prio, 87 static bool parman_prio_used(struct parman_prio *prio) argument 89 return !list_empty(&prio->item_list); 92 static struct parman_item *parman_prio_first_item(struct parman_prio *prio) argument 94 return list_first_entry(&prio->item_list, 98 static unsigned long parman_prio_first_index(struct parman_prio *prio) argument 100 return parman_prio_first_item(prio)->index; 103 static struct parman_item *parman_prio_last_item(struct parman_prio *prio) argument 105 return list_last_entry(&prio 109 parman_prio_last_index(struct parman_prio *prio) argument 114 parman_lsort_new_index_find(struct parman *parman, struct parman_prio *prio) argument 125 __parman_prio_move(struct parman *parman, struct parman_prio *prio, struct parman_item *item, unsigned long to_index, unsigned long count) argument 132 parman_prio_shift_down(struct parman *parman, struct parman_prio *prio) argument 147 parman_prio_shift_up(struct parman *parman, struct parman_prio *prio) argument 162 parman_prio_item_remove(struct parman *parman, struct parman_prio *prio, struct parman_item *item) argument 181 parman_lsort_item_add(struct parman *parman, struct parman_prio *prio, struct parman_item *item) argument 207 parman_lsort_item_remove(struct parman *parman, struct parman_prio *prio, struct parman_item *item) argument 307 parman_prio_init(struct parman *parman, struct parman_prio *prio, unsigned long priority) argument 332 parman_prio_fini(struct parman_prio *prio) argument 351 parman_item_add(struct parman *parman, struct parman_prio *prio, struct parman_item *item) argument 366 parman_item_remove(struct parman *parman, struct parman_prio *prio, struct parman_item *item) argument [all...] |
/linux-master/net/sched/ |
H A D | sch_skbprio.c | 42 int prio; local 44 for (prio = q->highest_prio - 1; prio >= q->lowest_prio; prio--) { 45 if (!skb_queue_empty(&q->qdiscs[prio])) 46 return prio; 55 int prio; local 57 for (prio = q->lowest_prio + 1; prio <= q->highest_prio; prio 76 u16 prio, lp; local 183 int prio; local 214 int prio; local 227 int prio; local [all...] |
/linux-master/include/linux/dma/ |
H A D | pxa-dma.h | 15 * @prio: minimal mandatory priority of the channel 17 * If a requested channel is granted, its priority will be at least @prio, 23 enum pxad_chan_prio prio; member in struct:pxad_param
|
/linux-master/include/linux/ |
H A D | plist_types.h | 12 int prio; member in struct:plist_node
|
H A D | parman.h | 68 void parman_prio_init(struct parman *parman, struct parman_prio *prio, 70 void parman_prio_fini(struct parman_prio *prio); 71 int parman_item_add(struct parman *parman, struct parman_prio *prio, 73 void parman_item_remove(struct parman *parman, struct parman_prio *prio,
|
H A D | ioprio.h | 60 int prio; local 68 prio = ioc->ioprio; 69 if (IOPRIO_PRIO_CLASS(prio) == IOPRIO_CLASS_NONE) 70 prio = IOPRIO_PRIO_VALUE(task_nice_ioclass(p), 72 return prio;
|
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_dcbnl.c | 12 u8 tx_queues = pfvf->hw.tx_queues, prio; local 15 for (prio = 0; prio < NIX_PF_PFC_PRIO_MAX; prio++) { 16 if ((pfc_en & (1 << prio)) && 17 prio > tx_queues - 1) { 20 tx_queues, prio + 1); 31 int prio, lvl, err; local 34 for (prio = 0; prio < NIX_PF_PFC_PRIO_MA 58 otx2_pfc_txschq_alloc_one(struct otx2_nic *pfvf, u8 prio) argument 107 int err, prio; local 126 otx2_pfc_txschq_stop_one(struct otx2_nic *pfvf, u8 prio) argument 139 otx2_pfc_update_sq_smq_mapping(struct otx2_nic *pfvf, int prio) argument 202 int err, prio; local 267 int prio, err; local [all...] |
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | lsm_cgroup.c | 55 int prio = 123; local 66 if (bpf_setsockopt(sk, SOL_SOCKET, SO_PRIORITY, &prio, sizeof(prio))) 70 prio = 0; 71 if (bpf_getsockopt(sk, SOL_SOCKET, SO_PRIORITY, &prio, sizeof(prio))) 73 if (prio != 123) 165 int prio = 234; local 171 if (bpf_setsockopt(newsk, SOL_SOCKET, SO_PRIORITY, &prio, sizeof(prio))) [all...] |
/linux-master/net/sctp/ |
H A D | stream_sched_prio.c | 41 struct sctp_stream *stream, int prio, gfp_t gfp) 52 p->prio = prio; 59 struct sctp_stream *stream, int prio, gfp_t gfp) 68 if (p->prio == prio) 70 if (p->prio > prio) 85 if (p->prio == prio) 40 sctp_sched_prio_new_head( struct sctp_stream *stream, int prio, gfp_t gfp) argument 58 sctp_sched_prio_get_head( struct sctp_stream *stream, int prio, gfp_t gfp) argument 133 struct sctp_stream_priorities *prio, *prio_head; local 163 sctp_sched_prio_set(struct sctp_stream *stream, __u16 sid, __u16 prio, gfp_t gfp) argument 231 struct sctp_stream_priorities *prio; local 259 struct sctp_stream_priorities *prio; local [all...] |
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_sched.h | 34 enum drm_sched_priority *prio);
|
/linux-master/samples/trace_events/ |
H A D | trace_custom_sched.h | 49 __entry->prev_prio = prev->prio; 51 __entry->next_prio = next->prio; 67 __field( unsigned short, prio ) 72 __entry->prio = p->prio; 75 TP_printk("pid=%d prio=%d", __entry->pid, __entry->prio)
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | fs_chains.c | 56 u32 prio; member in struct:prio_key 60 struct prio { struct 83 .head_offset = offsetof(struct prio, node), 84 .key_offset = offsetof(struct prio, key), 85 .key_len = sizeof_field(struct prio, key), 153 u32 chain, u32 prio, u32 level) 173 /* The root table(chain 0, prio 1, level 0) is required to be 174 * connected to the previous fs_core managed prio. 179 (chain == 0 && prio == 1 && level == 0)) { 181 ft_attr.prio 152 mlx5_chains_create_table(struct mlx5_fs_chains *chains, u32 chain, u32 prio, u32 level) argument 395 mlx5_chains_update_prio_prevs(struct prio *prio, struct mlx5_flow_table *next_ft) argument 460 mlx5_chains_create_prio(struct mlx5_fs_chains *chains, u32 chain, u32 prio, u32 level) argument 578 mlx5_chains_destroy_prio(struct mlx5_fs_chains *chains, struct prio *prio) argument 597 mlx5_chains_get_table(struct mlx5_fs_chains *chains, u32 chain, u32 prio, u32 level) argument 650 mlx5_chains_put_table(struct mlx5_fs_chains *chains, u32 chain, u32 prio, u32 level) argument 691 u32 chain, prio, level; local [all...] |
/linux-master/tools/testing/selftests/tc-testing/ |
H A D | tdc_batch.py | 28 parser.add_argument("-p", "--prio", 29 help="all filters have different prio", 65 prio = "prio 1" variable 66 if args.prio: 67 prio = "" variable 73 def format_add_filter(device, prio, handle, skip, src_mac, dst_mac, 77 device, prio, handle, skip, src_mac, dst_mac, share_action)) 80 def format_rep_filter(device, prio, handle, skip, src_mac, dst_mac, 84 device, prio, handl [all...] |
/linux-master/drivers/net/ethernet/mscc/ |
H A D | ocelot_devlink.c | 47 #define BUF_Q_RSRV_E(port, prio) \ 48 (BUF_xxxx_E + xxx_Q_RSRV_x + OCELOT_NUM_TC * (port) + (prio)) 69 #define BUF_Q_RSRV_I(port, prio) \ 70 (BUF_xxxx_I + xxx_Q_RSRV_x + OCELOT_NUM_TC * (port) + (prio)) 91 #define REF_Q_RSRV_E(port, prio) \ 92 (REF_xxxx_E + xxx_Q_RSRV_x + OCELOT_NUM_TC * (port) + (prio)) 113 #define REF_Q_RSRV_I(port, prio) \ 114 (REF_xxxx_I + xxx_Q_RSRV_x + OCELOT_NUM_TC * (port) + (prio)) 141 #define BUF_PRIO_SHR_E(prio) \ 142 (BUF_xxxx_E + xxx_PRIO_SHR_x + (prio)) 255 int prio; local 291 int prio; local 304 int port, prio; local 328 int port, prio; local 778 int port, prio; local [all...] |
/linux-master/tools/testing/selftests/net/forwarding/ |
H A D | skbedit_priority.sh | 68 prio bands 8 priomap 7 6 5 4 3 2 1 0 118 local prio=$1; shift 124 flower action skbedit priority $prio 140 log_test "$locus skbedit priority $prio -> classid $classid" 147 local prio 149 for prio in {0..7}; do 151 $prio 10:$((8 - prio)) 157 local prio 159 for prio i [all...] |
/linux-master/arch/powerpc/sysdev/ |
H A D | ipic.c | 36 .prio = IPIC_SIPRR_C, 43 .prio = IPIC_SIPRR_C, 50 .prio = IPIC_SIPRR_C, 57 .prio = IPIC_SIPRR_C, 64 .prio = IPIC_SIPRR_C, 71 .prio = IPIC_SIPRR_C, 78 .prio = IPIC_SIPRR_C, 85 .prio = IPIC_SIPRR_C, 92 .prio = IPIC_SIPRR_D, 99 .prio [all...] |
/linux-master/include/uapi/linux/netfilter_bridge/ |
H A D | ebt_vlan.h | 15 __u8 prio; /* VLAN User Priority {0-7} */ member in struct:ebt_vlan_info
|