/linux-master/fs/ntfs3/ |
H A D | ntfs_fs.h | 119 size_t count; /* Currently used size a ntfs_run storage. */ member in struct:runs_tree 156 struct rb_root count_tree; // Extents, sorted by 'count + start'. 157 size_t count; // Extents count. member in struct:wnd_bitmap 234 CLST bad_clusters; // The count of marked bad clusters. 942 run->count = 0; 967 return !run->count;
|
H A D | file.c | 319 static int ntfs_extend(struct inode *inode, loff_t pos, size_t count, argument 324 loff_t end = pos + count; 847 size_t count = iov_iter_count(from); local 952 /* Copy user data [pos : pos + count). */ 953 while (count) { 958 if (bytes > count) 959 bytes = count; 1045 count = iov_iter_count(from);
|
/linux-master/fs/netfs/ |
H A D | buffered_write.c | 159 .range_end = iocb->ki_pos + iter->count, 177 ret = filemap_write_and_wait_range(mapping, pos, pos + iter->count); 183 wreq = netfs_begin_writethrough(iocb, iter->count); 379 if (wreq->iter.count == 0) 906 long count = wbc->nr_to_write; local 923 count -= folio_nr_pages(folio); 952 netfs_extend_writeback(mapping, group, xas, &count, start,
|
/linux-master/fs/ |
H A D | ioctl.c | 107 * success, extent count on fieinfo is incremented. 118 /* only count the extents */ 423 u16 count; local 425 if (get_user(count, &argp->dest_count)) { 430 size = offsetof(struct file_dedupe_range, info[count]); 443 same->dest_count = count;
|
/linux-master/drivers/vdpa/ |
H A D | vdpa.c | 82 const char *buf, size_t count) 87 ret = driver_set_override(dev, &vdev->driver_override, buf, count); 91 return count; 80 driver_override_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
|
/linux-master/drivers/soc/mediatek/ |
H A D | mtk-svs.c | 431 * @opp_count: Bank opp count 480 * @pm_runtime_enabled_count: bank pm runtime enabled count 787 size_t count, loff_t *pos) 794 if (count >= PAGE_SIZE) 797 buf = (char *)memdup_user_nul(buffer, count); 812 return count; 1773 int count, ret; local 1833 count = dev_pm_opp_get_opp_count(svsb->opp_dev); 1834 if (bdata->opp_count != count) { 1837 bdata->opp_count, count); 785 svs_enable_debug_write(struct file *filp, const char __user *buffer, size_t count, loff_t *pos) argument [all...] |
/linux-master/drivers/net/wireless/virtual/ |
H A D | mac80211_hwsim.c | 1065 cb->control.rates[0].count = 1; 1567 tx_attempts[i].count = info->status.rates[i].count; 2080 txi->control.rates[0].count = 1; 2460 unsigned int *count = data; local 2464 (*count)++; 2533 unsigned int count = 0; local 2536 mac80211_hwsim_bcn_en_iter, &count); 2538 count); 2539 if (count [all...] |
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | scan.c | 2296 chan_param->count = params->n_channels; 2384 cp->count = params->n_channels; 2402 cp->count = params->n_channels; 2421 &cp->channel_config[cp->count]; 2439 cp->count++; 2531 cp->count = iwl_mvm_umac_scan_cfg_channels_v7_6g(mvm, params, 2535 if (!cp->count) {
|
/linux-master/drivers/net/wireless/ath/ath11k/ |
H A D | mac.c | 5681 int count; local 5684 count = ath11k_mac_copy_he_cap(ar, cap, 5690 count); 5694 count = ath11k_mac_copy_he_cap(ar, cap, 5700 count); 5705 count = ath11k_mac_copy_he_cap(ar, cap, 5711 count); 5936 * count has reached a certain threshold, so as to prioritize 6052 ath11k_dbg(ab, ATH11K_DBG_MAC, "recovery start count %d\n", recovery_start_count); 6679 ath11k_warn(ar->ab, "failed to set vdev %d pspoll count 9016 u32 count, scope; local [all...] |
/linux-master/drivers/net/usb/ |
H A D | qmi_wwan.c | 397 ssize_t count = 0; local 402 count += scnprintf(&buf[count], PAGE_SIZE - count, 406 return count;
|
/linux-master/drivers/net/phy/ |
H A D | dp83869.c | 404 int val, cnt, enable, count; local 415 count = DP83869_DOWNSHIFT_1_COUNT; 418 count = DP83869_DOWNSHIFT_2_COUNT; 421 count = DP83869_DOWNSHIFT_4_COUNT; 424 count = DP83869_DOWNSHIFT_8_COUNT; 430 *data = enable ? count : DOWNSHIFT_DEV_DISABLE; 437 int val, count; local 448 count = DP83869_DOWNSHIFT_1_COUNT_VAL; 451 count = DP83869_DOWNSHIFT_2_COUNT_VAL; 454 count [all...] |
/linux-master/drivers/net/ethernet/wangxun/libwx/ |
H A D | wx_lib.c | 341 i -= rx_ring->count; 362 i -= rx_ring->count; 371 i += rx_ring->count; 393 return ((ntc > ntu) ? 0 : ring->count) + ntc - ntu - 1; 414 ntc = (ntc < rx_ring->count) ? ntc : 0; 719 i -= tx_ring->count; 760 i -= tx_ring->count; 780 i -= tx_ring->count; 792 i += tx_ring->count; 851 if (q_vector->rx.count > 1456 u16 count = TXD_USE_COUNT(skb_headlen(skb)); local [all...] |
/linux-master/drivers/net/ethernet/renesas/ |
H A D | ravb_main.c | 677 int count; local 680 count = (ravb_read(ndev, TSR) & TSR_TFFL) >> 8; 681 while (count--) { 1952 /* tx_errors count up */
|
/linux-master/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | pci.c | 77 u16 count; /* number of elements in queue */ member in struct:mlxsw_pci_queue 99 u8 count; /* number of queues in group */ member in struct:mlxsw_pci_queue_type_group 117 unsigned int count; member in struct:mlxsw_pci::__anon53 158 int index = q->producer_counter & (q->count - 1); 160 if ((u16) (q->producer_counter - q->consumer_counter) == q->count) 168 int index = q->consumer_counter & (q->count - 1); 180 return owner_bit != !!(q->consumer_counter & q->count); 196 return queue_group->count; 274 q->consumer_counter + q->count); 410 * above SDQ count a [all...] |
H A D | core.c | 1358 unsigned int count, 1368 count, extack); 3220 int count = size / sizeof(__be32); local 3222 for (i = count - 1; i >= 0; i--) 3226 count = i ? i : 1; 3227 for (i = 0; i < count; i += 4) 1356 mlxsw_devlink_port_split(struct devlink *devlink, struct devlink_port *port, unsigned int count, struct netlink_ext_ack *extack) argument
|
/linux-master/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu_npc.c | 722 "%s: channel count more than 1, must be power of 2\n", __func__); 1489 static inline u64 enable_mask(int count) argument 1491 return (((count) < 64) ? ~(BIT_ULL(count) - 1) : (0x00ULL)); 1814 * Check HW max count to avoid configuring junk or 1931 * counter's reference count. 2060 * packet. And map this action to a counter to count dropped 2457 if (fcnt > req->count) 2482 if (fcnt < req->count) 2544 * Get MCAM free entry count i [all...] |
/linux-master/drivers/net/ethernet/intel/igc/ |
H A D | igc_main.c | 229 if (unlikely(i == tx_ring->count)) { 245 if (unlikely(i == tx_ring->count)) { 259 sizeof(*tx_ring->tx_buffer_info) * tx_ring->count); 358 size = sizeof(struct igc_tx_buffer) * tx_ring->count; 364 tx_ring->size = tx_ring->count * sizeof(union igc_adv_tx_desc); 438 if (i == rx_ring->count) 448 for (i = 0; i < ring->count; i++) { 552 size = sizeof(struct igc_rx_buffer) * rx_ring->count; 560 rx_ring->size = rx_ring->count * desc_len; 659 ring->count * sizeo 1574 u16 count = TXD_USE_COUNT(skb_headlen(skb)); local 2292 igc_alloc_rx_buffers_zc(struct igc_ring *ring, u16 count) argument 2357 u16 count, index = ring->next_to_use; local 3876 int count; local [all...] |
H A D | igc.h | 104 u8 count; /* total number of rings in vector */ member in struct:igc_ring_container 122 u16 count; /* number of desc. in the ring */ member in struct:igc_ring 635 return ((ntc > ntu) ? 0 : ring->count) + ntc - ntu - 1;
|
/linux-master/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_main.c | 458 q_vector->rx.count++; 484 q_vector->tx.count++; 1610 tx_ring->count = adapter->tx_desc_count; 1619 rx_ring->count = adapter->rx_desc_count; 1919 dev_info(&adapter->pdev->dev, "Multiqueue %s: Queue pair count = %u", 3305 adapter->tx_rings[i].count = adapter->tx_desc_count; 3332 adapter->rx_rings[i].count = adapter->rx_desc_count; 3443 if (!mqprio_qopt->qopt.count[i] || 3475 num_qps += mqprio_qopt->qopt.count[i]; 3526 if (ch[i].count ! 3957 int err = -EINVAL, count = 50; local [all...] |
/linux-master/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_main.c | 284 * Returns the count of items in the lump 289 int count = 0; local 299 count++; 303 return count; 600 * to report stats that count from zero. 626 * to report stats that count from zero. In the process, we also manage 1247 * Returns count of mac filters 1945 num_qps = vsi->mqprio_qopt.qopt.count[0]; 1954 /* Setup queue offset/count for all TCs for given VSI */ 1955 max_qcount = vsi->mqprio_qopt.qopt.count[ 2312 i40e_update_filter_state(int count, struct i40e_aqc_add_macvlan_element_data *add_list, struct i40e_new_mac_filter *add_head) argument [all...] |
/linux-master/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt.c | 1681 NAPI_GRO_CB(skb)->count = segs; 2878 /* Increment rx_pkts when rc is -ENOMEM to count towards 4611 static void bnxt_fill_masks(u64 *mask_arr, u64 mask, int count) argument 4615 for (i = 0; i < count; i++) 4619 static void bnxt_copy_hw_masks(u64 *mask_arr, __le64 *hw_mask_arr, int count) argument 4623 for (i = 0; i < count; i++) 9468 int count, bool ignore_zero) 9472 for (i = 0; i < count; i++) { 10176 int i, off, count; local 10179 count 9467 __bnxt_accumulate_stats(__le64 *hw_stats, u64 *sw_stats, u64 *masks, int count, bool ignore_zero) argument [all...] |
/linux-master/drivers/mtd/ |
H A D | mtdcore.c | 277 const char *buf, size_t count) 288 return count; 1991 * mtd_ooblayout_count_bytes - count the number of bytes in a OOB category 2102 * mtd_ooblayout_count_freebytes - count the number of free bytes in OOB 2105 * Works like mtd_ooblayout_count_bytes(), except it count free bytes. 2116 * mtd_ooblayout_count_eccbytes - count the number of ECC bytes in OOB 2119 * Works like mtd_ooblayout_count_bytes(), except it count ECC bytes. 2361 * @count: count of vectors in @vecs 2363 * @retlen: on exit contains the count o 275 mtd_bitflip_threshold_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 2368 default_mtd_writev(struct mtd_info *mtd, const struct kvec *vecs, unsigned long count, loff_t to, size_t *retlen) argument 2400 mtd_writev(struct mtd_info *mtd, const struct kvec *vecs, unsigned long count, loff_t to, size_t *retlen) argument [all...] |
/linux-master/drivers/mmc/host/ |
H A D | sdhci-msm.c | 1972 u32 count, start = 15; local 1975 count = sdhci_readb(host, SDHCI_TIMEOUT_CONTROL); 1979 * using 4 * MCLK * 2^(count + 13). where MCLK = 1 / host->clock. 1983 ((1 << (count + start)) > (10 * host->clock)))
|
/linux-master/drivers/md/ |
H A D | dm.c | 140 refcount_t count; member in struct:table_device 270 const int count = ARRAY_SIZE(_inits); local 278 for (i = 0; i < count; i++) { 737 refcount_set(&td->count, 1); 819 refcount_inc(&td->count); 832 if (refcount_dec_and_test(&td->count)) 1077 * count on 'md'. But _not_ imposing verification to avoid atomic_read(), 1831 * Drop the extra reference count for non-POLLED bio, and hold one 2518 * No one should increment the reference count of the mapped_device, 3096 * count o [all...] |
/linux-master/drivers/gpu/drm/xe/ |
H A D | xe_gt.c | 157 int count = 0; local 170 ++count; 172 if (count) { 175 bb->cs[bb->len++] = MI_LOAD_REGISTER_IMM | MI_LRI_NUM_REGS(count);
|