Home
last modified time | relevance | path

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

/linux-6.12.1/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()
115 static void *rxrpc_connection_seq_start(struct seq_file *seq, loff_t *_pos) in rxrpc_connection_seq_start() argument
121 return seq_list_start_head(&rxnet->conn_proc_list, *_pos); in rxrpc_connection_seq_start()
202 static void *rxrpc_bundle_seq_start(struct seq_file *seq, loff_t *_pos) in rxrpc_bundle_seq_start() argument
208 return seq_list_start_head(&rxnet->bundle_proc_list, *_pos); in rxrpc_bundle_seq_start()
315 static void *rxrpc_peer_seq_start(struct seq_file *seq, loff_t *_pos) in rxrpc_peer_seq_start() argument
325 if (*_pos >= UINT_MAX) in rxrpc_peer_seq_start()
328 n = *_pos & ((1U << shift) - 1); in rxrpc_peer_seq_start()
329 bucket = *_pos >> shift; in rxrpc_peer_seq_start()
[all …]
/linux-6.12.1/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-6.12.1/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-6.12.1/net/smc/
Dsmc_stats.h97 int _pos; \
103 _pos = fls64((l - 1) >> 13); \
104 _pos = (_pos <= m) ? _pos : m; \
105 this_cpu_inc((*stats).smc[t].key ## _pd.buf[_pos]); \
146 int _pos; \
151 _pos = fls((_l - 1) >> 13); \
152 _pos = (_pos <= m) ? _pos : m; \
153 this_cpu_inc((*stats).smc[t].k ## _rmbsize.buf[_pos]); \
/linux-6.12.1/lib/zstd/common/
Dcompiler.h101 size_t _pos; \
102 for (_pos=0; _pos<_size; _pos+=CACHELINE_SIZE) { \
103 PREFETCH_L2(_ptr + _pos); \
/linux-6.12.1/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()
277 static void *afs_proc_cell_volumes_start(struct seq_file *m, loff_t *_pos) in afs_proc_cell_volumes_start() argument
283 return seq_hlist_start_head_rcu(&cell->proc_volumes, *_pos); in afs_proc_cell_volumes_start()
287 loff_t *_pos) in afs_proc_cell_volumes_next() argument
291 return seq_hlist_next_rcu(v, &cell->proc_volumes, _pos); in afs_proc_cell_volumes_next()
370 static void *afs_proc_cell_vlservers_start(struct seq_file *m, loff_t *_pos) in afs_proc_cell_vlservers_start() argument
376 loff_t pos = *_pos; in afs_proc_cell_vlservers_start()
384 *_pos = pos = 0; in afs_proc_cell_vlservers_start()
395 loff_t *_pos) in afs_proc_cell_vlservers_next() argument
[all …]
/linux-6.12.1/fs/bcachefs/
Dutil.h517 #define __array_insert_item(_array, _nr, _pos) \ argument
518 memmove(&(_array)[(_pos) + 1], \
519 &(_array)[(_pos)], \
520 sizeof((_array)[0]) * ((_nr) - (_pos)))
522 #define array_insert_item(_array, _nr, _pos, _new_item) \ argument
524 __array_insert_item(_array, _nr, _pos); \
526 (_array)[(_pos)] = (_new_item); \
529 #define array_remove_items(_array, _nr, _pos, _nr_to_remove) \ argument
532 memmove(&(_array)[(_pos)], \
533 &(_array)[(_pos) + (_nr_to_remove)], \
[all …]
Ddarray.h68 size_t _pos = (pos); \
72 array_insert_item((_d)->data, (_d)->nr, _pos, (_item)); \
76 #define darray_remove_item(_d, _pos) \ argument
77 array_remove_item((_d)->data, (_d)->nr, (_pos) - (_d)->data)
Dbtree_cache.h81 #define for_each_cached_btree(_b, _c, _tbl, _iter, _pos) \ argument
85 rht_for_each_entry_rcu((_b), (_pos), _tbl, _iter, hash)
Dbtree_update.h334 #define bch2_bkey_get_mut_typed(_trans, _iter, _btree_id, _pos, _flags, _type)\ argument
336 _btree_id, _pos, _flags, \
Dbtree_iter.h592 #define bch2_bkey_get_iter_typed(_trans, _iter, _btree_id, _pos, _flags, _type)\ argument
594 _btree_id, _pos, _flags, KEY_TYPE_##_type))
628 #define bch2_bkey_get_val_typed(_trans, _btree_id, _pos, _flags, _type, _val)\ argument
629 __bch2_bkey_get_val_typed(_trans, _btree_id, _pos, _flags, \
Dbcachefs_format.h344 #define POS_KEY(_pos) \ argument
348 .p = _pos, \
/linux-6.12.1/fs/netfs/
Dmain.c78 static void *netfs_requests_seq_start(struct seq_file *m, loff_t *_pos) in netfs_requests_seq_start() argument
82 return seq_list_start_head(&netfs_io_requests, *_pos); in netfs_requests_seq_start()
85 static void *netfs_requests_seq_next(struct seq_file *m, void *v, loff_t *_pos) in netfs_requests_seq_next() argument
87 return seq_list_next(v, &netfs_io_requests, _pos); in netfs_requests_seq_next()
Dfscache_cache.c405 static void *fscache_caches_seq_start(struct seq_file *m, loff_t *_pos) in fscache_caches_seq_start() argument
409 return seq_list_start_head(&fscache_caches, *_pos); in fscache_caches_seq_start()
412 static void *fscache_caches_seq_next(struct seq_file *m, void *v, loff_t *_pos) in fscache_caches_seq_next() argument
414 return seq_list_next(v, &fscache_caches, _pos); in fscache_caches_seq_next()
Dfscache_volume.c510 static void *fscache_volumes_seq_start(struct seq_file *m, loff_t *_pos) in fscache_volumes_seq_start() argument
514 return seq_list_start_head(&fscache_volumes, *_pos); in fscache_volumes_seq_start()
517 static void *fscache_volumes_seq_next(struct seq_file *m, void *v, loff_t *_pos) in fscache_volumes_seq_next() argument
519 return seq_list_next(v, &fscache_volumes, _pos); in fscache_volumes_seq_next()
Dfscache_cookie.c1159 static void *fscache_cookies_seq_start(struct seq_file *m, loff_t *_pos) in fscache_cookies_seq_start() argument
1163 return seq_list_start_head(&fscache_cookies, *_pos); in fscache_cookies_seq_start()
1166 static void *fscache_cookies_seq_next(struct seq_file *m, void *v, loff_t *_pos) in fscache_cookies_seq_next() argument
1168 return seq_list_next(v, &fscache_cookies, _pos); in fscache_cookies_seq_next()
/linux-6.12.1/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-6.12.1/drivers/mfd/
Drc5t583.c30 #define DEEPSLEEP_INIT(_id, _reg, _pos) \ argument
33 .ds_pos_bit = _pos, \
/linux-6.12.1/include/linux/
Dmin_heap.h111 #define min_heap_sift_down(_heap, _pos, _func, _args) \ argument
112 __min_heap_sift_down((min_heap_char *)_heap, _pos, __minheap_obj_size(_heap), _func, _args)
/linux-6.12.1/net/hsr/
Dhsr_framereg.h57 void *hsr_get_next_node(struct hsr_priv *hsr, void *_pos,
Dhsr_framereg.c628 void *hsr_get_next_node(struct hsr_priv *hsr, void *_pos, in hsr_get_next_node() argument
633 if (!_pos) { in hsr_get_next_node()
641 node = _pos; in hsr_get_next_node()
/linux-6.12.1/drivers/infiniband/hw/irdma/
Ddefs.h930 #define IRDMA_GET_CEQ_ELEM_AT_POS(_ceq, _pos) \ argument
932 (_ceq)->ceqe_base[_pos].buf \
1018 #define IRDMA_RING_SET_TAIL(_ring, _pos) \ argument
1019 (_ring).tail = (_pos) % (_ring).size
/linux-6.12.1/drivers/regulator/
Dpalmas-regulator.c319 #define EXTERNAL_REQUESTOR(_id, _offset, _pos) \ argument
323 .bit_pos = _pos, \
355 #define EXTERNAL_REQUESTOR_TPS65917(_id, _offset, _pos) \ argument
359 .bit_pos = _pos, \
/linux-6.12.1/fs/nfs/
Dclient.c1240 static void *nfs_server_list_start(struct seq_file *m, loff_t *_pos) in nfs_server_list_start() argument
1247 return seq_list_start_head(&nn->nfs_client_list, *_pos); in nfs_server_list_start()
1307 static void *nfs_volume_list_start(struct seq_file *m, loff_t *_pos) in nfs_volume_list_start() argument
1314 return seq_list_start_head(&nn->nfs_volume_list, *_pos); in nfs_volume_list_start()