/linux-4.1.27/drivers/staging/ozwpan/ |
D | ozusbsvc1.c | 33 struct oz_elt *elt = (struct oz_elt *)ei->data; in oz_usb_submit_elt() local 34 struct oz_app_hdr *app_hdr = (struct oz_app_hdr *)(elt+1); in oz_usb_submit_elt() 36 elt->type = OZ_ELT_APP_DATA; in oz_usb_submit_elt() 38 ei->length = elt->length + sizeof(struct oz_elt); in oz_usb_submit_elt() 61 struct oz_elt *elt; in oz_usb_get_desc_req() local 76 elt = (struct oz_elt *)ei->data; in oz_usb_get_desc_req() 77 elt->length = sizeof(struct oz_get_desc_req); in oz_usb_get_desc_req() 78 body = (struct oz_get_desc_req *)(elt+1); in oz_usb_get_desc_req() 97 struct oz_elt *elt; in oz_usb_set_config_req() local 104 elt = (struct oz_elt *)ei->data; in oz_usb_set_config_req() [all …]
|
D | ozproto.c | 80 struct oz_elt *elt; in oz_send_conn_rsp() local 91 elt = (struct oz_elt *)(oz_hdr+1); in oz_send_conn_rsp() 92 body = (struct oz_elt_connect_rsp *)(elt+1); in oz_send_conn_rsp() 104 elt->type = OZ_ELT_CONNECT_RSP; in oz_send_conn_rsp() 105 elt->length = sizeof(struct oz_elt_connect_rsp); in oz_send_conn_rsp() 163 static struct oz_pd *oz_connect_req(struct oz_pd *cur_pd, struct oz_elt *elt, in oz_connect_req() argument 168 (struct oz_elt_connect_req *)(elt+1); in oz_connect_req() 336 struct oz_elt *elt; in oz_rx_frame() local 395 elt = (struct oz_elt *)((u8 *)oz_hdr + sizeof(struct oz_hdr)); in oz_rx_frame() 398 length -= sizeof(struct oz_elt) + elt->length; in oz_rx_frame() [all …]
|
D | ozcdev.c | 154 struct oz_elt *elt; in oz_cdev_write() local 158 if (count > sizeof(ei->data) - sizeof(*elt) - sizeof(*app_hdr)) in oz_cdev_write() 176 elt = (struct oz_elt *)ei->data; in oz_cdev_write() 177 app_hdr = (struct oz_app_hdr *)(elt+1); in oz_cdev_write() 178 elt->length = sizeof(struct oz_app_hdr) + count; in oz_cdev_write() 179 elt->type = OZ_ELT_APP_DATA; in oz_cdev_write() 181 ei->length = elt->length + sizeof(struct oz_elt); in oz_cdev_write() 498 void oz_cdev_rx(struct oz_pd *pd, struct oz_elt *elt) in oz_cdev_rx() argument 514 app_hdr = (struct oz_app_hdr *)(elt+1); in oz_cdev_rx() 526 len = elt->length - sizeof(struct oz_app_hdr); in oz_cdev_rx() [all …]
|
D | ozpd.c | 413 struct oz_elt *elt; in oz_build_frame() local 438 elt = (struct oz_elt *)(oz_hdr+1); in oz_build_frame() 440 memcpy(elt, ei->data, ei->length); in oz_build_frame() 441 elt = oz_next_elt(elt); in oz_build_frame() 568 struct oz_elt *elt; in oz_send_isoc_frame() local 595 elt = (struct oz_elt *)(oz_hdr+1); in oz_send_isoc_frame() 598 memcpy(elt, ei->data, ei->length); in oz_send_isoc_frame() 599 elt = oz_next_elt(elt); in oz_send_isoc_frame() 858 void oz_handle_app_elt(struct oz_pd *pd, u8 app_id, struct oz_elt *elt) in oz_handle_app_elt() argument 861 g_app_if[app_id].rx(pd, elt); in oz_handle_app_elt()
|
D | ozcdev.h | 15 void oz_cdev_rx(struct oz_pd *pd, struct oz_elt *elt);
|
D | ozusbsvc.h | 27 void oz_usb_rx(struct oz_pd *pd, struct oz_elt *elt);
|
D | ozproto.h | 37 void (*rx)(struct oz_pd *pd, struct oz_elt *elt);
|
D | ozpd.h | 127 void oz_handle_app_elt(struct oz_pd *pd, u8 app_id, struct oz_elt *elt);
|
/linux-4.1.27/kernel/trace/ |
D | trace_events_filter.c | 1206 struct postfix_elt *elt; in postfix_append_operand() local 1208 elt = kmalloc(sizeof(*elt), GFP_KERNEL); in postfix_append_operand() 1209 if (!elt) in postfix_append_operand() 1212 elt->op = OP_NONE; in postfix_append_operand() 1213 elt->operand = kstrdup(operand, GFP_KERNEL); in postfix_append_operand() 1214 if (!elt->operand) { in postfix_append_operand() 1215 kfree(elt); in postfix_append_operand() 1219 list_add_tail(&elt->list, &ps->postfix); in postfix_append_operand() 1226 struct postfix_elt *elt; in postfix_append_op() local 1228 elt = kmalloc(sizeof(*elt), GFP_KERNEL); in postfix_append_op() [all …]
|
/linux-4.1.27/drivers/scsi/ |
D | atari_scsi.c | 121 #define SCSI_DMA_WRITE_P(elt,val) \ argument 124 tt_scsi_dma.elt##_lo = v & 0xff; \ 126 tt_scsi_dma.elt##_lmd = v & 0xff; \ 128 tt_scsi_dma.elt##_hmd = v & 0xff; \ 130 tt_scsi_dma.elt##_hi = v & 0xff; \ 133 #define SCSI_DMA_READ_P(elt) \ argument 134 (((((((unsigned long)tt_scsi_dma.elt##_hi << 8) | \ 135 (unsigned long)tt_scsi_dma.elt##_hmd) << 8) | \ 136 (unsigned long)tt_scsi_dma.elt##_lmd) << 8) | \ 137 (unsigned long)tt_scsi_dma.elt##_lo)
|
/linux-4.1.27/drivers/gpu/drm/i915/ |
D | i915_gpu_error.c | 319 int page, offset, elt; in print_error_obj() local 322 for (elt = 0; elt < PAGE_SIZE/4; elt++) { in print_error_obj() 324 obj->pages[page][elt]); in print_error_obj() 337 int i, j, offset, elt; in i915_error_state_to_str() local 459 for (elt = 0; elt < PAGE_SIZE/16; elt += 4) { in i915_error_state_to_str() 462 obj->pages[0][elt], in i915_error_state_to_str() 463 obj->pages[0][elt+1], in i915_error_state_to_str() 464 obj->pages[0][elt+2], in i915_error_state_to_str() 465 obj->pages[0][elt+3]); in i915_error_state_to_str() 480 for (elt = 0; elt < PAGE_SIZE/16; elt += 4) { in i915_error_state_to_str() [all …]
|
/linux-4.1.27/drivers/infiniband/hw/qib/ |
D | qib_sd7220.c | 88 #define EPB_LOC(chn, elt, reg) \ argument 89 (((elt & 0xf) | ((chn & 7) << 4) | ((reg & 0x3f) << 9)) << \ 1005 #define RXEQ_INIT_RDESC(elt, addr) (((elt) & 0xF) | ((addr) << 4)) argument 1006 #define RXEQ_VAL(elt, adr, val0, val1, val2, val3) \ argument 1007 {RXEQ_INIT_RDESC((elt), (adr)), {(val0), (val1), (val2), (val3)} } 1009 #define RXEQ_VAL_ALL(elt, adr, val) \ argument 1010 {RXEQ_INIT_RDESC((elt), (adr)), {(val), (val), (val), (val)} } 1227 int elt, reg, val, loc; in set_rxeq_vals() local 1229 elt = rxeq_init_vals[ridx].rdesc & 0xF; in set_rxeq_vals() 1231 loc = EPB_LOC(0, elt, reg); in set_rxeq_vals()
|
/linux-4.1.27/include/linux/ |
D | bsearch.h | 7 int (*cmp)(const void *key, const void *elt));
|
/linux-4.1.27/include/net/sctp/ |
D | command.h | 154 #define SCTP_ARG_CONSTRUCTOR(name, type, elt) \ argument 159 retval.elt = arg;\
|
/linux-4.1.27/lib/ |
D | bsearch.c | 34 int (*cmp)(const void *key, const void *elt)) in bsearch() argument
|
/linux-4.1.27/net/core/ |
D | skbuff.c | 3366 int elt = 0; in __skb_to_sgvec() local 3372 elt++; in __skb_to_sgvec() 3374 return elt; in __skb_to_sgvec() 3389 sg_set_page(&sg[elt], skb_frag_page(frag), copy, in __skb_to_sgvec() 3391 elt++; in __skb_to_sgvec() 3393 return elt; in __skb_to_sgvec() 3408 elt += __skb_to_sgvec(frag_iter, sg+elt, offset - start, in __skb_to_sgvec() 3411 return elt; in __skb_to_sgvec() 3417 return elt; in __skb_to_sgvec() 3476 int elt; in skb_cow_data() local [all …]
|
/linux-4.1.27/drivers/gpu/drm/qxl/ |
D | qxl_cmd.c | 110 uint8_t *elt; in qxl_ring_push() local 137 elt = ring->ring->elements + idx * ring->element_size; in qxl_ring_push() 139 memcpy((void *)elt, new_elt, ring->element_size); in qxl_ring_push()
|
/linux-4.1.27/drivers/md/ |
D | dm-cache-policy-mq.c | 168 static void queue_push(struct queue *q, unsigned level, struct list_head *elt) in queue_push() argument 171 list_add_tail(elt, q->qs + level); in queue_push() 174 static void queue_remove(struct queue *q, struct list_head *elt) in queue_remove() argument 177 list_del(elt); in queue_remove()
|
/linux-4.1.27/drivers/md/persistent-data/ |
D | dm-btree.c | 27 unsigned index, void *elt) in array_insert() argument 28 __dm_written_to_disk(elt) in array_insert() 35 memcpy_disk(base + (elt_size * index), elt, elt_size); in array_insert()
|
/linux-4.1.27/drivers/hwmon/ |
D | ibmaem.c | 362 static int aem_read_sensor(struct aem_data *data, u8 elt, u8 reg, in aem_read_sensor() argument 384 rs_req.element = elt; in aem_read_sensor()
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/ |
D | cfg80211.c | 370 const struct brcmf_tlv *elt = buf; in brcmf_parse_tlvs() local 375 int len = elt->len; in brcmf_parse_tlvs() 378 if ((elt->id == key) && (totlen >= (len + TLV_HDR_LEN))) in brcmf_parse_tlvs() 379 return elt; in brcmf_parse_tlvs() 381 elt = (struct brcmf_tlv *)((u8 *)elt + (len + TLV_HDR_LEN)); in brcmf_parse_tlvs()
|
/linux-4.1.27/fs/btrfs/ |
D | send.c | 1165 static int __clone_root_cmp_bsearch(const void *key, const void *elt) in __clone_root_cmp_bsearch() argument 1168 struct clone_root *cr = (struct clone_root *)elt; in __clone_root_cmp_bsearch()
|