| /kernel/linux/linux-5.10/tools/perf/util/ |
| H A D | parse-events.c | 842 * Move object config terms from the first list to obj_head_config. 1515 * Configure hardcoded terms first, no need to check in parse_events_add_pmu() 3122 bool first = true; in config_terms_list() local 3138 if (!first) in config_terms_list() 3141 first = false; in config_terms_list()
|
| /kernel/linux/linux-5.10/fs/xfs/libxfs/ |
| H A D | xfs_alloc.c | 159 * Lookup the first record greater than or equal to [bno, len] 179 * Lookup the first record less than or equal to [bno, len] 439 xfs_agblock_t nfbno1; /* first new free startblock */ in xfs_alloc_fixup_trees() 441 xfs_extlen_t nflen1=0; /* first new free length */ in xfs_alloc_fixup_trees() 983 * We looked up the first record >= [agbno, len] above. The agbno is a in xfs_alloc_cntbt_iter() 1320 bool find_one, /* quit on first candidate */ in xfs_alloc_walk_iter() 1400 * and take the first available extent. in xfs_alloc_ag_vextent_locality() 1504 /* Randomly don't execute the first algorithm. */ in xfs_alloc_ag_vextent_lastblock() 1748 * In the first case above, we got the last entry in the in xfs_alloc_ag_vextent_size() 2358 * on-disk flcount and the active [first, las 2717 int first; /* first byte offset */ xfs_alloc_log_agf() local [all...] |
| /kernel/linux/linux-5.10/drivers/gpu/drm/tidss/ |
| H A D | tidss_dispc.c | 2350 unsigned int first = i * (hwlen - 1) / (length - 1); in dispc_vp_set_gamma() local 2352 unsigned int w = last - first; in dispc_vp_set_gamma() 2368 table[first + j] = (r << (hwbits * 2)) | in dispc_vp_set_gamma()
|
| /kernel/linux/linux-6.6/drivers/net/wireless/intersil/hostap/ |
| H A D | hostap_hw.c | 394 * first and in this case prism2_cmd_ev() does not yet have in hfa384x_cmd() 1283 int ret, first = 1; in prism2_hw_init() local 1297 printk(KERN_INFO "%s: first command failed - assuming card " in prism2_hw_init() 1301 if (first && (HFA384X_INW(HFA384X_EVSTAT_OFF) & HFA384X_EV_CMD)) { in prism2_hw_init() 1307 first = 0; in prism2_hw_init() 2745 * first one that has been seen to produce correct encryption, but the in prism2_check_sta_fw_version()
|
| /kernel/linux/linux-6.6/drivers/nvme/host/ |
| H A D | tcp.c | 347 * if we're the first on the send_list and we can try to send in nvme_tcp_queue_request() 1754 int first, int last) in nvme_tcp_start_io_queues() 1758 for (i = first; i < last; i++) { in nvme_tcp_start_io_queues() 1767 for (i--; i >= first; i--) in nvme_tcp_start_io_queues() 1753 nvme_tcp_start_io_queues(struct nvme_ctrl *ctrl, int first, int last) nvme_tcp_start_io_queues() argument
|
| /kernel/linux/linux-6.6/drivers/accel/habanalabs/common/ |
| H A D | memory.c | 647 /* Calc the first possible aligned addr */ in get_va_block() 848 bool first = true, is_huge_page_opt; in init_phys_pg_pack_from_userptr() local 905 if (first) { in init_phys_pg_pack_from_userptr() 906 first = false; in init_phys_pg_pack_from_userptr() 1458 * to prevent user from closing FD without unmapping first 1864 * released first and only then the compute device. in export_dmabuf()
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/tidss/ |
| H A D | tidss_dispc.c | 2401 unsigned int first = i * (hwlen - 1) / (length - 1); in dispc_vp_set_gamma() local 2403 unsigned int w = last - first; in dispc_vp_set_gamma() 2419 table[first + j] = (r << (hwbits * 2)) | in dispc_vp_set_gamma()
|
| /kernel/linux/linux-6.6/drivers/md/ |
| H A D | dm-bufio.c | 784 struct lru_entry *le, *first; in __cache_iterate() local 789 first = le = to_le(lru->cursor); in __cache_iterate() 805 } while (le != first); in __cache_iterate()
|
| /kernel/linux/linux-6.6/tools/perf/util/ |
| H A D | auxtrace.c | 1780 * compares the high 4 bytes of the values between the first time and the last 1792 u64 first, second, last; in compat_auxtrace_mmap__read_head() local 1796 first = READ_ONCE(pc->aux_head); in compat_auxtrace_mmap__read_head() 1803 } while ((first & mask) != (last & mask)); in compat_auxtrace_mmap__read_head()
|
| /kernel/linux/linux-6.6/net/tls/ |
| H A D | tls_sw.c | 206 * scheme doesn't help us, so just ignore the first ->complete(). in tls_decrypt_done() 229 /* Skip the first S/G entry as it points to AAD */ in tls_decrypt_done() 545 /* For CCM based ciphers, first byte of IV is a constant */ in tls_do_encryption() 1104 u32 first = msg_pl->sg.end; in tls_sw_sendmsg_locked() local 1114 sk_msg_sg_copy_set(msg_pl, first); in tls_sw_sendmsg_locked() 1131 sk_msg_sg_copy_clear(msg_pl, first); in tls_sw_sendmsg_locked() 1528 /* For CCM based ciphers, first byte of nonce+iv is a constant */ in tls_decrypt_sg()
|
| /kernel/linux/linux-6.6/security/ |
| H A D | security.c | 254 /* LSM_ORDER_FIRST is always first. */ in ordered_lsm_parse() 257 append_ordered_lsm(lsm, " first"); in ordered_lsm_parse() 336 int first = 0; in report_lsm_order() local 344 pr_cont("%s%s", first++ == 0 ? "" : ",", early->name); in report_lsm_order() 347 pr_cont("%s%s", first++ == 0 ? "" : ",", (*lsm)->name); in report_lsm_order() 2597 * security field is initialized to NULL when the structure is first created. 3507 * security field is initialized to NULL when the structure is first created. 3541 * initialized to NULL when the structure is first created. 3644 * security field is initialized to NULL when the structure is first created. 3728 * security field is initialized to NULL when the structure is first create [all...] |
| /kernel/linux/linux-6.6/sound/pci/asihpi/ |
| H A D | asihpi.c | 727 int first = 1; in snd_card_asihpi_timer_function() local 780 if (first) { in snd_card_asihpi_timer_function() 784 first = 0; in snd_card_asihpi_timer_function() 2803 /* first try to give the card the same index as its hardware index */ in snd_asihpi_probe()
|
| /kernel/linux/linux-6.6/drivers/scsi/fcoe/ |
| H A D | fcoe_ctlr.c | 1023 int first = 0; in fcoe_ctlr_recv_adv() local 1032 first = list_empty(&fip->fcfs); in fcoe_ctlr_recv_adv() 1096 * the first advertisement we've received, do a multicast in fcoe_ctlr_recv_adv() 1100 if (first && time_after(jiffies, fip->sol_time + sol_tov)) in fcoe_ctlr_recv_adv() 1113 * If this is the first validated FCF, note the time and in fcoe_ctlr_recv_adv() 1188 * with first MAC(granted_mac) being the FPMA, and the in fcoe_ctlr_recv_els() 2220 * If this is the first try after link up, use any previous port_id. in fcoe_ctlr_vn_restart()
|
| /kernel/linux/linux-6.6/mm/ |
| H A D | ksm.c | 112 * it is secured in the stable tree. (When we scan a new page, we first 642 * Put the stable node chain in the first dimension of in alloc_stable_node_chain() 1151 /* See page_try_share_anon_rmap(): clear PTE first. */ in write_protect_page() 1285 * or NULL the first time when we want to use page as kpage. 1370 /* Unstable nid is in union with stable anon_vma: remove first */ in try_to_merge_with_ksm_page() 1502 BUG_ON(stable_node->hlist.first->next); in stable_node_dup() 1526 } else if (stable_node->hlist.first != &found->hlist_dup && in stable_node_dup() 1537 * instead of checking the hlist.first pointer in stable_node_dup() 1562 return hlist_entry(stable_node->hlist.first, in stable_node_dup_any() 2083 * for the first tim in stable_tree_append() [all...] |
| /kernel/linux/linux-6.6/net/mac80211/ |
| H A D | sta_info.c | 1292 /* check allowed transitions first */ in _sta_info_move_state() 1638 * ... first in list. in ieee80211_find_sta_by_ifaddr() 2289 bool first = true; in __ieee80211_sta_recalc_aggregates() local 2309 if (first) { in __ieee80211_sta_recalc_aggregates() 2311 first = false; in __ieee80211_sta_recalc_aggregates()
|
| /kernel/linux/linux-6.6/net/mptcp/ |
| H A D | pm_netlink.c | 538 if (unlikely(!(msk->pm.status & BIT(MPTCP_PM_MPC_ENDPOINT_ACCOUNTED))) && msk->first) { in mptcp_pm_create_subflow_or_signal_addr() 539 struct mptcp_subflow_context *subflow = mptcp_subflow_ctx(msk->first); in mptcp_pm_create_subflow_or_signal_addr() 544 mptcp_local_address((struct sock_common *)msk->first, &mpc_addr); in mptcp_pm_create_subflow_or_signal_addr() 565 /* check first for announce */ in mptcp_pm_create_subflow_or_signal_addr() 1521 /* the zero id address is special: the first address used by the msk in mptcp_nl_cmd_del_addr()
|
| /kernel/linux/linux-5.10/drivers/gpio/ |
| H A D | gpiolib.c | 263 /* add before first entry */ in gpiodev_add_to_list() 295 * Hence this function will return, if it exists, a reference to the first GPIO 746 * By first adding the chardev, and then adding the device, in gpiochip_add_data_with_key() 1591 gc->irq.first, in gpiochip_add_irqchip() 1691 * @first_irq: if not dynamically assigned, the base (first) IRQ to 2583 * Handle FLAG_TRANSITORY first, enabling queries to gpiolib for in gpiod_set_transitory() 2726 int first, j, ret; in gpiod_get_array_value_complex() local 2745 first = i; in gpiod_get_array_value_complex() 2766 for (j = first; j < i; ) { in gpiod_get_array_value_complex() 3934 * first plac in gpiod_configure_flags() [all...] |
| /kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/ |
| H A D | ice_virtchnl_pf.c | 249 int first, last, v; in ice_dis_vf_mappings() local 259 first = vf->first_vector_idx; in ice_dis_vf_mappings() 260 last = first + pf->num_msix_per_vf - 1; in ice_dis_vf_mappings() 261 for (v = first; v <= last; v++) { in ice_dis_vf_mappings() 572 * @vf: pointer to VF that the first MSIX vector index is being calculated for 574 * This returns the first MSIX vector index in PF space that is used by this VF. 841 /* always add one to account for the OICR being the first MSIX */ in ice_calc_vf_reg_idx() 851 * first res->list entry with the ICE_RES_VALID_BIT set. This function is only 1318 /* VF reset requires driver to first reset the VF and then in ice_reset_vf() 3862 * Return true on the first/an [all...] |
| /kernel/linux/linux-5.10/drivers/infiniband/hw/qib/ |
| H A D | qib_iba6120.c | 1009 /* do these first, they are most important */ in handle_6120_errors() 1157 /* enable errors that are masked, at least this first time. */ in qib_6120_init_hwerrors() 1513 * handle errors and unusual events first, separate function 2373 * Non-error counters are first. 2374 * Start of "error" conters is indicated by a leading "E " on the first 3325 u32 first, last, plen = pbc & QIB_PBC_LENGTH_MASK; in qib_6120_getsendbuf() local 3335 first = dd->piobcnt2k; in qib_6120_getsendbuf() 3337 first = 0; in qib_6120_getsendbuf() 3340 buf = qib_getsendbuf_range(dd, pbufnum, first, last); in qib_6120_getsendbuf() 3524 /* Note that qpn_mask is set by qib_6120_config_ctxts() first */ in qib_init_iba6120_funcs() [all...] |
| /kernel/linux/linux-5.10/tools/perf/ |
| H A D | builtin-sched.c | 1852 * first time it is used. 2768 bool first; in callchain__fprintf_folded() local 2774 first = (ret == 0); in callchain__fprintf_folded() 2781 ret += fprintf(fp, "%s%s", first ? "" : sep, in callchain__fprintf_folded() 2784 first = false; in callchain__fprintf_folded()
|
| /kernel/linux/linux-5.10/fs/btrfs/ |
| H A D | free-space-cache.c | 314 /* Make sure we can fit our crcs and generation into the first page */ in io_ctl_init() 420 * 64bit chunk at the front of the first page. in io_ctl_set_generation() 440 * chunk at the front of the first page. in io_ctl_check_generation() 1292 /* Lock all pages first so we can lock the extent safely. */ in __btrfs_write_out_cache() 1484 * the extent entry to always be found first if we do a in tree_insert_offset() 2295 * first we want to see if there is free space adjacent to the range we in try_merge_free_space() 2917 /* first, get a safe pointer to the block group */ in btrfs_return_cluster_to_free_space() 3164 struct btrfs_free_space *first = NULL; in setup_cluster_no_bitmap() local 3191 first = entry; in setup_cluster_no_bitmap() 3216 cluster->window_start = first in setup_cluster_no_bitmap() [all...] |
| /kernel/linux/linux-5.10/fs/ext4/ |
| H A D | ext4.h | 131 /* first blocks in the file */ 981 * than the first 1385 __le32 s_first_error_time; /* first time an error happened */ 1386 __le32 s_first_error_ino; /* inode involved in first error */ 1387 __le64 s_first_error_block; /* block involved of first error */ 1769 * Error number codes for s_{first,last}_error_errno 2174 * directories into the first block group of a flexgroup 2401 /* calculate the first block number of the group */ 3300 ext4_grpblk_t bb_first_free; /* first free block */ 3615 extern void ext4_double_down_write_data_sem(struct inode *first, [all...] |
| /kernel/linux/linux-5.10/kernel/locking/ |
| H A D | lockdep.c | 1405 * breadth-first search (BFS) algorithm, by which we can determine 1409 * produce a circle in the graph. Breadth-first search instead of 1410 * depth-first search is used in order to find the shortest (circular) 1688 bool first; in __bfs() local 1751 first = true; in __bfs() 1757 * Note we only enqueue the first of the list into the in __bfs() 1762 if (!first) in __bfs() 1765 first = false; in __bfs() 1874 * header first: 2011 * Breadth-first in print_bfs_bug() [all...] |
| /kernel/linux/linux-6.6/fs/btrfs/ |
| H A D | free-space-cache.c | 386 /* Make sure we can fit our crcs and generation into the first page */ in io_ctl_init() 502 * 64bit chunk at the front of the first page. in io_ctl_set_generation() 517 * chunk at the front of the first page. in io_ctl_check_generation() 951 * to load everything into a temporary structure first, and then if it's in load_free_space_cache() 1412 /* Lock all pages first so we can lock the extent safely. */ in __btrfs_write_out_cache() 1618 * the extent entry to always be found first if we do a in tree_insert_offset() 1664 * that first bitmap entry had ->max_extent_size set, but the second one did 2460 * first we want to see if there is free space adjacent to the range we in try_merge_free_space() 3153 /* first, get a safe pointer to the block group */ in btrfs_return_cluster_to_free_space() 3414 struct btrfs_free_space *first in setup_cluster_no_bitmap() local [all...] |
| /kernel/linux/linux-6.6/drivers/target/ |
| H A D | target_core_user.c | 795 * For bidi case, the first count blocks are for Data-Out in gather_data_area() 1662 static u32 tcmu_blocks_release(struct tcmu_dev *udev, unsigned long first, in tcmu_blocks_release() argument 1669 first = first * udev->data_pages_per_blk; in tcmu_blocks_release() 1671 xa_for_each_range(&udev->data_pages, dpi, page, first, last) { in tcmu_blocks_release() 2225 /* mailbox fits in first part of CMDR space */ in tcmu_configure_device() 3205 /* Try to complete the finished commands first */ in find_free_blocks()
|