Searched refs:count (Results 251 - 275 of 7674) sorted by last modified time

<<11121314151617181920>>

/linux-master/drivers/iommu/amd/
H A Diommu.c715 int count = 0; local
729 if (++count == LOOP_TIMEOUT) {
1207 unsigned int count = 0; local
1216 if (count++) {
1217 if (count == LOOP_TIMEOUT) {
2998 static int alloc_irq_index(struct amd_iommu *iommu, u16 devid, int count, argument
3010 alignment = roundup_pow_of_two(count);
3025 if (c == count) {
3029 index -= count - 1;
/linux-master/drivers/firmware/arm_scmi/
H A Draw_mode.c770 size_t count, loff_t *ppos,
795 cnt = simple_read_from_buffer(buf, count, ppos,
803 size_t count, loff_t *ppos,
809 if (count > rd->tx.len - rd->tx_size)
812 /* On first write attempt @count carries the total full message size. */
814 rd->tx_req_size = count;
824 buf, count);
829 if (cnt < count)
840 return ret ?: count;
868 size_t count, loff_
768 scmi_dbg_raw_mode_common_read(struct file *filp, char __user *buf, size_t count, loff_t *ppos, unsigned int idx) argument
801 scmi_dbg_raw_mode_common_write(struct file *filp, const char __user *buf, size_t count, loff_t *ppos, bool async) argument
866 scmi_dbg_raw_mode_message_read(struct file *filp, char __user *buf, size_t count, loff_t *ppos) argument
874 scmi_dbg_raw_mode_message_write(struct file *filp, const char __user *buf, size_t count, loff_t *ppos) argument
938 scmi_dbg_raw_mode_reset_write(struct file *filp, const char __user *buf, size_t count, loff_t *ppos) argument
967 scmi_dbg_raw_mode_message_async_write(struct file *filp, const char __user *buf, size_t count, loff_t *ppos) argument
984 scmi_test_dbg_raw_mode_notif_read(struct file *filp, char __user *buf, size_t count, loff_t *ppos) argument
1008 scmi_test_dbg_raw_mode_errors_read(struct file *filp, char __user *buf, size_t count, loff_t *ppos) argument
[all...]
/linux-master/drivers/firmware/arm_ffa/
H A Ddriver.c220 int idx, count, flags = 0, sz, buf_sz; local
224 (!buffer || !num_partitions)) /* Just get the count for now */
239 count = partition_info.a2;
250 if (buffer && count <= num_partitions)
251 for (idx = 0; idx < count; idx++)
259 return count;
262 /* buffer is allocated and caller must free the same if returned count > 0 */
266 int count; local
271 count = __ffa_partition_info_get(uuid0_4[0], uuid0_4[1], uuid0_4[2],
273 if (count <
843 int count; local
1178 int count, idx; local
1201 int count, idx, ret; local
[all...]
/linux-master/drivers/cache/
H A Dsifive_ccache.c77 size_t count, loff_t *ppos)
81 if (kstrtouint_from_user(data, count, 0, &val))
87 return count;
76 ccache_write(struct file *file, const char __user *data, size_t count, loff_t *ppos) argument
/linux-master/drivers/ata/
H A Dlibata-scsi.c68 0, /* read retry count */
70 0, /* write retry count */
411 block count in sector count field */
454 args[2] = desc[5]; /* sector count (0:7) */
542 args[2] = desc[5]; /* sector count (0:7) */
1459 tf->nsect = n_block & 0xff; /* Sector count 0 means 256 sectors */
1503 * sector count, and taking into account the device's LBA48
1588 * However, for ATA R/W commands, sector count 0 means
2495 /* sector count, 3
3125 ata_format_dsm_trim_descr(struct scsi_cmnd *cmd, u32 trmax, u64 sector, u32 count) argument
[all...]
/linux-master/block/
H A Dblk-cgroup.c579 int count = BLKG_DESTROY_BATCH_SIZE; local
598 if (!(--count)) {
599 count = BLKG_DESTROY_BATCH_SIZE;
1208 * the nr_cgwbs count goes to zero.
1210 * 2. When the nr_cgwbs count goes to zero, blkcg_destroy_blkgs() is called
1217 * 3. Once the blkcg ref count goes to zero, blkcg_css_free() is called.
1281 * When this count goes to zero, all active cgwbs have finished so the
/linux-master/tools/power/x86/turbostat/
H A Dturbostat.c1403 int logical_node_id; /* 0-based count within the package */
2220 /* Core throttle count */
2425 static int count; local
2427 if ((!count || (header_iterations && !(count % header_iterations))) || !summary_only)
2432 count++;
4661 /* read /proc/interrupt count lines and sum up irqs per cpu */
4670 /* read the count per cpu */
/linux-master/scripts/gcc-plugins/
H A Dstackleak_plugin.c74 gimple_call, bb->count,
/linux-master/net/ipv6/
H A Dip6_fib.c586 w->count = 0;
604 w->skip = w->count;
2130 w->count++;
2245 c.w.count = 0;
2630 iter->w.skip = iter->w.count;
/linux-master/net/bluetooth/
H A Diso.c1741 int count; member in struct:iso_list_data
/linux-master/net/batman-adv/
H A Dtranslation-table.c289 * batadv_tt_global_hash_count() - count the number of orig entries
291 * @addr: the mac address of the client to count entries for
301 int count; local
307 count = atomic_read(&tt_global_entry->orig_list_count);
310 return count;
3593 * table and possibly count them in the TT size
3597 * @count: whether to increase the TT size by the number of changed entries
3600 bool enable, bool count)
3626 if (!count)
3599 batadv_tt_local_set_flags(struct batadv_priv *bat_priv, u16 flags, bool enable, bool count) argument
/linux-master/kernel/trace/
H A Dtrace_events.c1517 * Opening of "enable" adds a ref count to system,
1789 /* Still need to increment the ref count of the system */
3431 unsigned long count; member in struct:event_probe_data
3476 if (!edata->count)
3483 if (edata->count != -1)
3484 (edata->count)--;
3511 if (edata->count == -1)
3514 seq_printf(m, ":count=%ld\n", edata->count);
3662 data->count
[all...]
/linux-master/kernel/
H A Dkprobes.c2981 char __user *user_buf, size_t count, loff_t *ppos)
2991 return simple_read_from_buffer(user_buf, count, ppos, buf, 2);
2995 const char __user *user_buf, size_t count, loff_t *ppos)
3000 ret = kstrtobool_from_user(user_buf, count, &enable);
3008 return count;
2980 read_enabled_file_bool(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
2994 write_enabled_file_bool(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
/linux-master/include/linux/
H A Dsockptr.h147 static inline long strncpy_from_sockptr(char *dst, sockptr_t src, size_t count) argument
150 size_t len = min(strnlen(src.kernel, count - 1) + 1, count);
155 return strncpy_from_user(dst, src.user, count);
H A Ddma-fence.h609 uint32_t count,
/linux-master/include/acpi/
H A Dacpi_bus.h16 u32 count; member in struct:acpi_handle_list
78 .package.count = (cnt), \
/linux-master/fs/bcachefs/
H A Djournal_types.h62 atomic_t count; member in struct:journal_entry_pin_list
237 * Each entry is a reference count. The position in the FIFO is the
240 * The journal entry itself holds a reference count, put when the
242 * entry also holds a reference count, put when the btree node is
245 * When a reference count reaches zero, the journal entry is no longer
H A Djournal_reclaim.c304 !atomic_read(&fifo_peek_front(&j->pin).count)) {
317 return atomic_dec_and_test(&pin_list->count);
348 return atomic_dec_and_test(&pin_list->count) &&
385 atomic_inc(&pin_list->count);
H A Dbtree_locking.c424 * six_unlock() won't do wakeups until the reader count
528 struct six_lock_count count = bch2_btree_node_lock_counts(trans, path, &b->c, level); local
555 six_lock_readers_add(&b->c.lock, -count.n[SIX_LOCK_read]);
557 six_lock_readers_add(&b->c.lock, count.n[SIX_LOCK_read]);
568 * lock count:
H A Dacl.c97 unsigned count = 0; local
130 count++;
136 if (!count)
140 posix_acl_alloc(count, _gfp));
/linux-master/drivers/target/
H A Dtarget_core_configfs.c108 const char *page, size_t count)
120 if (count > (DB_ROOT_LEN - 1)) {
121 pr_err("db_root: count %d exceeds DB_ROOT_LEN-1: %u\n",
122 (int)count, DB_ROOT_LEN - 1);
584 size_t count) \
594 return count; \
605 size_t count) \
615 return count; \
627 size_t count) \
632 return count; \
107 target_core_item_dbroot_store(struct config_item *item, const char *page, size_t count) argument
656 emulate_model_alias_store(struct config_item *item, const char *page, size_t count) argument
686 emulate_write_cache_store(struct config_item *item, const char *page, size_t count) argument
708 emulate_ua_intlck_ctrl_store(struct config_item *item, const char *page, size_t count) argument
738 emulate_tas_store(struct config_item *item, const char *page, size_t count) argument
785 emulate_tpu_store(struct config_item *item, const char *page, size_t count) argument
813 emulate_tpws_store(struct config_item *item, const char *page, size_t count) argument
841 pi_prot_type_store(struct config_item *item, const char *page, size_t count) argument
910 pi_prot_format_store(struct config_item *item, const char *page, size_t count) argument
948 pi_prot_verify_store(struct config_item *item, const char *page, size_t count) argument
977 force_pr_aptpl_store(struct config_item *item, const char *page, size_t count) argument
999 emulate_rest_reord_store(struct config_item *item, const char *page, size_t count) argument
1021 unmap_zeroes_data_store(struct config_item *item, const char *page, size_t count) argument
1057 queue_depth_store(struct config_item *item, const char *page, size_t count) argument
1094 optimal_sectors_store(struct config_item *item, const char *page, size_t count) argument
1124 block_size_store(struct config_item *item, const char *page, size_t count) argument
1165 alua_support_store(struct config_item *item, const char *page, size_t count) argument
1204 pgr_support_store(struct config_item *item, const char *page, size_t count) argument
1234 emulate_rsoc_store(struct config_item *item, const char *page, size_t count) argument
1251 submit_type_store(struct config_item *item, const char *page, size_t count) argument
1425 target_wwn_vendor_id_store(struct config_item *item, const char *page, size_t count) argument
1481 target_wwn_product_id_store(struct config_item *item, const char *page, size_t count) argument
1537 target_wwn_revision_store(struct config_item *item, const char *page, size_t count) argument
1596 target_wwn_company_id_store(struct config_item *item, const char *page, size_t count) argument
1645 target_wwn_vpd_unit_serial_store(struct config_item *item, const char *page, size_t count) argument
2059 target_pr_res_aptpl_metadata_store(struct config_item *item, const char *page, size_t count) argument
2292 target_dev_control_store(struct config_item *item, const char *page, size_t count) argument
2310 target_dev_alias_store(struct config_item *item, const char *page, size_t count) argument
2350 target_dev_udev_path_store(struct config_item *item, const char *page, size_t count) argument
2388 target_dev_enable_store(struct config_item *item, const char *page, size_t count) argument
2432 target_dev_alua_lu_gp_store(struct config_item *item, const char *page, size_t count) argument
2556 target_dev_lba_map_store(struct config_item *item, const char *page, size_t count) argument
2728 target_lu_gp_lu_gp_id_store(struct config_item *item, const char *page, size_t count) argument
2894 target_tg_pt_gp_alua_access_state_store(struct config_item *item, const char *page, size_t count) argument
2946 target_tg_pt_gp_alua_access_status_store( struct config_item *item, const char *page, size_t count) argument
2984 target_tg_pt_gp_alua_access_type_store(struct config_item *item, const char *page, size_t count) argument
3043 target_tg_pt_gp_alua_write_metadata_store( struct config_item *item, const char *page, size_t count) argument
3072 target_tg_pt_gp_nonop_delay_msecs_store(struct config_item *item, const char *page, size_t count) argument
3085 target_tg_pt_gp_trans_delay_msecs_store(struct config_item *item, const char *page, size_t count) argument
3098 target_tg_pt_gp_implicit_trans_secs_store( struct config_item *item, const char *page, size_t count) argument
3111 target_tg_pt_gp_preferred_store(struct config_item *item, const char *page, size_t count) argument
3127 target_tg_pt_gp_tg_pt_gp_id_store(struct config_item *item, const char *page, size_t count) argument
3496 target_hba_mode_store(struct config_item *item, const char *page, size_t count) argument
[all...]
/linux-master/drivers/scsi/
H A Dsg.c172 int open_cnt; /* count of opens (perhaps < num(sfds) ) */
184 static ssize_t sg_new_read(Sg_fd * sfp, char __user *buf, size_t count,
187 const char __user *buf, size_t count, int blocking,
303 /* This driver's module count bumped by fops_get in <linux/fs.h> */
411 static int get_sg_io_pack_id(int *pack_id, void __user *buf, size_t count) argument
416 if (count >= SZ_SG_HEADER) {
425 count >= sizeof(struct compat_sg_io_hdr)) {
431 if (count >= sizeof(struct sg_io_hdr)) {
444 sg_read(struct file *filp, char __user *buf, size_t count, loff_t * ppos) argument
466 "sg_read: count
561 sg_new_read(Sg_fd * sfp, char __user *buf, size_t count, Sg_request * srp) argument
602 sg_write(struct file *filp, const char __user *buf, size_t count, loff_t * ppos) argument
715 sg_new_write(Sg_fd *sfp, struct file *file, const char __user *buf, size_t count, int blocking, int read_only, int sg_io_owned, Sg_request **o_srp) argument
1176 int count = 0; local
2398 sg_proc_write_adio(struct file *filp, const char __user *buffer, size_t count, loff_t *off) argument
2419 sg_proc_write_dressz(struct file *filp, const char __user *buffer, size_t count, loff_t *off) argument
[all...]
/linux-master/drivers/scsi/qla2xxx/
H A Dqla_edif.c166 entry->count = 0;
184 entry->count = 0;
3023 /* Map the sg table so we have an accurate count of sg entries needed */
3153 /* Set total data segment count. */
3183 /* Set total data segment count. */
3443 if (edif_entry->count++ < EDIF_RX_DELETE_FILTER_COUNT) {
/linux-master/drivers/scsi/hisi_sas/
H A Dhisi_sas_v3_hw.c2828 const char *buf, size_t count)
2850 return count;
2867 *attr, const char *buf, size_t count)
2889 return count;
2949 int count; member in struct:hisi_sas_debugfs_reg
3006 .count = 0x100,
3080 .count = 0x800,
3093 .count = 0x61,
3110 .count = 0x10,
3415 dev_err(dev, "iopoll queue count
2826 intr_coal_ticks_v3_hw_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
2865 intr_coal_count_v3_hw_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
3869 debugfs_trigger_dump_v3_hw_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
3934 debugfs_bist_linkrate_v3_hw_write(struct file *filp, const char __user *buf, size_t count, loff_t *ppos) argument
4008 debugfs_bist_code_mode_v3_hw_write(struct file *filp, const char __user *buf, size_t count, loff_t *ppos) argument
4047 debugfs_bist_phy_v3_hw_write(struct file *filp, const char __user *buf, size_t count, loff_t *ppos) argument
4081 debugfs_bist_cnt_v3_hw_write(struct file *filp, const char __user *buf, size_t count, loff_t *ppos) argument
4141 debugfs_bist_mode_v3_hw_write(struct file *filp, const char __user *buf, size_t count, loff_t *ppos) argument
4178 debugfs_bist_enable_v3_hw_write(struct file *filp, const char __user *buf, size_t count, loff_t *ppos) argument
4229 debugfs_v3_hw_write(struct file *filp, const char __user *buf, size_t count, loff_t *ppos) argument
4254 debugfs_phy_down_cnt_v3_hw_write(struct file *filp, const char __user *buf, size_t count, loff_t *ppos) argument
4381 debugfs_fifo_update_cfg_v3_hw_write(struct file *filp, const char __user *buf, size_t count, loff_t *ppos) argument
[all...]
/linux-master/drivers/platform/x86/
H A Dtoshiba_acpi.c324 params.count = TCI_WORDS;
337 if ((status == AE_OK) && (out_objs->package.count <= TCI_WORDS)) {
338 for (i = 0; i < out_objs->package.count; ++i)
1479 size_t count, loff_t *pos)
1487 len = min(count, sizeof(cmd) - 1);
1500 return count;
1550 size_t count, loff_t *pos)
1556 int remain = count;
1561 cmd = memdup_user_nul(buf, count);
1605 return ret ? -EIO : count;
1478 lcd_proc_write(struct file *file, const char __user *buf, size_t count, loff_t *pos) argument
1549 video_proc_write(struct file *file, const char __user *buf, size_t count, loff_t *pos) argument
1660 fan_proc_write(struct file *file, const char __user *buf, size_t count, loff_t *pos) argument
1731 keys_proc_write(struct file *file, const char __user *buf, size_t count, loff_t *pos) argument
1825 fan_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1862 kbd_backlight_mode_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
1976 kbd_backlight_timeout_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
2033 touchpad_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
2084 usb_sleep_charge_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
2148 sleep_functions_on_battery_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
2201 usb_rapid_charge_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
2237 usb_sleep_music_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
2273 kbd_function_keys_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
2316 panel_power_on_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
2354 usb_three_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
2397 cooling_method_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
3081 charge_control_end_threshold_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
[all...]

Completed in 866 milliseconds

<<11121314151617181920>>