/linux-4.4.14/kernel/ |
D | smp.c | 40 struct call_function_data *cfd = &per_cpu(cfd_data, cpu); in hotplug_cfd() local 45 if (!zalloc_cpumask_var_node(&cfd->cpumask, GFP_KERNEL, in hotplug_cfd() 48 cfd->csd = alloc_percpu(struct call_single_data); in hotplug_cfd() 49 if (!cfd->csd) { in hotplug_cfd() 50 free_cpumask_var(cfd->cpumask); in hotplug_cfd() 62 free_cpumask_var(cfd->cpumask); in hotplug_cfd() 63 free_percpu(cfd->csd); in hotplug_cfd() 407 struct call_function_data *cfd; in smp_call_function_many() local 439 cfd = this_cpu_ptr(&cfd_data); in smp_call_function_many() 441 cpumask_and(cfd->cpumask, mask, cpu_online_mask); in smp_call_function_many() [all …]
|
/linux-4.4.14/drivers/media/platform/ti-vpe/ |
D | vpdma.c | 450 static void dump_cfd(struct vpdma_cfd *cfd) in dump_cfd() argument 454 class = cfd_get_class(cfd); in dump_cfd() 462 cfd->dest_addr_offset); in dump_cfd() 465 pr_debug("word1: num_data_wrds = %d\n", cfd->block_len); in dump_cfd() 467 pr_debug("word2: payload_addr = 0x%08x\n", cfd->payload_addr); in dump_cfd() 470 "payload_len = %d\n", cfd_get_pkt_type(cfd), in dump_cfd() 471 cfd_get_direct(cfd), class, cfd_get_dest(cfd), in dump_cfd() 472 cfd_get_payload_len(cfd)); in dump_cfd() 483 struct vpdma_cfd *cfd; in vpdma_add_cfd_block() local 488 cfd = list->next; in vpdma_add_cfd_block() [all …]
|
D | vpdma_priv.h | 486 static inline int cfd_get_pkt_type(struct vpdma_cfd *cfd) in cfd_get_pkt_type() argument 488 return cfd->ctl_payload_len >> CFD_PKT_TYPE_SHFT; in cfd_get_pkt_type() 491 static inline bool cfd_get_direct(struct vpdma_cfd *cfd) in cfd_get_direct() argument 493 return (cfd->ctl_payload_len >> CFD_DIRECT_SHFT) & CFD_DIRECT_MASK; in cfd_get_direct() 496 static inline bool cfd_get_class(struct vpdma_cfd *cfd) in cfd_get_class() argument 498 return (cfd->ctl_payload_len >> CFD_CLASS_SHFT) & CFD_CLASS_MASK; in cfd_get_class() 501 static inline int cfd_get_dest(struct vpdma_cfd *cfd) in cfd_get_dest() argument 503 return (cfd->ctl_payload_len >> CFD_DEST_SHFT) & CFD_DEST_MASK; in cfd_get_dest() 506 static inline int cfd_get_payload_len(struct vpdma_cfd *cfd) in cfd_get_payload_len() argument 508 return cfd->ctl_payload_len & CFD_PAYLOAD_LEN_MASK; in cfd_get_payload_len()
|
/linux-4.4.14/drivers/net/can/ |
D | vcan.c | 71 struct canfd_frame *cfd = (struct canfd_frame *)skb->data; in vcan_rx() local 75 stats->rx_bytes += cfd->len; in vcan_rx() 86 struct canfd_frame *cfd = (struct canfd_frame *)skb->data; in vcan_tx() local 94 stats->tx_bytes += cfd->len; in vcan_tx() 108 stats->rx_bytes += cfd->len; in vcan_tx()
|
D | dev.c | 598 struct canfd_frame **cfd) in alloc_canfd_skb() argument 619 *cfd = (struct canfd_frame *)skb_put(skb, sizeof(struct canfd_frame)); in alloc_canfd_skb() 620 memset(*cfd, 0, sizeof(struct canfd_frame)); in alloc_canfd_skb()
|
/linux-4.4.14/drivers/net/can/usb/peak_usb/ |
D | pcan_usb_fd.c | 479 struct canfd_frame *cfd; in pcan_usb_fd_decode_canmsg() local 485 skb = alloc_canfd_skb(netdev, &cfd); in pcan_usb_fd_decode_canmsg() 490 cfd->flags |= CANFD_BRS; in pcan_usb_fd_decode_canmsg() 493 cfd->flags |= CANFD_ESI; in pcan_usb_fd_decode_canmsg() 495 cfd->len = can_dlc2len(get_canfd_dlc(pucan_msg_get_dlc(rm))); in pcan_usb_fd_decode_canmsg() 498 skb = alloc_can_skb(netdev, (struct can_frame **)&cfd); in pcan_usb_fd_decode_canmsg() 502 cfd->len = get_can_dlc(pucan_msg_get_dlc(rm)); in pcan_usb_fd_decode_canmsg() 505 cfd->can_id = le32_to_cpu(rm->can_id); in pcan_usb_fd_decode_canmsg() 508 cfd->can_id |= CAN_EFF_FLAG; in pcan_usb_fd_decode_canmsg() 511 cfd->can_id |= CAN_RTR_FLAG; in pcan_usb_fd_decode_canmsg() [all …]
|
D | pcan_usb_core.c | 310 struct canfd_frame *cfd = (struct canfd_frame *)skb->data; in peak_usb_ndo_start_xmit() local 345 context->data_len = cfd->len; in peak_usb_ndo_start_xmit()
|
/linux-4.4.14/tools/cgroup/ |
D | cgroup_event_listener.c | 24 int cfd = -1; in main() local 33 cfd = open(argv[1], O_RDONLY); in main() 34 if (cfd == -1) in main() 50 ret = snprintf(line, LINE_MAX, "%d %d %s", efd, cfd, argv[2]); in main()
|
/linux-4.4.14/include/linux/can/ |
D | dev.h | 87 const struct canfd_frame *cfd = (struct canfd_frame *)skb->data; in can_dropped_invalid_skb() local 91 cfd->len > CAN_MAX_DLEN)) in can_dropped_invalid_skb() 95 cfd->len > CANFD_MAX_DLEN)) in can_dropped_invalid_skb() 161 struct canfd_frame **cfd);
|
/linux-4.4.14/net/can/ |
D | af_can.c | 230 struct canfd_frame *cfd = (struct canfd_frame *)skb->data; in can_send() local 235 if (unlikely(cfd->len > CAN_MAX_DLEN)) in can_send() 239 if (unlikely(cfd->len > CANFD_MAX_DLEN)) in can_send() 249 if (unlikely(skb->len > skb->dev->mtu && cfd->len > CAN_MAX_DLEN)) { in can_send() 712 struct canfd_frame *cfd = (struct canfd_frame *)skb->data; in can_rcv() local 719 cfd->len > CAN_MAX_DLEN, in can_rcv() 722 dev->type, skb->len, cfd->len)) in can_rcv() 736 struct canfd_frame *cfd = (struct canfd_frame *)skb->data; in canfd_rcv() local 743 cfd->len > CANFD_MAX_DLEN, in canfd_rcv() 746 dev->type, skb->len, cfd->len)) in canfd_rcv()
|
/linux-4.4.14/Documentation/accounting/ |
D | getdelays.c | 276 int cfd = 0; in main() local 426 cfd = open(containerpath, O_RDONLY); in main() 427 if (cfd < 0) { in main() 432 CGROUPSTATS_CMD_ATTR_FD, &cfd, sizeof(__u32)); in main() 543 if (cfd) in main() 544 close(cfd); in main()
|
/linux-4.4.14/Documentation/networking/ |
D | phonet.txt | 140 int lfd, cfd; 146 cfd = accept(lfd, NULL, NULL); 150 ssize_t len = read(cfd, buf, sizeof(buf)); 154 write(cfd, msg, msglen);
|
D | can.txt | 569 struct canfd_frame cfd; 571 nbytes = read(s, &cfd, CANFD_MTU); 574 printf("got CAN FD frame with length %d\n", cfd.len); 575 /* cfd.flags contains valid data */ 577 printf("got legacy CAN frame with length %d\n", cfd.len); 578 /* cfd.flags is undefined */ 586 printf("can_id: %X data length: %d data: ", cfd.can_id, cfd.len); 587 for (i = 0; i < cfd.len; i++) 588 printf("%02X ", cfd.data[i]);
|
/linux-4.4.14/drivers/usb/class/ |
D | cdc-acm.c | 1080 struct usb_cdc_country_functional_desc *cfd = NULL; in acm_probe() local 1170 cfd = (struct usb_cdc_country_functional_desc *)buffer; in acm_probe() 1422 if (cfd) { /* export the country data */ in acm_probe() 1423 acm->country_codes = kmalloc(cfd->bLength - 4, GFP_KERNEL); in acm_probe() 1426 acm->country_code_size = cfd->bLength - 4; in acm_probe() 1427 memcpy(acm->country_codes, (u8 *)&cfd->wCountyCode0, in acm_probe() 1428 cfd->bLength - 4); in acm_probe() 1429 acm->country_rel_date = cfd->iCountryCodeRelDate; in acm_probe()
|
/linux-4.4.14/mm/ |
D | memcontrol.c | 3893 unsigned int efd, cfd; in memcg_write_event_control() local 3907 cfd = simple_strtoul(buf, &endp, 10); in memcg_write_event_control() 3934 cfile = fdget(cfd); in memcg_write_event_control()
|