Searched refs:usage (Results 176 - 200 of 506) sorted by relevance

1234567891011>>

/linux-master/tools/laptop/dslm/
H A Ddslm.c126 static void usage(void) function
128 puts("usage: dslm [-w <time>] <disk>");
145 usage();
/linux-master/scripts/
H A Dexport_report.pl42 sub usage { subroutine
68 usage($0);
103 # collect the usage count of each symbol.
143 print "\tThis file reports the exported symbols usage patterns by in-tree\n",
150 printf("SECTION 1:\tThe exported symbols and their usage count\n\n");
168 printf("SECTION 2:\n\tThis section reports export-symbol-usage of in-kernel
H A Dconfig13 usage() { function
57 usage
130 usage
138 usage
227 usage
H A Dobjdiff10 # usage example:
37 usage() { function
72 [ $# -eq 0 ] && usage
94 [ $# -ne 2 ] && [ $# -ne 0 ] && usage
127 [ $# -eq 0 ] && usage
128 [ $# -gt 1 ] && usage
143 [ $# -eq 0 ] && usage
/linux-master/drivers/md/
H A Ddm-snap-transient.c118 .usage = transient_usage,
130 .usage = transient_usage,
/linux-master/drivers/hid/
H A Dhid-google-hammer.c368 /* HID usage for keyboard backlight (Alphanumeric display brightness) */
373 struct hid_usage *usage,
376 if (usage->hid == HID_USAGE_KBD_FOLDED) {
378 * We do not want to have this usage mapped as it will get
412 struct hid_usage *usage, __s32 value)
414 if (usage->hid == HID_USAGE_KBD_FOLDED) {
423 unsigned application, unsigned usage)
437 if (field->usage[j].hid == usage)
485 if (field->usage
371 hammer_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
411 hammer_event(struct hid_device *hid, struct hid_field *field, struct hid_usage *usage, __s32 value) argument
422 hammer_has_usage(struct hid_device *hdev, unsigned int report_type, unsigned application, unsigned usage) argument
[all...]
H A Dhid-sensor-custom.c109 {0x200541, "data-field-custom-usage"},
282 int index, usage, field_index; local
288 if (sscanf(attr->attr.name, "feature-%x-%x-%s", &index, &usage,
292 } else if (sscanf(attr->attr.name, "input-%x-%x-%s", &index, &usage,
352 sensor_inst->hsdev->usage,
353 usage, report_id,
370 usage_desc = bsearch(&usage, hid_custom_usage_desc_table,
389 int index, field_index, usage; local
393 if (sscanf(attr->attr.name, "feature-%x-%x-%s", &index, &usage,
440 header.usage_id = hsdev->usage;
[all...]
H A Dhid-sensor-hub.c42 * @usage_id: usage id for a physical device.
365 if (field->usage[i].hid == usage_id)
366 return field->usage[i].usage_index;
403 field->usage[0].hid ==
405 (field->usage[0].collection_index >=
407 (field->usage[0].collection_index <
498 i, report->field[i]->usage->collection_index,
499 report->field[i]->usage->hid,
505 report->field[i]->usage->collection_index];
506 hid_dbg(hdev, "collection->usage
[all...]
H A Dhid-ntrig.c455 struct hid_field *field, struct hid_usage *usage,
464 switch (usage->hid & HID_USAGE_PAGE) {
466 switch (usage->hid) {
468 hid_map_usage(hi, usage, bit, max,
490 hid_map_usage(hi, usage, bit, max,
515 switch (usage->hid) {
525 hid_map_usage(hi, usage, bit, max,
529 hid_map_usage(hi, usage, bit, max,
546 struct hid_field *field, struct hid_usage *usage,
553 if (usage
454 ntrig_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
545 ntrig_input_mapped(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
566 ntrig_event(struct hid_device *hid, struct hid_field *field, struct hid_usage *usage, __s32 value) argument
[all...]
/linux-master/samples/bpf/
H A Dsyscall_tp_user.c18 static void usage(const char *cmd) function
147 usage(argv[0]);
/linux-master/mm/
H A Dhugetlb_cgroup.c314 unsigned long usage = local
315 h_cg->nodeinfo[folio_nid(folio)]->usage[idx];
317 * This write is not atomic due to fetching usage and writing
321 WRITE_ONCE(h_cg->nodeinfo[folio_nid(folio)]->usage[idx],
322 usage + nr_pages);
363 unsigned long usage = local
364 h_cg->nodeinfo[folio_nid(folio)]->usage[idx];
366 * This write is not atomic due to fetching usage and writing
370 WRITE_ONCE(h_cg->nodeinfo[folio_nid(folio)]->usage[idx],
371 usage
466 unsigned long usage; local
[all...]
/linux-master/fs/bcachefs/
H A Dbuckets.h194 /* Device usage: */
237 struct bch_dev_usage usage,
241 usage.d[BCH_DATA_free].buckets -
247 struct bch_dev_usage usage,
251 usage.d[BCH_DATA_free].buckets
252 + usage.d[BCH_DATA_cached].buckets
253 + usage.d[BCH_DATA_need_gc_gens].buckets
254 + usage.d[BCH_DATA_need_discard].buckets
265 /* Filesystem usage: */
323 : c->usage[journal_se
[all...]
H A Dbuckets.c51 struct bch_fs_usage *usage = c->usage_base; local
53 for (unsigned i = 0; i < ARRAY_SIZE(c->usage); i++)
57 usage->b.reserved += usage->persistent_reserved[i];
63 fs_usage_data_type_to_base(&usage->b, e->data_type, usage->replicas[i]);
69 usage->b.hidden += (dev.d[BCH_DATA_sb].buckets +
85 : ca->usage[journal_seq & JOURNAL_BUF_MASK]);
88 void bch2_dev_usage_read_fast(struct bch_dev *ca, struct bch_dev_usage *usage) argument
95 memcpy(usage, c
275 bch2_dev_usage_to_text(struct printbuf *out, struct bch_dev_usage *usage) argument
[all...]
/linux-master/tools/testing/fault-injection/
H A Dfailcmd.sh18 usage() function
40 Display a usage message and exit
100 usage
199 usage
/linux-master/tools/testing/selftests/bpf/
H A Dima_setup.sh13 usage() function
122 [[ $# -ne 2 ]] && usage
/linux-master/samples/pktgen/
H A Dpktgen_sample01_simple.sh27 [ -z "$DST_MAC" ] && usage && err 2 "Must specify -m dst_mac"
/linux-master/certs/
H A Dsystem_keyring.c63 * must have the digitalSignature usage field set.
115 * keyrings. The new key must have the digitalSignature usage field set.
307 * @usage: The use to which the key is being put.
314 enum key_being_used_for usage,
329 ret = pkcs7_verify(pkcs7, usage);
392 * @usage: The use to which the key is being put.
399 enum key_being_used_for usage,
412 ret = verify_pkcs7_message_sig(data, len, pkcs7, trusted_keys, usage,
311 verify_pkcs7_message_sig(const void *data, size_t len, struct pkcs7_message *pkcs7, struct key *trusted_keys, enum key_being_used_for usage, int (*view_content)(void *ctx, const void *data, size_t len, size_t asn1hdrlen), void *ctx) argument
396 verify_pkcs7_signature(const void *data, size_t len, const void *raw_pkcs7, size_t pkcs7_len, struct key *trusted_keys, enum key_being_used_for usage, int (*view_content)(void *ctx, const void *data, size_t len, size_t asn1hdrlen), void *ctx) argument
/linux-master/include/linux/
H A Dmisc_cgroup.h33 * @usage: Current usage of the resource.
38 atomic64_t usage; member in struct:misc_res
46 * @res: Array of misc resources usage in the cgroup.
/linux-master/tools/testing/selftests/net/
H A Dgre_gso.sh168 # usage
170 usage() function
173 usage: ${0##*/} OPTS
193 h) usage; exit 0;;
194 *) usage; exit 1;;
H A Dvrf_strict_mode_test.sh350 # usage
352 usage() function
355 usage: ${0##*/} OPTS
368 h) usage; exit 0;;
369 *) usage; exit 1;;
H A Darp_ndisc_untracked_subnets.sh247 # usage
249 usage() function
252 usage: ${0##*/} OPTS
265 h) usage; exit 0;;
266 *) usage; exit 1;;
/linux-master/tools/testing/selftests/hid/
H A Dvmtest.sh32 usage() function
216 usage
221 usage
226 usage
/linux-master/kernel/bpf/
H A Dcpumask.c12 * @usage: Object reference counter. When the refcount goes to 0, the
27 refcount_t usage; member in struct:bpf_cpumask
61 refcount_set(&cpumask->usage, 1);
77 refcount_inc(&cpumask->usage);
91 if (!refcount_dec_and_test(&cpumask->usage))
/linux-master/drivers/iio/accel/
H A Dhid-sensor-accel-3d.c158 hsdev->usage, address, report_id,
292 /* Parse report which is specific to an usage id*/
321 hsdev->usage,
328 /* Function to initialize the processing for usage id */
351 if (hsdev->usage == HID_USAGE_SENSOR_ACCEL_3D) {
363 hsdev->usage,
380 hsdev->usage, accel_state);
408 ret = sensor_hub_register_callback(hsdev, hsdev->usage,
424 /* Function to deinitialize the processing for usage id */
431 sensor_hub_remove_callback(hsdev, hsdev->usage);
[all...]
/linux-master/drivers/net/ethernet/qlogic/qed/
H A Dqed_int.c380 u32 usage = 1; local
385 /* wait for usage to zero or count to run out. This is necessary since
395 while (count-- && usage) {
396 usage = qed_rd(p_hwfn, p_ptt, DORQ_REG_PF_USAGE_CNT);
401 if (usage) {
403 "DB recovery: doorbell usage failed to zero after %d usec. usage was %x\n",
404 QED_DB_REC_INTERVAL * QED_DB_REC_COUNT, usage);
1681 p_info->usage.free_cnt--;
1740 p_info->usage
[all...]

Completed in 255 milliseconds

1234567891011>>