Searched refs:is_last (Results 1 - 41 of 41) sorted by relevance

/linux-4.1.27/include/net/
H A Dtso.h16 int size, bool is_last);
/linux-4.1.27/net/core/
H A Dtso.c15 int size, bool is_last) tso_build_hdr()
30 if (!is_last) { tso_build_hdr()
14 tso_build_hdr(struct sk_buff *skb, char *hdr, struct tso_t *tso, int size, bool is_last) tso_build_hdr() argument
/linux-4.1.27/fs/ocfs2/
H A Dextent_map.c414 unsigned int *is_last) ocfs2_get_clusters_nocache()
424 if (is_last) ocfs2_get_clusters_nocache()
425 *is_last = 0; ocfs2_get_clusters_nocache()
503 if (is_last) { ocfs2_get_clusters_nocache()
506 *is_last = 1; ocfs2_get_clusters_nocache()
508 *is_last = 1; ocfs2_get_clusters_nocache()
516 *is_last = 1; ocfs2_get_clusters_nocache()
752 int ret, is_last; ocfs2_fiemap() local
784 is_last = 0; ocfs2_fiemap()
785 while (cpos < mapping_end && !is_last) { ocfs2_fiemap()
789 &hole_size, &rec, &is_last); ocfs2_fiemap()
805 if (is_last) ocfs2_fiemap()
837 unsigned int is_last = 0, is_data = 0; ocfs2_seek_data_hole_offset() local
869 while (cpos < cend && !is_last) { ocfs2_seek_data_hole_offset()
871 &rec, &is_last); ocfs2_seek_data_hole_offset()
896 if (!is_last) ocfs2_seek_data_hole_offset()
410 ocfs2_get_clusters_nocache(struct inode *inode, struct buffer_head *di_bh, u32 v_cluster, unsigned int *hole_len, struct ocfs2_extent_rec *ret_rec, unsigned int *is_last) ocfs2_get_clusters_nocache() argument
/linux-4.1.27/drivers/spi/
H A Dspi-xcomm.c146 bool is_last; spi_xcomm_transfer_one() local
161 is_last = list_is_last(&t->transfer_list, &msg->transfers); spi_xcomm_transfer_one()
164 if (cs_change ^ is_last) spi_xcomm_transfer_one()
/linux-4.1.27/drivers/net/usb/
H A Dkalmia.c253 int is_last; kalmia_rx_fixup() local
289 is_last = true; kalmia_rx_fixup()
295 is_last = (memcmp(skb->data + ether_packet_length, kalmia_rx_fixup()
298 if (!is_last) { kalmia_rx_fixup()
307 if (is_last) { kalmia_rx_fixup()
318 if (is_last) { kalmia_rx_fixup()
H A Dcdc_eem.c272 int is_last; eem_rx_fixup() local
301 is_last = (len == skb->len); eem_rx_fixup()
302 if (is_last) eem_rx_fixup()
328 if (is_last) eem_rx_fixup()
/linux-4.1.27/drivers/i2c/busses/
H A Di2c-riic.c101 int is_last; member in struct:riic_dev
143 riic->is_last = (i == num - 1); riic_xfer()
219 if (riic->is_last || riic->err) riic_tend_isr()
243 if (riic->is_last) riic_rdrf_isr()
H A Di2c-wmt.c302 int i, is_last; wmt_i2c_xfer() local
306 is_last = ((i + 1) == num); wmt_i2c_xfer()
310 ret = wmt_i2c_read(adap, pmsg, is_last); wmt_i2c_xfer()
312 ret = wmt_i2c_write(adap, pmsg, is_last); wmt_i2c_xfer()
H A Di2c-st.c607 * @is_last: last message of the sequence
610 bool is_first, bool is_last) st_i2c_xfer_msg()
623 c->stop = is_last; st_i2c_xfer_msg()
609 st_i2c_xfer_msg(struct st_i2c_dev *i2c_dev, struct i2c_msg *msg, bool is_first, bool is_last) st_i2c_xfer_msg() argument
H A Di2c-mv64xxx.c572 int is_last) mv64xxx_i2c_execute_msg()
580 drv_data->send_stop = is_last; mv64xxx_i2c_execute_msg()
571 mv64xxx_i2c_execute_msg(struct mv64xxx_i2c_data *drv_data, struct i2c_msg *msg, int is_last) mv64xxx_i2c_execute_msg() argument
/linux-4.1.27/drivers/usb/gadget/udc/
H A Ds3c2410_udc.c326 int is_last; s3c2410_udc_write_fifo() local
356 is_last = 1; s3c2410_udc_write_fifo()
358 is_last = 0; s3c2410_udc_write_fifo()
360 is_last = 2; s3c2410_udc_write_fifo()
367 is_last, req->req.zero); s3c2410_udc_write_fifo()
369 if (is_last) { s3c2410_udc_write_fifo()
388 is_last = 1; s3c2410_udc_write_fifo()
404 return is_last; s3c2410_udc_write_fifo()
428 int is_last = 1; s3c2410_udc_read_fifo() local
482 is_last = 1; s3c2410_udc_read_fifo()
487 is_last = (req->req.length <= req->req.actual) ? 1 : 0; s3c2410_udc_read_fifo()
496 __func__, fifo_count, is_last); s3c2410_udc_read_fifo()
498 if (is_last) { s3c2410_udc_read_fifo()
523 return is_last; s3c2410_udc_read_fifo()
H A Dmv_u3d_core.c346 struct mv_u3d_trb *trb, int *is_last) mv_u3d_build_trb_chain()
384 *is_last = 1; mv_u3d_build_trb_chain()
386 *is_last = 0; mv_u3d_build_trb_chain()
388 *is_last = 1; mv_u3d_build_trb_chain()
390 *is_last = 0; mv_u3d_build_trb_chain()
393 if (*is_last && !req->req.no_interrupt) mv_u3d_build_trb_chain()
396 if (*is_last) mv_u3d_build_trb_chain()
415 int is_last; mv_u3d_req_to_trb() local
455 trb, &is_last)) { mv_u3d_req_to_trb()
466 } while (!is_last); mv_u3d_req_to_trb()
345 mv_u3d_build_trb_chain(struct mv_u3d_req *req, unsigned *length, struct mv_u3d_trb *trb, int *is_last) mv_u3d_build_trb_chain() argument
H A Dgoku_udc.c351 int is_last; write_fifo() local
378 is_last = 1; write_fifo()
382 is_last = 0; write_fifo()
384 is_last = 1; write_fifo()
386 #if 0 /* printk seemed to trash is_last...*/ write_fifo()
389 ep->ep.name, count, is_last ? "/last" : "", write_fifo()
396 if (is_last) { write_fifo()
H A Domap_udc.c362 int is_last; write_fifo() local
380 is_last = 1; write_fifo()
383 is_last = 1; write_fifo()
385 is_last = 0; write_fifo()
391 if (is_last) write_fifo()
393 return is_last; write_fifo()
424 int is_last; read_fifo() local
432 is_last = 0; read_fifo()
451 is_last = 1; read_fifo()
460 is_last = 1; read_fifo()
462 is_last = 0; read_fifo()
466 if (is_last) read_fifo()
470 return is_last; read_fifo()
H A Dmv_udc_core.c342 dma_addr_t *dma, int *is_last) build_dtd()
385 *is_last = 1; build_dtd()
387 *is_last = 0; build_dtd()
389 *is_last = 1; build_dtd()
391 *is_last = 0; build_dtd()
397 if (*is_last && !req->req.no_interrupt) build_dtd()
413 int is_last, is_first = 1; req_to_dtd() local
421 dtd = build_dtd(req, &count, &dma, &is_last); req_to_dtd()
434 } while (!is_last); req_to_dtd()
341 build_dtd(struct mv_req *req, unsigned *length, dma_addr_t *dma, int *is_last) build_dtd() argument
H A Ds3c-hsudc.c337 bool is_last; s3c_hsudc_write_fifo() local
352 is_last = true; s3c_hsudc_write_fifo()
355 is_last = false; s3c_hsudc_write_fifo()
357 is_last = true; s3c_hsudc_write_fifo()
360 if (is_last) { s3c_hsudc_write_fifo()
H A Dfsl_udc_core.c776 * @is_last: return flag if it is the last dTD of the request
779 dma_addr_t *dma, int *is_last, gfp_t gfp_flags) fsl_build_dtd()
811 *is_last = 1; fsl_build_dtd()
813 *is_last = 0; fsl_build_dtd()
815 *is_last = 1; fsl_build_dtd()
817 *is_last = 0; fsl_build_dtd()
819 if ((*is_last) == 0) fsl_build_dtd()
825 if (*is_last && !req->req.no_interrupt) fsl_build_dtd()
841 int is_last; fsl_req_to_dtd() local
847 dtd = fsl_build_dtd(req, &count, &dma, &is_last, gfp_flags); fsl_req_to_dtd()
861 } while (!is_last); fsl_req_to_dtd()
778 fsl_build_dtd(struct fsl_req *req, unsigned *length, dma_addr_t *dma, int *is_last, gfp_t gfp_flags) fsl_build_dtd() argument
H A Dpxa27x_udc.c980 int count, is_short, is_last = 0, completed = 0, totcount = 0; write_fifo() local
1005 is_last = 1; write_fifo()
1010 is_last = 0; write_fifo()
1012 is_last = 1; write_fifo()
1021 if (is_last) { write_fifo()
1028 totcount, is_last ? "/L" : "", is_short ? "/S" : "", write_fifo()
1086 int is_last, is_short; write_ep0_fifo() local
1092 is_last = ((count == 0) || (count < EP0_FIFO_SIZE)); write_ep0_fifo()
1099 count, is_short ? "/S" : "", is_last ? "/L" : "", write_ep0_fifo()
1103 return is_last; write_ep0_fifo()
H A Dat91_udc.c387 unsigned total, count, is_last; write_fifo() local
418 is_last = 0; write_fifo()
421 is_last = (count < ep->ep.maxpacket) || !req->req.zero; write_fifo()
444 is_last ? " (done)" : ""); write_fifo()
445 if (is_last) write_fifo()
447 return is_last; write_fifo()
H A Dpxa25x_udc.c393 int is_last, is_short; write_fifo() local
399 is_last = is_short = 1; write_fifo()
403 is_last = 0; write_fifo()
405 is_last = 1; write_fifo()
412 is_last ? "/L" : "", is_short ? "/S" : "", write_fifo()
424 if (is_last) { write_fifo()
H A Dudc-xilinx.c683 int is_last, is_short = 0; xudc_write_fifo() local
697 is_last = is_short = 1; xudc_write_fifo()
701 is_last = 0; xudc_write_fifo()
703 is_last = 1; xudc_write_fifo()
706 __func__, ep->ep_usb.name, length, is_last ? "/L" : "", xudc_write_fifo()
710 if (is_last) { xudc_write_fifo()
/linux-4.1.27/drivers/crypto/
H A Dmv_cesa.c329 int is_last; mv_process_hash_current() local
356 is_last = req_ctx->last_chunk mv_process_hash_current()
360 if (is_last) mv_process_hash_current()
367 if (is_last) mv_process_hash_current()
704 int is_last, unsigned int req_len, mv_init_hash_req_ctx()
711 ctx->last_chunk = is_last; mv_init_hash_req_ctx()
715 static void mv_update_hash_req_ctx(struct mv_req_hash_ctx *ctx, int is_last, mv_update_hash_req_ctx() argument
718 ctx->last_chunk = is_last; mv_update_hash_req_ctx()
703 mv_init_hash_req_ctx(struct mv_req_hash_ctx *ctx, int op, int is_last, unsigned int req_len, int count_add) mv_init_hash_req_ctx() argument
/linux-4.1.27/drivers/net/wireless/ath/ath9k/
H A Dar9002_mac.c226 ctl1 = i->buf_len[0] | (i->is_last ? 0 : AR_TxMore); ar9002_set_txdesc()
236 if ((i->is_first || i->is_last) && ar9002_set_txdesc()
H A Dar9003_mac.c68 if (i->is_first || i->is_last) { ar9003_set_txdesc()
93 ACCESS_ONCE(ads->ctl12) = i->is_last ? 0 : AR_TxMore; ar9003_set_txdesc()
H A Dbeacon.c101 info.is_last = true; ath9k_beacon_setup()
H A Dmac.h687 bool is_last; member in struct:ath_tx_info
H A Dxmit.c1321 info.is_last = true; ath_tx_fill_desc()
/linux-4.1.27/drivers/tty/ipwireless/
H A Dhardware.c34 int is_last);
622 int is_last) queue_received_packet()
660 if (is_last) { queue_received_packet()
819 int is_last = packet->hdr.packet_rank & NL_LAST_PACKET; handle_received_packet() local
832 is_last); handle_received_packet()
836 is_last); handle_received_packet()
1529 int is_last) handle_received_SETUP_packet()
618 queue_received_packet(struct ipw_hardware *hw, unsigned int protocol, unsigned int address, const unsigned char *data, int length, int is_last) queue_received_packet() argument
1526 handle_received_SETUP_packet(struct ipw_hardware *hw, unsigned int address, const unsigned char *data, int len, int is_last) handle_received_SETUP_packet() argument
/linux-4.1.27/fs/ubifs/
H A Dreplay.c543 int is_last = is_last_bud(c, b->bud); replay_bud() local
548 dbg_mnt("replay bud LEB %d, head %d, offs %d, is_last %d", replay_bud()
549 lnum, b->bud->jhead, offs, is_last); replay_bud()
551 if (c->need_recovery && is_last) replay_bud()
/linux-4.1.27/net/sctp/
H A Dulpqueue.c521 int is_last; sctp_ulpq_retrieve_partial() local
535 is_last = 0; sctp_ulpq_retrieve_partial()
563 is_last = 1; sctp_ulpq_retrieve_partial()
576 if (retval && is_last) sctp_ulpq_retrieve_partial()
/linux-4.1.27/drivers/net/wireless/ath/ath10k/
H A Dhtt_rx.c949 bool is_last; ath10k_htt_rx_h_undecap_raw() local
954 is_last = !!(rxd->msdu_end.info0 & ath10k_htt_rx_h_undecap_raw()
972 if (unlikely(WARN_ON_ONCE(!(is_first && is_last)))) ath10k_htt_rx_h_undecap_raw()
1060 bool is_first, is_last, is_amsdu; ath10k_htt_rx_h_find_rfc1042() local
1067 is_last = !!(rxd->msdu_end.info0 & ath10k_htt_rx_h_find_rfc1042()
1069 is_amsdu = !(is_first && is_last); ath10k_htt_rx_h_find_rfc1042()
/linux-4.1.27/drivers/net/ethernet/sfc/
H A Dtx.c1151 bool is_last = st->out_len <= skb_shinfo(skb)->gso_size; tso_start_new_packet() local
1154 if (!is_last) { tso_start_new_packet()
1223 if (is_last) { tso_start_new_packet()
/linux-4.1.27/drivers/target/iscsi/
H A Discsi_target.c4722 int is_last; iscsit_free_session() local
4733 is_last = 1; iscsit_free_session()
4736 is_last = 0; iscsit_free_session()
4745 if (is_last == 0) iscsit_free_session()
4768 int is_last; iscsit_stop_session() local
4781 is_last = 1; iscsit_stop_session()
4784 is_last = 0; iscsit_stop_session()
4793 if (is_last == 0) iscsit_stop_session()
/linux-4.1.27/drivers/net/ethernet/neterion/vxge/
H A Dvxge-config.c2096 u32 index, u32 is_last) __vxge_hw_ring_mempool_item_alloc()
2133 if (is_last) { __vxge_hw_ring_mempool_item_alloc()
2557 u32 is_last = ((end_block_idx - 1) == i); __vxge_hw_mempool_grow() local
2604 dma_object, index, is_last); __vxge_hw_mempool_grow()
3416 u32 index, u32 is_last) __vxge_hw_fifo_mempool_item_alloc()
2093 __vxge_hw_ring_mempool_item_alloc(struct vxge_hw_mempool *mempoolh, u32 memblock_index, struct vxge_hw_mempool_dma *dma_object, u32 index, u32 is_last) __vxge_hw_ring_mempool_item_alloc() argument
3413 __vxge_hw_fifo_mempool_item_alloc( struct vxge_hw_mempool *mempoolh, u32 memblock_index, struct vxge_hw_mempool_dma *dma_object, u32 index, u32 is_last) __vxge_hw_fifo_mempool_item_alloc() argument
H A Dvxge-traffic.h130 * @is_last: True, if this item is the last one in the pool; false - otherwise.
146 u32 is_last);
2087 u32 is_last);
/linux-4.1.27/sound/pci/hda/
H A Dpatch_ca0132.c2161 static bool is_last(const struct dsp_image_seg *p) is_last() function
2263 if (hci_write && (!fls || is_last(fls))) { dspxfr_one_seg()
2502 while ((fls_data != NULL) && !is_last(fls_data)) { dspxfr_image()
2517 if ((fls_data != NULL) && !is_last(fls_data)) dspxfr_image()
/linux-4.1.27/drivers/net/ethernet/freescale/
H A Dfec_main.c574 int size, bool last_tcp, bool is_last) fec_enet_txq_put_data_tso()
620 if (is_last) { fec_enet_txq_put_data_tso()
571 fec_enet_txq_put_data_tso(struct fec_enet_priv_tx_q *txq, struct sk_buff *skb, struct net_device *ndev, struct bufdesc *bdp, int index, char *data, int size, bool last_tcp, bool is_last) fec_enet_txq_put_data_tso() argument
/linux-4.1.27/drivers/net/ethernet/marvell/
H A Dmv643xx_eth.c748 bool last_tcp, bool is_last) txq_put_data_tso()
774 if (is_last) txq_put_data_tso()
746 txq_put_data_tso(struct net_device *dev, struct tx_queue *txq, struct sk_buff *skb, char *data, int length, bool last_tcp, bool is_last) txq_put_data_tso() argument
H A Dmvneta.c1591 bool last_tcp, bool is_last) mvneta_tso_put_data()
1613 if (is_last) mvneta_tso_put_data()
1589 mvneta_tso_put_data(struct net_device *dev, struct mvneta_tx_queue *txq, struct sk_buff *skb, char *data, int size, bool last_tcp, bool is_last) mvneta_tso_put_data() argument
/linux-4.1.27/kernel/
H A Dworkqueue.c3347 bool is_last; pwq_unbound_release_workfn() local
3354 is_last = list_empty(&wq->pwqs); pwq_unbound_release_workfn()
3367 if (is_last) pwq_unbound_release_workfn()
/linux-4.1.27/drivers/net/wireless/ipw2x00/
H A Dipw2200.c2900 int interrupt_enabled, int is_last) ipw_fw_dma_add_command_block()
2923 if (is_last) ipw_fw_dma_add_command_block()
2896 ipw_fw_dma_add_command_block(struct ipw_priv *priv, u32 src_address, u32 dest_address, u32 length, int interrupt_enabled, int is_last) ipw_fw_dma_add_command_block() argument

Completed in 1389 milliseconds