Searched refs:fp (Results 26 - 50 of 151) sorted by last modified time

1234567

/drivers/scsi/esas2r/
H A Desas2r_main.c680 long esas2r_proc_ioctl(struct file *fp, unsigned int cmd, unsigned long arg) argument
/drivers/scsi/fcoe/
H A Dfcoe.c848 * @fp: The I/O frame
864 static bool fcoe_oem_match(struct fc_frame *fp) argument
866 struct fc_frame_header *fh = fc_frame_header_get(fp);
869 if (fc_fcp_is_read(fr_fsp(fp)) &&
870 (fr_fsp(fp)->data_len > fcoe_ddp_min))
872 else if ((fr_fsp(fp) == NULL) &&
875 fcp = fc_frame_payload_get(fp, sizeof(*fcp));
1581 * @fp: The frame to be transmitted
1585 static int fcoe_xmit(struct fc_lport *lport, struct fc_frame *fp) argument
1603 WARN_ON((fr_len(fp)
1733 fcoe_filter_frames(struct fc_lport *lport, struct fc_frame *fp) argument
1790 struct fc_frame *fp; local
2734 fcoe_flogi_resp(struct fc_seq *seq, struct fc_frame *fp, void *arg) argument
2763 fcoe_logo_resp(struct fc_seq *seq, struct fc_frame *fp, void *arg) argument
2782 fcoe_elsct_send(struct fc_lport *lport, u32 did, struct fc_frame *fp, unsigned int op, void (*resp)(struct fc_seq *, struct fc_frame *, void *), void *arg, u32 timeout) argument
2915 struct fc_frame *fp; local
2957 fcoe_set_port_id(struct fc_lport *lport, u32 port_id, struct fc_frame *fp) argument
[all...]
H A Dfcoe_ctlr.c705 struct fc_frame *fp; local
711 fp = container_of(skb, struct fc_frame, skb);
783 op = fr_encaps(fp);
1142 struct fc_frame *fp = (struct fc_frame *)skb; local
1260 memcpy(fr_cb(fp)->granted_mac, granted_mac, ETH_ALEN);
1284 fp = (struct fc_frame *)skb;
1285 fc_frame_init(fp);
1286 fr_sof(fp) = FC_SOF_I3;
1287 fr_eof(fp) = FC_EOF_T;
1288 fr_dev(fp)
1870 fcoe_ctlr_recv_flogi(struct fcoe_ctlr *fip, struct fc_lport *lport, struct fc_frame *fp) argument
2718 fcoe_ctlr_disc_recv(struct fc_lport *lport, struct fc_frame *fp) argument
[all...]
H A Dfcoe_transport.c291 * @fp: The frame to be checksumed
297 u32 fcoe_fc_crc(struct fc_frame *fp) argument
299 struct sk_buff *skb = fp_skb(fp);
/drivers/scsi/fnic/
H A Dfnic_fcs.c152 struct fc_frame *fp; local
162 fp = (struct fc_frame *)skb;
176 fc_exch_recv(lp, fp);
624 struct fc_frame *fp; local
662 fp = (struct fc_frame *)skb;
663 fc_frame_init(fp);
664 fr_sof(fp) = fcoe_hdr->fcoe_sof;
669 fr_eof(fp) = ft->fcoe_eof;
719 * @fp: received frame containing the FLOGI accept or NULL.
727 * If the FC_ID is due to point-to-point, fp ma
729 fnic_set_port_id(struct fc_lport *lport, u32 port_id, struct fc_frame *fp) argument
792 struct fc_frame *fp; local
956 struct fc_frame *fp = buf->os_buf; local
1018 fnic_send_frame(struct fnic *fnic, struct fc_frame *fp) argument
1099 fnic_send(struct fc_lport *lp, struct fc_frame *fp) argument
1137 struct fc_frame *fp; local
1188 struct fc_frame *fp = (struct fc_frame *)skb; local
1231 struct fc_frame *fp = buf->os_buf; local
[all...]
/drivers/scsi/libfc/
H A Dfc_disc.c80 * @fp: The RSCN frame
85 static void fc_disc_recv_rscn_req(struct fc_disc *disc, struct fc_frame *fp) argument
103 rp = fc_frame_payload_get(fp, sizeof(*rp));
114 rp = fc_frame_payload_get(fp, len);
153 lport->tt.seq_els_rsp_send(fp, ELS_LS_ACC, NULL);
175 fc_frame_free(fp);
181 lport->tt.seq_els_rsp_send(fp, ELS_LS_RJT, &rjt_data);
182 fc_frame_free(fp);
188 * @fp: The request frame
194 static void fc_disc_recv_req(struct fc_lport *lport, struct fc_frame *fp) argument
311 fc_disc_error(struct fc_disc *disc, struct fc_frame *fp) argument
359 struct fc_frame *fp; local
509 fc_disc_gpn_ft_resp(struct fc_seq *sp, struct fc_frame *fp, void *disc_arg) argument
581 fc_disc_gpn_id_resp(struct fc_seq *sp, struct fc_frame *fp, void *rdata_arg) argument
655 struct fc_frame *fp; local
[all...]
H A Dfc_elsct.c37 * @fp: The frame to be sent
44 struct fc_frame *fp, unsigned int op,
56 rc = fc_els_fill(lport, did, fp, op, &r_ctl, &fh_type);
59 rc = fc_ct_fill(lport, did, fp, op, &r_ctl, &fh_type, &did);
63 fc_frame_free(fp);
67 fc_fill_fc_hdr(fp, r_ctl, did, lport->port_id, fh_type,
70 return lport->tt.exch_seq_send(lport, fp, resp, NULL, arg, timer_msec);
89 * @fp: The frame pointer or possible error code
91 const char *fc_els_resp_type(struct fc_frame *fp) argument
97 if (IS_ERR(fp)) {
43 fc_elsct_send(struct fc_lport *lport, u32 did, struct fc_frame *fp, unsigned int op, void (*resp)(struct fc_seq *, struct fc_frame *, void *), void *arg, u32 timer_msec) argument
[all...]
H A Dfc_exch.c266 * @fp: The frame whose header is to be modified
272 static void fc_exch_setup_hdr(struct fc_exch *ep, struct fc_frame *fp, argument
275 struct fc_frame_header *fh = fc_frame_header_get(fp);
278 fr_sof(fp) = ep->class;
280 fr_sof(fp) = fc_sof_normal(ep->class);
283 fr_eof(fp) = FC_EOF_T;
285 fr_eof(fp) = FC_EOF_N;
295 fill = fr_len(fp) & 3;
299 skb_put(fp_skb(fp), fill);
303 WARN_ON(fr_len(fp)
466 fc_seq_send_locked(struct fc_lport *lport, struct fc_seq *sp, struct fc_frame *fp) argument
528 fc_seq_send(struct fc_lport *lport, struct fc_seq *sp, struct fc_frame *fp) argument
632 struct fc_frame *fp; local
718 fc_invoke_resp(struct fc_exch *ep, struct fc_seq *sp, struct fc_frame *fp) argument
893 fc_exch_alloc(struct fc_lport *lport, struct fc_frame *fp) argument
957 fc_exch_resp(struct fc_lport *lport, struct fc_exch_mgr *mp, struct fc_frame *fp) argument
1005 fc_seq_lookup_recip(struct fc_lport *lport, struct fc_exch_mgr *mp, struct fc_frame *fp) argument
1135 fc_seq_lookup_orig(struct fc_exch_mgr *mp, struct fc_frame *fp) argument
1194 fc_seq_els_rsp_send(struct fc_frame *fp, enum fc_els_cmd els_cmd, struct fc_seq_els_data *els_data) argument
1222 fc_seq_send_last(struct fc_seq *sp, struct fc_frame *fp, enum fc_rctl rctl, enum fc_fh_type fh_type) argument
1243 struct fc_frame *fp; local
1305 struct fc_frame *fp; local
1372 struct fc_frame *fp; local
1430 fc_seq_assign(struct fc_lport *lport, struct fc_frame *fp) argument
1463 fc_exch_recv_req(struct fc_lport *lport, struct fc_exch_mgr *mp, struct fc_frame *fp) argument
1525 fc_exch_recv_seq_resp(struct fc_exch_mgr *mp, struct fc_frame *fp) argument
1615 fc_exch_recv_resp(struct fc_exch_mgr *mp, struct fc_frame *fp) argument
1637 fc_exch_abts_resp(struct fc_exch *ep, struct fc_frame *fp) argument
1712 fc_exch_recv_bls(struct fc_exch_mgr *mp, struct fc_frame *fp) argument
1778 struct fc_frame *fp; local
1805 struct fc_frame *fp; local
1949 struct fc_frame *fp; local
2015 fc_exch_rrq_resp(struct fc_seq *sp, struct fc_frame *fp, void *arg) argument
2071 fc_exch_seq_send(struct fc_lport *lport, struct fc_frame *fp, void (*resp)(struct fc_seq *, struct fc_frame *fp, void *arg), void (*destructor)(struct fc_seq *, void *), void *arg, u32 timer_msec) argument
2143 struct fc_frame *fp; local
2188 fc_exch_els_rrq(struct fc_frame *fp) argument
2494 fc_exch_recv(struct fc_lport *lport, struct fc_frame *fp) argument
[all...]
H A Dfc_fcp.c423 struct fc_frame *fp; local
425 fp = fc_frame_alloc(lport, len);
426 if (likely(fp))
427 return fp;
439 * @fp: The data frame
441 static void fc_fcp_recv_data(struct fc_fcp_pkt *fsp, struct fc_frame *fp) argument
457 fh = fc_frame_header_get(fp);
460 len = fr_len(fp) - sizeof(*fh);
461 buf = fc_frame_payload_get(fp, 0);
478 if ((fr_flags(fp)
565 struct fc_frame *fp = NULL; local
706 fc_fcp_abts_resp(struct fc_fcp_pkt *fsp, struct fc_frame *fp) argument
750 fc_fcp_recv(struct fc_seq *seq, struct fc_frame *fp, void *arg) argument
820 fc_fcp_resp(struct fc_fcp_pkt *fsp, struct fc_frame *fp) argument
1122 fc_fcp_cmd_send(struct fc_lport *lport, struct fc_fcp_pkt *fsp, void (*resp)(struct fc_seq *, struct fc_frame *fp, void *arg)) argument
1127 struct fc_frame *fp; local
1176 fc_fcp_error(struct fc_fcp_pkt *fsp, struct fc_frame *fp) argument
1315 fc_tm_done(struct fc_seq *seq, struct fc_frame *fp, void *arg) argument
1402 struct fc_frame *fp; local
1448 fc_fcp_rec_resp(struct fc_seq *seq, struct fc_frame *fp, void *arg) argument
1587 fc_fcp_rec_error(struct fc_fcp_pkt *fsp, struct fc_frame *fp) argument
1655 struct fc_frame *fp; local
1703 fc_fcp_srr_resp(struct fc_seq *seq, struct fc_frame *fp, void *arg) argument
1750 fc_fcp_srr_error(struct fc_fcp_pkt *fsp, struct fc_frame *fp) argument
[all...]
H A Dfc_frame.c34 u32 fc_frame_crc_check(struct fc_frame *fp) argument
41 WARN_ON(!fc_frame_is_linear(fp));
42 fr_flags(fp) &= ~FCPHF_CRC_UNCHECKED;
43 len = (fr_len(fp) + 3) & ~3; /* round up length to include fill */
44 bp = (const u8 *) fr_hdr(fp);
46 error = crc ^ fr_crc(fp);
57 struct fc_frame *fp; local
67 fp = (struct fc_frame *) skb;
68 fc_frame_init(fp);
70 return fp;
76 struct fc_frame *fp; local
[all...]
H A Dfc_libfc.c159 * @fp: reply frame containing header to be filled in
166 void fc_fill_hdr(struct fc_frame *fp, const struct fc_frame *in_fp, argument
174 fh = __fc_frame_header_get(fp);
178 fill = -fr_len(fp) & 3;
181 memset(skb_put(fp_skb(fp), fill), 0, fill);
184 fr_eof(fp) = FC_EOF_T;
186 WARN_ON(fr_len(fp) % 4 != 0); /* no pad to non last frame */
187 fr_eof(fp) = FC_EOF_N;
203 fr_seq(fp) = sp;
210 fr_sof(fp)
222 fc_fill_reply_hdr(struct fc_frame *fp, const struct fc_frame *in_fp, enum fc_rctl r_ctl, u32 parm_offset) argument
[all...]
H A Dfc_lport.c163 * @fp: The received frame
165 static int fc_frame_drop(struct fc_lport *lport, struct fc_frame *fp) argument
167 fc_frame_free(fp);
405 * @fp: The RLIR request frame
410 static void fc_lport_recv_rlir_req(struct fc_lport *lport, struct fc_frame *fp) argument
415 lport->tt.seq_els_rsp_send(fp, ELS_LS_ACC, NULL);
416 fc_frame_free(fp);
422 * @fp: ECHO request frame
430 struct fc_frame *fp; local
444 fp
466 struct fc_frame *fp; local
522 fc_lport_recv_logo_req(struct fc_lport *lport, struct fc_frame *fp) argument
752 fc_lport_set_port_id(struct fc_lport *lport, u32 port_id, struct fc_frame *fp) argument
811 struct fc_frame *fp; local
887 fc_lport_recv_els_req(struct fc_lport *lport, struct fc_frame *fp) argument
954 fc_lport_recv_req(struct fc_lport *lport, struct fc_frame *fp) argument
1087 fc_lport_error(struct fc_lport *lport, struct fc_frame *fp) argument
1125 fc_lport_ns_resp(struct fc_seq *sp, struct fc_frame *fp, void *lp_arg) argument
1201 fc_lport_ms_resp(struct fc_seq *sp, struct fc_frame *fp, void *lp_arg) argument
1279 fc_lport_scr_resp(struct fc_seq *sp, struct fc_frame *fp, void *lp_arg) argument
1326 struct fc_frame *fp; local
1354 struct fc_frame *fp; local
1454 struct fc_frame *fp; local
1625 fc_lport_logo_resp(struct fc_seq *sp, struct fc_frame *fp, void *lp_arg) argument
1673 struct fc_frame *fp; local
1704 fc_lport_flogi_resp(struct fc_seq *sp, struct fc_frame *fp, void *lp_arg) argument
1814 struct fc_frame *fp; local
1902 fc_lport_bsg_resp(struct fc_seq *sp, struct fc_frame *fp, void *info_arg) argument
1973 struct fc_frame *fp; local
2033 struct fc_frame *fp; local
[all...]
H A Dfc_rport.c539 * @fp: The error code encapsulated in a frame pointer
544 static void fc_rport_error(struct fc_rport_priv *rdata, struct fc_frame *fp) argument
547 IS_ERR(fp) ? -PTR_ERR(fp) : 0,
574 * @fp: The error code encapsulated in a frame pointer
583 struct fc_frame *fp)
588 if (PTR_ERR(fp) == -FC_EX_CLOSED)
593 PTR_ERR(fp), fc_rport_state(rdata));
596 if (PTR_ERR(fp) == -FC_EX_TIMEOUT)
603 fc_rport_error(rdata, fp);
582 fc_rport_error_retry(struct fc_rport_priv *rdata, struct fc_frame *fp) argument
616 fc_rport_login_complete(struct fc_rport_priv *rdata, struct fc_frame *fp) argument
656 fc_rport_flogi_resp(struct fc_seq *sp, struct fc_frame *fp, void *rp_arg) argument
723 struct fc_frame *fp; local
756 struct fc_frame *fp = rx_fp; local
874 fc_rport_plogi_resp(struct fc_seq *sp, struct fc_frame *fp, void *rdata_arg) argument
953 struct fc_frame *fp; local
993 fc_rport_prli_resp(struct fc_seq *sp, struct fc_frame *fp, void *rdata_arg) argument
1096 struct fc_frame *fp; local
1150 fc_rport_rtv_resp(struct fc_seq *sp, struct fc_frame *fp, void *rdata_arg) argument
1213 struct fc_frame *fp; local
1241 fc_rport_logo_resp(struct fc_seq *sp, struct fc_frame *fp, void *lport_arg) argument
1263 struct fc_frame *fp; local
1285 fc_rport_adisc_resp(struct fc_seq *sp, struct fc_frame *fp, void *rdata_arg) argument
1343 struct fc_frame *fp; local
1374 struct fc_frame *fp; local
1413 struct fc_frame *fp; local
1475 fc_rport_recv_els_req(struct fc_lport *lport, struct fc_frame *fp) argument
1543 fc_rport_recv_req(struct fc_lport *lport, struct fc_frame *fp) argument
1592 struct fc_frame *fp = rx_fp; local
1715 struct fc_frame *fp; local
1834 struct fc_frame *fp; local
1901 fc_rport_recv_logo_req(struct fc_lport *lport, struct fc_frame *fp) argument
[all...]
/drivers/scsi/lpfc/
H A Dlpfc_els.c2833 FARP *fp; local
2873 fp = (FARP *) (pcmd);
2874 memset(fp, 0, sizeof(FARP));
2878 fp->Rflags = 0;
2879 fp->Mflags = (FARP_MATCH_PORT | FARP_MATCH_NODE);
2881 memcpy(&fp->RportName, &vport->fc_portname, sizeof(struct lpfc_name));
2882 memcpy(&fp->RnodeName, &vport->fc_nodename, sizeof(struct lpfc_name));
2885 memcpy(&fp->OportName, &ondlp->nlp_portname,
2887 memcpy(&fp->OnodeName, &ondlp->nlp_nodename,
6054 FARP *fp; local
6169 FAN *fp; local
[all...]
/drivers/scsi/
H A Dmac53c94.c515 struct fsc_state *fp = (struct fsc_state *)macio_get_drvdata(mdev); local
516 struct Scsi_Host *host = fp->host;
520 free_irq(fp->intr, fp);
522 if (fp->regs)
523 iounmap(fp->regs);
524 if (fp->dma)
525 iounmap(fp->dma);
526 kfree(fp->dma_cmd_space);
H A Dsg.c2613 Sg_fd *fp; local
2619 list_for_each_entry(fp, &sdp->sfds, sfd_siblings) {
2621 read_lock(&fp->rq_list_lock); /* irqs already disabled */
2624 jiffies_to_msecs(fp->timeout),
2625 fp->reserve.bufflen,
2626 (int) fp->reserve.k_use_sg,
2627 (int) fp->low_dma);
2629 (int) fp->cmd_q, (int) fp->force_packid,
2630 (int) fp
[all...]
/drivers/staging/android/
H A Dbinder.c1259 struct flat_binder_object *fp; local
1261 if (*offp > buffer->data_size - sizeof(*fp) ||
1262 buffer->data_size < sizeof(*fp) ||
1268 fp = (struct flat_binder_object *)(buffer->data + *offp);
1269 switch (fp->type) {
1272 struct binder_node *node = binder_get_node(proc, fp->binder);
1276 debug_id, (u64)fp->binder);
1282 binder_dec_node(node, fp->type == BINDER_TYPE_BINDER, 0);
1286 struct binder_ref *ref = binder_get_ref(proc, fp->handle);
1290 debug_id, fp
1524 struct flat_binder_object *fp; local
[all...]
/drivers/staging/android/fiq_debugger/
H A Dfiq_debugger_arm.c161 " pc: %p (%pF), lr %p (%pF), sp %p, fp %p\n",
163 frame->sp, frame->fp);
173 struct frame_tail *fp; member in struct:frame_tail
199 if (tail >= buftail[0].fp)
202 return buftail[0].fp-1;
225 frame.fp = regs->ARM_fp;
230 " pc: %p (%pF), lr %p (%pF), sp %p, fp %p\n",
H A Dfiq_debugger_arm64.c167 " pc %016lx sp %016lx fp %016lx\n",
168 frame->pc, frame->sp, frame->fp);
196 frame.fp = regs->regs[29];
/drivers/staging/fwserial/
H A Dfwserial.c1054 static int fwtty_open(struct tty_struct *tty, struct file *fp) argument
1058 return tty_port_open(&port->port, tty, fp);
1061 static void fwtty_close(struct tty_struct *tty, struct file *fp) argument
1065 tty_port_close(&port->port, tty, fp);
1527 static int fwtty_proc_open(struct inode *inode, struct file *fp) argument
1529 return single_open(fp, fwtty_proc_show, NULL);
1532 static int fwtty_stats_open(struct inode *inode, struct file *fp) argument
1534 return single_open(fp, fwtty_debugfs_stats_show, inode->i_private);
1537 static int fwtty_peers_open(struct inode *inode, struct file *fp) argument
1539 return single_open(fp, fwtty_debugfs_peers_sho
[all...]
/drivers/staging/goldfish/
H A Dgoldfish_audio.c114 static ssize_t goldfish_audio_read(struct file *fp, char __user *buf, argument
117 struct goldfish_audio *data = fp->private_data;
144 static ssize_t goldfish_audio_write(struct file *fp, const char __user *buf, argument
147 struct goldfish_audio *data = fp->private_data;
193 static int goldfish_audio_open(struct inode *ip, struct file *fp) argument
199 fp->private_data = audio_data;
210 static int goldfish_audio_release(struct inode *ip, struct file *fp) argument
218 static long goldfish_audio_ioctl(struct file *fp, unsigned int cmd, argument
/drivers/staging/iio/Documentation/
H A Dgeneric_buffer.c148 int fp; local
282 fp = open(buffer_access, O_RDONLY | O_NONBLOCK);
283 if (fp == -1) { /* If it isn't there make the node */
293 .fd = fp,
305 read_size = read(fp,
331 close(fp);
/drivers/staging/lustre/include/linux/libcfs/
H A Dlibcfs_kernelcomm.h92 int libcfs_kkuc_msg_put(struct file *fp, void *payload);
94 int libcfs_kkuc_group_add(struct file *fp, int uid, int group,
/drivers/staging/lustre/lustre/mdc/
H A Dlproc_mdc.c135 struct file *fp = fget(fd); local
137 rc = libcfs_kkuc_msg_put(fp, lh);
138 fput(fp);
/drivers/staging/speakup/
H A Ddevsynth.c16 static ssize_t speakup_file_write(struct file *fp, const char __user *buffer, argument
40 static ssize_t speakup_file_read(struct file *fp, char __user *buf, argument
46 static int speakup_file_open(struct inode *ip, struct file *fp) argument
55 static int speakup_file_release(struct inode *ip, struct file *fp) argument

Completed in 338 milliseconds

1234567