/Linux-v6.6/include/drm/ |
D | drm_atomic.h | 762 …each_oldnew_connector_in_state(__state, connector, old_connector_state, new_connector_state, __i) \ argument 763 for ((__i) = 0; \ 764 (__i) < (__state)->num_connector; \ 765 (__i)++) \ 766 for_each_if ((__state)->connectors[__i].ptr && \ 767 ((connector) = (__state)->connectors[__i].ptr, \ 769 (old_connector_state) = (__state)->connectors[__i].old_state, \ 770 (new_connector_state) = (__state)->connectors[__i].new_state, 1)) 784 #define for_each_old_connector_in_state(__state, connector, old_connector_state, __i) \ argument 785 for ((__i) = 0; \ [all …]
|
/Linux-v6.6/drivers/gpu/drm/i915/display/ |
D | intel_global_state.h | 32 #define for_each_new_global_obj_in_state(__state, obj, new_obj_state, __i) \ argument 33 for ((__i) = 0; \ 34 (__i) < (__state)->num_global_objs && \ 35 ((obj) = (__state)->global_objs[__i].ptr, \ 36 (new_obj_state) = (__state)->global_objs[__i].new_state, 1); \ 37 (__i)++) \ 40 #define for_each_old_global_obj_in_state(__state, obj, new_obj_state, __i) \ argument 41 for ((__i) = 0; \ 42 (__i) < (__state)->num_global_objs && \ 43 ((obj) = (__state)->global_objs[__i].ptr, \ [all …]
|
D | intel_display.h | 318 #define for_each_old_intel_plane_in_state(__state, plane, old_plane_state, __i) \ argument 319 for ((__i) = 0; \ 320 (__i) < (__state)->base.dev->mode_config.num_total_plane && \ 321 ((plane) = to_intel_plane((__state)->base.planes[__i].ptr), \ 322 (old_plane_state) = to_intel_plane_state((__state)->base.planes[__i].old_state), 1); \ 323 (__i)++) \ 326 #define for_each_old_intel_crtc_in_state(__state, crtc, old_crtc_state, __i) \ argument 327 for ((__i) = 0; \ 328 (__i) < (__state)->base.dev->mode_config.num_crtc && \ 329 ((crtc) = to_intel_crtc((__state)->base.crtcs[__i].ptr), \ [all …]
|
/Linux-v6.6/tools/perf/util/ |
D | cpu-set-sched.h | 20 size_t __i; \ 21 for (__i = 0; __i < __imax; ++__i) \ 22 if (__arr1[__i] != __arr2[__i]) \ 24 __i == __imax; })) 40 size_t __i; \ 41 for (__i = 0; __i < __imax; ++__i) \ 42 ((__cpu_mask *) __dest->__bits)[__i] = __arr1[__i] op __arr2[__i]; \
|
D | sample.h | 60 for (int __i = 0; __i < (int)nr; v = next_sample_read_value(v, rf), __i++)
|
/Linux-v6.6/include/uapi/linux/netfilter_bridge/ |
D | ebtables.h | 220 unsigned int __i; \ 224 for (__i = sizeof(struct ebt_entry); \ 225 __i < (e)->watchers_offset; \ 226 __i += __match->match_size + \ 228 __match = (void *)(e) + __i; \ 235 if (__i != (e)->watchers_offset) \ 243 unsigned int __i; \ 247 for (__i = e->watchers_offset; \ 248 __i < (e)->target_offset; \ 249 __i += __watcher->watcher_size + \ [all …]
|
/Linux-v6.6/lib/crypto/mpi/ |
D | longlong.h | 234 struct {USItype __l, __h; } __i; \ 240 (w1) = __xx.__i.__h; (w0) = __xx.__i.__l; }) 243 struct {SItype __l, __h; } __i; \ 249 (w1) = __xx.__i.__h; (w0) = __xx.__i.__l; }) 323 struct {USItype __h, __l; } __i; \ 329 (wh) = __xx.__i.__h; \ 330 (wl) = __xx.__i.__l; \ 355 struct {USItype __h, __l; } __i; \ 359 : "=r" (__xx.__i.__h), \ 360 "=r" (__xx.__i.__l) \ [all …]
|
/Linux-v6.6/include/uapi/linux/netfilter/ |
D | x_tables.h | 131 unsigned int __i; \ 135 for (__i = sizeof(type); \ 136 __i < (e)->target_offset; \ 137 __i += __m->u.match_size) { \ 138 __m = (void *)e + __i; \ 150 unsigned int __i, __n; \ 154 for (__i = 0, __n = 0; __i < (size); \ 155 __i += __entry->next_offset, __n++) { \ 156 __entry = (void *)(entries) + __i; \
|
/Linux-v6.6/include/drm/display/ |
D | drm_dp_mst_helper.h | 975 #define for_each_oldnew_mst_mgr_in_state(__state, mgr, old_state, new_state, __i) \ argument 976 for ((__i) = 0; (__i) < (__state)->num_private_objs; (__i)++) \ 977 for_each_if(__drm_dp_mst_state_iter_get((__state), &(mgr), &(old_state), &(new_state), (__i))) 992 #define for_each_old_mst_mgr_in_state(__state, mgr, old_state, __i) \ argument 993 for ((__i) = 0; (__i) < (__state)->num_private_objs; (__i)++) \ 994 for_each_if(__drm_dp_mst_state_iter_get((__state), &(mgr), &(old_state), NULL, (__i))) 1010 #define for_each_new_mst_mgr_in_state(__state, mgr, new_state, __i) \ argument 1011 for ((__i) = 0; (__i) < (__state)->num_private_objs; (__i)++) \ 1012 for_each_if(__drm_dp_mst_state_iter_get((__state), &(mgr), NULL, &(new_state), (__i)))
|
/Linux-v6.6/security/apparmor/include/ |
D | match.h | 112 typeof(LEN) __i; \ 115 for (__i = 0; __i < LEN; __i++) { \ 116 __t[__i] = NTOHX(__b[__i]); \
|
D | lib.h | 240 struct label_it __i; \ 249 label_for_each(__i, (L), (P)) { \ 260 label_for_each(__i, __lvec[__j], (P)) \
|
/Linux-v6.6/tools/virtio/linux/ |
D | scatterlist.h | 78 #define for_each_sg(sglist, sg, nr, __i) \ argument 79 for (__i = 0, sg = (sglist); __i < (nr); __i++, sg = sg_next(sg))
|
/Linux-v6.6/drivers/iommu/ |
D | omap-iommu.h | 16 #define for_each_iotlb_cr(obj, n, __i, cr) \ argument 17 for (__i = 0; \ 18 (__i < (n)) && (cr = __iotlb_read_cr((obj), __i), true); \ 19 __i++)
|
/Linux-v6.6/drivers/pinctrl/ |
D | core.h | 257 for (unsigned int __i = 0; \ 258 __i < _maps_node_->num_maps && (_map_ = &_maps_node_->maps[__i]); \ 259 __i++)
|
/Linux-v6.6/drivers/md/ |
D | dm-verity-fec.c | 83 #define fec_for_each_prealloc_buffer(__i) \ argument 84 for (__i = 0; __i < DM_VERITY_FEC_BUF_PREALLOC; __i++) 87 #define fec_for_each_extra_buffer(io, __i) \ argument 88 for (__i = DM_VERITY_FEC_BUF_PREALLOC; __i < DM_VERITY_FEC_BUF_MAX; __i++) 91 #define fec_for_each_buffer(io, __i) \ argument 92 for (__i = 0; __i < (io)->nbufs; __i++) 95 #define fec_for_each_buffer_rs_block(io, __i, __j) \ argument 96 fec_for_each_buffer(io, __i) \
|
/Linux-v6.6/drivers/gpio/ |
D | gpiolib.h | 128 for (unsigned int __i = 0; \ 129 __i < gc->ngpio && (desc = gpiochip_get_desc(gc, __i)); \ 130 __i++) \
|
/Linux-v6.6/drivers/net/wireless/ath/carl9170/ |
D | debug.c | 465 unsigned int __i, __err = -ENODEV; \ 467 for (__i = 0; __i < ARRAY_SIZE(name##_regs); __i++) { \ 468 __tmp[__i] = name##_regs[__i].reg; \ 469 ar->debug.stats.name##_counter[__i] = 0; \ 478 unsigned int __i; \ 480 for (__i = 0; __i < ARRAY_SIZE(name##_regs); __i++) { \ 481 ar->debug.stats.name##_sum[__i] += \ 482 ar->debug.stats.name##_counter[__i]; \
|
/Linux-v6.6/tools/objtool/include/objtool/ |
D | elf.h | 311 for (int __i = 0, __fake = 1; __fake; __fake = 0) \ 313 __i < sec_num_entries(rsec); \ 314 __i++, reloc++) 317 for (int __i = reloc_idx(reloc); \ 318 __i < sec_num_entries(rsec); \ 319 __i++, reloc++)
|
/Linux-v6.6/arch/mips/include/asm/ |
D | div64.h | 21 unsigned long __cf, __tmp, __tmp2, __i; \ 52 "=&r" (__i), "=&r" (__tmp2) \
|
/Linux-v6.6/include/scsi/ |
D | scsi_cmnd.h | 206 #define scsi_for_each_sg(cmd, sg, nseg, __i) \ argument 207 for_each_sg(scsi_sglist(cmd), sg, nseg, __i) 331 #define scsi_for_each_prot_sg(cmd, sg, nseg, __i) \ argument 332 for_each_sg(scsi_prot_sglist(cmd), sg, nseg, __i)
|
/Linux-v6.6/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
D | nv10.c | 416 int __i; \ 418 for (__i = 0; __i < ARRAY_SIZE(state); __i++) \ 419 state[__i] = nvkm_rd32(device, NV10_PGRAPH_PIPE_DATA); \ 424 int __i; \ 426 for (__i = 0; __i < ARRAY_SIZE(state); __i++) \ 427 nvkm_wr32(device, NV10_PGRAPH_PIPE_DATA, state[__i]); \
|
/Linux-v6.6/drivers/hid/bpf/ |
D | hid_bpf_jmp_table.c | 48 #define FOR_ENTRIES(__i, __start, __end) \ argument 49 for (__i = __start; CIRC_CNT(__end, __i, HID_BPF_MAX_PROGS); __i = NEXT(__i))
|
/Linux-v6.6/drivers/gpu/drm/renesas/rcar-du/ |
D | rcar_cmm.c | 21 #define CM2_LUT_TBL(__i) (CM2_LUT_TBL_BASE + (__i) * 4) argument
|
/Linux-v6.6/include/linux/ |
D | scatterlist.h | 195 #define for_each_sg(sglist, sg, nr, __i) \ argument 196 for (__i = 0, sg = (sglist); __i < (nr); __i++, sg = sg_next(sg))
|
/Linux-v6.6/arch/x86/include/asm/ |
D | local.h | 108 long __i = i; in local_add_return() local 112 return i + __i; in local_add_return()
|