/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
H A D | obj_name.c | 25 union bpf_attr attr; in test_obj_name() local 29 /* test different attr.prog_name during BPF_PROG_LOAD */ in test_obj_name() 30 ncopy = name_len < sizeof(attr.prog_name) ? in test_obj_name() 31 name_len : sizeof(attr.prog_name); in test_obj_name() 32 bzero(&attr, sizeof(attr)); in test_obj_name() 33 attr.prog_type = BPF_PROG_TYPE_SCHED_CLS; in test_obj_name() 34 attr.insn_cnt = 2; in test_obj_name() 35 attr.insns = ptr_to_u64(prog); in test_obj_name() 36 attr in test_obj_name() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A D | obj_name.c | 25 union bpf_attr attr; in test_obj_name() local 29 /* test different attr.prog_name during BPF_PROG_LOAD */ in test_obj_name() 30 ncopy = name_len < sizeof(attr.prog_name) ? in test_obj_name() 31 name_len : sizeof(attr.prog_name); in test_obj_name() 32 bzero(&attr, sizeof(attr)); in test_obj_name() 33 attr.prog_type = BPF_PROG_TYPE_SCHED_CLS; in test_obj_name() 34 attr.insn_cnt = 2; in test_obj_name() 35 attr.insns = ptr_to_u64(prog); in test_obj_name() 36 attr in test_obj_name() [all...] |
/kernel/liteos_a/compat/posix/src/ |
H A D | pthread_mutex.c | 35 int pthread_mutexattr_init(pthread_mutexattr_t *attr) in pthread_mutexattr_init() argument 37 unsigned int ret = LOS_MuxAttrInit(attr); in pthread_mutexattr_init() 43 attr->protocol = PTHREAD_PRIO_INHERIT; in pthread_mutexattr_init() 45 attr->protocol = PTHREAD_PRIO_PROTECT; in pthread_mutexattr_init() 47 attr->protocol = PTHREAD_PRIO_NONE; in pthread_mutexattr_init() 49 attr->type = PTHREAD_MUTEX_NORMAL; in pthread_mutexattr_init() 53 int pthread_mutexattr_destroy(pthread_mutexattr_t *attr) in pthread_mutexattr_destroy() argument 55 return LOS_MuxAttrDestroy(attr); in pthread_mutexattr_destroy() 58 int pthread_mutexattr_setprotocol(pthread_mutexattr_t *attr, int protocol) in pthread_mutexattr_setprotocol() argument 60 return LOS_MuxAttrSetProtocol(attr, protoco in pthread_mutexattr_setprotocol() 63 pthread_mutexattr_getprotocol(const pthread_mutexattr_t *attr, int *protocol) pthread_mutexattr_getprotocol() argument 68 pthread_mutexattr_setprioceiling(pthread_mutexattr_t *attr, int prioceiling) pthread_mutexattr_setprioceiling() argument 73 pthread_mutexattr_getprioceiling(const pthread_mutexattr_t *attr, int *prioceiling) pthread_mutexattr_getprioceiling() argument 88 pthread_mutexattr_gettype(const pthread_mutexattr_t *attr, int *outType) pthread_mutexattr_gettype() argument 93 pthread_mutexattr_settype(pthread_mutexattr_t *attr, int type) pthread_mutexattr_settype() argument [all...] |
/kernel/liteos_m/testsuites/unittest/xts/sched/ |
H A D | pthread_sched_api_test.c | 56 pthread_attr_t attr; variable 57 ret = pthread_attr_init(&attr); 61 int rt = pthread_attr_getinheritsched(&attr, &inheritsched); 75 pthread_attr_t attr; variable 76 ret = pthread_attr_init(&attr); 79 int rt = pthread_attr_setinheritsched(&attr, PTHREAD_INHERIT_SCHED); 82 rt = pthread_attr_getinheritsched(&attr, &inheritsched); 86 rt = pthread_attr_setinheritsched(&attr, PTHREAD_EXPLICIT_SCHED); 89 rt = pthread_attr_getinheritsched(&attr, &inheritsched); 103 pthread_attr_t attr; variable 124 pthread_attr_t attr; global() variable 150 pthread_attr_t attr; global() variable 169 pthread_attr_t attr; global() variable 192 pthread_attr_t attr; global() variable 211 pthread_attr_t attr; global() variable [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/ |
H A D | rxe_qp.c | 21 if (cap->max_send_wr > rxe->attr.max_qp_wr) { in rxe_qp_chk_cap() 23 cap->max_send_wr, rxe->attr.max_qp_wr); in rxe_qp_chk_cap() 27 if (cap->max_send_sge > rxe->attr.max_send_sge) { in rxe_qp_chk_cap() 29 cap->max_send_sge, rxe->attr.max_send_sge); in rxe_qp_chk_cap() 34 if (cap->max_recv_wr > rxe->attr.max_qp_wr) { in rxe_qp_chk_cap() 36 cap->max_recv_wr, rxe->attr.max_qp_wr); in rxe_qp_chk_cap() 40 if (cap->max_recv_sge > rxe->attr.max_recv_sge) { in rxe_qp_chk_cap() 42 cap->max_recv_sge, rxe->attr.max_recv_sge); in rxe_qp_chk_cap() 115 for (i = 0; i < qp->attr.max_dest_rd_atomic; i++) { in free_rd_atomic_resources() 142 for (i = 0; i < qp->attr in cleanup_rd_atomic_resources() 391 rxe_qp_chk_attr(struct rxe_dev *rxe, struct rxe_qp *qp, struct ib_qp_attr *attr, int mask) rxe_qp_chk_attr() argument 566 rxe_qp_from_attr(struct rxe_qp *qp, struct ib_qp_attr *attr, int mask, struct ib_udata *udata) rxe_qp_from_attr() argument 723 rxe_qp_to_attr(struct rxe_qp *qp, struct ib_qp_attr *attr, int mask) rxe_qp_to_attr() argument [all...] |
/kernel/linux/linux-5.10/drivers/hwmon/occ/ |
H A D | common.c | 224 struct device_attribute *attr, char *buf) in occ_show_temp_1() 231 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in occ_show_temp_1() 260 struct device_attribute *attr, char *buf) in occ_show_temp_2() 267 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in occ_show_temp_2() 311 struct device_attribute *attr, char *buf) in occ_show_freq_1() 318 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in occ_show_freq_1() 341 struct device_attribute *attr, char *buf) in occ_show_freq_2() 348 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in occ_show_freq_2() 371 struct device_attribute *attr, char *buf) in occ_show_power_1() 378 struct sensor_device_attribute_2 *sattr = to_sensor_dev_attr_2(attr); in occ_show_power_1() 223 occ_show_temp_1(struct device *dev, struct device_attribute *attr, char *buf) occ_show_temp_1() argument 259 occ_show_temp_2(struct device *dev, struct device_attribute *attr, char *buf) occ_show_temp_2() argument 310 occ_show_freq_1(struct device *dev, struct device_attribute *attr, char *buf) occ_show_freq_1() argument 340 occ_show_freq_2(struct device *dev, struct device_attribute *attr, char *buf) occ_show_freq_2() argument 370 occ_show_power_1(struct device *dev, struct device_attribute *attr, char *buf) occ_show_power_1() argument 417 occ_show_power_2(struct device *dev, struct device_attribute *attr, char *buf) occ_show_power_2() argument 456 occ_show_power_a0(struct device *dev, struct device_attribute *attr, char *buf) occ_show_power_a0() argument 536 occ_show_caps_1_2(struct device *dev, struct device_attribute *attr, char *buf) occ_show_caps_1_2() argument 586 occ_show_caps_3(struct device *dev, struct device_attribute *attr, char *buf) occ_show_caps_3() argument 633 occ_store_caps_user(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) occ_store_caps_user() argument 655 occ_show_extended(struct device *dev, struct device_attribute *attr, char *buf) occ_show_extended() argument 729 struct occ_attribute *attr; occ_setup_sensor_attrs() local [all...] |
/kernel/linux/linux-5.10/drivers/hwmon/ |
H A D | adt7470.c | 452 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_min_show() local 454 return sprintf(buf, "%d\n", 1000 * data->temp_min[attr->index]); in temp_min_show() 461 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_min_store() local 473 data->temp_min[attr->index] = temp; in temp_min_store() 474 i2c_smbus_write_byte_data(client, ADT7470_TEMP_MIN_REG(attr->index), in temp_min_store() 484 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_max_show() local 486 return sprintf(buf, "%d\n", 1000 * data->temp_max[attr->index]); in temp_max_show() 493 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); in temp_max_store() local 505 data->temp_max[attr->index] = temp; in temp_max_store() 506 i2c_smbus_write_byte_data(client, ADT7470_TEMP_MAX_REG(attr in temp_max_store() 516 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); temp_show() local 554 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); fan_max_show() local 568 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); fan_max_store() local 590 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); fan_min_show() local 604 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); fan_min_store() local 626 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); fan_show() local 671 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); pwm_show() local 679 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); pwm_store() local 764 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); pwm_max_show() local 773 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); pwm_max_store() local 795 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); pwm_min_show() local 804 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); pwm_min_store() local 826 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); pwm_tmax_show() local 835 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); pwm_tmin_show() local 844 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); pwm_tmin_store() local 867 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); pwm_auto_show() local 876 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); pwm_auto_store() local 912 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); pwm_auto_temp_show() local 935 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); pwm_auto_temp_store() local 970 struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); alarm_show() local [all...] |
H A D | emc1403.c | 35 static ssize_t temp_show(struct device *dev, struct device_attribute *attr, in temp_show() argument 38 struct sensor_device_attribute *sda = to_sensor_dev_attr(attr); in temp_show() 49 static ssize_t bit_show(struct device *dev, struct device_attribute *attr, in bit_show() argument 52 struct sensor_device_attribute_2 *sda = to_sensor_dev_attr_2(attr); in bit_show() 63 static ssize_t temp_store(struct device *dev, struct device_attribute *attr, in temp_store() argument 66 struct sensor_device_attribute *sda = to_sensor_dev_attr(attr); in temp_store() 80 static ssize_t bit_store(struct device *dev, struct device_attribute *attr, in bit_store() argument 83 struct sensor_device_attribute_2 *sda = to_sensor_dev_attr_2(attr); in bit_store() 99 struct device_attribute *attr, char *buf, in show_hyst_common() 102 struct sensor_device_attribute *sda = to_sensor_dev_attr(attr); in show_hyst_common() 98 show_hyst_common(struct device *dev, struct device_attribute *attr, char *buf, bool is_min) show_hyst_common() argument 120 hyst_show(struct device *dev, struct device_attribute *attr, char *buf) hyst_show() argument 126 min_hyst_show(struct device *dev, struct device_attribute *attr, char *buf) min_hyst_show() argument 132 hyst_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) hyst_store() argument [all...] |
H A D | adm1026.c | 467 static ssize_t in_show(struct device *dev, struct device_attribute *attr, in in_show() argument 470 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_show() 475 static ssize_t in_min_show(struct device *dev, struct device_attribute *attr, in in_min_show() argument 478 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_min_show() 483 static ssize_t in_min_store(struct device *dev, struct device_attribute *attr, in in_min_store() argument 486 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_min_store() 503 static ssize_t in_max_show(struct device *dev, struct device_attribute *attr, in in_max_show() argument 506 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_max_show() 511 static ssize_t in_max_store(struct device *dev, struct device_attribute *attr, in in_max_store() argument 514 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_max_store() 581 in16_show(struct device *dev, struct device_attribute *attr, char *buf) in16_show() argument 588 in16_min_show(struct device *dev, struct device_attribute *attr, char *buf) in16_min_show() argument 595 in16_min_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) in16_min_store() argument 617 in16_max_show(struct device *dev, struct device_attribute *attr, char *buf) in16_max_show() argument 624 in16_max_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) in16_max_store() argument 653 fan_show(struct device *dev, struct device_attribute *attr, char *buf) fan_show() argument 662 fan_min_show(struct device *dev, struct device_attribute *attr, char *buf) fan_min_show() argument 671 fan_min_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) fan_min_store() argument 730 fan_div_show(struct device *dev, struct device_attribute *attr, char *buf) fan_div_show() argument 738 fan_div_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) fan_div_store() argument 791 temp_show(struct device *dev, struct device_attribute *attr, char *buf) temp_show() argument 799 temp_min_show(struct device *dev, struct device_attribute *attr, char *buf) temp_min_show() argument 807 temp_min_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) temp_min_store() argument 829 temp_max_show(struct device *dev, struct device_attribute *attr, char *buf) temp_max_show() argument 837 temp_max_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) temp_max_store() argument 870 temp_offset_show(struct device *dev, struct device_attribute *attr, char *buf) temp_offset_show() argument 878 temp_offset_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) temp_offset_store() argument 905 temp_auto_point1_temp_hyst_show(struct device *dev, struct device_attribute *attr, char *buf) temp_auto_point1_temp_hyst_show() argument 915 temp_auto_point2_temp_show(struct device *dev, struct device_attribute *attr, char *buf) temp_auto_point2_temp_show() argument 925 temp_auto_point1_temp_show(struct device *dev, struct device_attribute *attr, char *buf) temp_auto_point1_temp_show() argument 934 temp_auto_point1_temp_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) temp_auto_point1_temp_store() argument 970 show_temp_crit_enable(struct device *dev, struct device_attribute *attr, char *buf) show_temp_crit_enable() argument 976 set_temp_crit_enable(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) set_temp_crit_enable() argument 1006 temp_crit_show(struct device *dev, struct device_attribute *attr, char *buf) temp_crit_show() argument 1014 temp_crit_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) temp_crit_store() argument 1041 analog_out_show(struct device *dev, struct device_attribute *attr, char *buf) analog_out_show() argument 1047 analog_out_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) analog_out_store() argument 1069 cpu0_vid_show(struct device *dev, struct device_attribute *attr, char *buf) cpu0_vid_show() argument 1081 vrm_show(struct device *dev, struct device_attribute *attr, char *buf) vrm_show() argument 1088 vrm_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) vrm_store() argument 1108 alarms_show(struct device *dev, struct device_attribute *attr, char *buf) alarms_show() argument 1117 alarm_show(struct device *dev, struct device_attribute *attr, char *buf) alarm_show() argument 1154 alarm_mask_show(struct device *dev, struct device_attribute *attr, char *buf) alarm_mask_show() argument 1160 alarm_mask_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) alarm_mask_store() argument 1195 gpio_show(struct device *dev, struct device_attribute *attr, char *buf) gpio_show() argument 1201 gpio_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) gpio_store() argument 1228 gpio_mask_show(struct device *dev, struct device_attribute *attr, char *buf) gpio_mask_show() argument 1235 gpio_mask_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) gpio_mask_store() argument 1263 pwm1_show(struct device *dev, struct device_attribute *attr, char *buf) pwm1_show() argument 1270 pwm1_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) pwm1_store() argument 1292 temp1_auto_point1_pwm_show(struct device *dev, struct device_attribute *attr, char *buf) temp1_auto_point1_pwm_show() argument 1300 temp1_auto_point1_pwm_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) temp1_auto_point1_pwm_store() argument 1324 temp1_auto_point2_pwm_show(struct device *dev, struct device_attribute *attr, char *buf) temp1_auto_point2_pwm_show() argument 1331 pwm1_enable_show(struct device *dev, struct device_attribute *attr, char *buf) pwm1_enable_show() argument 1338 pwm1_enable_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) pwm1_enable_store() argument [all...] |
H A D | powr1220.c | 175 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in powr1220_voltage_show() local 176 int adc_val = powr1220_read_adc(dev, attr->index); in powr1220_voltage_show() 188 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in powr1220_max_show() local 191 return sprintf(buf, "%d\n", data->adc_maxes[attr->index]); in powr1220_max_show() 199 struct sensor_device_attribute *attr = to_sensor_dev_attr(dev_attr); in powr1220_label_show() local 201 return sprintf(buf, "%s\n", input_names[attr->index]); in powr1220_label_show() 250 &sensor_dev_attr_in0_input.dev_attr.attr, 251 &sensor_dev_attr_in1_input.dev_attr.attr, 252 &sensor_dev_attr_in2_input.dev_attr.attr, 253 &sensor_dev_attr_in3_input.dev_attr.attr, [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/mount_setattr/ |
H A D | mount_setattr_test.c | 138 struct mount_attr *attr, size_t size) in sys_mount_setattr() 140 return syscall(__NR_mount_setattr, dfd, path, flags, attr, size); in sys_mount_setattr() 344 struct mount_attr attr = { in mount_setattr_thread() local 350 if (sys_mount_setattr(-1, "/mnt/A", AT_RECURSIVE, &attr, sizeof(attr))) in mount_setattr_thread() 539 struct mount_attr attr = { in TEST_F() local 550 ASSERT_EQ(sys_mount_setattr(-1, "/mnt/A", 0, &attr, sizeof(attr)), 0); in TEST_F() 575 struct mount_attr attr = { in TEST_F() local 586 ASSERT_EQ(sys_mount_setattr(-1, "/mnt/A", AT_RECURSIVE, &attr, sizeo in TEST_F() 137 sys_mount_setattr(int dfd, const char *path, unsigned int flags, struct mount_attr *attr, size_t size) sys_mount_setattr() argument 669 struct mount_attr attr = { TEST_F() local 726 struct mount_attr attr = { TEST_F() local 760 struct mount_attr attr = { TEST_F() local 964 struct mount_attr attr = { TEST_F() local 980 struct mount_attr attr = { TEST_F() local 1071 struct mount_attr attr = { TEST_F() local 1089 struct mount_attr attr = { TEST_F() local 1108 struct mount_attr attr = { TEST_F() local 1131 struct mount_attr attr = { TEST_F() local 1240 struct mount_attr attr = { TEST_F() local 1270 struct mount_attr attr = { TEST_F() local 1300 struct mount_attr attr = { TEST_F() local 1330 struct mount_attr attr = { TEST_F() local 1362 struct mount_attr attr = { TEST_F() local 1407 struct mount_attr attr = { TEST_F() local 1442 struct mount_attr attr = { TEST_F() local [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | jsxNamespacePrefixInName.js | 4 var justElement3 = <a:element attr={"value"}></a:element>; 6 var justElement5 = <a:element attr={"value"}>{"text"}</a:element>; 10 var tooManySeparators3 = <a:ele:ment attr={"value"}></a:ele:ment>; 12 var tooManySeparators5 = <a:ele:ment attr={"value"}>{"text"}</a:ele:ment>; 14 var justAttribute1 = <element a:attr={"value"} />; 15 var justAttribute2 = <element a:attr={"value"}></element>; 16 var justAttribute3 = <element a:attr={"value"}>{"text"}</element>; 18 var both1 = <a:element a:attr={"value"} />; 19 var both2 = <a:element k:attr={"value"}></a:element>; 20 var both3 = <a:element a:attr [all...] |
/kernel/linux/linux-5.10/arch/arm64/kvm/vgic/ |
H A D | vgic-kvm-device.c | 156 struct kvm_device_attr *attr) in vgic_set_common_attr() 160 switch (attr->group) { in vgic_set_common_attr() 162 u64 __user *uaddr = (u64 __user *)(long)attr->addr; in vgic_set_common_attr() 164 unsigned long type = (unsigned long)attr->attr; in vgic_set_common_attr() 173 u32 __user *uaddr = (u32 __user *)(long)attr->addr; in vgic_set_common_attr() 204 switch (attr->attr) { in vgic_set_common_attr() 219 struct kvm_device_attr *attr) in vgic_get_common_attr() 223 switch (attr in vgic_get_common_attr() 155 vgic_set_common_attr(struct kvm_device *dev, struct kvm_device_attr *attr) vgic_set_common_attr() argument 218 vgic_get_common_attr(struct kvm_device *dev, struct kvm_device_attr *attr) vgic_get_common_attr() argument 284 vgic_v2_parse_attr(struct kvm_device *dev, struct kvm_device_attr *attr, struct vgic_reg_attr *reg_attr) vgic_v2_parse_attr() argument 347 vgic_v2_attr_regs_access(struct kvm_device *dev, struct kvm_device_attr *attr, u32 *reg, bool is_write) vgic_v2_attr_regs_access() argument 392 vgic_v2_set_attr(struct kvm_device *dev, struct kvm_device_attr *attr) vgic_v2_set_attr() argument 417 vgic_v2_get_attr(struct kvm_device *dev, struct kvm_device_attr *attr) vgic_v2_get_attr() argument 442 vgic_v2_has_attr(struct kvm_device *dev, struct kvm_device_attr *attr) vgic_v2_has_attr() argument 476 vgic_v3_parse_attr(struct kvm_device *dev, struct kvm_device_attr *attr, struct vgic_reg_attr *reg_attr) vgic_v3_parse_attr() argument 511 vgic_v3_attr_regs_access(struct kvm_device *dev, struct kvm_device_attr *attr, u64 *reg, bool is_write) vgic_v3_attr_regs_access() argument 591 vgic_v3_set_attr(struct kvm_device *dev, struct kvm_device_attr *attr) vgic_v3_set_attr() argument 655 vgic_v3_get_attr(struct kvm_device *dev, struct kvm_device_attr *attr) vgic_v3_get_attr() argument 701 vgic_v3_has_attr(struct kvm_device *dev, struct kvm_device_attr *attr) vgic_v3_has_attr() argument [all...] |
/kernel/linux/linux-6.6/drivers/nvme/host/ |
H A D | sysfs.c | 14 struct device_attribute *attr, const char *buf, in nvme_sysfs_reset() 28 struct device_attribute *attr, const char *buf, in nvme_sysfs_rescan() 48 static ssize_t wwid_show(struct device *dev, struct device_attribute *attr, in wwid_show() argument 79 static ssize_t nguid_show(struct device *dev, struct device_attribute *attr, in nguid_show() argument 86 static ssize_t uuid_show(struct device *dev, struct device_attribute *attr, in uuid_show() argument 103 static ssize_t eui_show(struct device *dev, struct device_attribute *attr, in eui_show() argument 110 static ssize_t nsid_show(struct device *dev, struct device_attribute *attr, in nsid_show() argument 118 &dev_attr_wwid.attr, 119 &dev_attr_uuid.attr, 120 &dev_attr_nguid.attr, 13 nvme_sysfs_reset(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) nvme_sysfs_reset() argument 27 nvme_sysfs_rescan(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) nvme_sysfs_rescan() argument 199 nvme_sysfs_delete(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) nvme_sysfs_delete() argument 214 nvme_sysfs_show_transport(struct device *dev, struct device_attribute *attr, char *buf) nvme_sysfs_show_transport() argument 224 nvme_sysfs_show_state(struct device *dev, struct device_attribute *attr, char *buf) nvme_sysfs_show_state() argument 248 nvme_sysfs_show_subsysnqn(struct device *dev, struct device_attribute *attr, char *buf) nvme_sysfs_show_subsysnqn() argument 258 nvme_sysfs_show_hostnqn(struct device *dev, struct device_attribute *attr, char *buf) nvme_sysfs_show_hostnqn() argument 268 nvme_sysfs_show_hostid(struct device *dev, struct device_attribute *attr, char *buf) nvme_sysfs_show_hostid() argument 278 nvme_sysfs_show_address(struct device *dev, struct device_attribute *attr, char *buf) nvme_sysfs_show_address() argument 288 nvme_ctrl_loss_tmo_show(struct device *dev, struct device_attribute *attr, char *buf) nvme_ctrl_loss_tmo_show() argument 300 nvme_ctrl_loss_tmo_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) nvme_ctrl_loss_tmo_store() argument 321 nvme_ctrl_reconnect_delay_show(struct device *dev, struct device_attribute *attr, char *buf) nvme_ctrl_reconnect_delay_show() argument 331 nvme_ctrl_reconnect_delay_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) nvme_ctrl_reconnect_delay_store() argument 348 nvme_ctrl_fast_io_fail_tmo_show(struct device *dev, struct device_attribute *attr, char *buf) nvme_ctrl_fast_io_fail_tmo_show() argument 358 nvme_ctrl_fast_io_fail_tmo_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) nvme_ctrl_fast_io_fail_tmo_store() argument 378 cntrltype_show(struct device *dev, struct device_attribute *attr, char *buf) cntrltype_show() argument 395 dctype_show(struct device *dev, struct device_attribute *attr, char *buf) dctype_show() argument 413 nvme_ctrl_dhchap_secret_show(struct device *dev, struct device_attribute *attr, char *buf) nvme_ctrl_dhchap_secret_show() argument 424 nvme_ctrl_dhchap_secret_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) nvme_ctrl_dhchap_secret_store() argument 471 nvme_ctrl_dhchap_ctrl_secret_show(struct device *dev, struct device_attribute *attr, char *buf) nvme_ctrl_dhchap_ctrl_secret_show() argument 482 nvme_ctrl_dhchap_ctrl_secret_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) nvme_ctrl_dhchap_ctrl_secret_store() argument 605 nvme_subsys_show_nqn(struct device *dev, struct device_attribute *attr, char *buf) nvme_subsys_show_nqn() argument 616 nvme_subsys_show_type(struct device *dev, struct device_attribute *attr, char *buf) nvme_subsys_show_type() argument [all...] |
/kernel/linux/linux-6.6/drivers/hwmon/ |
H A D | emc1403.c | 35 static ssize_t temp_show(struct device *dev, struct device_attribute *attr, in temp_show() argument 38 struct sensor_device_attribute *sda = to_sensor_dev_attr(attr); in temp_show() 49 static ssize_t bit_show(struct device *dev, struct device_attribute *attr, in bit_show() argument 52 struct sensor_device_attribute_2 *sda = to_sensor_dev_attr_2(attr); in bit_show() 63 static ssize_t temp_store(struct device *dev, struct device_attribute *attr, in temp_store() argument 66 struct sensor_device_attribute *sda = to_sensor_dev_attr(attr); in temp_store() 80 static ssize_t bit_store(struct device *dev, struct device_attribute *attr, in bit_store() argument 83 struct sensor_device_attribute_2 *sda = to_sensor_dev_attr_2(attr); in bit_store() 99 struct device_attribute *attr, char *buf, in show_hyst_common() 102 struct sensor_device_attribute *sda = to_sensor_dev_attr(attr); in show_hyst_common() 98 show_hyst_common(struct device *dev, struct device_attribute *attr, char *buf, bool is_min) show_hyst_common() argument 120 hyst_show(struct device *dev, struct device_attribute *attr, char *buf) hyst_show() argument 126 min_hyst_show(struct device *dev, struct device_attribute *attr, char *buf) min_hyst_show() argument 132 hyst_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) hyst_store() argument [all...] |
H A D | adm1026.c | 467 static ssize_t in_show(struct device *dev, struct device_attribute *attr, in in_show() argument 470 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_show() 475 static ssize_t in_min_show(struct device *dev, struct device_attribute *attr, in in_min_show() argument 478 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_min_show() 483 static ssize_t in_min_store(struct device *dev, struct device_attribute *attr, in in_min_store() argument 486 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_min_store() 503 static ssize_t in_max_show(struct device *dev, struct device_attribute *attr, in in_max_show() argument 506 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_max_show() 511 static ssize_t in_max_store(struct device *dev, struct device_attribute *attr, in in_max_store() argument 514 struct sensor_device_attribute *sensor_attr = to_sensor_dev_attr(attr); in in_max_store() 581 in16_show(struct device *dev, struct device_attribute *attr, char *buf) in16_show() argument 588 in16_min_show(struct device *dev, struct device_attribute *attr, char *buf) in16_min_show() argument 595 in16_min_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) in16_min_store() argument 617 in16_max_show(struct device *dev, struct device_attribute *attr, char *buf) in16_max_show() argument 624 in16_max_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) in16_max_store() argument 653 fan_show(struct device *dev, struct device_attribute *attr, char *buf) fan_show() argument 662 fan_min_show(struct device *dev, struct device_attribute *attr, char *buf) fan_min_show() argument 671 fan_min_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) fan_min_store() argument 730 fan_div_show(struct device *dev, struct device_attribute *attr, char *buf) fan_div_show() argument 738 fan_div_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) fan_div_store() argument 791 temp_show(struct device *dev, struct device_attribute *attr, char *buf) temp_show() argument 799 temp_min_show(struct device *dev, struct device_attribute *attr, char *buf) temp_min_show() argument 807 temp_min_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) temp_min_store() argument 829 temp_max_show(struct device *dev, struct device_attribute *attr, char *buf) temp_max_show() argument 837 temp_max_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) temp_max_store() argument 870 temp_offset_show(struct device *dev, struct device_attribute *attr, char *buf) temp_offset_show() argument 878 temp_offset_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) temp_offset_store() argument 905 temp_auto_point1_temp_hyst_show(struct device *dev, struct device_attribute *attr, char *buf) temp_auto_point1_temp_hyst_show() argument 915 temp_auto_point2_temp_show(struct device *dev, struct device_attribute *attr, char *buf) temp_auto_point2_temp_show() argument 925 temp_auto_point1_temp_show(struct device *dev, struct device_attribute *attr, char *buf) temp_auto_point1_temp_show() argument 934 temp_auto_point1_temp_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) temp_auto_point1_temp_store() argument 970 show_temp_crit_enable(struct device *dev, struct device_attribute *attr, char *buf) show_temp_crit_enable() argument 976 set_temp_crit_enable(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) set_temp_crit_enable() argument 1006 temp_crit_show(struct device *dev, struct device_attribute *attr, char *buf) temp_crit_show() argument 1014 temp_crit_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) temp_crit_store() argument 1041 analog_out_show(struct device *dev, struct device_attribute *attr, char *buf) analog_out_show() argument 1047 analog_out_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) analog_out_store() argument 1069 cpu0_vid_show(struct device *dev, struct device_attribute *attr, char *buf) cpu0_vid_show() argument 1081 vrm_show(struct device *dev, struct device_attribute *attr, char *buf) vrm_show() argument 1088 vrm_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) vrm_store() argument 1108 alarms_show(struct device *dev, struct device_attribute *attr, char *buf) alarms_show() argument 1117 alarm_show(struct device *dev, struct device_attribute *attr, char *buf) alarm_show() argument 1154 alarm_mask_show(struct device *dev, struct device_attribute *attr, char *buf) alarm_mask_show() argument 1160 alarm_mask_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) alarm_mask_store() argument 1195 gpio_show(struct device *dev, struct device_attribute *attr, char *buf) gpio_show() argument 1201 gpio_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) gpio_store() argument 1228 gpio_mask_show(struct device *dev, struct device_attribute *attr, char *buf) gpio_mask_show() argument 1235 gpio_mask_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) gpio_mask_store() argument 1263 pwm1_show(struct device *dev, struct device_attribute *attr, char *buf) pwm1_show() argument 1270 pwm1_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) pwm1_store() argument 1292 temp1_auto_point1_pwm_show(struct device *dev, struct device_attribute *attr, char *buf) temp1_auto_point1_pwm_show() argument 1300 temp1_auto_point1_pwm_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) temp1_auto_point1_pwm_store() argument 1324 temp1_auto_point2_pwm_show(struct device *dev, struct device_attribute *attr, char *buf) temp1_auto_point2_pwm_show() argument 1331 pwm1_enable_show(struct device *dev, struct device_attribute *attr, char *buf) pwm1_enable_show() argument 1338 pwm1_enable_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) pwm1_enable_store() argument [all...] |
/kernel/linux/linux-5.10/drivers/platform/loongarch/ |
H A D | cpu_hwmon.c | 27 struct device_attribute *attr, char *buf) in cpu_temp_label() 29 int id = (to_sensor_dev_attr(attr))->index - 1; in cpu_temp_label() 34 struct device_attribute *attr, char *buf) in get_cpu_temp() 36 int id = (to_sensor_dev_attr(attr))->index - 1; in get_cpu_temp() 75 &sensor_dev_attr_temp1_input.dev_attr.attr, 76 &sensor_dev_attr_temp1_label.dev_attr.attr, 77 &sensor_dev_attr_temp2_input.dev_attr.attr, 78 &sensor_dev_attr_temp2_label.dev_attr.attr, 79 &sensor_dev_attr_temp3_input.dev_attr.attr, 80 &sensor_dev_attr_temp3_label.dev_attr.attr, 26 cpu_temp_label(struct device *dev, struct device_attribute *attr, char *buf) cpu_temp_label() argument 33 get_cpu_temp(struct device *dev, struct device_attribute *attr, char *buf) get_cpu_temp() argument 109 cpu_hwmon_is_visible(struct kobject *kobj, struct attribute *attr, int i) cpu_hwmon_is_visible() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/ |
H A D | wps.c | 105 struct wps_parse_attr attr; in wps_init() local 108 if (wps_parse_msg(cfg->assoc_wps_ie, &attr) < 0) { in wps_init() 111 } else if (attr.request_type == NULL) { in wps_init() 117 *attr.request_type); in wps_init() 118 data->request_type = *attr.request_type; in wps_init() 237 struct wps_parse_attr attr; in wps_is_selected_pbc_registrar() local 240 * In theory, this could also verify that attr.sel_reg_config_methods in wps_is_selected_pbc_registrar() 246 if (wps_parse_msg(msg, &attr) < 0 || in wps_is_selected_pbc_registrar() 247 !attr.selected_registrar || *attr in wps_is_selected_pbc_registrar() 263 is_selected_pin_registrar(struct wps_parse_attr *attr) is_selected_pin_registrar() argument 298 struct wps_parse_attr attr; wps_is_selected_pin_registrar() local 318 struct wps_parse_attr attr; wps_is_addr_authorized() local 360 struct wps_parse_attr attr; wps_ap_priority_compar() local 390 struct wps_parse_attr attr; wps_get_uuid_e() local 403 struct wps_parse_attr attr; wps_is_20() local 549 struct wps_parse_attr attr; wps_attr_text() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/ |
H A D | wps.c | 104 struct wps_parse_attr attr; in wps_init() local 107 if (wps_parse_msg(cfg->assoc_wps_ie, &attr) < 0) { in wps_init() 110 } else if (attr.request_type == NULL) { in wps_init() 116 *attr.request_type); in wps_init() 117 data->request_type = *attr.request_type; in wps_init() 243 struct wps_parse_attr attr; in wps_is_selected_pbc_registrar() local 246 * In theory, this could also verify that attr.sel_reg_config_methods in wps_is_selected_pbc_registrar() 252 if (wps_parse_msg(msg, &attr) < 0 || in wps_is_selected_pbc_registrar() 253 !attr.selected_registrar || *attr in wps_is_selected_pbc_registrar() 269 is_selected_pin_registrar(struct wps_parse_attr *attr) is_selected_pin_registrar() argument 304 struct wps_parse_attr attr; wps_is_selected_pin_registrar() local 324 struct wps_parse_attr attr; wps_is_addr_authorized() local 366 struct wps_parse_attr attr; wps_ap_priority_compar() local 396 struct wps_parse_attr attr; wps_get_uuid_e() local 409 struct wps_parse_attr attr; wps_is_20() local 555 struct wps_parse_attr attr; wps_attr_text() local [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/ptrace/ |
H A D | perf-hwbreak.c | 37 static inline int sys_perf_event_open(struct perf_event_attr *attr, pid_t pid, in sys_perf_event_open() argument 41 attr->size = sizeof(*attr); in sys_perf_event_open() 42 return syscall(__NR_perf_event_open, attr, pid, cpu, group_fd, flags); in sys_perf_event_open() 47 struct perf_event_attr attr; in breakpoint_test() local 51 memset(&attr, 0, sizeof(attr)); in breakpoint_test() 52 attr.disabled = 1; in breakpoint_test() 53 attr.type = PERF_TYPE_BREAKPOINT; in breakpoint_test() 54 attr in breakpoint_test() 78 struct perf_event_attr attr; runtestsingle() local 156 struct perf_event_attr attr; runtest_dar_outside() local [all...] |
/kernel/liteos_m/testsuites/sample/posix/ |
H A D | pthread_func_test.c | 73 pthread_attr_t attr; variable 81 ret = pthread_attr_init(&attr); 84 ret = pthread_attr_setstacksize(&attr, OS_TSK_TEST_STACK_SIZE); 88 ret = pthread_attr_setschedparam(&attr, &schedParam); 91 ret = pthread_attr_setinheritsched(&attr, PTHREAD_EXPLICIT_SCHED); 94 ret = pthread_create(&newTh, &attr, PthreadJoinF01, NULL); 118 pthread_attr_t attr; variable 126 ret = pthread_attr_init(&attr); 129 ret = pthread_attr_setstacksize(&attr, OS_TSK_TEST_STACK_SIZE); 133 ret = pthread_attr_setschedparam(&attr, 166 pthread_attr_t attr; global() variable 213 pthread_attr_t attr; global() variable 261 pthread_attr_t attr; global() variable 323 pthread_attr_t attr; PthreadFunc06() local 379 pthread_attr_t attr; global() variable 441 pthread_attr_t attr; PthreadFunc07() local 491 pthread_attr_t attr; global() variable 585 pthread_attr_t attr; global() variable 646 pthread_attr_t attr; global() variable 697 pthread_attr_t attr; global() variable 746 pthread_attr_t attr; global() variable 806 pthread_attr_t attr; global() variable 893 pthread_condattr_t attr; global() variable 918 pthread_condattr_t attr; global() variable 979 pthread_attr_t attr; global() variable 1034 pthread_attr_t attr; PthreadFuncTestSuite() local [all...] |
/kernel/linux/linux-6.6/lib/ |
H A D | fault-inject.c | 18 int setup_fault_attr(struct fault_attr *attr, char *str) in setup_fault_attr() argument 33 attr->probability = probability; in setup_fault_attr() 34 attr->interval = interval; in setup_fault_attr() 35 atomic_set(&attr->times, times); in setup_fault_attr() 36 atomic_set(&attr->space, space); in setup_fault_attr() 42 static void fail_dump(struct fault_attr *attr) in fail_dump() argument 44 if (attr->verbose > 0 && __ratelimit(&attr->ratelimit_state)) { in fail_dump() 47 "space %d, times %d\n", attr->dname, in fail_dump() 48 attr in fail_dump() 58 fail_task(struct fault_attr *attr, struct task_struct *task) fail_task() argument 67 fail_stacktrace(struct fault_attr *attr) fail_stacktrace() argument 91 fail_stacktrace(struct fault_attr *attr) fail_stacktrace() argument 103 should_fail_ex(struct fault_attr *attr, ssize_t size, int flags) should_fail_ex() argument 161 should_fail(struct fault_attr *attr, ssize_t size) should_fail() argument 211 fault_create_debugfs_attr(const char *name, struct dentry *parent, struct fault_attr *attr) fault_create_debugfs_attr() argument [all...] |
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/ |
H A D | pthreadndk1.cpp | 94 pthread_attr_t attr;
in PThreadAttrDestroy() local 95 int ret = pthread_attr_destroy(&attr);
in PThreadAttrDestroy() 103 pthread_attr_t attr;
in PThreadAttrGetDetachState() local 105 pthread_attr_init(&attr);
in PThreadAttrGetDetachState() 106 pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED);
in PThreadAttrGetDetachState() 107 int ret = pthread_attr_getdetachstate(&attr, &state);
in PThreadAttrGetDetachState() 108 pthread_attr_destroy(&attr);
in PThreadAttrGetDetachState() 118 pthread_attr_t attr;
in PThreadAttrGetGuardSize() local 120 pthread_attr_init(&attr);
in PThreadAttrGetGuardSize() 121 pthread_attr_setguardsize(&attr, testSiz in PThreadAttrGetGuardSize() 132 pthread_attr_t attr; PThreadAttrGetInheritSched() local 147 pthread_attr_t attr; PThreadAttrGetSchedParam() local 164 pthread_attr_t attr; PThreadAttrGetSchedPolicy() local 178 pthread_attr_t attr; PThreadAttrGetScope() local 193 pthread_attr_t attr; PThreadAttrGetStack() local 216 pthread_attr_t attr; PThreadAttrGetStackSize() local 230 pthread_attr_t attr; PThreadAttrInit() local 240 pthread_attr_t attr; PThreadAttrSetDetachState_One() local 255 pthread_attr_t attr; PThreadAttrSetDetachState_Two() local 267 pthread_attr_t attr; PThreadAttrSetGuardSize_One() local 281 pthread_attr_t attr; PThreadAttrSetGuardSize_Two() local 292 pthread_attr_t attr; PThreadAttrSetInheritSched_One() local 307 pthread_attr_t attr; PThreadAttrSetInheritSched_Two() local 319 pthread_attr_t attr; PThreadAttrSetSchedParam() local 336 pthread_attr_t attr; PThreadAttrSetSchedPolicy() local 350 pthread_attr_t attr; PThreadAttrSetScope_One() local 365 pthread_attr_t attr; PThreadAttrSetScope_Two() local 377 pthread_attr_t attr; PThreadAttrSetStack_One() local 400 pthread_attr_t attr; PThreadAttrSetStack_Two() local 413 pthread_attr_t attr; PThreadAttrSetStack_Three() local 426 pthread_attr_t attr; PThreadAttrSetStackSize_One() local 441 pthread_attr_t attr; PThreadAttrSetStackSize_Two() local 501 pthread_barrierattr_t attr; PThreadBarrierAttrDestroy() local 511 pthread_barrierattr_t attr; PThreadBarrierAttrInit() local 521 pthread_barrierattr_t attr; PThreadBarrierAttrGetPShared() local 535 pthread_barrierattr_t attr; PThreadBarrierAttrSetPShared() local 569 pthread_condattr_t attr; PThreadCondInit() local 677 pthread_condattr_t attr; PThreadCondAttrDestroy() local 687 pthread_condattr_t attr; PThreadCondAttrGetClock() local 701 pthread_condattr_t attr; PThreadCondAttrGetPShared() local 715 pthread_condattr_t attr; PThreadCondAttrInit() local 725 pthread_condattr_t attr; PThreadCondAttrSetClock() local 739 pthread_condattr_t attr; PThreadCondAttrSetPShared() local 834 pthread_attr_t attr; PThreadGetAttrNp() local 1017 pthread_mutexattr_t attr; PThreadMutexAttrDestroy() local 1027 pthread_mutexattr_t attr; PThreadMutexAttrGetProtocol() local 1041 pthread_mutexattr_t attr; PThreadMutexAttrGetPShared() local 1055 pthread_mutexattr_t attr; PThreadMutexAttrGetType() local 1069 pthread_mutexattr_t attr; PThreadMutexAttrInit() local 1079 pthread_mutexattr_t attr; PThreadMutexAttrSetProtocol() local 1093 pthread_mutexattr_t attr; PThreadMutexAttrSetPShared() local 1107 pthread_mutexattr_t attr; PThreadMutexAttrSetType() local 1274 pthread_rwlockattr_t attr; PThreadRwLockAttrDestroy() local 1284 pthread_rwlockattr_t attr; PThreadRwLockAttrGetPShared() local 1298 pthread_rwlockattr_t attr; PThreadRwLockAttrInit() local 1308 pthread_rwlockattr_t attr; PThreadRwLockAttrSetPShared() local [all...] |
/third_party/cups-filters/cupsfilters/ |
H A D | attr.c | 42 ppd_attr_t *attr; /* Attribute */ in cupsFindAttr() local 67 if ((attr = ppdFindAttr(ppd, name, spec)) != NULL && attr->value != NULL) in cupsFindAttr() 68 return (attr); in cupsFindAttr() 72 if ((attr = ppdFindAttr(ppd, name, spec)) != NULL && attr->value != NULL) in cupsFindAttr() 73 return (attr); in cupsFindAttr() 77 if ((attr = ppdFindAttr(ppd, name, spec)) != NULL && attr->value != NULL) in cupsFindAttr() 78 return (attr); in cupsFindAttr() [all...] |
/vendor/hisilicon/hispark_pegasus/demo/oc_demo/ |
H A D | task_start.c | 40 osThreadAttr_t attr; in InterruptTask() local 42 attr.name = "Interrupt"; in InterruptTask() 43 attr.attr_bits = 0U; in InterruptTask() 44 attr.cb_mem = NULL; in InterruptTask() 45 attr.cb_size = 0U; in InterruptTask() 46 attr.stack_mem = NULL; in InterruptTask() 47 attr.stack_size = TASK_STACK; in InterruptTask() 48 attr.priority = INTERRUPT_TASK_PRIO; in InterruptTask() 50 if (osThreadNew((osThreadFunc_t)KeyInterruptScan, NULL, &attr) == NULL) { in InterruptTask() 59 osThreadAttr_t attr; in StartTask() local [all...] |