/linux-master/io_uring/ |
H A D | net.c | 1234 unsigned idx = READ_ONCE(sqe->buf_index); local 1236 if (unlikely(idx >= ctx->nr_user_bufs)) 1238 idx = array_index_nospec(idx, ctx->nr_user_bufs); 1239 req->imu = READ_ONCE(ctx->user_bufs[idx]);
|
H A D | msg_ring.c | 163 int idx = msg->src_fd; local 166 if (likely(idx < ctx->nr_user_files)) { 167 idx = array_index_nospec(idx, ctx->nr_user_files); 168 file = io_file_from_index(&ctx->file_table, idx);
|
/linux-master/include/net/ |
H A D | xfrm.h | 1795 struct xfrm_algo_desc *xfrm_aalg_get_byidx(unsigned int idx); 1796 struct xfrm_algo_desc *xfrm_ealg_get_byidx(unsigned int idx);
|
H A D | udp_tunnel.h | 302 unsigned int idx, struct udp_tunnel_info *ti); 304 unsigned int idx, u8 priv); 322 unsigned int idx, struct udp_tunnel_info *ti) 333 udp_tunnel_nic_ops->get_port(dev, table, idx, ti); 338 unsigned int idx, u8 priv) 341 udp_tunnel_nic_ops->set_port_priv(dev, table, idx, priv); 321 udp_tunnel_nic_get_port(struct net_device *dev, unsigned int table, unsigned int idx, struct udp_tunnel_info *ti) argument 337 udp_tunnel_nic_set_port_priv(struct net_device *dev, unsigned int table, unsigned int idx, u8 priv) argument
|
H A D | smc.h | 62 int (*move_data)(struct smcd_dev *dev, u64 dmb_tok, unsigned int idx,
|
H A D | netdev_queues.h | 84 void (*get_queue_stats_rx)(struct net_device *dev, int idx, 86 void (*get_queue_stats_tx)(struct net_device *dev, int idx, 113 int idx); 118 int idx); 121 int idx); 264 #define netif_subqueue_try_stop(dev, idx, get_desc, start_thrs) \ 268 txq = netdev_get_tx_queue(dev, idx); \ 272 #define netif_subqueue_maybe_stop(dev, idx, get_desc, stop_thrs, start_thrs) \ 276 txq = netdev_get_tx_queue(dev, idx); \ 280 #define netif_subqueue_completed_wake(dev, idx, pkt [all...] |
H A D | mac80211.h | 1023 * @IEEE80211_TX_RC_VHT_MCS: VHT MCS rate, in this case the idx field is split 1068 * @idx: rate index to attempt to send with 1072 * A value of -1 for @idx indicates an invalid rate and, if used 1081 * if this array contains, in the format { <idx>, <count> } the 1098 s8 idx; member in struct:ieee80211_tx_rate 1107 return rate->idx >= 0 && rate->count > 0; 1115 rate->idx = ((nss - 1) << 4) | mcs; 1121 return rate->idx & 0xF; 1127 return (rate->idx >> 4) + 1; 1265 * @tx_power_idx An idx int 2293 s8 idx; member in struct:ieee80211_sta_rates::__anon2773 3133 ieee80211_get_alt_retry_rate(const struct ieee80211_hw *hw, const struct ieee80211_tx_info *c, int idx) argument [all...] |
H A D | cfg80211.h | 2623 * @channel_idx: idx of the channel in the channel array in the scan request 4264 * @dump_station: dump station callback -- resume dump at index @idx 4270 * @dump_mpath: dump mesh path callback -- resume dump at index @idx 4272 * @dump_mpp: dump mesh proxy path callback -- resume dump at index @idx 4645 int idx, u8 *mac, struct station_info *sinfo); 4656 int idx, u8 *dst, u8 *next_hop, 4661 int idx, u8 *dst, u8 *mpp, 4747 int idx, struct survey_info *info);
|
/linux-master/include/linux/ |
H A D | tty.h | 455 struct tty_struct *tty_init_dev(struct tty_driver *driver, int idx); 456 void tty_release_struct(struct tty_struct *tty, int idx);
|
H A D | trace_events.h | 132 long idx; member in struct:trace_iterator
|
H A D | srcutiny.h | 65 int idx; local 68 idx = ((READ_ONCE(ssp->srcu_idx) + 1) & 0x2) >> 1; 69 WRITE_ONCE(ssp->srcu_lock_nesting[idx], READ_ONCE(ssp->srcu_lock_nesting[idx]) + 1); 71 return idx; 88 int idx; local 90 idx = ((data_race(READ_ONCE(ssp->srcu_idx)) + 1) & 0x2) >> 1; 91 pr_alert("%s%s Tiny SRCU per-CPU(idx=%d): (%hd,%hd) gp: %lu->%lu\n", 92 tt, tf, idx, 93 data_race(READ_ONCE(ssp->srcu_lock_nesting[!idx])), [all...] |
H A D | sched.h | 743 int idx; member in struct:kmap_ctrl
|
H A D | rtnetlink.h | 133 int *idx);
|
H A D | regmap.h | 1645 const struct regmap_irq *irq_data, int idx, 1656 int idx, void *irq_drv_data);
|
H A D | pm_wakeup.h | 106 extern void wakeup_sources_read_unlock(int idx);
|
H A D | perf_event.h | 138 int idx; /* index in shared_regs->regs[] */ member in struct:hw_perf_event_extra 164 int idx; member in struct:hw_perf_event::__anon2556::__anon2557
|
H A D | netdevice.h | 1238 * int *idx) 1240 * entries to skb and update idx with the number of entries. 1519 int *idx);
|
H A D | hugetlb.h | 173 u32 hugetlb_fault_mutex_hash(struct address_space *mapping, pgoff_t idx); 748 pgoff_t idx); 842 struct address_space *mapping, pgoff_t idx) 844 return filemap_lock_folio(mapping, idx << huge_page_order(h)); 1044 struct address_space *mapping, pgoff_t idx) 841 filemap_lock_hugetlb_folio(struct hstate *h, struct address_space *mapping, pgoff_t idx) argument
|
H A D | dynamic_queue_limits.h | 45 #define DQL_HIST_ENT(dql, idx) ((dql)->history[(idx) % DQL_HIST_LEN])
|
H A D | cpufreq.h | 720 * @idx: the table entry currently being processed 723 #define cpufreq_for_each_entry_idx(pos, table, idx) \ 724 for (pos = table, idx = 0; pos->frequency != CPUFREQ_TABLE_END; \ 725 pos++, idx++) 745 * @idx: the table entry currently being processed 748 #define cpufreq_for_each_valid_entry_idx(pos, table, idx) \ 749 cpufreq_for_each_entry_idx(pos, table, idx) \ 760 * @idx: the table entry currently being processed. 764 #define cpufreq_for_each_efficient_entry_idx(pos, table, idx, efficiencies) \ 765 cpufreq_for_each_valid_entry_idx(pos, table, idx) \ 800 int idx, best = -1; local 822 int idx, best = -1; local 868 int idx, best = -1; local 899 int idx, best = -1; local 936 int idx, best = -1; local 971 int idx, best = -1; local 1013 cpufreq_is_in_limits(struct cpufreq_policy *policy, int idx) argument 1031 int idx; local [all...] |
H A D | bpf_verifier.h | 359 u32 idx; member in struct:bpf_jmp_history_entry 360 /* insn idx can't be bigger than 1 million */ 432 /* first and last insn idx of this verifier state */ 630 u32 start; /* insn idx of function entry point */ 631 u32 linfo_idx; /* The idx to the main_prog->aux->linfo */
|
H A D | blkdev.h | 336 typedef int (*report_zones_cb)(struct blk_zone *zone, unsigned int idx,
|
/linux-master/include/linux/spi/ |
H A D | spi.h | 290 static inline u8 spi_get_chipselect(const struct spi_device *spi, u8 idx) argument 292 return spi->chip_select[idx]; 295 static inline void spi_set_chipselect(struct spi_device *spi, u8 idx, u8 chipselect) argument 297 spi->chip_select[idx] = chipselect; 300 static inline struct gpio_desc *spi_get_csgpiod(const struct spi_device *spi, u8 idx) argument 302 return spi->cs_gpiod[idx]; 305 static inline void spi_set_csgpiod(struct spi_device *spi, u8 idx, struct gpio_desc *csgpiod) argument 307 spi->cs_gpiod[idx] = csgpiod; 312 u8 idx; local 314 for (idx [all...] |
/linux-master/include/linux/mlx5/ |
H A D | driver.h | 561 int idx; member in struct:mlx5_adev 863 int idx; member in struct:mlx5_cmd_work_ent 1304 int idx = MLX5_CAP_GEN(dev, native_port_num); local 1306 if (idx >= 1 && idx <= MLX5_MAX_PORTS) 1307 return idx - 1;
|
H A D | device.h | 83 #define MLX5_ARRAY_SET(typ, p, fld, idx, v) do { \ 85 MLX5_SET(typ, p, fld[idx], v); \ 116 #define MLX5_ARRAY_SET64(typ, p, fld, idx, v) do { \ 118 __MLX5_SET64(typ, p, fld[idx], v); \
|