Searched refs:priority (Results 101 - 125 of 1095) sorted by relevance

1234567891011>>

/linux-master/net/sched/
H A Dact_skbedit.c55 skb->priority = params->priority;
64 skb->priority = ipv4_get_dsfield(ip_hdr(skb)) >> 2;
71 skb->priority = ipv6_get_dsfield(ipv6_hdr(skb)) >> 2;
129 u32 flags = 0, *priority = NULL, *mark = NULL, *mask = NULL; local
149 priority = nla_data(tb[TCA_SKBEDIT_PRIORITY]);
251 params_new->priority = *priority;
306 nla_put_u32(skb, TCA_SKBEDIT_PRIORITY, params->priority))
383 entry->priority
[all...]
/linux-master/drivers/md/dm-vdo/
H A Dvio.c79 enum vio_priority priority, void *parent,
100 initialize_vio(vio, bio, block_count, vio_type, priority, vdo);
110 * @priority: The relative priority to assign to the vio.
119 enum vio_priority priority, void *parent,
138 result = allocate_vio_components(vdo, vio_type, priority, parent, block_count,
251 int priority; local
261 priority = VDO_LOG_DEBUG;
265 priority = VDO_LOG_ERR;
272 vdo_vlog_strerror(priority, vi
78 allocate_vio_components(struct vdo *vdo, enum vio_type vio_type, enum vio_priority priority, void *parent, unsigned int block_count, char *data, struct vio *vio) argument
118 create_multi_block_metadata_vio(struct vdo *vdo, enum vio_type vio_type, enum vio_priority priority, void *parent, unsigned int block_count, char *data, struct vio **vio_ptr) argument
311 make_vio_pool(struct vdo *vdo, size_t pool_size, thread_id_t thread_id, enum vio_type vio_type, enum vio_priority priority, void *context, struct vio_pool **pool_ptr) argument
[all...]
/linux-master/arch/x86/kvm/
H A Di8259.c118 * return the highest priority found in mask (highest = smallest
123 int priority; local
126 priority = 0;
127 while ((mask & (1 << ((priority + s->priority_add) & 7))) == 0)
128 priority++;
129 return priority;
137 int mask, cur_priority, priority; local
140 priority = get_priority(s, mask);
141 if (priority == 8)
144 * compute current priority
310 int priority, cmd, irq; local
[all...]
/linux-master/drivers/staging/rtl8192e/
H A Drtllib_tx.c293 skb->priority, TX_DIR, true)) {
479 skb->priority, TX_DIR, true))
490 switch (skb->priority) {
493 skb->priority = 5; /* VO -> VI */
497 skb->priority = 3; /* VI -> BE */
501 skb->priority = 1; /* BE -> BK */
610 skb->priority = rtllib_classify(skb, IsAmsdu);
677 while (unlikely(ieee->wmm_acm & (0x01 << skb->priority))) {
678 netdev_info(ieee->dev, "skb->priority = %x\n",
679 skb->priority);
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_acl_tcam.c37 u32 *priority, bool fillup_priority)
42 *priority = 0;
51 if (rulei->priority >= max_priority)
54 /* Unlike in TC, in HW, higher number means higher priority. */
55 *priority = max_priority - rulei->priority;
180 unsigned int priority; /* Priority within the vregion and group */ member in struct:mlxsw_sp_acl_tcam_vchunk
202 .key_offset = offsetof(struct mlxsw_sp_acl_tcam_vchunk, priority),
349 /* As a priority of a vregion, return priority o
35 mlxsw_sp_acl_tcam_priority_get(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_rule_info *rulei, u32 *priority, bool fillup_priority) argument
383 mlxsw_sp_acl_tcam_group_region_attach(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_tcam_group *group, struct mlxsw_sp_acl_tcam_region *region, unsigned int priority, struct mlxsw_sp_acl_tcam_region *next_region) argument
445 mlxsw_sp_acl_tcam_vgroup_vregion_attach(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_tcam_vgroup *vgroup, struct mlxsw_sp_acl_tcam_vregion *vregion, unsigned int priority) argument
487 mlxsw_sp_acl_tcam_vgroup_vregion_find(struct mlxsw_sp_acl_tcam_vgroup *vgroup, unsigned int priority, struct mlxsw_afk_element_usage *elusage, bool *p_need_split) argument
770 mlxsw_sp_acl_tcam_vregion_create(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_tcam_vgroup *vgroup, unsigned int priority, struct mlxsw_afk_element_usage *elusage) argument
858 mlxsw_sp_acl_tcam_vregion_get(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_tcam_vgroup *vgroup, unsigned int priority, struct mlxsw_afk_element_usage *elusage) argument
929 mlxsw_sp_acl_tcam_vchunk_create(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_tcam_vgroup *vgroup, unsigned int priority, struct mlxsw_afk_element_usage *elusage) argument
1019 mlxsw_sp_acl_tcam_vchunk_get(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_acl_tcam_vgroup *vgroup, unsigned int priority, struct mlxsw_afk_element_usage *elusage) argument
1397 unsigned int priority = mlxsw_sp_acl_tcam_vregion_prio(vregion); local
[all...]
/linux-master/tools/testing/selftests/net/
H A Dxfrm_policy.sh38 ip -net $ns xfrm policy add src $lnet dst $rnet dir out tmpl src $me dst $remote proto esp mode tunnel priority 100 action allow
40 ip -net $ns xfrm policy add src $rnet dst $lnet dir fwd tmpl src $remote dst $me proto esp mode tunnel priority 100 action allow
75 ip -net $ns xfrm policy add src 10.1.0.0/24 dst 10.0.0.0/24 dir fwd priority 200 action block
78 ip -net $ns xfrm policy add src 10.2.0.0/24 dst 10.0.0.0/24 dir fwd priority 200 action block
81 ip -net $ns xfrm policy add src 10.2.0.0/23 dst 10.0.1.0/24 dir fwd priority 200 action block
107 ip -net $ns xfrm policy add src 10.1.0.0/24 dst 10.0.0.0/23 dir fwd priority 200 action block
112 ip -net $ns xfrm policy add src 10.253.1.$((RANDOM%255))/$p dst 10.254.1.$((RANDOM%255))/$p dir fwd priority $((200+k)) action block 2>/dev/null
145 ip -net $ns xfrm policy add dst $plain dir out priority 10 action allow
148 ip -net $ns xfrm policy add dst $encryptip dir out tmpl src $me dst $remote proto esp mode tunnel priority 1 action allow
272 ip -net ${ns[1]} xfrm policy update src e000:0001::0000 dst ff01::0014:0000:0001 dir in tmpl src :: dst :: proto esp mode tunnel priority 10
[all...]
/linux-master/drivers/net/wireless/marvell/mwifiex/
H A Duap_txrx.c210 index = mwifiex_1d_to_wmm_queue[skb->priority];
425 if (rx_pkt_type != PKT_TYPE_BAR && uap_rx_pd->priority < MAX_NUM_TID) {
429 node->rx_seq[uap_rx_pd->priority] =
435 (!mwifiex_11n_get_rx_reorder_tbl(priv, uap_rx_pd->priority, ta) &&
444 uap_rx_pd->priority, ta, pkt_type,
496 txpd->priority = (u8)skb->priority;
506 if (txpd->priority < ARRAY_SIZE(priv->wmm.user_pri_pkt_tx_ctrl))
508 * Set the priority specific tx_control field, setting of 0 will
512 cpu_to_le32(priv->wmm.user_pri_pkt_tx_ctrl[txpd->priority]);
[all...]
H A Dsta_rx.c243 local_rx_pd->priority < MAX_NUM_TID) {
246 sta_ptr->rx_seq[local_rx_pd->priority] =
254 local_rx_pd->priority < MAX_NUM_TID)
255 priv->rx_seq[local_rx_pd->priority] = seq_num;
261 ret = mwifiex_11n_rx_reorder_pkt(priv, seq_num, local_rx_pd->priority,
/linux-master/lib/
H A Dparman.c2 * lib/parman.c - Manager for linear priority array areas
236 * with the same priority. Consider following example:
247 * In this example, there are 3 priority chunks. The order of the priorities
248 * matters, however the order of items within a single priority chunk does not
260 * The goal of parman is to maintain the priority ordering. The caller
297 * parman_prio_init - initializes a parman priority chunk
300 * @priority: desired priority of the chunk
304 * Before caller could add an item with certain priority, he has to
305 * initialize a priority chun
307 parman_prio_init(struct parman *parman, struct parman_prio *prio, unsigned long priority) argument
[all...]
/linux-master/drivers/infiniband/hw/hfi1/
H A Diowait.h62 * @init_priority: callback to manipulate priority
119 u8 priority; member in struct:iowait
309 w->iow->priority++;
331 w->iow->priority++;
343 w->priority = 0;
370 * However, if it has priority packets to send, also put it at the
378 if (w->priority > 0 || !pkts_sent)
398 /* Update the top priority index */
H A Diowait.c9 /* 1 priority == 16 starve_cnt */
104 * iowait_priority_update_top - update the top priority entry
106 * @top: a pointer to the top priority entry
108 * @top_idx: the array index for the iowait entry that has the top priority
110 * This function is called to compare the priority of a given
111 * iowait with the given top priority entry. The top index will
120 /* Convert priority into starve_cnt and compare the total.*/
121 cnt = (w->priority << IOWAIT_PRIORITY_STARVE_SHIFT) + w->starved_cnt;
122 tcnt = (top->priority << IOWAIT_PRIORITY_STARVE_SHIFT) +
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_bo_list.c63 if (a->priority > b->priority)
65 if (a->priority < b->priority)
117 entry->priority = min(info[i].bo_priority,
/linux-master/include/linux/surface_aggregator/
H A Dserial_hub.h355 * @SSH_PACKET_PRIORITY_FLUSH: Base priority for flush packets.
356 * @SSH_PACKET_PRIORITY_DATA: Base priority for normal data packets.
357 * @SSH_PACKET_PRIORITY_NAK: Base priority for NAK packets.
358 * @SSH_PACKET_PRIORITY_ACK: Base priority for ACK packets.
374 * SSH_PACKET_PRIORITY() - Compute packet priority from base priority and
376 * @base: The base priority as suffix of &enum ssh_packet_base_priority, e.g.
380 * Compute the combined packet priority. The combined priority is dominated by
381 * the base priority, wherea
398 ssh_packet_priority_get_try(u8 priority) argument
409 ssh_packet_priority_get_base(u8 priority) argument
495 u8 priority; member in struct:ssh_packet
[all...]
/linux-master/arch/powerpc/kvm/
H A Dbook3s_xics.c134 state->priority);
142 u32 server, u32 priority, u32 saved_priority)
151 state->priority = priority;
154 if ((state->masked_pending || state->resend) && priority != MASKED) {
166 int kvmppc_xics_set_xive(struct kvm *kvm, u32 irq, u32 server, u32 priority) argument
187 irq, server, priority,
190 if (write_xive(xics, ics, state, server, priority, priority))
196 int kvmppc_xics_get_xive(struct kvm *kvm, u32 irq, u32 *server, u32 *priority) argument
140 write_xive(struct kvmppc_xics *xics, struct kvmppc_ics *ics, struct ics_irq_state *state, u32 server, u32 priority, u32 saved_priority) argument
336 icp_try_to_deliver(struct kvmppc_icp *icp, u32 irq, u8 priority, u32 *reject) argument
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_dcbnl.c179 /* strict group has higher priority than ets group */
299 "Failed to validate ETS: priority value greater than max(%d)\n",
403 "%s: PFC per priority bit mask: 0x%x\n",
467 temp.priority = priv->dcbx_dp.dscp2prio[app->protocol];
477 if (app->priority != priv->dcbx_dp.dscp2prio[app->protocol]) {
478 err = mlx5e_set_dscp2prio(priv, app->protocol, app->priority);
522 if (app->priority != priv->dcbx_dp.dscp2prio[app->protocol])
530 /* Reset the priority mapping back to zero */
697 int priority, u8 prio_type,
703 if (priority >
696 mlx5e_dcbnl_setpgtccfgtx(struct net_device *netdev, int priority, u8 prio_type, u8 pgid, u8 bw_pct, u8 up_map) argument
733 mlx5e_dcbnl_getpgtccfgtx(struct net_device *netdev, int priority, u8 *prio_type, u8 *pgid, u8 *bw_pct, u8 *up_map) argument
774 mlx5e_dcbnl_setpfccfg(struct net_device *netdev, int priority, u8 setting) argument
793 mlx5e_dcbnl_get_priority_pfc(struct net_device *netdev, int priority, u8 *setting) argument
809 mlx5e_dcbnl_getpfccfg(struct net_device *netdev, int priority, u8 *setting) argument
[all...]
/linux-master/tools/lib/bpf/
H A Dnetlink.c675 OPTS_SET(info->opts, priority, TC_H_MAJ(tc->tcm_info) >> 16);
720 __u32 protocol, bpf_flags, handle, priority, parent, prog_id, flags; local
736 priority = OPTS_GET(opts, priority, 0);
743 if (priority > UINT16_MAX)
759 req.tc.tcm_info = TC_H_MAKE(priority << 16, htons(protocol));
796 __u32 protocol = 0, handle, priority, parent, prog_id, flags; local
810 priority = OPTS_GET(opts, priority, 0);
817 if (priority > UINT16_MA
867 __u32 protocol, handle, priority, parent, prog_id, flags; local
[all...]
/linux-master/include/linux/ceph/
H A Dmsgr.h158 __le16 priority; /* priority. higher value == higher priority */ member in struct:ceph_msg_header_old
176 __le16 priority; /* priority. higher value == higher priority */ member in struct:ceph_msg_header
195 __le16 priority; /* priority. higher value == higher priority */ member in struct:ceph_msg_header2
/linux-master/drivers/staging/rtl8712/
H A Drtl8712_xmit.c57 int priority = pattrib->priority; local
60 switch (priority) {
94 switch (pattrib->priority) {
228 qsel = (unsigned int)pattrib->priority;
230 qsel = (unsigned int)pattrib->priority;
293 r8712_issue_addbareq_cmd(padapter, pxmitframe->attrib.priority);
503 * correct priority to fw.
504 * fw will check the correct priority for increasing the
510 ptxdesc->txdw3 = cpu_to_le32((pattrib->priority << SEQ_SH
[all...]
/linux-master/drivers/gpu/drm/ttm/
H A Dttm_resource.c83 return &bulk->pos[res->mem_type][res->bo->priority];
167 list_move_tail(&res->lru, &man->lru[bo->priority]);
200 list_add_tail(&res->lru, &man->lru[bo->priority]);
469 for (cursor->priority = 0; cursor->priority < TTM_MAX_BO_PRIORITY;
470 ++cursor->priority)
471 list_for_each_entry(res, &man->lru[cursor->priority], lru)
493 list_for_each_entry_continue(res, &man->lru[cursor->priority], lru)
496 for (++cursor->priority; cursor->priority < TTM_MAX_BO_PRIORIT
[all...]
/linux-master/net/ipv6/
H A Dxfrm6_protocol.c240 int priority = handler->priority; local
255 if (t->priority < priority)
257 if (t->priority == priority)
/linux-master/net/netfilter/
H A Dnf_bpf_link.c146 nf_link->hook_ops.priority);
156 info->netfilter.priority = nf_link->hook_ops.priority;
195 prio = attr->link_create.netfilter.priority;
232 link->hook_ops.priority = attr->link_create.netfilter.priority;
/linux-master/drivers/bus/fsl-mc/
H A Ddpcon.c215 dpcon_cmd->priority = cfg->priority;
/linux-master/crypto/
H A Dcrypto_user_base.c265 struct nlattr *priority = attrs[CRYPTOCFGA_PRIORITY_VAL]; local
274 if (priority && !strlen(p->cru_driver_name))
285 if (priority)
286 alg->cra_priority = nla_get_u32(priority);
341 struct nlattr *priority = attrs[CRYPTOCFGA_PRIORITY_VAL]; local
352 if (priority && !exact)
372 if (priority)
373 alg->cra_priority = nla_get_u32(priority);
/linux-master/include/linux/
H A Dipmi.h176 int priority,
196 int priority);
/linux-master/drivers/thermal/intel/int340x_thermal/
H A Dacpi_thermal_rel.h63 u64 priority; member in struct:psvt
120 u64 priority; member in struct:psvt_object::__anon2839

Completed in 252 milliseconds

1234567891011>>