/linux-2.6.39/net/dccp/ |
D | ackvec.c | 21 struct dccp_ackvec *av = kmem_cache_zalloc(dccp_ackvec_slab, priority); in dccp_ackvec_alloc() local 23 if (av != NULL) { in dccp_ackvec_alloc() 24 av->av_buf_head = av->av_buf_tail = DCCPAV_MAX_ACKVEC_LEN - 1; in dccp_ackvec_alloc() 25 INIT_LIST_HEAD(&av->av_records); in dccp_ackvec_alloc() 27 return av; in dccp_ackvec_alloc() 30 static void dccp_ackvec_purge_records(struct dccp_ackvec *av) in dccp_ackvec_purge_records() argument 34 list_for_each_entry_safe(cur, next, &av->av_records, avr_node) in dccp_ackvec_purge_records() 36 INIT_LIST_HEAD(&av->av_records); in dccp_ackvec_purge_records() 39 void dccp_ackvec_free(struct dccp_ackvec *av) in dccp_ackvec_free() argument 41 if (likely(av != NULL)) { in dccp_ackvec_free() [all …]
|
D | ackvec.h | 106 extern void dccp_ackvec_free(struct dccp_ackvec *av); 108 extern void dccp_ackvec_input(struct dccp_ackvec *av, struct sk_buff *skb); 109 extern int dccp_ackvec_update_records(struct dccp_ackvec *av, u64 seq, u8 sum); 110 extern void dccp_ackvec_clear_state(struct dccp_ackvec *av, const u64 ackno); 111 extern 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 | 434 struct dccp_ackvec *av = dp->dccps_hc_rx_ackvec; in dccp_insert_option_ackvec() local 436 const u16 buflen = dccp_ackvec_buflen(av); in dccp_insert_option_ackvec() 466 from = av->av_buf + av->av_buf_head; in dccp_insert_option_ackvec() 467 tail = av->av_buf + DCCPAV_MAX_ACKVEC_LEN; in dccp_insert_option_ackvec() 479 nonce ^= av->av_buf_nonce[i]; in dccp_insert_option_ackvec() 481 *to++ = DCCPO_ACK_VECTOR_0 + av->av_buf_nonce[i]; in dccp_insert_option_ackvec() 492 from = av->av_buf; in dccp_insert_option_ackvec() 503 if (dccp_ackvec_update_records(av, dcb->dccpd_seq, nonce)) in dccp_insert_option_ackvec()
|
D | input.c | 165 struct dccp_ackvec *av = dccp_sk(sk)->dccps_hc_rx_ackvec; in dccp_handle_ackvec_processing() local 167 if (av == NULL) in dccp_handle_ackvec_processing() 170 dccp_ackvec_clear_state(av, DCCP_SKB_CB(skb)->dccpd_ack_seq); in dccp_handle_ackvec_processing() 171 dccp_ackvec_input(av, skb); in dccp_handle_ackvec_processing()
|
/linux-2.6.39/drivers/infiniband/hw/ehca/ |
D | ehca_av.c | 91 struct ehca_av *av; in ehca_create_ah() local 95 av = kmem_cache_alloc(av_cache, GFP_KERNEL); in ehca_create_ah() 96 if (!av) { in ehca_create_ah() 102 av->av.sl = ah_attr->sl; in ehca_create_ah() 103 av->av.dlid = ah_attr->dlid; in ehca_create_ah() 104 av->av.slid_path_bits = ah_attr->src_path_bits; in ehca_create_ah() 113 av->av.ipd = ipd; in ehca_create_ah() 115 av->av.ipd = ehca_static_rate; in ehca_create_ah() 117 av->av.lnh = ah_attr->ah_flags; in ehca_create_ah() 118 av->av.grh.word_0 = EHCA_BMASK_SET(GRH_IPVERSION_MASK, 6); in ehca_create_ah() [all …]
|
/linux-2.6.39/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 = pci_pool_alloc(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 memset(av, 0, MTHCA_AV_SIZE); in mthca_create_ah() [all …]
|
/linux-2.6.39/drivers/infiniband/hw/mlx4/ |
D | ah.c | 66 ah->av.ib.port_pd = cpu_to_be32(to_mpd(pd)->pdn | (ah_attr->port_num << 24)); in create_ib_ah() 67 ah->av.ib.g_slid = ah_attr->src_path_bits; in create_ib_ah() 69 ah->av.ib.g_slid |= 0x80; in create_ib_ah() 70 ah->av.ib.gid_index = ah_attr->grh.sgid_index; in create_ib_ah() 71 ah->av.ib.hop_limit = ah_attr->grh.hop_limit; in create_ib_ah() 72 ah->av.ib.sl_tclass_flowlabel |= in create_ib_ah() 75 memcpy(ah->av.ib.dgid, ah_attr->grh.dgid.raw, 16); in create_ib_ah() 78 ah->av.ib.dlid = cpu_to_be16(ah_attr->dlid); in create_ib_ah() 80 ah->av.ib.stat_rate = ah_attr->static_rate + MLX4_STAT_RATE_OFFSET; in create_ib_ah() 81 while (ah->av.ib.stat_rate > IB_RATE_2_5_GBPS + MLX4_STAT_RATE_OFFSET && in create_ib_ah() [all …]
|
D | qp.c | 186 struct mlx4_av *av = (struct mlx4_av *)dgram->av; in post_nop_wqe() local 188 av->port_pd = cpu_to_be32((qp->port << 24) | to_mpd(qp->ibqp.pd)->pdn); in post_nop_wqe() 1313 ib_get_cached_gid(ib_dev, be32_to_cpu(ah->av.ib.port_pd) >> 24, in build_mlx_header() 1314 ah->av.ib.gid_index, &sgid); in build_mlx_header() 1322 be32_to_cpu(ah->av.ib.sl_tclass_flowlabel) >> 28; in build_mlx_header() 1323 sqp->ud_header.lrh.destination_lid = ah->av.ib.dlid; in build_mlx_header() 1324 sqp->ud_header.lrh.source_lid = cpu_to_be16(ah->av.ib.g_slid & 0x7f); in build_mlx_header() 1329 (be32_to_cpu(ah->av.ib.sl_tclass_flowlabel) >> 20) & 0xff; in build_mlx_header() 1331 ah->av.ib.sl_tclass_flowlabel & cpu_to_be32(0xfffff); in build_mlx_header() 1332 sqp->ud_header.grh.hop_limit = ah->av.ib.hop_limit; in build_mlx_header() [all …]
|
D | mlx4_ib.h | 169 union mlx4_ext_av av; member 339 u8 port = be32_to_cpu(ah->av.ib.port_pd) >> 24 & 3; in mlx4_ib_ah_grh_present() 344 return !!(ah->av.ib.g_slid & 0x80); in mlx4_ib_ah_grh_present()
|
/linux-2.6.39/arch/powerpc/boot/ |
D | addnote.c | 92 main(int ac, char **av) in main() argument 99 fprintf(stderr, "Usage: %s elf-file\n", av[0]); in main() 102 fd = open(av[1], O_RDWR); in main() 104 perror(av[1]); in main() 123 av[1]); in main() 138 av[1]); in main() 191 fprintf(stderr, "%s: write truncated\n", av[1]); in main() 198 fprintf(stderr, "%s does not appear to be an ELF file\n", av[1]); in main() 203 av[1]); in main()
|
D | hack-coff.c | 32 main(int ac, char **av) in main() argument 45 if ((fd = open(av[1], 2)) == -1) { in main() 46 perror(av[2]); in main() 53 fprintf(stderr, "%s: not an xcoff file\n", av[1]); in main() 75 fprintf(stderr, "%s: write error\n", av[1]); in main() 82 fprintf(stderr, "%s: read error or file too short\n", av[1]); in main()
|
/linux-2.6.39/drivers/media/video/cx18/ |
D | Makefile | 4 cx18-av-core.o cx18-av-audio.o cx18-av-firmware.o cx18-av-vbi.o cx18-scb.o \
|
/linux-2.6.39/drivers/net/wan/lmc/ |
D | lmc_media.c | 638 lmc_av9110_t *av; in lmc_ssi_set_speed() local 648 av = &ictl->cardspec.ssi; in lmc_ssi_set_speed() 650 av->f = ictl->clock_rate; in lmc_ssi_set_speed() 651 av->n = 120; in lmc_ssi_set_speed() 652 av->m = 100; in lmc_ssi_set_speed() 653 av->v = 1; in lmc_ssi_set_speed() 654 av->x = 1; in lmc_ssi_set_speed() 655 av->r = 2; in lmc_ssi_set_speed() 657 write_av9110 (sc, av->n, av->m, av->v, av->x, av->r); in lmc_ssi_set_speed() 661 av = &ctl->cardspec.ssi; in lmc_ssi_set_speed() [all …]
|
/linux-2.6.39/drivers/media/dvb/ttpci/ |
D | av7110_av.h | 14 extern int av7110_av_stop(struct av7110 *av7110, int av); 15 extern int av7110_av_start_record(struct av7110 *av7110, int av, 17 extern int av7110_av_start_play(struct av7110 *av7110, int av);
|
D | av7110_av.c | 119 int av7110_av_start_record(struct av7110 *av7110, int av, in av7110_av_start_record() argument 127 if (av7110->playing || (av7110->rec_mode & av)) in av7110_av_start_record() 131 av7110->rec_mode |= av; in av7110_av_start_record() 165 int av7110_av_start_play(struct av7110 *av7110, int av) in av7110_av_start_play() argument 172 if (av7110->playing & av) in av7110_av_start_play() 182 av7110->playing |= av; in av7110_av_start_play() 199 int av7110_av_stop(struct av7110 *av7110, int av) in av7110_av_stop() argument 204 if (!(av7110->playing & av) && !(av7110->rec_mode & av)) in av7110_av_stop() 208 av7110->playing &= ~av; in av7110_av_stop() 221 av7110->rec_mode &= ~av; in av7110_av_stop()
|
D | Makefile | 15 obj-$(CONFIG_DVB_BUDGET_AV) += budget-av.o
|
/linux-2.6.39/drivers/ps3/ |
D | ps3av_cmd.c | 41 u32 av; member 46 .av = PS3AV_CMD_AV_CS_RGB_8, 50 .av = PS3AV_CMD_AV_CS_RGB_8, 54 .av = PS3AV_CMD_AV_CS_RGB_8, 58 .av = PS3AV_CMD_AV_CS_YUV444_8, 62 .av = PS3AV_CMD_AV_CS_YUV444_8, 66 .av = PS3AV_CMD_AV_CS_YUV444_8, 70 .av = PS3AV_CMD_AV_CS_YUV422_8, 74 .av = PS3AV_CMD_AV_CS_YUV422_8, 78 .av = PS3AV_CMD_AV_CS_YUV422_8, [all …]
|
/linux-2.6.39/drivers/infiniband/core/ |
D | cm.c | 215 struct cm_av av; member 258 mad_agent = cm_id_priv->av.port->mad_agent; in cm_alloc_msg() 259 ah = ib_create_ah(mad_agent->qp->pd, &cm_id_priv->av.ah_attr); in cm_alloc_msg() 264 cm_id_priv->av.pkey_index, in cm_alloc_msg() 340 struct ib_grh *grh, struct cm_av *av) in cm_init_av_for_response() argument 342 av->port = port; in cm_init_av_for_response() 343 av->pkey_index = wc->pkey_index; in cm_init_av_for_response() 345 grh, &av->ah_attr); in cm_init_av_for_response() 348 static int cm_init_av_by_path(struct ib_sa_path_rec *path, struct cm_av *av) in cm_init_av_by_path() argument 370 be16_to_cpu(path->pkey), &av->pkey_index); in cm_init_av_by_path() [all …]
|
/linux-2.6.39/drivers/gpu/drm/i915/ |
D | intel_tv.c | 95 u16 rv, gv, bv, av; member 223 .rv = 0x0340, .gv = 0x030c, .bv = 0x06d0, .av = 0x0200, 233 .rv = 0x037a, .gv = 0x033d, .bv = 0x06f6, .av = 0x0200, 243 .rv = 0x035a, .gv = 0x0322, .bv = 0x06e1, .av = 0x0200, 253 .rv = 0x0399, .gv = 0x0356, .bv = 0x070a, .av = 0x0200, 263 .rv = 0x0353, .gv = 0x031c, .bv = 0x06dc, .av = 0x0200, 273 .rv = 0x0390, .gv = 0x034f, .bv = 0x0705, .av = 0x0200, 283 .rv = 0x0340, .gv = 0x030c, .bv = 0x06d0, .av = 0x0200, 293 .rv = 0x037a, .gv = 0x033d, .bv = 0x06f6, .av = 0x0200, 303 .rv = 0x0340, .gv = 0x030c, .bv = 0x06d0, .av = 0x0200, [all …]
|
/linux-2.6.39/security/selinux/ |
D | hooks.c | 1428 u32 av = CAP_TO_MASK(cap); in task_has_capability() local 1448 rc = avc_has_perm_noaudit(sid, sid, sclass, av, 0, &avd); in task_has_capability() 1450 int rc2 = avc_audit(sid, sid, sclass, av, &avd, rc, &ad, 0); in task_has_capability() 1503 u32 av) in dentry_has_perm() argument 1511 return inode_has_perm(cred, inode, av, &ad, 0); in dentry_has_perm() 1524 u32 av) in file_has_perm() argument 1546 if (av) in file_has_perm() 1547 rc = inode_has_perm(cred, inode, av, &ad, 0); in file_has_perm() 1618 u32 av; in may_link() local 1627 av = DIR__SEARCH; in may_link() [all …]
|
D | avc.c | 104 static void avc_dump_av(struct audit_buffer *ab, u16 tclass, u32 av) in avc_dump_av() argument 109 if (av == 0) { in avc_dump_av() 119 while (i < (sizeof(av) * 8)) { in avc_dump_av() 120 if ((perm & av) && perms[i]) { in avc_dump_av() 122 av &= ~perm; in avc_dump_av() 128 if (av) in avc_dump_av() 129 audit_log_format(ab, " 0x%x", av); in avc_dump_av()
|
/linux-2.6.39/scripts/kconfig/ |
D | conf.c | 459 int main(int ac, char **av) in main() argument 469 while ((opt = getopt_long(ac, av, "", long_opts, NULL)) != -1) { in main() 501 printf(_("%s: Kconfig file missing\n"), av[0]); in main() 504 name = av[optind]; in main()
|
D | kxgettext.c | 229 int main(int ac, char **av) in main() argument 231 conf_parse(av[1]); in main()
|
D | gconf.c | 1499 int main(int ac, char *av[]) in main() argument 1515 gtk_init(&ac, &av); in main() 1525 else if (av[0][0] == '/') in main() 1526 glade_file = g_strconcat(av[0], ".glade", NULL); in main() 1528 glade_file = g_strconcat(g_get_current_dir(), "/", av[0], ".glade", NULL); in main() 1531 if (ac > 1 && av[1][0] == '-') { in main() 1532 switch (av[1][1]) { in main() 1538 printf("%s <config>\n", av[0]); in main() 1541 name = av[2]; in main() 1543 name = av[1]; in main()
|
/linux-2.6.39/drivers/media/video/cx23885/ |
D | Makefile | 3 cx23885-ioctl.o cx23885-ir.o cx23885-av.o cx23885-input.o \
|