Home
last modified time | relevance | path

Searched refs:attr (Results 2376 - 2400 of 7937) sorted by relevance

1...<<919293949596979899100>>...318

/kernel/linux/linux-5.10/drivers/scsi/bnx2i/
H A Dbnx2i_sysfs.c33 * @attr: device attribute (unused)
40 struct device_attribute *attr, char *buf) in bnx2i_show_sq_info()
51 * @attr: device attribute (unused)
60 struct device_attribute *attr, in bnx2i_set_sq_info()
92 * @attr: device attribute (unused)
98 struct device_attribute *attr, char *buf) in bnx2i_show_ccell_info()
109 * @attr: device attribute (unused)
116 struct device_attribute *attr, in bnx2i_set_ccell_info()
39 bnx2i_show_sq_info(struct device *dev, struct device_attribute *attr, char *buf) bnx2i_show_sq_info() argument
59 bnx2i_set_sq_info(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) bnx2i_set_sq_info() argument
97 bnx2i_show_ccell_info(struct device *dev, struct device_attribute *attr, char *buf) bnx2i_show_ccell_info() argument
115 bnx2i_set_ccell_info(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) bnx2i_set_ccell_info() argument
/kernel/linux/linux-5.10/drivers/soc/renesas/
H A Dr8a7795-sysc.c73 const struct soc_device_attribute *attr; in r8a7795_sysc_init() local
76 attr = soc_device_match(r8a7795_quirks_match); in r8a7795_sysc_init()
77 if (attr) in r8a7795_sysc_init()
78 quirks = (uintptr_t)attr->data; in r8a7795_sysc_init()
/kernel/linux/linux-5.10/tools/lib/lockdep/include/liblockdep/
H A Drwlock.h24 const pthread_rwlockattr_t *attr) in __rwlock_init()
28 return pthread_rwlock_init(&lock->rwlock, attr); in __rwlock_init()
31 #define liblockdep_pthread_rwlock_init(lock, attr) \
35 __rwlock_init((lock), #lock, &__key, (attr)); \
21 __rwlock_init(liblockdep_pthread_rwlock_t *lock, const char *name, struct lock_class_key *key, const pthread_rwlockattr_t *attr) __rwlock_init() argument
/kernel/linux/linux-5.10/net/ieee802154/
H A Dsysfs.c28 struct device_attribute *attr, \
38 struct device_attribute *attr, in name_show()
55 &dev_attr_index.attr,
56 &dev_attr_name.attr,
37 name_show(struct device *dev, struct device_attribute *attr, char *buf) name_show() argument
/kernel/linux/linux-5.10/include/linux/
H A Dmbus.h61 u8 *attr);
72 u8 *target, u8 *attr) in mvebu_mbus_get_io_win_info()
89 int mvebu_mbus_get_dram_win_info(phys_addr_t phyaddr, u8 *target, u8 *attr);
103 u8 *attr) in mvebu_mbus_get_dram_win_info()
71 mvebu_mbus_get_io_win_info(phys_addr_t phyaddr, u32 *size, u8 *target, u8 *attr) mvebu_mbus_get_io_win_info() argument
102 mvebu_mbus_get_dram_win_info(phys_addr_t phyaddr, u8 *target, u8 *attr) mvebu_mbus_get_dram_win_info() argument
/kernel/linux/linux-6.6/include/linux/
H A Dmbus.h61 u8 *attr);
72 u8 *target, u8 *attr) in mvebu_mbus_get_io_win_info()
89 int mvebu_mbus_get_dram_win_info(phys_addr_t phyaddr, u8 *target, u8 *attr);
103 u8 *attr) in mvebu_mbus_get_dram_win_info()
71 mvebu_mbus_get_io_win_info(phys_addr_t phyaddr, u32 *size, u8 *target, u8 *attr) mvebu_mbus_get_io_win_info() argument
102 mvebu_mbus_get_dram_win_info(phys_addr_t phyaddr, u8 *target, u8 *attr) mvebu_mbus_get_dram_win_info() argument
/kernel/linux/linux-6.6/drivers/pmdomain/renesas/
H A Dr8a7795-sysc.c67 const struct soc_device_attribute *attr; in r8a7795_sysc_init() local
70 attr = soc_device_match(r8a7795_quirks_match); in r8a7795_sysc_init()
71 if (attr) in r8a7795_sysc_init()
72 quirks = (uintptr_t)attr->data; in r8a7795_sysc_init()
/kernel/linux/linux-6.6/drivers/infiniband/hw/mana/
H A Dcq.c8 int mana_ib_create_cq(struct ib_cq *ibcq, const struct ib_cq_init_attr *attr, in mana_ib_create_cq() argument
29 if (attr->cqe > MAX_SEND_BUFFERS_PER_QUEUE) { in mana_ib_create_cq()
30 ibdev_dbg(ibdev, "CQE %d exceeding limit\n", attr->cqe); in mana_ib_create_cq()
34 cq->cqe = attr->cqe; in mana_ib_create_cq()
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/
H A Dintel_gt_sysfs.c55 struct kobj_attribute *attr, in id_show()
58 struct intel_gt *gt = intel_gt_sysfs_get_drvdata(kobj, attr->attr.name); in id_show()
65 &attr_id.attr,
54 id_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) id_show() argument
/kernel/linux/linux-6.6/drivers/hwmon/
H A Dltq-cputemp.c33 u32 attr, int channel, long *temp) in ltq_read()
37 switch (attr) { in ltq_read()
56 u32 attr, int channel) in ltq_is_visible()
61 switch (attr) { in ltq_is_visible()
32 ltq_read(struct device *dev, enum hwmon_sensor_types type, u32 attr, int channel, long *temp) ltq_read() argument
55 ltq_is_visible(const void *_data, enum hwmon_sensor_types type, u32 attr, int channel) ltq_is_visible() argument
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/pmu/ebb/
H A Dcpu_event_pinned_vs_ebb_test.c26 event->attr.pinned = 1; in setup_cpu_event()
28 event->attr.exclude_kernel = 1; in setup_cpu_event()
29 event->attr.exclude_hv = 1; in setup_cpu_event()
30 event->attr.exclude_idle = 1; in setup_cpu_event()
/kernel/liteos_a/testsuites/kernel/sample/posix/mutex/full/
H A DIt_posix_mutex_071.c87 pthread_attr_t attr; in Testcase() local
97 ret = PosixPthreadInit(&attr, 4); // 4, Set thread priority. in Testcase()
100 ret = pthread_create(&newTh, &attr, TaskF01, NULL); in Testcase()
115 ret = PosixPthreadDestroy(&attr, newTh); in Testcase()
H A DIt_posix_mutex_072.c87 pthread_attr_t attr; in Testcase() local
97 ret = PosixPthreadInit(&attr, 10); // 10, Set thread priority. in Testcase()
100 ret = pthread_create(&newTh, &attr, TaskF01, NULL); in Testcase()
115 ret = PosixPthreadDestroy(&attr, newTh); in Testcase()
H A DIt_posix_mutex_076.c59 pthread_attr_t attr; in Testcase() local
85 ret = PosixPthreadInit(&attr, 4); // 4, Set thread priority. in Testcase()
88 ret = pthread_create(&newTh, &attr, TaskF01, NULL); in Testcase()
102 ret = PosixPthreadDestroy(&attr, newTh); in Testcase()
H A DIt_posix_mutex_068.c87 pthread_attr_t attr; in Testcase() local
98 ret = PosixPthreadInit(&attr, 10); // 10, Set thread priority. in Testcase()
101 ret = pthread_create(&newTh, &attr, TaskF01, NULL); in Testcase()
122 ret = PosixPthreadDestroy(&attr, newTh); in Testcase()
H A DIt_posix_mutex_069.c73 pthread_attr_t attr; in Testcase() local
80 ret = PosixPthreadInit(&attr, 4); // 4, Set thread priority. in Testcase()
83 ret = pthread_create(&newTh, &attr, TaskF01, NULL); in Testcase()
108 ret = PosixPthreadDestroy(&attr, newTh); in Testcase()
/kernel/liteos_m/testsuites/sample/posix/mqueue/
H A DIt_posix_queue_020.c40 struct mq_attr attr = {0}; in Testcase() local
46 attr.mq_msgsize = MQUEUE_STANDARD_NAME_LENGTH; in Testcase()
47 attr.mq_maxmsg = MQUEUE_SHORT_ARRAY_LENGTH; in Testcase()
48 mqueue = mq_open(mqname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, &attr); in Testcase()
H A DIt_posix_queue_012.c40 struct mq_attr attr = {0}; in Testcase() local
46 attr.mq_msgsize = MQUEUE_STANDARD_NAME_LENGTH; in Testcase()
47 attr.mq_maxmsg = MQUEUE_STANDARD_NAME_LENGTH; in Testcase()
49 mqueue1 = mq_open(mqname, O_CREAT | O_RDWR | O_NONBLOCK, S_IRUSR | S_IWUSR, &attr); in Testcase()
H A DIt_posix_queue_027.c39 struct mq_attr attr = {0}; in Testcase() local
45 attr.mq_msgsize = MQUEUE_STANDARD_NAME_LENGTH; in Testcase()
46 attr.mq_maxmsg = MQUEUE_SHORT_ARRAY_LENGTH; in Testcase()
48 mqueue = mq_open(mqname, O_CREAT | O_RDWR | O_NONBLOCK, S_IRUSR | S_IWUSR, &attr); in Testcase()
H A DIt_posix_queue_028.c39 struct mq_attr attr = {0}; in Testcase() local
45 attr.mq_msgsize = MQUEUE_STANDARD_NAME_LENGTH; in Testcase()
46 attr.mq_maxmsg = MQUEUE_SHORT_ARRAY_LENGTH; in Testcase()
47 mqueue = mq_open(mqname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, &attr); in Testcase()
H A DIt_posix_queue_029.c39 struct mq_attr attr = {0}; in Testcase() local
45 attr.mq_msgsize = MQUEUE_STANDARD_NAME_LENGTH; in Testcase()
46 attr.mq_maxmsg = MQUEUE_SHORT_ARRAY_LENGTH; in Testcase()
47 mqueue = mq_open(mqname, O_CREAT | O_RDWR | O_NONBLOCK, S_IRUSR | S_IWUSR, &attr); in Testcase()
H A DIt_posix_queue_038.c41 struct mq_attr attr = {0}; in Testcase() local
47 attr.mq_msgsize = MQUEUE_STANDARD_NAME_LENGTH; in Testcase()
48 attr.mq_maxmsg = MQUEUE_STANDARD_NAME_LENGTH; in Testcase()
49 mqueue = mq_open(mqname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, &attr); in Testcase()
/kernel/liteos_m/testsuites/sample/posix/mutex/
H A DIt_posix_mutex_032.c52 pthread_attr_t attr; in Testcase() local
78 ret = PosixPthreadInit(&attr, 4); // 4, Set thread priority. in Testcase()
81 ret = pthread_create(&newTh, &attr, TaskF01, NULL); in Testcase()
95 ret = PosixPthreadDestroy(&attr, newTh); in Testcase()
H A DIt_posix_mutex_041.c80 pthread_attr_t attr; in Testcase() local
91 ret = PosixPthreadInit(&attr, MUTEX_TEST_DEFAULT_PRIO); in Testcase()
94 ret = pthread_create(&newTh, &attr, TaskF01, NULL); in Testcase()
115 ret = PosixPthreadDestroy(&attr, newTh); in Testcase()
H A DIt_posix_mutex_042.c80 pthread_attr_t attr; in Testcase() local
90 ret = PosixPthreadInit(&attr, MUTEX_TEST_DEFAULT_PRIO); in Testcase()
93 ret = pthread_create(&newTh, &attr, TaskF01, NULL); in Testcase()
108 ret = PosixPthreadDestroy(&attr, newTh); in Testcase()

Completed in 9 milliseconds

1...<<919293949596979899100>>...318