| /linux/arch/s390/kvm/ |
| H A D | gaccess.h | 64 unsigned long ga) in _kvm_s390_logical_to_effective() argument 67 return ga; in _kvm_s390_logical_to_effective() 69 return ga & ((1UL << 31) - 1); in _kvm_s390_logical_to_effective() 70 return ga & ((1UL << 24) - 1); in _kvm_s390_logical_to_effective() 87 unsigned long ga) in kvm_s390_logical_to_effective() argument 89 return _kvm_s390_logical_to_effective(&vcpu->arch.sie_block->gpsw, ga); in kvm_s390_logical_to_effective() 202 int access_guest_with_key(struct kvm_vcpu *vcpu, unsigned long ga, u8 ar, 259 int write_guest_with_key(struct kvm_vcpu *vcpu, unsigned long ga, u8 ar, in write_guest_with_key() argument 262 return access_guest_with_key(vcpu, ga, ar, data, len, GACC_STORE, in write_guest_with_key() 278 int write_guest(struct kvm_vcpu *vcpu, unsigned long ga, u8 ar, void *data, in write_guest() argument [all …]
|
| H A D | gaccess.c | 402 unsigned long ga, u8 ar, enum gacc_mode mode) in get_vcpu_asce() argument 429 return trans_exc(vcpu, rc, ga, ar, mode, PROT_TYPE_ALC); in get_vcpu_asce() 625 static inline int is_low_address(unsigned long ga) in is_low_address() argument 628 return (ga & ~0x11fful) == 0; in is_low_address() 690 static bool fetch_prot_override_applies(unsigned long ga, unsigned int len) in fetch_prot_override_applies() argument 692 return ga < 2048 && ga + len <= 2048; in fetch_prot_override_applies() 709 unsigned long ga, unsigned int len) in vcpu_check_access_key() argument 737 fetch_prot_override_applies(ga, len)) in vcpu_check_access_key() 781 static int guest_range_to_gpas(struct kvm_vcpu *vcpu, unsigned long ga, u8 ar, in guest_range_to_gpas() argument 787 unsigned int offset = offset_in_page(ga); in guest_range_to_gpas() [all …]
|
| H A D | priv.c | 193 u64 ga; in handle_store_cpu_address() local 202 ga = kvm_s390_get_base_disp_s(vcpu, &ar); in handle_store_cpu_address() 204 if (ga & 1) in handle_store_cpu_address() 207 rc = write_guest(vcpu, ga, ar, &vcpu_id, sizeof(vcpu_id)); in handle_store_cpu_address() 211 VCPU_EVENT(vcpu, 3, "STAP: storing cpu address (%u) to 0x%llx", vcpu_id, ga); in handle_store_cpu_address() 212 trace_kvm_s390_handle_stap(vcpu, ga); in handle_store_cpu_address() 1351 u64 ga; in kvm_s390_handle_lctl() local 1359 ga = kvm_s390_get_base_disp_rs(vcpu, &ar); in kvm_s390_handle_lctl() 1361 if (ga & 3) in kvm_s390_handle_lctl() 1364 VCPU_EVENT(vcpu, 4, "LCTL: r1:%d, r3:%d, addr: 0x%llx", reg1, reg3, ga); in kvm_s390_handle_lctl() [all …]
|
| /linux/net/802/ |
| H A D | garp.c | 292 struct garp_attr_hdr *ga; in garp_pdu_append_attr() local 310 len = sizeof(*ga) + attr->dlen; in garp_pdu_append_attr() 313 ga = __skb_put(app->pdu, len); in garp_pdu_append_attr() 314 ga->len = len; in garp_pdu_append_attr() 315 ga->event = event; in garp_pdu_append_attr() 316 memcpy(ga->data, attr->data, attr->dlen); in garp_pdu_append_attr() 442 const struct garp_attr_hdr *ga; in garp_pdu_parse_attr() local 447 if (!pskb_may_pull(skb, sizeof(*ga))) in garp_pdu_parse_attr() 449 ga = (struct garp_attr_hdr *)skb->data; in garp_pdu_parse_attr() 450 if (ga->len < sizeof(*ga)) in garp_pdu_parse_attr() [all …]
|
| /linux/kernel/ |
| H A D | cred.c | 495 struct group_info *ga, *gb; in cred_fscmp() local 510 ga = a->group_info; in cred_fscmp() 512 if (ga == gb) in cred_fscmp() 514 if (ga == NULL) in cred_fscmp() 518 if (ga->ngroups < gb->ngroups) in cred_fscmp() 520 if (ga->ngroups > gb->ngroups) in cred_fscmp() 523 for (g = 0; g < ga->ngroups; g++) { in cred_fscmp() 524 if (gid_lt(ga->gid[g], gb->gid[g])) in cred_fscmp() 526 if (gid_gt(ga->gid[g], gb->gid[g])) in cred_fscmp()
|
| /linux/net/tipc/ |
| H A D | link.c | 255 static u8 __tipc_build_gap_ack_blks(struct tipc_gap_ack_blks *ga, 260 struct tipc_gap_ack_blks *ga, 1414 u16 tipc_get_gap_ack_blks(struct tipc_gap_ack_blks **ga, struct tipc_link *l, in tipc_get_gap_ack_blks() argument 1441 *ga = p; in tipc_get_gap_ack_blks() 1445 static u8 __tipc_build_gap_ack_blks(struct tipc_gap_ack_blks *ga, in __tipc_build_gap_ack_blks() argument 1448 struct tipc_gap_ack *gacks = &ga->gacks[start_index]; in __tipc_build_gap_ack_blks() 1495 struct tipc_gap_ack_blks *ga; in tipc_build_gap_ack_blks() local 1498 ga = (struct tipc_gap_ack_blks *)msg_data(hdr); in tipc_build_gap_ack_blks() 1504 ga->bgack_cnt = __tipc_build_gap_ack_blks(ga, bcl, 0); in tipc_build_gap_ack_blks() 1508 ga->ugack_cnt = (msg_seq_gap(hdr)) ? in tipc_build_gap_ack_blks() [all …]
|
| H A D | link.h | 145 u16 tipc_get_gap_ack_blks(struct tipc_gap_ack_blks **ga, struct tipc_link *l, 148 struct tipc_gap_ack_blks *ga,
|
| H A D | bcast.c | 503 struct tipc_gap_ack_blks *ga; in tipc_bcast_sync_rcv() local 513 tipc_get_gap_ack_blks(&ga, l, hdr, false); in tipc_bcast_sync_rcv() 517 msg_bc_gap(hdr), ga, &xmitq, in tipc_bcast_sync_rcv()
|
| /linux/include/linux/platform_data/ |
| H A D | apds990x.h | 36 int ga; member
|
| /linux/drivers/acpi/numa/ |
| H A D | hmat.c | 627 struct acpi_srat_generic_affinity *ga = (void *)header; in srat_parse_genport_affinity() local 629 if (!ga) in srat_parse_genport_affinity() 632 if (!(ga->flags & ACPI_SRAT_GENERIC_AFFINITY_ENABLED)) in srat_parse_genport_affinity() 636 if (ga->device_handle_type != 0) in srat_parse_genport_affinity() 639 alloc_genport_target(ga->proximity_domain, in srat_parse_genport_affinity() 640 (u8 *)ga->device_handle); in srat_parse_genport_affinity()
|
| /linux/arch/powerpc/perf/ |
| H A D | hv-common.c | 35 caps->ga = !!(arg.caps.capability_mask & HV_GPCI_CM_GA); in hv_perf_caps_get()
|
| H A D | hv-common.h | 11 ga:1, member
|
| H A D | hv-gpci.c | 617 HV_CAPS_ATTR(ga, "%d\n");
|
| /linux/drivers/iio/light/ |
| H A D | us5182d.c | 122 u32 ga; member 316 result = ret * data->ga / US5182D_GA_RESOLUTION; in us5182d_get_als() 758 &data->ga)) in us5182d_get_platform_data() 759 data->ga = US5182D_GA_RESOLUTION; in us5182d_get_platform_data()
|
| /linux/net/appletalk/ |
| H A D | ddp.c | 512 struct sockaddr_at *ga = (struct sockaddr_at *)&r->rt_gateway; in atrtr_create() local 524 (!devhint && ga->sat_family != AF_APPLETALK)) in atrtr_create() 547 ntohs(ga->sat_addr.s_net) >= in atrtr_create() 549 ntohs(ga->sat_addr.s_net) <= in atrtr_create() 553 if (ga->sat_addr.s_net == iface->address.s_net && in atrtr_create() 554 ga->sat_addr.s_node == iface->address.s_node) in atrtr_create() 583 rt->gateway = ga->sat_addr; in atrtr_create()
|
| /linux/drivers/misc/ |
| H A D | apds990x.c | 278 APDS_PARAM_SCALE * 64) / (chip->cf.ga * chip->cf.df); in apds990x_lux_to_threshold() 446 lpc = APDS990X_LUX_OUTPUT_SCALE * (chip->cf.df * chip->cf.ga) / in apds990x_get_lux() 1075 if (chip->pdata->cf.ga == 0) { in apds990x_probe() 1077 chip->cf.ga = 1966; /* 0.48 * APDS_PARAM_SCALE */ in apds990x_probe()
|
| /linux/fs/nfs/ |
| H A D | dir.c | 2960 struct group_info *ga, *gb; in access_cmp() local 2973 ga = a->group_info; in access_cmp() 2975 if (ga == gb) in access_cmp() 2977 if (ga == NULL) in access_cmp() 2981 if (ga->ngroups < gb->ngroups) in access_cmp() 2983 if (ga->ngroups > gb->ngroups) in access_cmp() 2986 for (g = 0; g < ga->ngroups; g++) { in access_cmp() 2987 if (gid_lt(ga->gid[g], gb->gid[g])) in access_cmp() 2989 if (gid_gt(ga->gid[g], gb->gid[g])) in access_cmp()
|
| /linux/arch/powerpc/kvm/ |
| H A D | book3s_pr.c | 1868 ulong ga, ga_end; in kvm_vm_ioctl_get_dirty_log_pr() local 1881 ga = memslot->base_gfn << PAGE_SHIFT; in kvm_vm_ioctl_get_dirty_log_pr() 1882 ga_end = ga + (memslot->npages << PAGE_SHIFT); in kvm_vm_ioctl_get_dirty_log_pr() 1885 kvmppc_mmu_pte_pflush(vcpu, ga, ga_end); in kvm_vm_ioctl_get_dirty_log_pr()
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-bus-event_source-devices-hv_gpci | 42 What: /sys/bus/event_source/devices/hv_gpci/interface/ga
|