Searched refs:refs (Results 26 - 50 of 170) sorted by path

1234567

/linux-master/drivers/iommu/iommufd/
H A Diommufd_test.h90 __u32 refs; member in struct:iommu_test_cmd::__anon62::__anon68
H A Dselftest.c880 unsigned int refs)
901 if (count / GUP_PIN_COUNTING_BIAS != refs) {
1414 cmd->check_refs.length, cmd->check_refs.refs);
878 iommufd_test_md_check_refs(struct iommufd_ucmd *ucmd, void __user *uptr, size_t length, unsigned int refs) argument
/linux-master/drivers/media/platform/nvidia/tegra-vde/
H A Dh264.c740 frame_num = b->refs[ref_id].frame_num;
822 if (b.refs[dpb_idx].top_field_order_cnt < b.cur_pic_order_count)
/linux-master/drivers/media/v4l2-core/
H A Dv4l2-h264.c60 b->refs[i].longterm = true;
68 if (!b->refs[i].longterm && dpb[i].frame_num > cur_frame_num)
69 b->refs[i].frame_num = (int)dpb[i].frame_num -
72 b->refs[i].frame_num = dpb[i].frame_num;
74 b->refs[i].top_field_order_cnt = dpb[i].top_field_order_cnt;
75 b->refs[i].bottom_field_order_cnt = dpb[i].bottom_field_order_cnt;
113 return min(b->refs[ref->index].top_field_order_cnt,
114 b->refs[ref->index].bottom_field_order_cnt);
116 return b->refs[ref->index].top_field_order_cnt;
118 return b->refs[re
[all...]
/linux-master/drivers/misc/sgi-xp/
H A Dxpc.h684 s32 refs = atomic_dec_return(&ch->references); local
686 DBUG_ON(refs < 0);
687 if (refs == 0)
701 s32 refs = atomic_dec_return(&part->references); local
703 DBUG_ON(refs < 0);
704 if (refs == 0 && part->setup_state == XPC_P_SS_WTEARDOWN)
/linux-master/drivers/most/
H A Dcore.c34 int refs; member in struct:pipe
852 if (c->pipe0.refs && c->pipe0.comp->tx_completion)
855 if (c->pipe1.refs && c->pipe1.comp->tx_completion)
963 if (c->pipe0.refs && c->pipe1.refs &&
996 if (c->pipe0.refs && c->pipe1.refs &&
1068 if (c->pipe0.refs && c->pipe0.comp->rx_completion &&
1072 if (c->pipe1.refs && c->pipe1.comp->rx_completion &&
1101 if (c->pipe0.refs
[all...]
/linux-master/drivers/net/ethernet/freescale/dpaa/
H A Ddpaa_eth.c509 refcount_inc(&dpaa_bp_array[bpid]->refs);
520 refcount_set(&dpaa_bp->refs, 1);
608 if (!refcount_dec_and_test(&bp->refs))
H A Ddpaa_eth.h80 refcount_t refs; member in struct:dpaa_bp
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_flex_pipe.c2433 * @refs: pointer to variable to receive the reference count
2436 ice_vsig_get_ref(struct ice_hw *hw, enum ice_block blk, u16 vsig, u16 *refs) argument
2441 *refs = 0;
2448 (*refs)++;
/linux-master/drivers/net/ethernet/mellanox/mlx4/
H A Dmlx4.h749 int refs[MLX4_MAX_MAC_NUM]; member in struct:mlx4_mac_table
772 int refs[MLX4_MAX_VLAN_NUM]; member in struct:mlx4_vlan_table
H A Dport.c69 table->refs[i] = 0;
83 table->refs[i] = 0;
118 if (table->refs[i] &&
157 if (!table->refs[i])
232 dup_table->refs[index_at_port]) {
242 if (!table->refs[index_at_dup_port] ||
251 if (!table->refs[i]) {
255 if (!dup_table->refs[i])
265 ++table->refs[i];
308 table->refs[fre
[all...]
/linux-master/drivers/pci/controller/
H A Dpci-hyperv.c555 refcount_t refs; member in struct:hv_pci_dev
965 refcount_inc(&hpdev->refs);
970 if (refcount_dec_and_test(&hpdev->refs))
2501 refcount_set(&hpdev->refs, 1);
2872 /* For the two refs got in new_pcichild_device() */
3840 /* For the two refs got in new_pcichild_device() */
/linux-master/drivers/s390/net/
H A Dqeth_l2_main.c912 qeth_l2_switchdev_notify_refcnt.refs.counter);
932 qeth_l2_switchdev_notify_refcnt.refs.counter);
/linux-master/drivers/staging/media/rkvdec/
H A Drkvdec-h264.c783 p[i] = builder->refs[i].frame_num;
/linux-master/drivers/thermal/
H A Dk3_j72xx_bandgap.c74 * @refs: reference error values for -40C, 30C, 125C & 150C
78 int refs[4]; member in struct:err_values
90 idx1 = err_vals->refs[seg];
92 idx2 = err_vals->refs[seg + 1];
95 ref1 = err_vals->refs[seg];
96 ref2 = err_vals->refs[seg + 1];
461 err_vals.refs[0] = MINUS40CREF;
462 err_vals.refs[1] = PLUS30CREF;
463 err_vals.refs[2] = PLUS125CREF;
464 err_vals.refs[
[all...]
/linux-master/drivers/tty/
H A Dtty_io.c583 int refs; local
625 refs = tty_signal_session_leader(tty, exit_session);
627 while (refs--)
H A Dtty_jobctrl.c199 int refs = 0; local
212 refs++;
238 return refs;
/linux-master/drivers/xen/
H A Dgntdev-dmabuf.c44 grant_ref_t *refs; member in struct:gntdev_dmabuf::__anon522::__anon524
437 int count, u32 domid, u32 *refs, u32 *fd)
449 map->grants[i].ref = refs[i];
488 dmabuf_imp_grant_foreign_access(unsigned long *gfns, u32 *refs, argument
512 refs[i] = cur_ref;
522 static void dmabuf_imp_end_foreign_access(u32 *refs, int count) argument
527 if (refs[i] != INVALID_GRANT_REF)
528 gnttab_end_foreign_access(refs[i], NULL);
533 kfree(gntdev_dmabuf->u.imp.refs);
546 gntdev_dmabuf->u.imp.refs
436 dmabuf_exp_from_refs(struct gntdev_priv *priv, int flags, int count, u32 domid, u32 *refs, u32 *fd) argument
735 u32 *refs; local
[all...]
H A Dgntdev.c649 if (copy_from_user(map->grants, &u->refs,
/linux-master/fs/btrfs/
H A Daccessors.h341 BTRFS_SETGET_FUNCS(extent_refs, struct btrfs_extent_item, refs, 64);
740 BTRFS_SETGET_FUNCS(disk_root_refs, struct btrfs_root_item, refs, 32);
749 BTRFS_SETGET_STACK_FUNCS(root_refs, struct btrfs_root_item, refs, 32);
H A Dbackref.c218 * Return 0 when both refs are for the same block (and can be merged).
271 * Add @newref to the @root rbtree, merging identical refs.
300 /* Identical refs, merge them and free @newref */
357 * delayed refs
370 * on disk refs (inline or keyed)
418 /* direct refs use root == 0, key == NULL */
428 /* indirect refs use parent == 0 */
606 * adding new delayed refs. To deal with this we need to look in cache
717 * We maintain three separate rbtrees: one for direct refs, one for
718 * indirect refs whic
2414 struct ulist *refs; local
[all...]
H A Dbackref.h78 * added to each reference added to the @refs ulist.
93 * When using BTRFS_SEQ_LAST, delayed refs are not checked and it uses
102 struct ulist *refs; member in struct:btrfs_backref_walk_ctx
166 struct ulist refs; member in struct:btrfs_backref_share_check_ctx
H A Dbio.c96 refcount_inc(&orig_bbio->ordered->refs);
H A Dblock-group.c143 refcount_inc(&cache->refs);
148 if (refcount_dec_and_test(&cache->refs)) {
2215 refcount_set(&cache->refs, 1);
3443 * Go through delayed refs for all the stuff we've just kicked off
3500 * delayed refs to make sure we have the best chance at doing this all
4416 ASSERT(refcount_read(&block_group->refs) == 1);
H A Dblock-group.h179 refcount_t refs; member in struct:btrfs_block_group

Completed in 349 milliseconds

1234567