| /kernel/linux/linux-6.6/drivers/media/v4l2-core/ |
| H A D | v4l2-event.c | 23 idx += sev->first; in sev_pos() 51 kev->sev->first = sev_pos(kev->sev, 1); in __v4l2_event_dequeue() 123 sev->first = sev_pos(sev, 1); in __v4l2_event_queue_fh()
|
| /kernel/linux/linux-6.6/drivers/accessibility/speakup/ |
| H A D | synth.c | 273 static int first = 1; in spk_reset_index_count() local 275 if (first) in spk_reset_index_count() 276 first = 0; in spk_reset_index_count()
|
| /kernel/linux/linux-6.6/drivers/atm/ |
| H A D | suni.c | 310 int first; in suni_start() local 313 first = !sunis; in suni_start() 327 if (first) { in suni_start()
|
| /kernel/linux/linux-6.6/fs/xfs/ |
| H A D | xfs_trans_buf.c | 482 * This is called to mark bytes first through last inclusive of the given 487 * so the first byte in the buffer is numbered 0 regardless of the 494 uint first, in xfs_trans_log_buf() 499 ASSERT(first <= last && last < BBTOB(bp->b_length)); in xfs_trans_log_buf() 505 xfs_buf_item_log(bip, first, last); in xfs_trans_log_buf() 491 xfs_trans_log_buf( struct xfs_trans *tp, struct xfs_buf *bp, uint first, uint last) xfs_trans_log_buf() argument
|
| /kernel/linux/linux-6.6/drivers/bus/ |
| H A D | brcmstb_gisb.c | 406 int i, first, last; in brcmstb_gisb_arb_probe() local 463 first = ffs(gdev->valid_mask) - 1; in brcmstb_gisb_arb_probe() 466 for (i = first; i < last; i++) { in brcmstb_gisb_arb_probe()
|
| /kernel/linux/linux-6.6/drivers/fpga/ |
| H A D | zynq-fpga.c | 164 bool first; in zynq_step_dma() local 166 first = priv->dma_elm == 0; in zynq_step_dma() 193 /* Once the first transfer is queued we can turn on the ISR, future in zynq_step_dma() 199 if (first && priv->cur_sg) { in zynq_step_dma()
|
| /kernel/linux/linux-6.6/block/partitions/ |
| H A D | acorn.c | 166 int first = 1; in adfspart_check_CUMANA() local 206 first = 0; in adfspart_check_CUMANA() 233 return first ? 0 : 1; in adfspart_check_CUMANA() 247 * hda1 = ADFS partition on first drive. 346 * hda1 = ADFS partition 0 on first drive. 347 * hda2 = ADFS partition 1 on first drive. 387 * Our own extension - We use the first sector in adfspart_check_ICS() 442 * hda1 = ADFS partition 0 on first drive. 443 * hda2 = ADFS partition 1 on first drive.
|
| /kernel/linux/linux-6.6/arch/x86/kernel/cpu/resctrl/ |
| H A D | ctrlmondata.c | 525 int evtid, int first) in mon_event_read() 535 rr->first = first; in mon_event_read() 523 mon_event_read(struct rmid_read *rr, struct rdt_resource *r, struct rdt_domain *d, struct rdtgroup *rdtgrp, int evtid, int first) mon_event_read() argument
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/i915/ |
| H A D | i915_scheduler.c | 64 bool first = true; in i915_sched_lookup_priolist() local 73 /* most positive priority is scheduled first, equal priorities fifo */ in i915_sched_lookup_priolist() 83 first = false; in i915_sched_lookup_priolist() 114 rb_insert_color_cached(&p->node, &sched_engine->queue, first); in i915_sched_lookup_priolist() 191 * last element in the list is the request we must execute first. in __i915_schedule() 237 /* Fifo and depth-first replacement ensure our deps execute before us */ in __i915_schedule()
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/scheduler/ |
| H A D | sched_entity.c | 253 * Splitting drm_sched_entity_fini() into two functions, The first one does the 302 * drm_sched_entity_flush() must be called first. This function then goes over 561 bool first; in drm_sched_entity_push_job() local 571 * Make sure to set the submit_ts first, to avoid a race. in drm_sched_entity_push_job() 574 first = spsc_queue_push(&entity->job_queue, &sched_job->queue_node); in drm_sched_entity_push_job() 576 /* first job wakes up scheduler */ in drm_sched_entity_push_job() 577 if (first) { in drm_sched_entity_push_job()
|
| /kernel/linux/linux-6.6/drivers/hid/ |
| H A D | hid-elan.c | 239 * for multitouch - first finger and for multitouch - second finger in elan_usb_report_input() 283 * first is ELAN_MT_FIRST_FINGER and second is ELAN_MT_SECOND_FINGER in elan_usb_report_input() 294 int first = 0; in elan_usb_report_input() local 302 if (!first) { in elan_usb_report_input() 303 first = 1; in elan_usb_report_input()
|
| /kernel/linux/linux-6.6/drivers/macintosh/ |
| H A D | windfarm_rm31.c | 123 static bool first = true; in cpu_check_overtemp() local 140 * The first time around, initialize the array with the first in cpu_check_overtemp() 143 if (first) { in cpu_check_overtemp() 151 first = false; in cpu_check_overtemp() 421 /* first time initialize things */ in backside_setup_pid() 488 /* first time initialize things */ in slots_setup_pid()
|
| /kernel/linux/linux-6.6/drivers/md/ |
| H A D | md-multipath.c | 32 * now we use the first available disk. in multipath_map() 161 * first check if this is a queued request for a device in multipath_error() 213 int first = 0; in multipath_add_disk() local 217 first = last = rdev->raid_disk; in multipath_add_disk() 221 for (path = first; path <= last; path++) in multipath_add_disk()
|
| /kernel/linux/linux-6.6/tools/perf/util/bpf_skel/ |
| H A D | lock_contention.bpf.c | 384 struct contention_data first = { in contention_end() local 394 first.flags |= check_lock_type(pelem->lock, pelem->flags); in contention_end() 396 err = bpf_map_update_elem(&lock_stat, &key, &first, BPF_NOEXIST); in contention_end()
|
| /kernel/linux/linux-6.6/tools/net/ynl/lib/ |
| H A D | nlspec.py | 371 first = stream.readline().strip() 372 if not first.startswith(prefix): 374 self.license = first[len(prefix):]
|
| /kernel/linux/linux-6.6/net/sched/ |
| H A D | sch_drr.c | 339 bool first; in drr_enqueue() local 349 first = !cl->qdisc->q.qlen; in drr_enqueue() 359 if (first) { in drr_enqueue()
|
| /kernel/linux/linux-6.6/rust/kernel/ |
| H A D | init.rs | 169 //! // Enabling has failed, first clean up the foo and then return the error. 1337 ($first:ident, $($t:ident),* $(,)?) => { 1339 unsafe impl<$first: Zeroable, $($t: Zeroable),*> Zeroable for ($first, $($t),*) {}
|
| /kernel/linux/linux-6.6/tools/perf/util/ |
| H A D | cputopo.c | 195 bool has_first, first = true; in cpu_topology__core_wide() local 198 if (first) { in cpu_topology__core_wide() 200 first = false; in cpu_topology__core_wide() 203 * If the first core CPU is user requested then in cpu_topology__core_wide() 205 * requested too. If the first CPU isn't user in cpu_topology__core_wide()
|
| /kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
| H A D | sockmap_basic.c | 274 static void test_sockmap_skb_verdict_attach(enum bpf_attach_type first, in test_sockmap_skb_verdict_attach() argument 287 err = bpf_prog_attach(verdict, map, first, 0); in test_sockmap_skb_verdict_attach() 294 err = bpf_prog_detach2(verdict, map, first); in test_sockmap_skb_verdict_attach()
|
| /kernel/linux/linux-6.6/sound/isa/wavefront/ |
| H A D | wavefront.c | 133 A. WSS I/O requires a block of 8 I/O addresses ("ports"). Of these, the first in snd_wavefront_pnp() 135 these first 4 addresses have become obsolete, and software applications in snd_wavefront_pnp() 279 static int first = 1; in snd_wavefront_new_midi() local 281 if (first) { in snd_wavefront_new_midi() 282 first = 0; in snd_wavefront_new_midi()
|
| /kernel/linux/linux-6.6/drivers/s390/scsi/ |
| H A D | zfcp_qdio.c | 43 static void zfcp_qdio_zero_sbals(struct qdio_buffer *sbal[], int first, int cnt) in zfcp_qdio_zero_sbals() argument 47 for (i = first; i < first + cnt; i++) { in zfcp_qdio_zero_sbals() 204 /* set chaining flag in first SBALE of current SBAL */ in zfcp_qdio_sbal_chain() 216 /* start at first SBALE of new SBAL */ in zfcp_qdio_sbal_chain() 508 /* set index of first available SBALS / number of available SBALS */ in zfcp_qdio_open()
|
| /kernel/linux/linux-6.6/kernel/ |
| H A D | static_call_inline.c | 137 struct static_call_mod *site_mod, first; in __static_call_update() local 156 first = (struct static_call_mod){ in __static_call_update() 162 for (site_mod = &first; site_mod; site_mod = site_mod->next) { in __static_call_update() 172 * 'first' entry has no sites associated with it. in __static_call_update() 247 * __static_call_update()'s @first. in __static_call_init()
|
| /kernel/linux/linux-6.6/mm/ |
| H A D | dmapool.c | 108 * Dump the first 4 bytes even if they are not in pool_check_block() 273 * when the first invocation of dma_pool_create() failed on in dma_pool_create() 303 struct dma_block *block, *first = NULL, *last = NULL; in pool_initialise_page() local 320 first = block; in pool_initialise_page() 328 pool->next_block = first; in pool_initialise_page() 448 * unless it is first re-allocated.
|
| /kernel/linux/linux-6.6/net/netfilter/ipset/ |
| H A D | ip_set_bitmap_gen.h | 207 u32 id, first = cb->args[IPSET_CB_ARG0]; in mtype_list() local 229 if (id == first) { in mtype_list() 252 if (unlikely(id == first)) { in mtype_list()
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | cmd.c | 169 int blen = size - min_t(int, sizeof(msg->first.data), size); in mlx5_calc_cmd_blocks() 846 return MLX5_GET(mbox_in, in->first.data, opcode); in msg_to_opcode() 942 memcpy(lay->in, ent->in->first.data, sizeof(lay->in)); in cmd_work_handler() 1137 op = MLX5_GET(mbox_in, in->first.data, opcode); in mlx5_cmd_invoke() 1199 copy = min_t(int, size, sizeof(to->first.data)); in mlx5_copy_to_msg() 1200 memcpy(to->first.data, from, copy); in mlx5_copy_to_msg() 1232 copy = min_t(int, size, sizeof(from->first.data)); in mlx5_copy_from_msg() 1233 memcpy(to, from->first.data, copy); in mlx5_copy_from_msg() 1594 memcpy(ent->out->first.data, ent->lay->out, sizeof(ent->lay->out)); in mlx5_cmd_comp_handler() 1629 ent->in->first in mlx5_cmd_comp_handler() [all...] |