/Linux-v4.19/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; \
|
/Linux-v4.19/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 155 return seq_list_start_head(&local->bss_list, *_pos); in prism2_bss_list_proc_start() 158 static void *prism2_bss_list_proc_next(struct seq_file *m, void *v, loff_t *_pos) in prism2_bss_list_proc_next() argument 161 return seq_list_next(v, &local->bss_list, _pos); in prism2_bss_list_proc_next() 197 size_t count, loff_t *_pos) in prism2_pda_proc_read() argument 202 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()
|
/Linux-v4.19/security/keys/ |
D | proc.c | 21 static void *proc_keys_start(struct seq_file *p, loff_t *_pos); 22 static void *proc_keys_next(struct seq_file *p, void *v, loff_t *_pos); 33 static void *proc_key_users_start(struct seq_file *p, loff_t *_pos); 34 static void *proc_key_users_next(struct seq_file *p, void *v, loff_t *_pos); 117 static void *proc_keys_start(struct seq_file *p, loff_t *_pos) in proc_keys_start() argument 120 key_serial_t pos = *_pos; in proc_keys_start() 125 if (*_pos > INT_MAX) in proc_keys_start() 130 *_pos = key->serial; in proc_keys_start() 140 static void *proc_keys_next(struct seq_file *p, void *v, loff_t *_pos) in proc_keys_next() argument 146 *_pos = key_node_serial(n); in proc_keys_next() [all …]
|
/Linux-v4.19/fs/fscache/ |
D | histogram.c | 60 static void *fscache_histogram_start(struct seq_file *m, loff_t *_pos) in fscache_histogram_start() argument 62 if ((unsigned long long)*_pos >= HZ + 2) in fscache_histogram_start() 64 if (*_pos == 0) in fscache_histogram_start() 65 *_pos = 1; in fscache_histogram_start() 66 return (void *)(unsigned long) *_pos; in fscache_histogram_start()
|
D | object-list.c | 92 static struct fscache_object *fscache_objlist_lookup(loff_t *_pos) in fscache_objlist_lookup() argument 98 if (*_pos >= (unsigned long) ERR_PTR(-ENOENT)) in fscache_objlist_lookup() 100 pos = *_pos; in fscache_objlist_lookup() 105 return (struct fscache_object *)(long)++(*_pos); in fscache_objlist_lookup() 127 *_pos = (unsigned long) ERR_PTR(-ENOENT); in fscache_objlist_lookup() 129 *_pos = (unsigned long) minobj; in fscache_objlist_lookup() 136 static void *fscache_objlist_start(struct seq_file *m, loff_t *_pos) in fscache_objlist_start() argument 140 return fscache_objlist_lookup(_pos); in fscache_objlist_start() 146 static void *fscache_objlist_next(struct seq_file *m, void *v, loff_t *_pos) in fscache_objlist_next() argument 148 (*_pos)++; in fscache_objlist_next() [all …]
|
/Linux-v4.19/fs/cachefiles/ |
D | proc.c | 54 static void *cachefiles_histogram_start(struct seq_file *m, loff_t *_pos) in cachefiles_histogram_start() argument 56 if ((unsigned long long)*_pos >= HZ + 2) in cachefiles_histogram_start() 58 if (*_pos == 0) in cachefiles_histogram_start() 59 *_pos = 1; in cachefiles_histogram_start() 60 return (void *)(unsigned long) *_pos; in cachefiles_histogram_start()
|
/Linux-v4.19/fs/afs/ |
D | proc.c | 48 static void *afs_proc_cells_start(struct seq_file *m, loff_t *_pos) in afs_proc_cells_start() argument 52 return seq_hlist_start_head_rcu(&afs_seq2net(m)->proc_cells, *_pos); in afs_proc_cells_start() 218 static void *afs_proc_cell_volumes_start(struct seq_file *m, loff_t *_pos) in afs_proc_cell_volumes_start() argument 224 return seq_list_start_head(&cell->proc_volumes, *_pos); in afs_proc_cell_volumes_start() 228 loff_t *_pos) in afs_proc_cell_volumes_next() argument 232 return seq_list_next(v, &cell->proc_volumes, _pos); in afs_proc_cell_volumes_next() 268 static void *afs_proc_cell_vlservers_start(struct seq_file *m, loff_t *_pos) in afs_proc_cell_vlservers_start() argument 273 loff_t pos = *_pos; in afs_proc_cell_vlservers_start() 291 loff_t *_pos) in afs_proc_cell_vlservers_next() argument 299 pos = *_pos; in afs_proc_cell_vlservers_next() [all …]
|
/Linux-v4.19/net/rxrpc/ |
D | proc.c | 31 static void *rxrpc_call_seq_start(struct seq_file *seq, loff_t *_pos) in rxrpc_call_seq_start() argument 39 return seq_list_start_head(&rxnet->calls, *_pos); in rxrpc_call_seq_start() 136 static void *rxrpc_connection_seq_start(struct seq_file *seq, loff_t *_pos) in rxrpc_connection_seq_start() argument 142 return seq_list_start_head(&rxnet->conn_proc_list, *_pos); in rxrpc_connection_seq_start()
|
/Linux-v4.19/fs/proc/ |
D | nommu.c | 85 static void *nommu_region_list_start(struct seq_file *m, loff_t *_pos) in nommu_region_list_start() argument 88 loff_t pos = *_pos; in nommu_region_list_start()
|
D | generic.c | 759 loff_t *_pos) in proc_simple_write() argument
|
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/fw/api/ |
D | coex.h | 134 #define BT_MBOX(n_dw, _msg, _pos, _nbits) \ argument 135 BT_MBOX##n_dw##_##_msg##_POS = (_pos), \
|
/Linux-v4.19/net/hsr/ |
D | hsr_framereg.h | 42 void *hsr_get_next_node(struct hsr_priv *hsr, void *_pos,
|
D | hsr_framereg.c | 421 void *hsr_get_next_node(struct hsr_priv *hsr, void *_pos, in hsr_get_next_node() argument 426 if (!_pos) { in hsr_get_next_node() 434 node = _pos; in hsr_get_next_node()
|
/Linux-v4.19/drivers/mfd/ |
D | rc5t583.c | 43 #define DEEPSLEEP_INIT(_id, _reg, _pos) \ argument 46 .ds_pos_bit = _pos, \
|
/Linux-v4.19/fs/nfs/ |
D | client.c | 1099 static void *nfs_server_list_start(struct seq_file *m, loff_t *_pos) in nfs_server_list_start() argument 1106 return seq_list_start_head(&nn->nfs_client_list, *_pos); in nfs_server_list_start() 1166 static void *nfs_volume_list_start(struct seq_file *m, loff_t *_pos) in nfs_volume_list_start() argument 1173 return seq_list_start_head(&nn->nfs_volume_list, *_pos); in nfs_volume_list_start()
|
/Linux-v4.19/drivers/regulator/ |
D | palmas-regulator.c | 325 #define EXTERNAL_REQUESTOR(_id, _offset, _pos) \ argument 329 .bit_pos = _pos, \ 361 #define EXTERNAL_REQUESTOR_TPS65917(_id, _offset, _pos) \ argument 365 .bit_pos = _pos, \
|
/Linux-v4.19/drivers/infiniband/hw/i40iw/ |
D | i40iw_d.h | 1588 #define I40IW_RING_SET_TAIL(_ring, _pos) \ argument 1589 (_ring).tail = (_pos) % (_ring).size
|