Home
last modified time | relevance | path

Searched refs:_pos (Results 1 – 21 of 21) sorted by relevance

/Linux-v6.6/net/rxrpc/
Dproc.c27 static void *rxrpc_call_seq_start(struct seq_file *seq, loff_t *_pos) in rxrpc_call_seq_start() argument
33 return seq_list_start_head_rcu(&rxnet->calls, *_pos); in rxrpc_call_seq_start()
117 static void *rxrpc_connection_seq_start(struct seq_file *seq, loff_t *_pos) in rxrpc_connection_seq_start() argument
123 return seq_list_start_head(&rxnet->conn_proc_list, *_pos); in rxrpc_connection_seq_start()
241 static void *rxrpc_peer_seq_start(struct seq_file *seq, loff_t *_pos) in rxrpc_peer_seq_start() argument
251 if (*_pos >= UINT_MAX) in rxrpc_peer_seq_start()
254 n = *_pos & ((1U << shift) - 1); in rxrpc_peer_seq_start()
255 bucket = *_pos >> shift; in rxrpc_peer_seq_start()
258 *_pos = UINT_MAX; in rxrpc_peer_seq_start()
264 *_pos += 1; in rxrpc_peer_seq_start()
[all …]
/Linux-v6.6/drivers/net/ethernet/synopsys/
Ddwc-xlgmac.h102 typeof(pos) _pos = (pos); \
104 ((var) & GENMASK(_pos + _len - 1, _pos)) >> (_pos); \
108 typeof(pos) _pos = (pos); \
111 ((_var) & GENMASK(_pos + _len - 1, _pos)) >> (_pos); \
116 typeof(pos) _pos = (pos); \
119 _val = (_val << _pos) & GENMASK(_pos + _len - 1, _pos); \
120 _var = (_var & ~GENMASK(_pos + _len - 1, _pos)) | _val; \
125 typeof(pos) _pos = (pos); \
128 _val = (_val << _pos) & GENMASK(_pos + _len - 1, _pos); \
129 _var = (_var & ~GENMASK(_pos + _len - 1, _pos)) | _val; \
/Linux-v6.6/security/keys/
Dproc.c16 static void *proc_keys_start(struct seq_file *p, loff_t *_pos);
17 static void *proc_keys_next(struct seq_file *p, void *v, loff_t *_pos);
28 static void *proc_key_users_start(struct seq_file *p, loff_t *_pos);
29 static void *proc_key_users_next(struct seq_file *p, void *v, loff_t *_pos);
112 static void *proc_keys_start(struct seq_file *p, loff_t *_pos) in proc_keys_start() argument
115 key_serial_t pos = *_pos; in proc_keys_start()
120 if (*_pos > INT_MAX) in proc_keys_start()
125 *_pos = key->serial; in proc_keys_start()
135 static void *proc_keys_next(struct seq_file *p, void *v, loff_t *_pos) in proc_keys_next() argument
141 *_pos = key_node_serial(n); in proc_keys_next()
[all …]
/Linux-v6.6/drivers/net/wireless/intersil/hostap/
Dhostap_proc.c98 static void *prism2_wds_proc_start(struct seq_file *m, loff_t *_pos) in prism2_wds_proc_start() argument
102 return seq_list_start(&local->hostap_interfaces, *_pos); in prism2_wds_proc_start()
105 static void *prism2_wds_proc_next(struct seq_file *m, void *v, loff_t *_pos) in prism2_wds_proc_next() argument
108 return seq_list_next(v, &local->hostap_interfaces, _pos); in prism2_wds_proc_next()
151 static void *prism2_bss_list_proc_start(struct seq_file *m, loff_t *_pos) in prism2_bss_list_proc_start() argument
156 return seq_list_start_head(&local->bss_list, *_pos); in prism2_bss_list_proc_start()
159 static void *prism2_bss_list_proc_next(struct seq_file *m, void *v, loff_t *_pos) in prism2_bss_list_proc_next() argument
162 return seq_list_next(v, &local->bss_list, _pos); in prism2_bss_list_proc_next()
199 size_t count, loff_t *_pos) in prism2_pda_proc_read() argument
204 if (local->pda == NULL || *_pos >= PRISM2_PDA_SIZE) in prism2_pda_proc_read()
[all …]
Dhostap_download.c194 static void *prism2_download_aux_dump_proc_start(struct seq_file *m, loff_t *_pos) in prism2_download_aux_dump_proc_start() argument
198 if (*_pos >= prism2_download_aux_dump_npages) in prism2_download_aux_dump_proc_start()
200 return (void *)((unsigned long)*_pos + 1); in prism2_download_aux_dump_proc_start()
203 static void *prism2_download_aux_dump_proc_next(struct seq_file *m, void *v, loff_t *_pos) in prism2_download_aux_dump_proc_next() argument
205 ++*_pos; in prism2_download_aux_dump_proc_next()
206 if (*_pos >= prism2_download_aux_dump_npages) in prism2_download_aux_dump_proc_next()
208 return (void *)((unsigned long)*_pos + 1); in prism2_download_aux_dump_proc_next()
Dhostap_ap.c353 static void *ap_control_proc_start(struct seq_file *m, loff_t *_pos) in ap_control_proc_start() argument
357 return seq_list_start_head(&ap->mac_restrictions.mac_list, *_pos); in ap_control_proc_start()
360 static void *ap_control_proc_next(struct seq_file *m, void *v, loff_t *_pos) in ap_control_proc_next() argument
363 return seq_list_next(v, &ap->mac_restrictions.mac_list, _pos); in ap_control_proc_next()
555 static void *prism2_ap_proc_start(struct seq_file *m, loff_t *_pos) in prism2_ap_proc_start() argument
559 return seq_list_start_head(&ap->sta_list, *_pos); in prism2_ap_proc_start()
562 static void *prism2_ap_proc_next(struct seq_file *m, void *v, loff_t *_pos) in prism2_ap_proc_next() argument
565 return seq_list_next(v, &ap->sta_list, _pos); in prism2_ap_proc_next()
/Linux-v6.6/net/smc/
Dsmc_stats.h95 int _pos; \
101 _pos = fls64((l - 1) >> 13); \
102 _pos = (_pos <= m) ? _pos : m; \
103 this_cpu_inc((*stats).smc[t].key ## _pd.buf[_pos]); \
142 int _pos; \
146 _pos = fls((_l - 1) >> 13); \
147 _pos = (_pos <= m) ? _pos : m; \
148 this_cpu_inc((*(_smc_stats)).smc[t].k ## _rmbsize.buf[_pos]); \
/Linux-v6.6/lib/zstd/common/
Dcompiler.h101 size_t _pos; \
102 for (_pos=0; _pos<_size; _pos+=CACHELINE_SIZE) { \
103 PREFETCH_L2(_ptr + _pos); \
/Linux-v6.6/fs/afs/
Dproc.c59 static void *afs_proc_cells_start(struct seq_file *m, loff_t *_pos) in afs_proc_cells_start() argument
63 return seq_hlist_start_head_rcu(&afs_seq2net(m)->proc_cells, *_pos); in afs_proc_cells_start()
227 static void *afs_proc_cell_volumes_start(struct seq_file *m, loff_t *_pos) in afs_proc_cell_volumes_start() argument
233 return seq_hlist_start_head_rcu(&cell->proc_volumes, *_pos); in afs_proc_cell_volumes_start()
237 loff_t *_pos) in afs_proc_cell_volumes_next() argument
241 return seq_hlist_next_rcu(v, &cell->proc_volumes, _pos); in afs_proc_cell_volumes_next()
320 static void *afs_proc_cell_vlservers_start(struct seq_file *m, loff_t *_pos) in afs_proc_cell_vlservers_start() argument
326 loff_t pos = *_pos; in afs_proc_cell_vlservers_start()
334 *_pos = pos = 0; in afs_proc_cell_vlservers_start()
345 loff_t *_pos) in afs_proc_cell_vlservers_next() argument
[all …]
/Linux-v6.6/fs/proc/
Dnommu.c79 static void *nommu_region_list_start(struct seq_file *m, loff_t *_pos) in nommu_region_list_start() argument
82 loff_t pos = *_pos; in nommu_region_list_start()
Dgeneric.c802 loff_t *_pos) in proc_simple_write() argument
/Linux-v6.6/fs/fscache/
Dcache.c404 static void *fscache_caches_seq_start(struct seq_file *m, loff_t *_pos) in fscache_caches_seq_start() argument
408 return seq_list_start_head(&fscache_caches, *_pos); in fscache_caches_seq_start()
411 static void *fscache_caches_seq_next(struct seq_file *m, void *v, loff_t *_pos) in fscache_caches_seq_next() argument
413 return seq_list_next(v, &fscache_caches, _pos); in fscache_caches_seq_next()
Dvolume.c496 static void *fscache_volumes_seq_start(struct seq_file *m, loff_t *_pos) in fscache_volumes_seq_start() argument
500 return seq_list_start_head(&fscache_volumes, *_pos); in fscache_volumes_seq_start()
503 static void *fscache_volumes_seq_next(struct seq_file *m, void *v, loff_t *_pos) in fscache_volumes_seq_next() argument
505 return seq_list_next(v, &fscache_volumes, _pos); in fscache_volumes_seq_next()
Dcookie.c1155 static void *fscache_cookies_seq_start(struct seq_file *m, loff_t *_pos) in fscache_cookies_seq_start() argument
1159 return seq_list_start_head(&fscache_cookies, *_pos); in fscache_cookies_seq_start()
1162 static void *fscache_cookies_seq_next(struct seq_file *m, void *v, loff_t *_pos) in fscache_cookies_seq_next() argument
1164 return seq_list_next(v, &fscache_cookies, _pos); in fscache_cookies_seq_next()
/Linux-v6.6/drivers/net/wireless/intel/iwlwifi/fw/api/
Dcoex.h79 #define BT_MBOX(n_dw, _msg, _pos, _nbits) \ argument
80 BT_MBOX##n_dw##_##_msg##_POS = (_pos), \
/Linux-v6.6/drivers/mfd/
Drc5t583.c30 #define DEEPSLEEP_INIT(_id, _reg, _pos) \ argument
33 .ds_pos_bit = _pos, \
/Linux-v6.6/net/hsr/
Dhsr_framereg.h54 void *hsr_get_next_node(struct hsr_priv *hsr, void *_pos,
Dhsr_framereg.c560 void *hsr_get_next_node(struct hsr_priv *hsr, void *_pos, in hsr_get_next_node() argument
565 if (!_pos) { in hsr_get_next_node()
573 node = _pos; in hsr_get_next_node()
/Linux-v6.6/drivers/infiniband/hw/irdma/
Ddefs.h929 #define IRDMA_GET_CEQ_ELEM_AT_POS(_ceq, _pos) \ argument
931 (_ceq)->ceqe_base[_pos].buf \
1017 #define IRDMA_RING_SET_TAIL(_ring, _pos) \ argument
1018 (_ring).tail = (_pos) % (_ring).size
/Linux-v6.6/fs/nfs/
Dclient.c1220 static void *nfs_server_list_start(struct seq_file *m, loff_t *_pos) in nfs_server_list_start() argument
1227 return seq_list_start_head(&nn->nfs_client_list, *_pos); in nfs_server_list_start()
1287 static void *nfs_volume_list_start(struct seq_file *m, loff_t *_pos) in nfs_volume_list_start() argument
1294 return seq_list_start_head(&nn->nfs_volume_list, *_pos); in nfs_volume_list_start()
/Linux-v6.6/drivers/regulator/
Dpalmas-regulator.c320 #define EXTERNAL_REQUESTOR(_id, _offset, _pos) \ argument
324 .bit_pos = _pos, \
356 #define EXTERNAL_REQUESTOR_TPS65917(_id, _offset, _pos) \ argument
360 .bit_pos = _pos, \