/linux-6.1.9/include/drm/ |
D | drm_atomic.h | 755 …each_oldnew_connector_in_state(__state, connector, old_connector_state, new_connector_state, __i) \ argument 756 for ((__i) = 0; \ 757 (__i) < (__state)->num_connector; \ 758 (__i)++) \ 759 for_each_if ((__state)->connectors[__i].ptr && \ 760 ((connector) = (__state)->connectors[__i].ptr, \ 762 (old_connector_state) = (__state)->connectors[__i].old_state, \ 763 (new_connector_state) = (__state)->connectors[__i].new_state, 1)) 777 #define for_each_old_connector_in_state(__state, connector, old_connector_state, __i) \ argument 778 for ((__i) = 0; \ [all …]
|
/linux-6.1.9/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 | 476 #define for_each_old_intel_plane_in_state(__state, plane, old_plane_state, __i) \ argument 477 for ((__i) = 0; \ 478 (__i) < (__state)->base.dev->mode_config.num_total_plane && \ 479 ((plane) = to_intel_plane((__state)->base.planes[__i].ptr), \ 480 (old_plane_state) = to_intel_plane_state((__state)->base.planes[__i].old_state), 1); \ 481 (__i)++) \ 484 #define for_each_new_intel_plane_in_state(__state, plane, new_plane_state, __i) \ argument 485 for ((__i) = 0; \ 486 (__i) < (__state)->base.dev->mode_config.num_total_plane && \ 487 ((plane) = to_intel_plane((__state)->base.planes[__i].ptr), \ [all …]
|
/linux-6.1.9/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 | event.h | 100 for (int __i = 0; __i < (int)nr; v = next_sample_read_value(v, rf), __i++)
|
/linux-6.1.9/include/uapi/linux/netfilter_bridge/ |
D | ebtables.h | 218 unsigned int __i; \ 222 for (__i = sizeof(struct ebt_entry); \ 223 __i < (e)->watchers_offset; \ 224 __i += __match->match_size + \ 226 __match = (void *)(e) + __i; \ 233 if (__i != (e)->watchers_offset) \ 241 unsigned int __i; \ 245 for (__i = e->watchers_offset; \ 246 __i < (e)->target_offset; \ 247 __i += __watcher->watcher_size + \ [all …]
|
/linux-6.1.9/lib/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-6.1.9/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-6.1.9/include/drm/display/ |
D | drm_dp_mst_helper.h | 968 #define for_each_oldnew_mst_mgr_in_state(__state, mgr, old_state, new_state, __i) \ argument 969 for ((__i) = 0; (__i) < (__state)->num_private_objs; (__i)++) \ 970 for_each_if(__drm_dp_mst_state_iter_get((__state), &(mgr), &(old_state), &(new_state), (__i))) 985 #define for_each_old_mst_mgr_in_state(__state, mgr, old_state, __i) \ argument 986 for ((__i) = 0; (__i) < (__state)->num_private_objs; (__i)++) \ 987 for_each_if(__drm_dp_mst_state_iter_get((__state), &(mgr), &(old_state), NULL, (__i))) 1003 #define for_each_new_mst_mgr_in_state(__state, mgr, new_state, __i) \ argument 1004 for ((__i) = 0; (__i) < (__state)->num_private_objs; (__i)++) \ 1005 for_each_if(__drm_dp_mst_state_iter_get((__state), &(mgr), NULL, &(new_state), (__i)))
|
/linux-6.1.9/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 | 234 struct label_it __i; \ 243 label_for_each(__i, (L), (P)) { \ 254 label_for_each(__i, __lvec[__j], (P)) \
|
/linux-6.1.9/tools/virtio/linux/ |
D | scatterlist.h | 77 #define for_each_sg(sglist, sg, nr, __i) \ argument 78 for (__i = 0, sg = (sglist); __i < (nr); __i++, sg = sg_next(sg))
|
/linux-6.1.9/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-6.1.9/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-6.1.9/drivers/gpio/ |
D | gpiolib.h | 109 for (unsigned int __i = 0; \ 110 __i < gc->ngpio && (desc = gpiochip_get_desc(gc, __i)); \ 111 __i++) \
|
/linux-6.1.9/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-6.1.9/arch/mips/include/asm/ |
D | div64.h | 21 unsigned long __cf, __tmp, __tmp2, __i; \ 52 "=&r" (__i), "=&r" (__tmp2) \
|
/linux-6.1.9/include/scsi/ |
D | scsi_cmnd.h | 200 #define scsi_for_each_sg(cmd, sg, nseg, __i) \ argument 201 for_each_sg(scsi_sglist(cmd), sg, nseg, __i) 325 #define scsi_for_each_prot_sg(cmd, sg, nseg, __i) \ argument 326 for_each_sg(scsi_prot_sglist(cmd), sg, nseg, __i)
|
/linux-6.1.9/include/linux/ |
D | scatterlist.h | 171 #define for_each_sg(sglist, sg, nr, __i) \ argument 172 for (__i = 0, sg = (sglist); __i < (nr); __i++, sg = sg_next(sg))
|
/linux-6.1.9/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-6.1.9/arch/x86/include/asm/ |
D | local.h | 108 long __i = i; in local_add_return() local 112 return i + __i; in local_add_return()
|
/linux-6.1.9/drivers/gpu/drm/rcar-du/ |
D | rcar_cmm.c | 21 #define CM2_LUT_TBL(__i) (CM2_LUT_TBL_BASE + (__i) * 4) argument
|
/linux-6.1.9/include/linux/surface_aggregator/ |
D | controller.h | 261 int __i, __s = 0; \ 263 for (__i = (n); __i > 0; __i--) { \
|
/linux-6.1.9/include/net/ |
D | flow_offload.h | 345 #define flow_action_for_each(__i, __act, __actions) \ argument 346 for (__i = 0, __act = &(__actions)->entries[0]; \ 347 __i < (__actions)->num_entries; \ 348 __act = &(__actions)->entries[++__i])
|
/linux-6.1.9/arch/alpha/kernel/ |
D | smc37c669.c | 71 #define SMC37c669_DEVICE_IRQ( __i ) \ argument 72 ((SMC37c669_DEVICE_IRQ_MASK) | (__i)) 73 #define SMC37c669_IS_DEVICE_IRQ(__i) \ argument 74 (((__i) & (SMC37c669_DEVICE_IRQ_MASK)) == (SMC37c669_DEVICE_IRQ_MASK)) 75 #define SMC37c669_RAW_DEVICE_IRQ(__i) \ argument 76 ((__i) & ~(SMC37c669_DEVICE_IRQ_MASK))
|