Searched refs:last (Results 351 - 375 of 1032) sorted by relevance

<<11121314151617181920>>

/linux-master/net/netfilter/
H A Dnfnetlink_acct.c198 struct nf_acct *cur, *last; local
204 last = (struct nf_acct *)cb->args[1];
210 if (last) {
211 if (cur != last)
214 last = NULL;
H A Dnfnetlink_cttimeout.c231 struct ctnl_timeout *cur, *last; local
236 last = (struct ctnl_timeout *)cb->args[1];
243 if (last) {
244 if (cur != last)
247 last = NULL;
/linux-master/drivers/i2c/busses/
H A Di2c-meson.c76 * @last: Flag set for the last message in the transfer
94 bool last; member in struct:meson_i2c
271 if (i2c->last && i2c->pos + i2c->count >= i2c->msg->len)
353 int last, bool atomic)
360 i2c->last = last;
352 meson_i2c_xfer_msg(struct meson_i2c *i2c, struct i2c_msg *msg, int last, bool atomic) argument
H A Di2c-axxia.c133 * @last: a flag indicating is this is last message in transfer
149 bool last; member in struct:axxia_i2c_dev
418 int mask = idev->last ? ~0 : ~MST_STATUS_TSS;
496 idev->last = true;
527 bool last)
538 idev->last = last;
568 if (!last) {
526 axxia_i2c_xfer_msg(struct axxia_i2c_dev *idev, struct i2c_msg *msg, bool last) argument
/linux-master/drivers/media/dvb-frontends/
H A Dstv0299.c398 u8 last = 1; local
424 if((cmd & 0x01) != last) {
425 /* set voltage to (last ? 13V : 18V) */
426 stv0299_writeregI (state, 0x0c, reg0x0c | (last ? lv_mask : 0x50));
427 last = (last) ? 0 : 1;
/linux-master/drivers/gpu/drm/ttm/tests/
H A Dttm_bo_test.c362 KUNIT_ASSERT_PTR_EQ(test, res1, pos->last);
520 KUNIT_ASSERT_NULL(test, pos->last);
526 KUNIT_ASSERT_PTR_EQ(test, res, pos->last);
575 KUNIT_ASSERT_NULL(test, pos->last);
583 KUNIT_ASSERT_NULL(test, pos->last);
/linux-master/tools/testing/selftests/net/netfilter/
H A Dnft_queue.sh212 local last=""
235 last=$(tail -n1 "$file")
236 if [ x"$last" != x"$expected packets total" ]; then
237 echo "FAIL: Expected $expected packets total, but got $last" 1>&2
243 echo "PASS: Expected and received $last"
/linux-master/include/rdma/
H A Drdmavt_qp.h176 u32 lpsn; /* last packet sequence number */
387 u8 r_state; /* opcode of last packet received */
413 u32 s_last_psn; /* last response PSN processed */
421 u32 s_acked; /* last un-ACK'ed entry */
422 u32 s_last; /* last completed entry */
429 u8 s_state; /* opcode of last packet sent */
446 * This sge list MUST be last. Do not add anything below here.
488 u32 last; /* last QP number allocated */ member in struct:rvt_qpn_table
826 * Return: new last
836 u32 byte_len, last; local
[all...]
/linux-master/drivers/usb/host/
H A Doxu210hp-hcd.c400 u8 last; member in struct:oxu_murb
744 * That last failure should_only happen in cases like physical cardbus eject
1409 struct ehci_qtd *last = NULL, *end = qh->dummy; local
1442 if (last) {
1443 if (likely(last->urb != urb)) {
1444 if (last->urb->complete == NULL) {
1445 murb = (struct oxu_murb *) last->urb;
1446 last->urb = murb->main;
1447 if (murb->last) {
1448 ehci_urb_done(oxu, last
2834 struct ehci_qh *last; local
[all...]
/linux-master/drivers/misc/sgi-xp/
H A Dxpc_uv.c877 head->last = NULL;
893 head->last = NULL;
906 struct xpc_fifo_entry_uv *last)
910 last->next = NULL;
912 if (head->last != NULL)
913 head->last->next = last;
915 head->first = last;
916 head->last = last;
905 xpc_put_fifo_entry_uv(struct xpc_fifo_head_uv *head, struct xpc_fifo_entry_uv *last) argument
[all...]
/linux-master/drivers/media/platform/qcom/camss/
H A Dcamss-vfe-4-7.c853 u16 first, last; local
856 last = line->crop.left + line->crop.width - 1;
857 reg = (first << 16) | last;
861 last = line->crop.top + line->crop.height - 1;
862 reg = (first << 16) | last;
866 last = line->crop.left / 2 + line->crop.width / 2 - 1;
867 reg = (first << 16) | last;
871 last = line->crop.top + line->crop.height - 1;
874 last = line->crop.top / 2 + line->crop.height / 2 - 1;
876 reg = (first << 16) | last;
[all...]
H A Dcamss-vfe-4-8.c824 u16 first, last; local
827 last = line->crop.left + line->crop.width - 1;
828 reg = (first << 16) | last;
832 last = line->crop.top + line->crop.height - 1;
833 reg = (first << 16) | last;
837 last = line->crop.left / 2 + line->crop.width / 2 - 1;
838 reg = (first << 16) | last;
842 last = line->crop.top + line->crop.height - 1;
845 last = line->crop.top / 2 + line->crop.height / 2 - 1;
847 reg = (first << 16) | last;
[all...]
/linux-master/drivers/vfio/
H A Dvfio_main.c948 unsigned long last; local
958 last = curr->last;
964 comb_start->last = last;
975 curr_gap = curr->start - prev->last;
990 comb_start->last = comb_end->last;
1061 nodes[i].last = range.iova + range.length - 1;
1063 nodes[i].last)) {
[all...]
/linux-master/drivers/md/bcache/
H A Dbset.c1199 struct bkey *k, *last = NULL; local
1221 if (!last) {
1222 last = out->start;
1223 bkey_copy(last, k);
1224 } else if (!bch_bkey_try_merge(b, last, k)) {
1225 last = bkey_next(last);
1226 bkey_copy(last, k);
1230 out->keys = last ? (uint64_t *) bkey_next(last)
[all...]
H A Dbtree.c1409 struct bkey *k, *last = NULL; local
1422 last = k;
1441 last = &r->b->key;
1447 if (last)
1448 bkey_copy_key(&new_nodes[i]->key, last);
1590 * GC would last a long time, and the front side I/Os
1616 struct gc_merge_info *i, *last = r + ARRAY_SIZE(r) - 1; local
1641 if (!last->b)
1644 if (!IS_ERR(last->b)) {
1645 should_rewrite = btree_gc_mark_node(last
[all...]
/linux-master/fs/jfs/
H A Djfs_txnmgr.c404 /* Don't let a non-forced transaction take the last tblk */
423 tblk->next = tblk->last = tblk->xflag = tblk->flag = tblk->lsn = 0;
657 lid_t last; local
658 for (last = jfs_ip->atlhead;
659 lid_to_tlock(last)->next != lid;
660 last = lid_to_tlock(last)->next) {
661 assert(last);
663 lid_to_tlock(last)->next = tlck->next;
665 jfs_ip->atltail = last;
[all...]
/linux-master/drivers/vhost/
H A Dvdpa.c71 u64 last, u32 asid);
555 .last = v->range.last,
912 u64 start, u64 last, u32 asid)
919 while ((map = vhost_iotlb_itree_first(iotlb, start, last)) != NULL) {
935 u64 start, u64 last, u32 asid)
940 while ((map = vhost_iotlb_itree_first(iotlb, start, last)) != NULL) {
951 u64 last, u32 asid)
956 return vhost_vdpa_va_unmap(v, iotlb, start, last, asid);
958 return vhost_vdpa_pa_unmap(v, iotlb, start, last, asi
911 vhost_vdpa_pa_unmap(struct vhost_vdpa *v, struct vhost_iotlb *iotlb, u64 start, u64 last, u32 asid) argument
934 vhost_vdpa_va_unmap(struct vhost_vdpa *v, struct vhost_iotlb *iotlb, u64 start, u64 last, u32 asid) argument
949 vhost_vdpa_iotlb_unmap(struct vhost_vdpa *v, struct vhost_iotlb *iotlb, u64 start, u64 last, u32 asid) argument
[all...]
/linux-master/drivers/net/usb/
H A Dcatc.c575 u16 data, last; local
583 last = catc->stats_vals[index >> 1];
588 catc->netdev->stats.collisions += data - last;
591 catc->netdev->stats.tx_aborted_errors += data - last;
592 catc->netdev->stats.tx_errors += data - last;
595 catc->netdev->stats.rx_frame_errors += data - last;
596 catc->netdev->stats.rx_errors += data - last;
/linux-master/drivers/net/ethernet/mscc/
H A Docelot_stats.c893 enum ocelot_reg last = 0; local
908 if (last) {
909 WARN(ocelot->map[SYS][last & REG_MASK] >= ocelot->map[SYS][layout[i].reg & REG_MASK],
911 last, ocelot->map[SYS][last & REG_MASK],
916 ocelot->map[SYS][last & REG_MASK] + 4) {
930 last = layout[i].reg;
/linux-master/fs/ext4/
H A Dindirect.c65 * Portability note: the last comparison (check that we fit into triple
123 * if everything went OK or the pointer to the last filled triple
135 * (pointer to last triple returned, *@err == 0)
244 * @partial: pointer to the last triple within a chain
311 * This function allocates blocks, zeroes out all but the last one,
316 * we had read the existing part of chain and partial points to the last
320 * set the last link), but branch->key contains the number that should
511 * set the last missing link (that will protect us from any truncate-generated
793 * their last elements that should not be removed - in
794 * @chain[].p. Return value is the pointer to last fille
864 ext4_clear_blocks(handle_t *handle, struct inode *inode, struct buffer_head *bh, ext4_fsblk_t block_to_free, unsigned long count, __le32 *first, __le32 *last) argument
921 ext4_free_data(handle_t *handle, struct inode *inode, struct buffer_head *this_bh, __le32 *first, __le32 *last) argument
1007 ext4_free_branches(handle_t *handle, struct inode *inode, struct buffer_head *parent_bh, __le32 *first, __le32 *last, int depth) argument
[all...]
/linux-master/net/rxrpc/
H A Dinput.c366 bool last = sp->hdr.flags & RXRPC_LAST_PACKET; local
370 trace_rxrpc_receive(call, last ? why + 1 : why, sp->hdr.serial, sp->hdr.seq);
371 if (last)
389 bool last = sp->hdr.flags & RXRPC_LAST_PACKET; local
398 if (last) {
405 pr_warn("Packet beyond last: c=%x q=%x window=%x-%x wlimit=%x\n",
456 last = osp->hdr.flags & RXRPC_LAST_PACKET;
504 trace_rxrpc_receive(call, last ? rxrpc_receive_oos_last : rxrpc_receive_oos,
/linux-master/drivers/net/wireless/mediatek/mt76/
H A Dtx.c380 struct sk_buff *skb, bool last)
386 if (last)
390 mt76_skb_set_moredata(skb, !last);
758 struct sk_buff *iter, *last = skb; local
761 * length, need to update length of it and the last packet.
764 last = iter;
772 if (skb_pad(last, pad))
775 __skb_put(last, pad);
379 mt76_queue_ps_skb(struct mt76_phy *phy, struct ieee80211_sta *sta, struct sk_buff *skb, bool last) argument
/linux-master/drivers/crypto/
H A Dsahara.c166 * @last: is this the last block
181 unsigned int last; member in struct:sahara_sha_reqctx
546 /* Update IV buffer to contain the last ciphertext block */
747 if (rctx->last)
884 /* only the last transfer can be padded in hardware */
885 if (!rctx->last && (len < block_size)) {
899 hash_later = rctx->last ? 0 : len & (block_size - 1);
980 if (req->result && rctx->last)
1010 static int sahara_sha_enqueue(struct ahash_request *req, int last) argument
[all...]
/linux-master/drivers/net/ethernet/intel/i40e/
H A Di40e_nvm.c216 * @last_command: tells the AdminQ that this is the last command
463 /* Check if this is last command, if so set proper flag */
544 * @last_command: tells the AdminQ that this is the last command
879 bool last; local
883 last = (transaction & I40E_NVM_LCB);
889 last, &cmd_details);
920 bool last; local
924 last = (transaction & I40E_NVM_LCB);
931 (u16)cmd->data_size, bytes, last,
962 bool last; local
[all...]
/linux-master/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_coredump.c200 int i, len, last = 0; local
209 last = i;
213 record->commandline[last + 1] = 0;

Completed in 246 milliseconds

<<11121314151617181920>>