/kernel/linux/linux-5.10/net/rxrpc/ |
D | proc.c | 27 static void *rxrpc_call_seq_start(struct seq_file *seq, loff_t *_pos) in rxrpc_call_seq_start() argument 35 return seq_list_start_head(&rxnet->calls, *_pos); in rxrpc_call_seq_start() 132 static void *rxrpc_connection_seq_start(struct seq_file *seq, loff_t *_pos) in rxrpc_connection_seq_start() argument 138 return seq_list_start_head(&rxnet->conn_proc_list, *_pos); in rxrpc_connection_seq_start() 252 static void *rxrpc_peer_seq_start(struct seq_file *seq, loff_t *_pos) in rxrpc_peer_seq_start() argument 262 if (*_pos >= UINT_MAX) in rxrpc_peer_seq_start() 265 n = *_pos & ((1U << shift) - 1); in rxrpc_peer_seq_start() 266 bucket = *_pos >> shift; in rxrpc_peer_seq_start() 269 *_pos = UINT_MAX; in rxrpc_peer_seq_start() 275 *_pos += 1; in rxrpc_peer_seq_start() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/synopsys/ |
D | dwc-xlgmac.h | 101 typeof(pos) _pos = (pos); \ 103 ((var) & GENMASK(_pos + _len - 1, _pos)) >> (_pos); \ 107 typeof(pos) _pos = (pos); \ 110 ((_var) & GENMASK(_pos + _len - 1, _pos)) >> (_pos); \ 115 typeof(pos) _pos = (pos); \ 118 _val = (_val << _pos) & GENMASK(_pos + _len - 1, _pos); \ 119 _var = (_var & ~GENMASK(_pos + _len - 1, _pos)) | _val; \ 124 typeof(pos) _pos = (pos); \ 127 _val = (_val << _pos) & GENMASK(_pos + _len - 1, _pos); \ 128 _var = (_var & ~GENMASK(_pos + _len - 1, _pos)) | _val; \
|
/kernel/linux/linux-5.10/security/keys/ |
D | proc.c | 16 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 …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/hostap/ |
D | hostap_proc.c | 98 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 …]
|
D | hostap_download.c | 194 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()
|
D | hostap_ap.c | 353 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()
|
/kernel/linux/linux-5.10/fs/cachefiles/ |
D | proc.c | 50 static void *cachefiles_histogram_start(struct seq_file *m, loff_t *_pos) in cachefiles_histogram_start() argument 52 if ((unsigned long long)*_pos >= HZ + 2) in cachefiles_histogram_start() 54 if (*_pos == 0) in cachefiles_histogram_start() 55 *_pos = 1; in cachefiles_histogram_start() 56 return (void *)(unsigned long) *_pos; in cachefiles_histogram_start()
|
/kernel/linux/linux-5.10/fs/fscache/ |
D | histogram.c | 56 static void *fscache_histogram_start(struct seq_file *m, loff_t *_pos) in fscache_histogram_start() argument 58 if ((unsigned long long)*_pos >= HZ + 2) in fscache_histogram_start() 60 if (*_pos == 0) in fscache_histogram_start() 61 *_pos = 1; in fscache_histogram_start() 62 return (void *)(unsigned long) *_pos; in fscache_histogram_start()
|
D | object-list.c | 89 static struct fscache_object *fscache_objlist_lookup(loff_t *_pos) in fscache_objlist_lookup() argument 95 if (*_pos >= (unsigned long) ERR_PTR(-ENOENT)) in fscache_objlist_lookup() 97 pos = *_pos; in fscache_objlist_lookup() 102 return (struct fscache_object *)(long)++(*_pos); in fscache_objlist_lookup() 124 *_pos = (unsigned long) ERR_PTR(-ENOENT); in fscache_objlist_lookup() 126 *_pos = (unsigned long) minobj; in fscache_objlist_lookup() 133 static void *fscache_objlist_start(struct seq_file *m, loff_t *_pos) in fscache_objlist_start() argument 137 return fscache_objlist_lookup(_pos); in fscache_objlist_start() 143 static void *fscache_objlist_next(struct seq_file *m, void *v, loff_t *_pos) in fscache_objlist_next() argument 145 (*_pos)++; in fscache_objlist_next() [all …]
|
/kernel/linux/linux-5.10/fs/afs/ |
D | proc.c | 59 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 …]
|
/kernel/linux/linux-5.10/fs/proc/ |
D | nommu.c | 80 static void *nommu_region_list_start(struct seq_file *m, loff_t *_pos) in nommu_region_list_start() argument 83 loff_t pos = *_pos; in nommu_region_list_start()
|
D | generic.c | 814 loff_t *_pos) in proc_simple_write() argument
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/fw/api/ |
D | coex.h | 136 #define BT_MBOX(n_dw, _msg, _pos, _nbits) \ argument 137 BT_MBOX##n_dw##_##_msg##_POS = (_pos), \
|
/kernel/linux/linux-5.10/drivers/mfd/ |
D | rc5t583.c | 30 #define DEEPSLEEP_INIT(_id, _reg, _pos) \ argument 33 .ds_pos_bit = _pos, \
|
/kernel/linux/linux-5.10/net/hsr/ |
D | hsr_framereg.h | 54 void *hsr_get_next_node(struct hsr_priv *hsr, void *_pos,
|
D | hsr_framereg.c | 521 void *hsr_get_next_node(struct hsr_priv *hsr, void *_pos, in hsr_get_next_node() argument 526 if (!_pos) { in hsr_get_next_node() 534 node = _pos; in hsr_get_next_node()
|
/kernel/linux/linux-5.10/fs/nfs/ |
D | client.c | 1155 static void *nfs_server_list_start(struct seq_file *m, loff_t *_pos) in nfs_server_list_start() argument 1162 return seq_list_start_head(&nn->nfs_client_list, *_pos); in nfs_server_list_start() 1222 static void *nfs_volume_list_start(struct seq_file *m, loff_t *_pos) in nfs_volume_list_start() argument 1229 return seq_list_start_head(&nn->nfs_volume_list, *_pos); in nfs_volume_list_start()
|
/kernel/linux/linux-5.10/drivers/regulator/ |
D | palmas-regulator.c | 320 #define EXTERNAL_REQUESTOR(_id, _offset, _pos) \ argument 324 .bit_pos = _pos, \ 356 #define EXTERNAL_REQUESTOR_TPS65917(_id, _offset, _pos) \ argument 360 .bit_pos = _pos, \
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/i40iw/ |
D | i40iw_d.h | 1607 #define I40IW_RING_SET_TAIL(_ring, _pos) \ argument 1608 (_ring).tail = (_pos) % (_ring).size
|