Searched refs:count (Results 226 - 250 of 7674) sorted by last modified time

1234567891011>>

/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_ethtool.c46 int count; local
49 count = snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version),
52 if (count >= sizeof(drvinfo->fw_version))
436 unsigned int count = ch->combined_count; local
443 if (!count) {
449 if (cur_params->num_channels == count)
457 if (count > xor8_max_channels) {
460 __func__, count, xor8_max_channels);
471 int new_rqt_size = mlx5e_rqt_size(priv->mdev, count);
515 new_params.num_channels = count;
1312 unsigned int count; local
[all...]
/linux-master/drivers/net/ethernet/mediatek/
H A Dmtk_wed.c2267 int i, count = 0; local
2296 while (!(val & MTK_WED_ADDR_ELEM_TBL_WR_RDY) && count++ < 100)
2298 if (count >= 100)
2311 count = 0;
2313 while (!(val & MTK_WED_PN_CHECK_WR_RDY) && count++ < 100)
2315 if (count >= 100)
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_tc_lib.c13 * ice_tc_count_lkups - determine lookup count for switch filter
18 * Determine lookup count based on TC flower input for switch filter.
878 int qcount = vsi->mqprio_qopt.qopt.count[tc];
1916 /* update advanced switch filter count for destination
/linux-master/drivers/infiniband/core/
H A Dcm.c4368 int count = 0; local
4421 count++;
4424 if (!count) {
/linux-master/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_kms.c340 uint32_t count; local
353 count = vmw_fifo_mem_read(dev_priv, SVGA_FIFO_CURSOR_COUNT);
354 vmw_fifo_mem_write(dev_priv, SVGA_FIFO_CURSOR_COUNT, ++count);
2366 VMW_DEBUG_KMS("Layout count = %u\n", arg->num_outputs);
/linux-master/drivers/gpu/drm/ttm/
H A Dttm_pool.c659 unsigned int count = 0; local
665 ++count;
668 return count;
/linux-master/drivers/gpu/drm/radeon/
H A Dradeon_atombios.c3316 u32 count = rdev->pm.dpm.dyn_state.vddc_dependency_on_sclk.count; local
3319 for (entry_id = 0; entry_id < count; entry_id++) {
3325 if (entry_id >= count)
3768 voltage_table->count = formula->ucNumOfVoltageEntries;
3799 voltage_table->count = gpio->ucGpioEntryNum;
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_vm.c990 uint64_t count; local
997 for (count = 2; count < tmp; ++count) {
998 uint64_t idx = pfn + count;
1005 count--;
1006 num_entries = count *
1331 * Free a mapping and make sure we decrease the PRT usage count if applicable.
/linux-master/drivers/char/
H A Drandom.c996 unsigned int count; member in struct:fast_pool
1044 * irq randomness count to zero so that new accumulated irqs
1047 per_cpu_ptr(&irq_randomness, cpu)->count = 0;
1063 unsigned int count; local
1077 count = fast_pool->count;
1078 fast_pool->count = 0;
1083 credit_init_bits(clamp_t(unsigned int, (count & U16_MAX) / 64, 1, sizeof(pool) * 8));
1098 new_count = ++fast_pool->count;
1106 fast_pool->count |
[all...]
/linux-master/fs/btrfs/
H A Dextent-tree.c92 * helper function to lookup reference count and flags of a tree block.
95 * reference count modifications queued up in the rbtree. the head
97 * to see what the reference count and extent flags would be if all of
271 * The reference count of the block is one and the tree is the block's
274 * The reference count of the block is one and the tree is not the
279 * The reference count of the block is greater than one and the tree is
285 * The reference count of the block is greater than one and the tree is
287 * the new block, increase lower level extents' reference count.
1518 * inline extent ref, so just update the reference count and add a
1827 * This is to prevent a ref count fro
2095 unsigned long count = 0; local
[all...]
/linux-master/tools/testing/selftests/ftrace/test.d/event/
H A Dsubsystem-enable.tc21 count=`head -n 100 trace | grep -v ^# | awk '{ print $5 }' | sort -u | wc -l`
22 if [ $count -lt 3 ]; then
32 count=`head -n 100 trace | grep -v ^# | awk '{ print $5 }' | sort -u | wc -l`
33 if [ $count -lt 3 ]; then
43 count=`head -n 100 trace | grep -v ^# | awk '{ print $5 }' | sort -u | wc -l`
44 if [ $count -ne 0 ]; then
/linux-master/kernel/dma/
H A Dswiotlb.c1027 unsigned int index, slots_checked, count = 0, i; local
1109 pool->slots[i].list = ++count;
1414 int count, i; local
1432 count = mem->slots[index + nslots].list;
1434 count = 0;
1441 mem->slots[i].list = ++count;
1454 mem->slots[i].list = ++count;
/linux-master/include/linux/
H A Drwsem.h37 * For an uncontended rwsem, count and owner are the only fields a task
49 atomic_long_t count; member in struct:rw_semaphore
71 #define __RWSEM_COUNT_INIT(name) .count = ATOMIC_LONG_INIT(RWSEM_UNLOCKED_VALUE)
75 return atomic_long_read(&sem->count) != RWSEM_UNLOCKED_VALUE;
80 WARN_ON(atomic_long_read(&sem->count) == RWSEM_UNLOCKED_VALUE);
85 WARN_ON(!(atomic_long_read(&sem->count) & RWSEM_WRITER_LOCKED));
/linux-master/fs/bcachefs/
H A Dfs-io-direct.c81 if ((offset|iter->count) & (SECTOR_SIZE - 1))
84 ret = min_t(loff_t, iter->count,
91 if (shorten >= iter->count)
93 iter->count -= shorten;
132 while (iter->count) {
157 if (iter->count)
163 iter->count += shorten;
181 size_t count = iov_iter_count(iter); local
184 if (!count)
193 iocb->ki_pos + count
[all...]
/linux-master/drivers/virtio/
H A Dvirtio.c386 int ret, count; local
391 count = of_get_available_child_count(pnode);
392 if (!count)
396 if (WARN_ON(count > 1))
/linux-master/drivers/vhost/
H A Dvhost.c1235 int count)
1238 count * sizeof(*head));
2226 unsigned int log_num, u64 len, struct iovec *iov, int count)
2234 for (i = 0; i < count; i++) {
2400 unsigned int i = 0, count, found = 0; local
2422 count = len / sizeof desc;
2425 if (unlikely(count > USHRT_MAX + 1)) {
2433 if (unlikely(++found > count)) {
2436 i, count);
2464 /* If this is an input descriptor, increment that count
1233 vhost_put_used(struct vhost_virtqueue *vq, struct vring_used_elem *head, int idx, int count) argument
2225 vhost_log_write(struct vhost_virtqueue *vq, struct vhost_log *log, unsigned int log_num, u64 len, struct iovec *iov, int count) argument
2655 __vhost_add_used_n(struct vhost_virtqueue *vq, struct vring_used_elem *heads, unsigned count) argument
2689 vhost_add_used_n(struct vhost_virtqueue *vq, struct vring_used_elem *heads, unsigned count) argument
2781 vhost_add_used_and_signal_n(struct vhost_dev *dev, struct vhost_virtqueue *vq, struct vring_used_elem *heads, unsigned count) argument
[all...]
/linux-master/arch/x86/kernel/cpu/
H A Dcommon.c818 /* On K8 L1 TLB is inclusive, so don't count it */
1648 int count = 0; local
1657 if (count >= X86_VENDOR_NUM)
1659 cpu_devs[count] = cpudev;
1660 count++;
/linux-master/arch/x86/events/
H A Dcore.c129 * exchange a new raw count - then add that new-prev delta
130 * count to the generic event atomically:
144 * of the count.
149 local64_add(delta, &event->count);
1566 pr_info("CPU#%d: gen-PMC%d count: %016llx\n",
1576 pr_info("CPU#%d: fixed-PMC%d count: %016llx\n",
1597 * Drain the remaining delta count out of a event
2548 const char *buf, size_t count)
2583 return count;
2546 set_attr_rdpmc(struct device *cdev, struct device_attribute *attr, const char *buf, size_t count) argument
/linux-master/io_uring/
H A Dnet.c1126 bi.bi_size = min(from->count, length);
1145 from->count -= copied;
H A Dio_uring.c605 * posted. Some applications rely on the eventfd notification count
608 * function is called (and hence the eventfd count) and number of CQEs
874 * submission (by quite a lot). Increment the overflow count in
1175 * Run queued task_work, returning the number of entries processed in *count.
1180 unsigned int *count,
1202 (*count)++;
1208 } while (node && *count < max_entries);
1258 unsigned int *count)
1270 node = io_handle_tw_list(node, count, max_entries);
1277 trace_io_uring_task_work_run(tctx, *count);
1179 io_handle_tw_list(struct llist_node *node, unsigned int *count, unsigned int max_entries) argument
1256 tctx_task_work_run(struct io_uring_task *tctx, unsigned int max_entries, unsigned int *count) argument
1285 unsigned int count = 0; local
[all...]
/linux-master/fs/smb/client/
H A Dinode.c2537 int count = 0; local
2554 cifs_dbg(FYI, "Update attributes: %s inode 0x%p count %d dentry: 0x%p d_time %ld jiffies %ld\n",
2568 if (rc == -EAGAIN && count++ < 10)
/linux-master/fs/ceph/
H A Dmds_client.c182 /* snapshot count, remains zero for v<=3 */
1464 static const size_t count = ARRAY_SIZE(feature_bits); local
1466 if (count > 0) {
1468 size_t size = FEATURE_BYTES(count);
1476 for (i = 0; i < count; i++) {
1495 static const size_t count = ARRAY_SIZE(metric_bits); local
1504 if (count > 0) {
1506 size_t size = METRIC_BYTES(count);
1517 for (i = 0; i < count; i++)
1548 size_t size, count; local
2229 int count; local
[all...]
H A Dcaps.c284 ctx->count = need;
313 if (!ctx->count)
316 doutc(cl, "ctx=%p count=%d\n", ctx, ctx->count);
318 __ceph_unreserve_caps(mdsc, ctx->count);
319 ctx->count = 0;
366 ctx->count, mdsc->caps_total_count, mdsc->caps_use_count,
368 BUG_ON(!ctx->count);
369 BUG_ON(ctx->count > mdsc->caps_reserve_count);
372 ctx->count
4700 ceph_get_fmode(struct ceph_inode_info *ci, int fmode, int count) argument
4734 ceph_put_fmode(struct ceph_inode_info *ci, int fmode, int count) argument
[all...]
/linux-master/drivers/md/
H A Draid1.c944 * to count how many activities are happening which preclude
991 * max resync count which allowed on current I/O barrier bucket.
1804 int count = 0; local
1826 count++;
1841 count++;
1845 mddev->degraded -= count;
1849 return count;
/linux-master/drivers/iommu/intel/
H A Dperfmon.c340 local64_add(delta, &event->count);
348 u64 count; local
362 count = dmar_readq(iommu_event_base(iommu_pmu, hwc->idx));
363 local64_set((&hwc->prev_count), count);
372 * - The worst case is that the user will get <not count> with
522 * Accumulate the value into the event->count.

Completed in 313 milliseconds

1234567891011>>