/linux-6.1.9/net/dccp/ |
D | ackvec.c | 19 struct dccp_ackvec *av = kmem_cache_zalloc(dccp_ackvec_slab, priority); in dccp_ackvec_alloc() local 21 if (av != NULL) { in dccp_ackvec_alloc() 22 av->av_buf_head = av->av_buf_tail = DCCPAV_MAX_ACKVEC_LEN - 1; in dccp_ackvec_alloc() 23 INIT_LIST_HEAD(&av->av_records); in dccp_ackvec_alloc() 25 return av; in dccp_ackvec_alloc() 28 static void dccp_ackvec_purge_records(struct dccp_ackvec *av) in dccp_ackvec_purge_records() argument 32 list_for_each_entry_safe(cur, next, &av->av_records, avr_node) in dccp_ackvec_purge_records() 34 INIT_LIST_HEAD(&av->av_records); in dccp_ackvec_purge_records() 37 void dccp_ackvec_free(struct dccp_ackvec *av) in dccp_ackvec_free() argument 39 if (likely(av != NULL)) { in dccp_ackvec_free() [all …]
|
D | ackvec.h | 106 void dccp_ackvec_free(struct dccp_ackvec *av); 108 void dccp_ackvec_input(struct dccp_ackvec *av, struct sk_buff *skb); 109 int dccp_ackvec_update_records(struct dccp_ackvec *av, u64 seq, u8 sum); 110 void dccp_ackvec_clear_state(struct dccp_ackvec *av, const u64 ackno); 111 u16 dccp_ackvec_buflen(const struct dccp_ackvec *av); 113 static inline bool dccp_ackvec_is_empty(const struct dccp_ackvec *av) in dccp_ackvec_is_empty() argument 115 return av->av_overflow == 0 && av->av_buf_head == av->av_buf_tail; in dccp_ackvec_is_empty()
|
D | options.c | 399 struct dccp_ackvec *av = dp->dccps_hc_rx_ackvec; in dccp_insert_option_ackvec() local 401 const u16 buflen = dccp_ackvec_buflen(av); in dccp_insert_option_ackvec() 431 from = av->av_buf + av->av_buf_head; in dccp_insert_option_ackvec() 432 tail = av->av_buf + DCCPAV_MAX_ACKVEC_LEN; in dccp_insert_option_ackvec() 444 nonce ^= av->av_buf_nonce[i]; in dccp_insert_option_ackvec() 446 *to++ = DCCPO_ACK_VECTOR_0 + av->av_buf_nonce[i]; in dccp_insert_option_ackvec() 457 from = av->av_buf; in dccp_insert_option_ackvec() 468 if (dccp_ackvec_update_records(av, dcb->dccpd_seq, nonce)) in dccp_insert_option_ackvec()
|
/linux-6.1.9/drivers/infiniband/hw/mlx4/ |
D | ah.c | 48 ah->av.ib.port_pd = cpu_to_be32(to_mpd(ib_ah->pd)->pdn | in create_ib_ah() 50 ah->av.ib.g_slid = rdma_ah_get_path_bits(ah_attr); in create_ib_ah() 51 ah->av.ib.sl_tclass_flowlabel = in create_ib_ah() 56 ah->av.ib.g_slid |= 0x80; in create_ib_ah() 57 ah->av.ib.gid_index = grh->sgid_index; in create_ib_ah() 58 ah->av.ib.hop_limit = grh->hop_limit; in create_ib_ah() 59 ah->av.ib.sl_tclass_flowlabel |= in create_ib_ah() 62 memcpy(ah->av.ib.dgid, grh->dgid.raw, 16); in create_ib_ah() 65 ah->av.ib.dlid = cpu_to_be16(rdma_ah_get_dlid(ah_attr)); in create_ib_ah() 73 ah->av.ib.stat_rate = static_rate; in create_ib_ah() [all …]
|
/linux-6.1.9/drivers/infiniband/hw/mthca/ |
D | mthca_av.c | 159 struct mthca_av *av = NULL; in mthca_create_ah() local 164 ah->av = kmalloc(sizeof *ah->av, GFP_ATOMIC); in mthca_create_ah() 165 if (!ah->av) in mthca_create_ah() 169 av = ah->av; in mthca_create_ah() 178 av = kmalloc(sizeof *av, GFP_ATOMIC); in mthca_create_ah() 179 if (!av) in mthca_create_ah() 189 ah->av = dma_pool_zalloc(dev->av_table.pool, in mthca_create_ah() 191 if (!ah->av) in mthca_create_ah() 194 av = ah->av; in mthca_create_ah() 199 av->port_pd = cpu_to_be32(pd->pd_num | in mthca_create_ah() [all …]
|
/linux-6.1.9/drivers/infiniband/sw/rxe/ |
D | rxe_av.c | 10 void rxe_init_av(struct rdma_ah_attr *attr, struct rxe_av *av) in rxe_init_av() argument 12 rxe_av_from_attr(rdma_ah_get_port_num(attr), av, attr); in rxe_init_av() 13 rxe_av_fill_ip_info(av, attr); in rxe_init_av() 14 memcpy(av->dmac, attr->roce.dmac, ETH_ALEN); in rxe_init_av() 44 void rxe_av_from_attr(u8 port_num, struct rxe_av *av, in rxe_av_from_attr() argument 49 memset(av, 0, sizeof(*av)); in rxe_av_from_attr() 50 memcpy(av->grh.dgid.raw, grh->dgid.raw, sizeof(grh->dgid.raw)); in rxe_av_from_attr() 51 av->grh.flow_label = grh->flow_label; in rxe_av_from_attr() 52 av->grh.sgid_index = grh->sgid_index; in rxe_av_from_attr() 53 av->grh.hop_limit = grh->hop_limit; in rxe_av_from_attr() [all …]
|
D | rxe_net.c | 91 struct rxe_av *av) in rxe_find_route() argument 102 if (av->network_type == RXE_NETWORK_TYPE_IPV4) { in rxe_find_route() 106 saddr = &av->sgid_addr._sockaddr_in.sin_addr; in rxe_find_route() 107 daddr = &av->dgid_addr._sockaddr_in.sin_addr; in rxe_find_route() 109 } else if (av->network_type == RXE_NETWORK_TYPE_IPV6) { in rxe_find_route() 113 saddr6 = &av->sgid_addr._sockaddr_in6.sin6_addr; in rxe_find_route() 114 daddr6 = &av->dgid_addr._sockaddr_in6.sin6_addr; in rxe_find_route() 273 static int prepare4(struct rxe_av *av, struct rxe_pkt_info *pkt, in prepare4() argument 280 struct in_addr *saddr = &av->sgid_addr._sockaddr_in.sin_addr; in prepare4() 281 struct in_addr *daddr = &av->dgid_addr._sockaddr_in.sin_addr; in prepare4() [all …]
|
D | rxe_loc.h | 11 void rxe_init_av(struct rdma_ah_attr *attr, struct rxe_av *av); 15 void rxe_av_from_attr(u8 port_num, struct rxe_av *av, 18 void rxe_av_to_attr(struct rxe_av *av, struct rdma_ah_attr *attr); 20 void rxe_av_fill_ip_info(struct rxe_av *av, struct rdma_ah_attr *attr); 94 struct sk_buff *rxe_init_packet(struct rxe_dev *rxe, struct rxe_av *av, 96 int rxe_prepare(struct rxe_av *av, struct rxe_pkt_info *pkt,
|
D | rxe_req.c | 381 struct rxe_av *av, in init_req_packet() argument 400 skb = rxe_init_packet(rxe, av, paylen, pkt); in init_req_packet() 457 static int finish_packet(struct rxe_qp *qp, struct rxe_av *av, in finish_packet() argument 463 err = rxe_prepare(av, pkt, skb); in finish_packet() 633 struct rxe_av *av; in rxe_requester() local 749 av = rxe_get_av(&pkt, &ah); in rxe_requester() 750 if (unlikely(!av)) { in rxe_requester() 756 skb = init_req_packet(qp, av, wqe, opcode, payload, &pkt); in rxe_requester() 765 err = finish_packet(qp, av, wqe, &pkt, skb, payload); in rxe_requester()
|
/linux-6.1.9/drivers/infiniband/hw/hns/ |
D | hns_roce_ah.c | 65 ah->av.port = rdma_ah_get_port_num(ah_attr); in hns_roce_create_ah() 66 ah->av.gid_index = grh->sgid_index; in hns_roce_create_ah() 69 ah->av.stat_rate = IB_RATE_10_GBPS; in hns_roce_create_ah() 71 ah->av.hop_limit = grh->hop_limit; in hns_roce_create_ah() 72 ah->av.flowlabel = grh->flow_label; in hns_roce_create_ah() 73 ah->av.udp_sport = get_ah_udp_sport(ah_attr); in hns_roce_create_ah() 74 ah->av.sl = rdma_ah_get_sl(ah_attr); in hns_roce_create_ah() 75 ah->av.tclass = get_tclass(grh); in hns_roce_create_ah() 77 memcpy(ah->av.dgid, grh->dgid.raw, HNS_ROCE_GID_SIZE); in hns_roce_create_ah() 78 memcpy(ah->av.mac, ah_attr->roce.dmac, ETH_ALEN); in hns_roce_create_ah() [all …]
|
/linux-6.1.9/drivers/mtd/ubi/ |
D | attach.c | 107 struct ubi_ainf_volume *av; in find_or_add_av() local 113 av = rb_entry(parent, struct ubi_ainf_volume, rb); in find_or_add_av() 115 if (vol_id == av->vol_id) { in find_or_add_av() 121 return av; in find_or_add_av() 124 if (vol_id > av->vol_id) in find_or_add_av() 134 av = kzalloc(sizeof(*av), GFP_KERNEL); in find_or_add_av() 135 if (!av) in find_or_add_av() 138 av->vol_id = vol_id; in find_or_add_av() 143 rb_link_node(&av->rb, parent, p); in find_or_add_av() 144 rb_insert_color(&av->rb, &ai->volumes); in find_or_add_av() [all …]
|
D | vtbl.c | 363 struct ubi_ainf_volume *av) in process_lvol() argument 399 ubi_rb_for_each_entry(rb, aeb, &av->root, u.rb) { in process_lvol() 525 struct ubi_ainf_volume *av; in init_volumes() local 594 av = ubi_find_av(ai, i); in init_volumes() 595 if (!av || !av->leb_count) { in init_volumes() 607 if (av->leb_count != av->used_ebs) { in init_volumes() 613 av->vol_id, av->used_ebs - av->leb_count); in init_volumes() 618 vol->used_ebs = av->used_ebs; in init_volumes() 621 vol->used_bytes += av->last_data_size; in init_volumes() 622 vol->last_eb_bytes = av->last_data_size; in init_volumes() [all …]
|
D | fastmap.c | 178 struct ubi_ainf_volume *av; in add_vol() local 180 av = ubi_add_av(ai, vol_id); in add_vol() 181 if (IS_ERR(av)) in add_vol() 182 return av; in add_vol() 184 av->data_pad = data_pad; in add_vol() 185 av->last_data_size = last_eb_bytes; in add_vol() 186 av->compat = 0; in add_vol() 187 av->vol_type = vol_type; in add_vol() 188 if (av->vol_type == UBI_STATIC_VOLUME) in add_vol() 189 av->used_ebs = used_ebs; in add_vol() [all …]
|
D | debug.c | 159 void ubi_dump_av(const struct ubi_ainf_volume *av) in ubi_dump_av() argument 162 pr_err("\tvol_id %d\n", av->vol_id); in ubi_dump_av() 163 pr_err("\thighest_lnum %d\n", av->highest_lnum); in ubi_dump_av() 164 pr_err("\tleb_count %d\n", av->leb_count); in ubi_dump_av() 165 pr_err("\tcompat %d\n", av->compat); in ubi_dump_av() 166 pr_err("\tvol_type %d\n", av->vol_type); in ubi_dump_av() 167 pr_err("\tused_ebs %d\n", av->used_ebs); in ubi_dump_av() 168 pr_err("\tlast_data_size %d\n", av->last_data_size); in ubi_dump_av() 169 pr_err("\tdata_pad %d\n", av->data_pad); in ubi_dump_av()
|
/linux-6.1.9/drivers/infiniband/hw/mlx5/ |
D | ah.c | 62 memcpy(ah->av.rgid, &grh->dgid, 16); in create_ib_ah() 63 ah->av.grh_gid_fl = cpu_to_be32(grh->flow_label | in create_ib_ah() 66 ah->av.hop_limit = grh->hop_limit; in create_ib_ah() 67 ah->av.tclass = grh->traffic_class; in create_ib_ah() 70 ah->av.stat_rate_sl = (rdma_ah_get_static_rate(ah_attr) << 4); in create_ib_ah() 79 memcpy(ah->av.rmac, ah_attr->roce.dmac, in create_ib_ah() 81 ah->av.udp_sport = mlx5_ah_get_udp_sport(dev, ah_attr); in create_ib_ah() 82 ah->av.stat_rate_sl |= (rdma_ah_get_sl(ah_attr) & 0x7) << 1; in create_ib_ah() 85 ah->av.tclass |= MLX5_ECN_ENABLED; in create_ib_ah() 87 ah->av.rlid = cpu_to_be16(rdma_ah_get_dlid(ah_attr)); in create_ib_ah() [all …]
|
/linux-6.1.9/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_ah.c | 126 memcpy(&ah->av->eth_hdr, ð, eth_sz); in set_av_attr() 139 memcpy((u8 *)ah->av + eth_sz, &ipv4, sizeof(struct iphdr)); in set_av_attr() 150 memcpy((u8 *)ah->av + eth_sz, &grh, sizeof(struct ocrdma_grh)); in set_av_attr() 153 ah->av->valid |= OCRDMA_AV_VLAN_VALID; in set_av_attr() 154 ah->av->valid = cpu_to_le32(ah->av->valid); in set_av_attr() 230 struct ocrdma_av *av = ah->av; in ocrdma_query_ah() local 234 if (ah->av->valid & OCRDMA_AV_VALID) { in ocrdma_query_ah() 235 grh = (struct ocrdma_grh *)((u8 *)ah->av + in ocrdma_query_ah() 237 rdma_ah_set_sl(attr, be16_to_cpu(av->eth_hdr.vlan_tag) >> 13); in ocrdma_query_ah() 239 grh = (struct ocrdma_grh *)((u8 *)ah->av + in ocrdma_query_ah()
|
/linux-6.1.9/arch/powerpc/boot/ |
D | hack-coff.c | 28 main(int ac, char **av) in main() argument 41 if ((fd = open(av[1], 2)) == -1) { in main() 42 perror(av[2]); in main() 49 fprintf(stderr, "%s: not an xcoff file\n", av[1]); in main() 71 fprintf(stderr, "%s: write error\n", av[1]); in main() 78 fprintf(stderr, "%s: read error or file too short\n", av[1]); in main()
|
D | addnote.c | 115 main(int ac, char **av) in main() argument 122 fprintf(stderr, "Usage: %s elf-file\n", av[0]); in main() 125 fd = open(av[1], O_RDWR); in main() 127 perror(av[1]); in main() 162 av[1]); in main() 233 fprintf(stderr, "%s: write truncated\n", av[1]); in main() 240 fprintf(stderr, "%s does not appear to be an ELF file\n", av[1]); in main() 245 av[1]); in main()
|
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
D | gk20a.c | 64 struct gk20a_fw_av *av = &((struct gk20a_fw_av *)blob.data)[i]; in gk20a_gr_av_to_init() local 66 ent->addr = av->addr; in gk20a_gr_av_to_init() 67 ent->data = av->data; in gk20a_gr_av_to_init() 114 struct gk20a_fw_aiv *av = &((struct gk20a_fw_aiv *)blob.data)[i]; in gk20a_gr_aiv_to_init() local 116 ent->addr = av->addr; in gk20a_gr_aiv_to_init() 117 ent->data = av->data; in gk20a_gr_aiv_to_init() 160 struct gk20a_fw_av *av = &((struct gk20a_fw_av *)blob.data)[i]; in gk20a_gr_av_to_method() local 161 u32 class = av->addr & 0xffff; in gk20a_gr_av_to_method() 162 u32 addr = (av->addr & 0xffff0000) >> 14; in gk20a_gr_av_to_method() 178 init->data = av->data; in gk20a_gr_av_to_method()
|
/linux-6.1.9/drivers/media/pci/cx18/ |
D | Makefile | 5 cx18-av-core.o cx18-av-audio.o cx18-av-firmware.o cx18-av-vbi.o cx18-scb.o \
|
/linux-6.1.9/drivers/ps3/ |
D | ps3av_cmd.c | 29 u32 av; member 34 .av = PS3AV_CMD_AV_CS_RGB_8, 38 .av = PS3AV_CMD_AV_CS_RGB_8, 42 .av = PS3AV_CMD_AV_CS_RGB_8, 46 .av = PS3AV_CMD_AV_CS_YUV444_8, 50 .av = PS3AV_CMD_AV_CS_YUV444_8, 54 .av = PS3AV_CMD_AV_CS_YUV444_8, 58 .av = PS3AV_CMD_AV_CS_YUV422_8, 62 .av = PS3AV_CMD_AV_CS_YUV422_8, 66 .av = PS3AV_CMD_AV_CS_YUV422_8, [all …]
|
/linux-6.1.9/drivers/staging/media/deprecated/saa7146/av7110/ |
D | av7110_av.h | 16 extern int av7110_av_stop(struct av7110 *av7110, int av); 17 extern int av7110_av_start_record(struct av7110 *av7110, int av, 19 extern int av7110_av_start_play(struct av7110 *av7110, int av);
|
/linux-6.1.9/drivers/infiniband/core/ |
D | cm.c | 223 struct cm_av av; member 283 if (!cm_id_priv->av.port) in cm_alloc_msg() 286 spin_lock(&cm_id_priv->av.port->cm_dev->mad_agent_lock); in cm_alloc_msg() 287 mad_agent = cm_id_priv->av.port->mad_agent; in cm_alloc_msg() 293 ah = rdma_create_ah(mad_agent->qp->pd, &cm_id_priv->av.ah_attr, 0); in cm_alloc_msg() 300 cm_id_priv->av.pkey_index, in cm_alloc_msg() 317 spin_unlock(&cm_id_priv->av.port->cm_dev->mad_agent_lock); in cm_alloc_msg() 436 static void cm_set_av_port(struct cm_av *av, struct cm_port *port) in cm_set_av_port() argument 438 struct cm_port *old_port = av->port; in cm_set_av_port() 443 av->port = port; in cm_set_av_port() [all …]
|
/linux-6.1.9/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_verbs.c | 532 ah->av.port_pd = to_vpd(ibah->pd)->pd_handle | (port_num << 24); in pvrdma_create_ah() 533 ah->av.src_path_bits = rdma_ah_get_path_bits(ah_attr); in pvrdma_create_ah() 534 ah->av.src_path_bits |= 0x80; in pvrdma_create_ah() 535 ah->av.gid_index = grh->sgid_index; in pvrdma_create_ah() 536 ah->av.hop_limit = grh->hop_limit; in pvrdma_create_ah() 537 ah->av.sl_tclass_flowlabel = (grh->traffic_class << 20) | in pvrdma_create_ah() 539 memcpy(ah->av.dgid, grh->dgid.raw, 16); in pvrdma_create_ah() 540 memcpy(ah->av.dmac, ah_attr->roce.dmac, ETH_ALEN); in pvrdma_create_ah()
|
/linux-6.1.9/security/selinux/ |
D | hooks.c | 1583 u32 av = CAP_TO_MASK(cap); in cred_has_capability() local 1603 sid, sid, sclass, av, 0, &avd); in cred_has_capability() 1606 sid, sid, sclass, av, &avd, rc, &ad); in cred_has_capability() 1641 u32 av) in dentry_has_perm() argument 1649 return inode_has_perm(cred, inode, av, &ad); in dentry_has_perm() 1657 u32 av) in path_has_perm() argument 1665 return inode_has_perm(cred, inode, av, &ad); in path_has_perm() 1671 u32 av) in file_path_has_perm() argument 1677 return inode_has_perm(cred, file_inode(file), av, &ad); in file_path_has_perm() 1694 u32 av) in file_has_perm() argument [all …]
|