Home
last modified time | relevance | path

Searched refs:fptr (Results 1 – 15 of 15) sorted by relevance

/linux-6.12.1/tools/testing/selftests/prctl/
Dset-process-name.c57 FILE *fptr = NULL; in check_name() local
64 fptr = fopen(path, "r"); in check_name()
65 if (!fptr) in check_name()
68 fscanf(fptr, "%s", output); in check_name()
69 if (ferror(fptr)) in check_name()
/linux-6.12.1/net/ipv6/
Dudp_offload.c25 struct frag_hdr *fptr; in udp6_ufo_fragment() local
101 fptr = (struct frag_hdr *)(skb_network_header(skb) + unfrag_ip6hlen); in udp6_ufo_fragment()
102 fptr->nexthdr = nexthdr; in udp6_ufo_fragment()
103 fptr->reserved = 0; in udp6_ufo_fragment()
104 fptr->identification = ipv6_proxy_select_ident(dev_net(skb->dev), skb); in udp6_ufo_fragment()
Dip6_offload.c114 struct frag_hdr *fptr; in ipv6_gso_segment() local
180 fptr = (struct frag_hdr *)((u8 *)ipv6h + err); in ipv6_gso_segment()
181 fptr->frag_off = htons(offset); in ipv6_gso_segment()
183 fptr->frag_off |= htons(IP6_MF); in ipv6_gso_segment()
/linux-6.12.1/tools/perf/util/
Ddata.c201 data->file.fptr = fdopen(fd, mode); in check_pipe()
203 if (data->file.fptr == NULL) { in check_pipe()
399 fclose(data->file.fptr); in perf_data__close()
407 if (fread(buf, size, 1, data->file.fptr) == 1) in perf_data__read()
409 return feof(data->file.fptr) ? 0 : -1; in perf_data__read()
424 if (fwrite(buf, size, 1, data->file.fptr) == 1) in perf_data__write()
Ddata.h24 FILE *fptr; member
74 return fileno(data->file.fptr); in perf_data__fd()
/linux-6.12.1/drivers/gpu/drm/msm/
Dmsm_rd.c103 char *fptr = &fifo->buf[fifo->head]; in rd_write() local
115 memcpy(fptr, ptr, n); in rd_write()
138 const char *fptr = &fifo->buf[fifo->tail]; in rd_read() local
153 if (copy_to_user(buf, fptr, n)) { in rd_read()
/linux-6.12.1/drivers/net/ethernet/cavium/liquidio/
Docteon_droq.h226 void (*fptr)(u32, void *, u32, union octeon_rh *, void *, void *); member
Docteon_droq.c686 if (droq->ops.fptr) { in octeon_droq_fast_process_packets()
687 droq->ops.fptr(oct->octeon_id, in octeon_droq_fast_process_packets()
916 droq->ops.fptr = NULL; in octeon_unregister_droq_ops()
Dlio_core.c832 droq_ops.fptr = liquidio_push_packet; in liquidio_setup_io_queues()
/linux-6.12.1/arch/arc/kernel/
Dunwind.c909 unsigned long *fptr; in arc_unwind() local
1235 fptr = (unsigned long *)(&frame->regs); in arc_unwind()
1236 for (i = 0; i < ARRAY_SIZE(state.regs); ++i, fptr++) { in arc_unwind()
1309 unw_debug("r%d: 0x%lx ", i, *fptr); in arc_unwind()
/linux-6.12.1/drivers/misc/
Dmrvl_cn10k_dpi.c554 static long dpi_dev_ioctl(struct file *fptr, unsigned int cmd, unsigned long data) in dpi_dev_ioctl() argument
560 dpi = container_of(fptr->private_data, struct dpipf, miscdev); in dpi_dev_ioctl()
Dxilinx_sdfec.c935 static long xsdfec_dev_ioctl(struct file *fptr, unsigned int cmd, in xsdfec_dev_ioctl() argument
942 xsdfec = container_of(fptr->private_data, struct xsdfec_dev, miscdev); in xsdfec_dev_ioctl()
/linux-6.12.1/drivers/net/ethernet/adaptec/
Dstarfire.c1810 __le32 *fptr = (__le32 *) &mc_filter[(bit_nr >> 4) & ~1]; in set_rx_mode() local
1812 *fptr |= cpu_to_le32(1 << (bit_nr & 31)); in set_rx_mode()
/linux-6.12.1/lib/
Dtest_bpf.c14790 void *fptr = filter_pointer(which); in generate_filter() local
14796 fprog.filter = fptr; in generate_filter()
14833 memcpy(fp->insnsi, fptr, fp->len * sizeof(struct bpf_insn)); in generate_filter()
/linux-6.12.1/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c573 void *fptr; in bnxt_start_xmit() local
575 fptr = skb_frag_address_safe(frag); in bnxt_start_xmit()
576 if (!fptr) in bnxt_start_xmit()
579 memcpy(pdata, fptr, skb_frag_size(frag)); in bnxt_start_xmit()