Searched refs:count (Results 51 - 75 of 7674) sorted by last modified time

1234567891011>>

/linux-master/drivers/gpu/drm/amd/display/dc/bios/
H A Dbios_parser2.c137 unsigned int count = 0; local
145 count++;
152 count++;
156 return count;
460 uint32_t count = 0; local
486 /* get data count */
487 count = (le16_to_cpu(header->table_header.structuresize)
493 for (table_index = 0; table_index < count; table_index++) {
656 uint32_t count = 0; local
676 count
[all...]
/linux-master/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm.c386 * @planes_count: planes count to update
465 /* Update to correct count and vblank timestamp if racing with
472 * count and timestamp of vblank of flip completion.
481 /* VRR active and inside front-porch: vblank count and
486 * updated timestamp and count, once it runs after us.
494 /* sequence will be replaced by real count during send-out. */
504 * of pageflip completion, so last_flip_vblank is the forbidden count
856 u32 count = 0; local
913 count++;
915 } while (count <
4761 s3_debug_store(struct device *device, struct device_attribute *attr, const char *buf, size_t count) argument
6496 panel_power_savings_store(struct device *device, struct device_attribute *attr, const char *buf, size_t count) argument
11559 dm_execute_dmub_cmd_list(const struct dc_context *ctx, unsigned int count, union dmub_rb_cmd *cmd, enum dm_dmub_wait_type wait_type) argument
[all...]
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ttm.c1543 size_t count, size = cursor.size; local
1546 count = amdgpu_device_aper_access(adev, pos, buf, size, write);
1547 size -= count;
1550 pos += count;
1551 buf += count;
/linux-master/drivers/firewire/
H A Dnosy.c338 nosy_read(struct file *file, char __user *buffer, size_t count, loff_t *offset) argument
342 return packet_buffer_get(client, buffer, count);
/linux-master/arch/xtensa/platforms/iss/
H A Dconsole.c42 if (tty->count == 1)
50 if (tty->count == 1)
55 static ssize_t rs_write(struct tty_struct * tty, const u8 *buf, size_t count) argument
59 simc_write(1, buf, count);
60 return count;
167 static void iss_console_write(struct console *co, const char *s, unsigned count) argument
170 simc_write(1, s, min(count, strlen(s)));
/linux-master/arch/xtensa/kernel/
H A Dprocess.c381 int count = 0; local
398 } while (count++ < 16);
/linux-master/arch/s390/mm/
H A Dgmap.c2728 unsigned long count; member in struct:reset_walk_state
2741 p->pfns[p->count] = phys_to_pfn(pte_val(pte));
2743 p->count++;
2745 return p->count >= GATHER_GET_PAGES;
2757 void s390_uv_destroy_pfns(unsigned long count, unsigned long *pfns) argument
2761 for (i = 0; i < count; i++) {
2792 state.count = 0;
2797 s390_uv_destroy_pfns(state.count, state.pfns);
/linux-master/net/sunrpc/
H A Dxprtsock.c206 static void xs_pktdump(char *msg, u32 *packet, unsigned int count) argument
212 for (j = 0; j < count && j < 128; j += 4) {
224 static inline void xs_pktdump(char *msg, u32 *packet, unsigned int count) argument
418 struct kvec *kvec, size_t count, size_t seek)
420 iov_iter_kvec(&msg->msg_iter, ITER_DEST, kvec, 1, count);
426 struct bio_vec *bvec, unsigned long nr, size_t count,
429 iov_iter_bvec(&msg->msg_iter, ITER_DEST, bvec, nr, count);
435 size_t count)
437 iov_iter_discard(&msg->msg_iter, ITER_DEST, count);
443 xs_flush_bvec(const struct bio_vec *bvec, size_t count, size_ argument
417 xs_read_kvec(struct socket *sock, struct msghdr *msg, int flags, struct kvec *kvec, size_t count, size_t seek) argument
425 xs_read_bvec(struct socket *sock, struct msghdr *msg, int flags, struct bio_vec *bvec, unsigned long nr, size_t count, size_t seek) argument
434 xs_read_discard(struct socket *sock, struct msghdr *msg, int flags, size_t count) argument
456 xs_flush_bvec(const struct bio_vec *bvec, size_t count, size_t seek) argument
462 xs_read_xdr_buf(struct socket *sock, struct msghdr *msg, int flags, struct xdr_buf *buf, size_t count, size_t seek, size_t *read) argument
[all...]
/linux-master/kernel/
H A Dworkqueue.c261 int refcnt; /* L: reference count */
1743 * Try to increment nr_active for @pwq. Returns %true if an nr_active count is
1931 * Acquire an nr_active count and activate the inactive work item. If
1960 * pwq_dec_nr_active - Retire an active count
1990 * multiple pwqs and pools may be sharing the nr_active count. When a
1991 * pwq needs to wait for an nr_active count, it puts itself on
4853 * reference count and return it. If there already is a matching
6892 size_t count)
6901 return count;
6954 const char *buf, size_t count)
6890 max_active_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
6953 wq_nice_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
6991 wq_cpumask_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
7034 wq_affn_scope_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
7066 wq_affinity_strict_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
7169 wq_unbound_cpumask_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
[all...]
H A Dprofile.c4 * Simple profiling. Manages a direct-mapped profile hit count buffer,
13 * Amortized hit count accounting via per-cpu open-addressed hashtables
354 read_profile(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument
364 if (count > (prof_len+1)*sizeof(unsigned int) - p)
365 count = (prof_len+1)*sizeof(unsigned int) - p;
368 while (p < sizeof(unsigned int) && count > 0) {
371 buf++; p++; count--; read++;
374 if (copy_to_user(buf, (void *)pnt, count))
376 read += count;
394 size_t count, loff_
393 write_profile(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument
[all...]
H A Dcpu.c2761 const char *buf, size_t count)
2798 return ret ? ret : count;
2811 const char *buf, size_t count)
2823 return count;
2857 return count;
2926 const char *buf, size_t count)
2972 return ret ? ret : count;
2978 const char *buf, size_t count)
3012 const char *buf, size_t count)
3014 return __store_smt_control(dev, attr, buf, count);
2760 target_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
2810 fail_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
2925 __store_smt_control(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
2977 __store_smt_control(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
3011 control_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
[all...]
/linux-master/fs/nfsd/
H A Dnfs4xdr.c325 u32 count; local
327 if (xdr_stream_decode_u32(argp->xdr, &count) < 0)
330 if (count > xdr_stream_remaining(argp->xdr) / 20)
338 *acl = svcxdr_tmpalloc(argp, nfs4_acl_bytes(count));
342 (*acl)->naces = count;
343 for (ace = (*acl)->aces; ace < (*acl)->aces + count; ace++) {
1541 u32 count, window, num_gss_handles; local
1550 if (xdr_stream_decode_u32(argp->xdr, &count) < 0)
1552 while (count--) {
1559 if (xdr_stream_decode_u32(argp->xdr, &count) <
1608 u32 count; local
1980 u32 consecutive, i, count, sync; local
2602 int strlen, count=0; local
5103 u32 count = nfsd4_copy_is_sync(copy) ? 0 : 1; local
5410 u32 left, xdrleft, slen, count; local
[all...]
/linux-master/fs/nfs/
H A Dinode.c706 /* Barrier: bump the attribute generation count. */
931 refcount_set(&l_ctx->count, 1);
944 if (refcount_inc_not_zero(&pos->count))
987 if (!refcount_dec_and_lock(&l_ctx->count, &inode->i_lock))
1062 if (ctx != NULL && refcount_inc_not_zero(&ctx->lock_context.count))
1073 if (!refcount_dec_and_test(&ctx->lock_context.count))
1533 /* Has the link count changed? */
/linux-master/drivers/scsi/
H A Dsd.c137 const char *buf, size_t count)
173 return count;
202 return count;
232 const char *buf, size_t count)
246 return count;
263 const char *buf, size_t count)
277 return count;
292 const char *buf, size_t count)
306 return count;
320 const char *buf, size_t count)
136 cache_type_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
230 manage_system_start_stop_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
261 manage_runtime_start_stop_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
290 manage_shutdown_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
319 allow_restart_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
370 protection_type_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
454 provisioning_mode_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
500 zeroing_mode_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
529 max_medium_access_timeouts_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
555 max_write_same_blocks_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
603 max_retries_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
[all...]
/linux-master/arch/arm64/kvm/vgic/
H A Dvgic-kvm-device.c161 u32 count = FIELD_GET(KVM_VGIC_V3_RDIST_COUNT_MASK, addr); local
164 if (!count || flags)
168 base, count);
180 addr |= (u64)rdreg->count << KVM_VGIC_V3_RDIST_COUNT_SHIFT;
/linux-master/kernel/sched/
H A Dfair.c1659 * The further away a node is, the less the faults count.
2859 * count according to CPU use, instead of by the raw
6342 int count = 0; local
6352 if (++count > 3) {
6379 /* reset count so we don't come right back in here */
6380 count = 0;
6991 * non-monogamous, with partner count exceeding socket size.
6994 * whatever is irrelevant, spread criteria is apparent partner count exceeds
/linux-master/fs/smb/client/
H A Dcifspdu.h433 put_bcc(__u16 count, struct smb_hdr *hdr) argument
437 put_unaligned_le16(count, bc_ptr);
1559 /* struct smb_hdr hdr precedes. Note wct = 10 + setup count */
2411 __le16 access_entry_count; /* access ACL - count of entries */
2412 __le16 default_entry_count; /* default ACL - count of entries */
/linux-master/fs/erofs/
H A Dinternal.h421 static inline void *erofs_vm_map_ram(struct page **pages, unsigned int count) argument
426 void *p = vm_map_ram(pages, count, -1);
H A Dfscache.c265 size_t count; local
300 count = req->len - req->submitted;
304 iov_iter_xarray(&iter, ITER_DEST, &mapping->i_pages, pos, count);
305 iov_iter_zero(count, &iter);
306 req->submitted += count;
310 count = min_t(size_t, map.m_llen - (pos - map.m_la), count);
311 DBG_BUGON(!count || count % PAGE_SIZE);
324 iov_iter_xarray(&io->iter, ITER_DEST, &mapping->i_pages, pos, count);
[all...]
/linux-master/drivers/misc/eeprom/
H A Dat24.c89 void (*read_post)(unsigned int off, char *buf, size_t count);
124 void (*read_post)(unsigned int off, char *buf, size_t count);
144 static void at24_read_post_vaio(unsigned int off, char *buf, size_t count) argument
157 for (i = 0; i < count; i++) {
315 unsigned int offset, size_t count)
322 * the next slave address: truncate the count to the slave boundary,
328 if (count > remainder)
329 count = remainder;
332 if (count > at24_io_limit)
333 count
314 at24_adjust_read_count(struct at24_data *at24, unsigned int offset, size_t count) argument
338 at24_regmap_read(struct at24_data *at24, char *buf, unsigned int offset, size_t count) argument
361 count, offset, ret, jiffies); local
380 at24_adjust_write_count(struct at24_data *at24, unsigned int offset, size_t count) argument
397 at24_regmap_write(struct at24_data *at24, const char *buf, unsigned int offset, size_t count) argument
417 count, offset, ret, jiffies); local
427 at24_read(void *priv, unsigned int off, void *val, size_t count) argument
471 at24_write(void *priv, unsigned int off, void *val, size_t count) argument
[all...]
/linux-master/drivers/irqchip/
H A Dirq-gic-v3-its.c1026 u32 count = 1000000; /* 1s! */ local
1029 count--;
1030 if (!count) {
1079 u32 count = 1000000; /* 1s! */ local
1105 count--;
1106 if (!count) {
1590 int count = S32_MAX; local
1594 if (this_count < count) {
1596 count = this_count;
3063 u32 count local
4304 u32 count = 1000000; /* 1s! */ local
4645 u32 count = 1000000; /* 1s */ local
5532 int count; local
[all...]
/linux-master/drivers/i2c/
H A Di2c-core-base.c1225 const char *buf, size_t count)
1278 return count;
1293 const char *buf, size_t count)
1324 res = count;
1869 * and increment the adapter module's use count. If no adapter can be found,
2313 * @count: How many bytes to transfer, must be less than 64k since msg.len is u16
2319 int count, u16 flags)
2325 .len = count,
2335 return (ret == 1) ? count : ret;
1224 new_device_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1292 delete_device_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
2318 i2c_transfer_buffer_flags(const struct i2c_client *client, char *buf, int count, u16 flags) argument
/linux-master/drivers/dma/
H A Dpl330.c2145 int count = dma_spec->args_count; local
2152 if (count != 1)
2550 gfp_t flg, int count)
2556 desc = kcalloc(count, sizeof(*desc), flg);
2562 for (i = 0; i < count; i++) {
2569 return count;
2549 add_desc(struct list_head *pool, spinlock_t *lock, gfp_t flg, int count) argument
/linux-master/drivers/dma/idxd/
H A Dperfmon.c258 local64_add(delta, &event->count);
284 /* Update event->count for overflowed counter */
590 /* A counter width of 0 means it can't count */
H A Didxd.h734 void multi_u64_to_bmap(unsigned long *bmap, u64 *val, int count);

Completed in 556 milliseconds

1234567891011>>