/kernel/linux/linux-5.10/sound/soc/sti/ |
H A D | uniperif.h | 19 #define GET_UNIPERIF_REG(ip, offset, shift, mask) \ 20 ((readl_relaxed(ip->base + offset) >> shift) & mask) 21 #define SET_UNIPERIF_REG(ip, offset, shift, mask, value) \ 22 writel_relaxed(((readl_relaxed(ip->base + offset) & \ 23 ~(mask << shift)) | (((value) & mask) << shift)), ip->base + offset) 24 #define SET_UNIPERIF_BIT_REG(ip, offset, shift, mask, value) \ 25 writel_relaxed((((value) & mask) << shift), ip->base + offset) 31 #define UNIPERIF_SOFT_RST_OFFSET(ip) 0x0000 32 #define GET_UNIPERIF_SOFT_RST(ip) \ 33 ((ip) [all...] |
/kernel/linux/linux-6.6/sound/soc/sti/ |
H A D | uniperif.h | 19 #define GET_UNIPERIF_REG(ip, offset, shift, mask) \ 20 ((readl_relaxed(ip->base + offset) >> shift) & mask) 21 #define SET_UNIPERIF_REG(ip, offset, shift, mask, value) \ 22 writel_relaxed(((readl_relaxed(ip->base + offset) & \ 23 ~(mask << shift)) | (((value) & mask) << shift)), ip->base + offset) 24 #define SET_UNIPERIF_BIT_REG(ip, offset, shift, mask, value) \ 25 writel_relaxed((((value) & mask) << shift), ip->base + offset) 31 #define UNIPERIF_SOFT_RST_OFFSET(ip) 0x0000 32 #define GET_UNIPERIF_SOFT_RST(ip) \ 33 ((ip) [all...] |
/kernel/linux/linux-5.10/arch/arm/mach-davinci/ |
H A D | sleep.S | 43 ldr ip, CACHE_FLUSH 44 blx ip 53 ldr ip, [r0, #DDR2_SDRCR_OFFSET] 54 bic ip, ip, #DDR2_SRPD_BIT 55 orr ip, ip, #DDR2_LPMODEN_BIT 56 str ip, [r0, #DDR2_SDRCR_OFFSET] 58 ldr ip, [r0, #DDR2_SDRCR_OFFSET] 59 orr ip, i [all...] |
/kernel/linux/linux-6.6/arch/arm/mach-davinci/ |
H A D | sleep.S | 43 ldr ip, CACHE_FLUSH 44 blx ip 53 ldr ip, [r0, #DDR2_SDRCR_OFFSET] 54 bic ip, ip, #DDR2_SRPD_BIT 55 orr ip, ip, #DDR2_LPMODEN_BIT 56 str ip, [r0, #DDR2_SDRCR_OFFSET] 58 ldr ip, [r0, #DDR2_SDRCR_OFFSET] 59 orr ip, i [all...] |
/kernel/linux/linux-6.6/fs/xfs/ |
H A D | xfs_icache.c | 75 struct xfs_inode *ip; in xfs_inode_alloc() local 81 ip = alloc_inode_sb(mp->m_super, xfs_inode_cache, GFP_KERNEL | __GFP_NOFAIL); in xfs_inode_alloc() 83 if (inode_init_always(mp->m_super, VFS_I(ip))) { in xfs_inode_alloc() 84 kmem_cache_free(xfs_inode_cache, ip); in xfs_inode_alloc() 89 VFS_I(ip)->i_mode = 0; in xfs_inode_alloc() 90 VFS_I(ip)->i_state = 0; in xfs_inode_alloc() 91 mapping_set_large_folios(VFS_I(ip)->i_mapping); in xfs_inode_alloc() 94 ASSERT(atomic_read(&ip->i_pincount) == 0); in xfs_inode_alloc() 95 ASSERT(ip->i_ino == 0); in xfs_inode_alloc() 98 ip in xfs_inode_alloc() 126 struct xfs_inode *ip = XFS_I(inode); xfs_inode_free_callback() local 153 __xfs_inode_free( struct xfs_inode *ip) __xfs_inode_free() argument 165 xfs_inode_free( struct xfs_inode *ip) xfs_inode_free() argument 343 trace_xfs_iget_recycle(ip); global() variable 374 trace_xfs_iget_recycle_fail(ip); global() variable 408 xfs_iget_check_free_state( struct xfs_inode *ip, int flags) xfs_iget_check_free_state() argument 606 struct xfs_inode *ip; xfs_iget_cache_miss() local 743 struct xfs_inode *ip; xfs_iget() local 823 xfs_reclaim_igrab( struct xfs_inode *ip, struct xfs_icwalk *icw) xfs_reclaim_igrab() argument 862 xfs_reclaim_inode( struct xfs_inode *ip, struct xfs_perag *pag) xfs_reclaim_inode() argument 1028 xfs_icwalk_match_id( struct xfs_inode *ip, struct xfs_icwalk *icw) xfs_icwalk_match_id() argument 1052 xfs_icwalk_match_id_union( struct xfs_inode *ip, struct xfs_icwalk *icw) xfs_icwalk_match_id_union() argument 1077 xfs_icwalk_match( struct xfs_inode *ip, struct xfs_icwalk *icw) xfs_icwalk_match() argument 1119 xfs_inode_free_eofblocks( struct xfs_inode *ip, struct xfs_icwalk *icw, unsigned int *lockflags) xfs_inode_free_eofblocks() argument 1162 xfs_blockgc_set_iflag( struct xfs_inode *ip, unsigned long iflag) xfs_blockgc_set_iflag() argument 1192 xfs_inode_set_eofblocks_tag( xfs_inode_t *ip) xfs_inode_set_eofblocks_tag() argument 1200 xfs_blockgc_clear_iflag( struct xfs_inode *ip, unsigned long iflag) xfs_blockgc_clear_iflag() argument 1229 xfs_inode_clear_eofblocks_tag( xfs_inode_t *ip) xfs_inode_clear_eofblocks_tag() argument 1242 xfs_prep_free_cowblocks( struct xfs_inode *ip) xfs_prep_free_cowblocks() argument 1281 xfs_inode_free_cowblocks( struct xfs_inode *ip, struct xfs_icwalk *icw, unsigned int *lockflags) xfs_inode_free_cowblocks() argument 1329 xfs_inode_set_cowblocks_tag( xfs_inode_t *ip) xfs_inode_set_cowblocks_tag() argument 1337 xfs_inode_clear_cowblocks_tag( xfs_inode_t *ip) xfs_inode_clear_cowblocks_tag() argument 1388 xfs_blockgc_igrab( struct xfs_inode *ip) xfs_blockgc_igrab() argument 1422 xfs_blockgc_scan_inode( struct xfs_inode *ip, struct xfs_icwalk *icw) xfs_blockgc_scan_inode() argument 1564 xfs_blockgc_free_quota( struct xfs_inode *ip, unsigned int iwalk_flags) xfs_blockgc_free_quota() argument 1590 xfs_icwalk_igrab( enum xfs_icwalk_goal goal, struct xfs_inode *ip, struct xfs_icwalk *icw) xfs_icwalk_igrab() argument 1610 xfs_icwalk_process_inode( enum xfs_icwalk_goal goal, struct xfs_inode *ip, struct xfs_perag *pag, struct xfs_icwalk *icw) xfs_icwalk_process_inode() argument 1675 struct xfs_inode *ip = batch[i]; xfs_icwalk_ag() local 1769 xfs_check_delalloc( struct xfs_inode *ip, int whichfork) xfs_check_delalloc() argument 1795 xfs_inodegc_set_reclaimable( struct xfs_inode *ip) xfs_inodegc_set_reclaimable() argument 1828 xfs_inodegc_inactivate( struct xfs_inode *ip) xfs_inodegc_inactivate() argument 1847 struct xfs_inode *ip, *n; xfs_inodegc_worker() local 1966 xfs_inodegc_want_queue_rt_file( struct xfs_inode *ip) xfs_inodegc_want_queue_rt_file() argument 1993 xfs_inodegc_want_queue_work( struct xfs_inode *ip, unsigned int items) xfs_inodegc_want_queue_work() argument 2038 xfs_inodegc_want_flush_work( struct xfs_inode *ip, unsigned int items, unsigned int shrinker_hits) xfs_inodegc_want_flush_work() argument 2061 xfs_inodegc_queue( struct xfs_inode *ip) xfs_inodegc_queue() argument 2126 xfs_inode_mark_reclaimable( struct xfs_inode *ip) xfs_inode_mark_reclaimable() argument [all...] |
H A D | xfs_bmap_util.c | 40 xfs_fsb_to_db(struct xfs_inode *ip, xfs_fsblock_t fsb) in xfs_fsb_to_db() argument 42 if (XFS_IS_REALTIME_INODE(ip)) in xfs_fsb_to_db() 43 return XFS_FSB_TO_BB(ip->i_mount, fsb); in xfs_fsb_to_db() 44 return XFS_FSB_TO_DADDR(ip->i_mount, fsb); in xfs_fsb_to_db() 56 struct xfs_inode *ip, in xfs_zero_extent() 60 struct xfs_mount *mp = ip->i_mount; in xfs_zero_extent() 61 struct xfs_buftarg *target = xfs_inode_buftarg(ip); in xfs_zero_extent() 62 xfs_daddr_t sector = xfs_fsb_to_db(ip, start_fsb); in xfs_zero_extent() 76 struct xfs_mount *mp = ap->ip->i_mount; in xfs_bmap_rtalloc() 90 align = xfs_get_extsz_hint(ap->ip); in xfs_bmap_rtalloc() 55 xfs_zero_extent( struct xfs_inode *ip, xfs_fsblock_t start_fsb, xfs_off_t count_fsb) xfs_zero_extent() argument 251 xfs_bmap_count_blocks( struct xfs_trans *tp, struct xfs_inode *ip, int whichfork, xfs_extnum_t *nextents, xfs_filblks_t *count) xfs_bmap_count_blocks() argument 299 xfs_getbmap_report_one( struct xfs_inode *ip, struct getbmapx *bmv, struct kgetbmap *out, int64_t bmv_end, struct xfs_bmbt_irec *got) xfs_getbmap_report_one() argument 348 xfs_getbmap_report_hole( struct xfs_inode *ip, struct getbmapx *bmv, struct kgetbmap *out, int64_t bmv_end, xfs_fileoff_t bno, xfs_fileoff_t end) xfs_getbmap_report_hole() argument 403 xfs_getbmap( struct xfs_inode *ip, struct getbmapx *bmv, struct kgetbmap *out) xfs_getbmap() argument 591 xfs_bmap_punch_delalloc_range( struct xfs_inode *ip, xfs_off_t start_byte, xfs_off_t end_byte) xfs_bmap_punch_delalloc_range() argument 643 xfs_can_free_eofblocks( struct xfs_inode *ip, bool force) xfs_can_free_eofblocks() argument 722 xfs_free_eofblocks( struct xfs_inode *ip) xfs_free_eofblocks() argument 776 xfs_alloc_file_space( struct xfs_inode *ip, xfs_off_t offset, xfs_off_t len) xfs_alloc_file_space() argument 909 xfs_unmap_extent( struct xfs_inode *ip, xfs_fileoff_t startoffset_fsb, xfs_filblks_t len_fsb, int *done) xfs_unmap_extent() argument 948 xfs_flush_unmap_range( struct xfs_inode *ip, xfs_off_t offset, xfs_off_t len) xfs_flush_unmap_range() argument 970 xfs_free_file_space( struct xfs_inode *ip, xfs_off_t offset, xfs_off_t len) xfs_free_file_space() argument 1041 xfs_prepare_shift( struct xfs_inode *ip, loff_t offset) xfs_prepare_shift() argument 1105 xfs_collapse_file_space( struct xfs_inode *ip, xfs_off_t offset, xfs_off_t len) xfs_collapse_file_space() argument 1174 xfs_insert_file_space( struct xfs_inode *ip, loff_t offset, loff_t len) xfs_insert_file_space() argument 1266 xfs_swap_extents_check_format( struct xfs_inode *ip, struct xfs_inode *tip) xfs_swap_extents_check_format() argument 1348 xfs_swap_extent_flush( struct xfs_inode *ip) xfs_swap_extent_flush() argument 1368 xfs_swap_extent_rmap( struct xfs_trans **tpp, struct xfs_inode *ip, struct xfs_inode *tip) xfs_swap_extent_rmap() argument 1498 xfs_swap_extent_forks( struct xfs_trans *tp, struct xfs_inode *ip, struct xfs_inode *tip, int *src_log_flags, int *target_log_flags) xfs_swap_extent_forks() argument 1602 xfs_swap_change_owner( struct xfs_trans **tpp, struct xfs_inode *ip, struct xfs_inode *tmpip) xfs_swap_change_owner() argument 1636 xfs_swap_extents( struct xfs_inode *ip, struct xfs_inode *tip, struct xfs_swapext *sxp) xfs_swap_extents() argument [all...] |
H A D | xfs_inode.h | 97 static inline bool xfs_inode_on_unlinked_list(const struct xfs_inode *ip) in xfs_inode_on_unlinked_list() argument 99 return ip->i_prev_unlinked != 0; in xfs_inode_on_unlinked_list() 102 static inline bool xfs_inode_has_attr_fork(struct xfs_inode *ip) in xfs_inode_has_attr_fork() argument 104 return ip->i_forkoff > 0; in xfs_inode_has_attr_fork() 109 struct xfs_inode *ip, in xfs_ifork_ptr() 114 return &ip->i_df; in xfs_ifork_ptr() 116 if (!xfs_inode_has_attr_fork(ip)) in xfs_ifork_ptr() 118 return &ip->i_af; in xfs_ifork_ptr() 120 return ip->i_cowfp; in xfs_ifork_ptr() 127 static inline unsigned int xfs_inode_fork_boff(struct xfs_inode *ip) in xfs_inode_fork_boff() argument 108 xfs_ifork_ptr( struct xfs_inode *ip, int whichfork) xfs_ifork_ptr() argument 132 xfs_inode_data_fork_size(struct xfs_inode *ip) xfs_inode_data_fork_size() argument 140 xfs_inode_attr_fork_size(struct xfs_inode *ip) xfs_inode_attr_fork_size() argument 148 xfs_inode_fork_size( struct xfs_inode *ip, int whichfork) xfs_inode_fork_size() argument 169 VFS_I(struct xfs_inode *ip) VFS_I() argument 179 XFS_ISIZE(struct xfs_inode *ip) XFS_ISIZE() argument 191 xfs_new_eof(struct xfs_inode *ip, xfs_fsize_t new_size) xfs_new_eof() argument 204 __xfs_iflags_set(xfs_inode_t *ip, unsigned short flags) __xfs_iflags_set() argument 210 xfs_iflags_set(xfs_inode_t *ip, unsigned short flags) xfs_iflags_set() argument 218 xfs_iflags_clear(xfs_inode_t *ip, unsigned short flags) xfs_iflags_clear() argument 226 __xfs_iflags_test(xfs_inode_t *ip, unsigned short flags) __xfs_iflags_test() argument 232 xfs_iflags_test(xfs_inode_t *ip, unsigned short flags) xfs_iflags_test() argument 242 xfs_iflags_test_and_clear(xfs_inode_t *ip, unsigned short flags) xfs_iflags_test_and_clear() argument 255 xfs_iflags_test_and_set(xfs_inode_t *ip, unsigned short flags) xfs_iflags_test_and_set() argument 276 xfs_is_reflink_inode(struct xfs_inode *ip) xfs_is_reflink_inode() argument 281 xfs_is_metadata_inode(struct xfs_inode *ip) xfs_is_metadata_inode() argument 293 xfs_inode_has_cow_data(struct xfs_inode *ip) xfs_inode_has_cow_data() argument 298 xfs_inode_has_bigtime(struct xfs_inode *ip) xfs_inode_has_bigtime() argument 303 xfs_inode_has_large_extent_counts(struct xfs_inode *ip) xfs_inode_has_large_extent_counts() argument 553 xfs_itruncate_extents( struct xfs_trans **tpp, struct xfs_inode *ip, int whichfork, xfs_fsize_t new_size) xfs_itruncate_extents() argument 572 xfs_update_stable_writes(struct xfs_inode *ip) xfs_update_stable_writes() argument 587 xfs_finish_inode_setup(struct xfs_inode *ip) xfs_finish_inode_setup() argument 594 xfs_setup_existing_inode(struct xfs_inode *ip) xfs_setup_existing_inode() argument 617 xfs_inode_unlinked_incomplete( struct xfs_inode *ip) xfs_inode_unlinked_incomplete() argument [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/net/forwarding/ |
H A D | router_mpath_nh_res.sh | 15 ip link set dev $h1 master vrf-h1 17 ip link set dev vrf-h1 up 18 ip link set dev $h1 up 20 ip address add 192.0.2.2/24 dev $h1 21 ip address add 2001:db8:1::2/64 dev $h1 23 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1 24 ip route add 2001:db8:2::/64 vrf vrf-h1 nexthop via 2001:db8:1::1 29 ip route del 2001:db8:2::/64 vrf vrf-h1 30 ip route del 198.51.100.0/24 vrf vrf-h1 32 ip addres [all...] |
H A D | router_mpath_nh.sh | 17 ip link set dev $h1 master vrf-h1 19 ip link set dev vrf-h1 up 20 ip link set dev $h1 up 22 ip address add 192.0.2.2/24 dev $h1 23 ip address add 2001:db8:1::2/64 dev $h1 25 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1 26 ip route add 2001:db8:2::/64 vrf vrf-h1 nexthop via 2001:db8:1::1 31 ip route del 2001:db8:2::/64 vrf vrf-h1 32 ip route del 198.51.100.0/24 vrf vrf-h1 34 ip addres [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | rtnetlink.sh | 49 ip link set dev $swp1 up 50 ip link set dev $swp2 up 57 ip link set dev $swp2 down 58 ip link set dev $swp1 down 67 ip link add name vrf-test type vrf table 10 68 ip link set dev $swp1 master vrf-test 70 ip -4 address add 192.0.2.1/24 dev vrf-test 72 ip -6 address add 2001:db8:1::1/64 dev vrf-test 77 ip link del dev vrf-test 87 ip add [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | rtnetlink.sh | 44 ip link set dev $swp1 up 45 ip link set dev $swp2 up 52 ip link set dev $swp2 down 53 ip link set dev $swp1 down 65 ip addr flush dev $swp1 66 ip addr flush dev $swp2 69 ip addr add dev $swp1 192.0.2.1/28 72 ip link set dev $swp1 addr 00:11:22:33:44:55 77 ip addr add dev $swp2 192.0.2.2/28 &>/dev/null 79 ip add [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/netfilter/ |
H A D | ipvs.sh | 56 ip -Version > /dev/null 2>&1 58 echo "SKIP: Could not run test without ip tool" 69 ip netns add ns0 70 ip netns add ns1 71 ip netns add ns2 73 ip link add veth01 netns ns0 type veth peer name veth10 netns ns1 74 ip link add veth02 netns ns0 type veth peer name veth20 netns ns2 75 ip link add veth12 netns ns1 type veth peer name veth21 netns ns2 77 ip netns exec ns0 ip lin [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/netfilter/ |
H A D | ipvs.sh | 56 ip -Version > /dev/null 2>&1 58 echo "SKIP: Could not run test without ip tool" 69 ip netns add ns0 70 ip netns add ns1 71 ip netns add ns2 73 ip link add veth01 netns ns0 type veth peer name veth10 netns ns1 74 ip link add veth02 netns ns0 type veth peer name veth20 netns ns2 75 ip link add veth12 netns ns1 type veth peer name veth21 netns ns2 77 ip netns exec ns0 ip lin [all...] |
/kernel/linux/linux-5.10/fs/xfs/ |
H A D | xfs_icache.c | 37 struct xfs_inode *ip; in xfs_inode_alloc() local 43 ip = kmem_cache_alloc(xfs_inode_zone, GFP_KERNEL | __GFP_NOFAIL); in xfs_inode_alloc() 45 if (inode_init_always(mp->m_super, VFS_I(ip))) { in xfs_inode_alloc() 46 kmem_cache_free(xfs_inode_zone, ip); in xfs_inode_alloc() 51 VFS_I(ip)->i_mode = 0; in xfs_inode_alloc() 52 VFS_I(ip)->i_state = 0; in xfs_inode_alloc() 55 ASSERT(atomic_read(&ip->i_pincount) == 0); in xfs_inode_alloc() 56 ASSERT(ip->i_ino == 0); in xfs_inode_alloc() 59 ip->i_ino = ino; in xfs_inode_alloc() 60 ip in xfs_inode_alloc() 82 struct xfs_inode *ip = XFS_I(inode); xfs_inode_free_callback() local 111 __xfs_inode_free( struct xfs_inode *ip) __xfs_inode_free() argument 123 xfs_inode_free( struct xfs_inode *ip) xfs_inode_free() argument 206 xfs_inode_set_reclaim_tag( struct xfs_inode *ip) xfs_inode_set_reclaim_tag() argument 238 xfs_inew_wait( struct xfs_inode *ip) xfs_inew_wait() argument 298 xfs_iget_check_free_state( struct xfs_inode *ip, int flags) xfs_iget_check_free_state() argument 482 struct xfs_inode *ip; xfs_iget_cache_miss() local 619 struct xfs_inode *ip; xfs_iget() local 705 struct xfs_inode *ip; xfs_icache_inode_is_allocated() local 731 xfs_inode_walk_ag_grab( struct xfs_inode *ip, int flags) xfs_inode_walk_ag_grab() argument 772 xfs_inode_walk_ag( struct xfs_perag *pag, int iter_flags, int (*execute)(struct xfs_inode *ip, void *args), void *args, int tag) xfs_inode_walk_ag() argument 818 struct xfs_inode *ip = batch[i]; xfs_inode_walk_ag() local 893 xfs_inode_walk( struct xfs_mount *mp, int iter_flags, int (*execute)(struct xfs_inode *ip, void *args), void *args, int tag) xfs_inode_walk() argument 1000 xfs_reclaim_inode_grab( struct xfs_inode *ip) xfs_reclaim_inode_grab() argument 1030 xfs_reclaim_inode( struct xfs_inode *ip, struct xfs_perag *pag) xfs_reclaim_inode() argument 1157 struct xfs_inode *ip = batch[i]; xfs_reclaim_inodes_ag() local 1256 xfs_inode_match_id( struct xfs_inode *ip, struct xfs_eofblocks *eofb) xfs_inode_match_id() argument 1280 xfs_inode_match_id_union( struct xfs_inode *ip, struct xfs_eofblocks *eofb) xfs_inode_match_id_union() argument 1305 xfs_inode_matches_eofb( struct xfs_inode *ip, struct xfs_eofblocks *eofb) xfs_inode_matches_eofb() argument 1348 xfs_inode_free_eofblocks( struct xfs_inode *ip, void *args) xfs_inode_free_eofblocks() argument 1407 __xfs_inode_free_quota_eofblocks( struct xfs_inode *ip, int (*execute)(struct xfs_mount *mp, struct xfs_eofblocks *eofb)) __xfs_inode_free_quota_eofblocks() argument 1447 xfs_inode_free_quota_eofblocks( struct xfs_inode *ip) xfs_inode_free_quota_eofblocks() argument 1469 __xfs_inode_set_blocks_tag( xfs_inode_t *ip, void (*execute)(struct xfs_mount *mp), void (*set_tp)(struct xfs_mount *mp, xfs_agnumber_t agno, int error, unsigned long caller_ip), int tag) __xfs_inode_set_blocks_tag() argument 1515 xfs_inode_set_eofblocks_tag( xfs_inode_t *ip) xfs_inode_set_eofblocks_tag() argument 1525 __xfs_inode_clear_blocks_tag( xfs_inode_t *ip, void (*clear_tp)(struct xfs_mount *mp, xfs_agnumber_t agno, int error, unsigned long caller_ip), int tag) __xfs_inode_clear_blocks_tag() argument 1558 xfs_inode_clear_eofblocks_tag( xfs_inode_t *ip) xfs_inode_clear_eofblocks_tag() argument 1572 xfs_prep_free_cowblocks( struct xfs_inode *ip) xfs_prep_free_cowblocks() argument 1611 xfs_inode_free_cowblocks( struct xfs_inode *ip, void *args) xfs_inode_free_cowblocks() argument 1651 xfs_inode_free_quota_cowblocks( struct xfs_inode *ip) xfs_inode_free_quota_cowblocks() argument 1658 xfs_inode_set_cowblocks_tag( xfs_inode_t *ip) xfs_inode_set_cowblocks_tag() argument 1668 xfs_inode_clear_cowblocks_tag( xfs_inode_t *ip) xfs_inode_clear_cowblocks_tag() argument [all...] |
H A D | xfs_bmap_util.c | 40 xfs_fsb_to_db(struct xfs_inode *ip, xfs_fsblock_t fsb) in xfs_fsb_to_db() argument 42 if (XFS_IS_REALTIME_INODE(ip)) in xfs_fsb_to_db() 43 return XFS_FSB_TO_BB(ip->i_mount, fsb); in xfs_fsb_to_db() 44 return XFS_FSB_TO_DADDR(ip->i_mount, fsb); in xfs_fsb_to_db() 56 struct xfs_inode *ip, in xfs_zero_extent() 60 struct xfs_mount *mp = ip->i_mount; in xfs_zero_extent() 61 struct xfs_buftarg *target = xfs_inode_buftarg(ip); in xfs_zero_extent() 62 xfs_daddr_t sector = xfs_fsb_to_db(ip, start_fsb); in xfs_zero_extent() 84 mp = ap->ip->i_mount; in xfs_bmap_rtalloc() 85 align = xfs_get_extsz_hint(ap->ip); in xfs_bmap_rtalloc() 55 xfs_zero_extent( struct xfs_inode *ip, xfs_fsblock_t start_fsb, xfs_off_t count_fsb) xfs_zero_extent() argument 207 xfs_bmap_count_blocks( struct xfs_trans *tp, struct xfs_inode *ip, int whichfork, xfs_extnum_t *nextents, xfs_filblks_t *count) xfs_bmap_count_blocks() argument 257 xfs_getbmap_report_one( struct xfs_inode *ip, struct getbmapx *bmv, struct kgetbmap *out, int64_t bmv_end, struct xfs_bmbt_irec *got) xfs_getbmap_report_one() argument 308 xfs_getbmap_report_hole( struct xfs_inode *ip, struct getbmapx *bmv, struct kgetbmap *out, int64_t bmv_end, xfs_fileoff_t bno, xfs_fileoff_t end) xfs_getbmap_report_hole() argument 363 xfs_getbmap( struct xfs_inode *ip, struct getbmapx *bmv, struct kgetbmap *out) xfs_getbmap() argument 550 xfs_bmap_punch_delalloc_range( struct xfs_inode *ip, xfs_fileoff_t start_fsb, xfs_fileoff_t length) xfs_bmap_punch_delalloc_range() argument 600 xfs_can_free_eofblocks(struct xfs_inode *ip, bool force) xfs_can_free_eofblocks() argument 636 xfs_free_eofblocks( struct xfs_inode *ip) xfs_free_eofblocks() argument 716 xfs_alloc_file_space( struct xfs_inode *ip, xfs_off_t offset, xfs_off_t len, int alloc_type) xfs_alloc_file_space() argument 861 xfs_unmap_extent( struct xfs_inode *ip, xfs_fileoff_t startoffset_fsb, xfs_filblks_t len_fsb, int *done) xfs_unmap_extent() argument 902 xfs_flush_unmap_range( struct xfs_inode *ip, xfs_off_t offset, xfs_off_t len) xfs_flush_unmap_range() argument 924 xfs_free_file_space( struct xfs_inode *ip, xfs_off_t offset, xfs_off_t len) xfs_free_file_space() argument 996 xfs_prepare_shift( struct xfs_inode *ip, loff_t offset) xfs_prepare_shift() argument 1060 xfs_collapse_file_space( struct xfs_inode *ip, xfs_off_t offset, xfs_off_t len) xfs_collapse_file_space() argument 1129 xfs_insert_file_space( struct xfs_inode *ip, loff_t offset, loff_t len) xfs_insert_file_space() argument 1214 xfs_swap_extents_check_format( struct xfs_inode *ip, struct xfs_inode *tip) xfs_swap_extents_check_format() argument 1296 xfs_swap_extent_flush( struct xfs_inode *ip) xfs_swap_extent_flush() argument 1316 xfs_swap_extent_rmap( struct xfs_trans **tpp, struct xfs_inode *ip, struct xfs_inode *tip) xfs_swap_extent_rmap() argument 1424 xfs_swap_extent_forks( struct xfs_trans *tp, struct xfs_inode *ip, struct xfs_inode *tip, int *src_log_flags, int *target_log_flags) xfs_swap_extent_forks() argument 1528 xfs_swap_change_owner( struct xfs_trans **tpp, struct xfs_inode *ip, struct xfs_inode *tmpip) xfs_swap_change_owner() argument 1562 xfs_swap_extents( struct xfs_inode *ip, struct xfs_inode *tip, struct xfs_swapext *sxp) xfs_swap_extents() argument [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
H A D | test_tunnel.sh | 56 ip netns add at_ns0 57 ip link add veth0 type veth peer name veth1 58 ip link set veth0 netns at_ns0 59 ip netns exec at_ns0 ip addr add 172.16.1.100/24 dev veth0 60 ip netns exec at_ns0 ip link set dev veth0 up 61 ip link set dev veth1 up mtu 1500 62 ip addr add dev veth1 172.16.1.200/24 68 ip netn [all...] |
H A D | test_lwt_seg6local.sh | 44 ip netns del ns1 2> /dev/null 45 ip netns del ns2 2> /dev/null 46 ip netns del ns3 2> /dev/null 47 ip netns del ns4 2> /dev/null 48 ip netns del ns5 2> /dev/null 49 ip netns del ns6 2> /dev/null 55 ip netns add ns1 56 ip netns add ns2 57 ip netns add ns3 58 ip netn [all...] |
/kernel/linux/linux-5.10/samples/bpf/ |
H A D | test_ipip.sh | 5 ip netns add at_ns0 6 ip netns add at_ns1 7 ip netns add at_ns2 8 ip link add veth0 type veth peer name veth0b 9 ip link add veth1 type veth peer name veth1b 10 ip link add veth2 type veth peer name veth2b 11 ip link set veth0b up 12 ip link set veth1b up 13 ip link set veth2b up 14 ip lin [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | test_lwt_seg6local.sh | 51 ip netns del ${NS1} 2> /dev/null 52 ip netns del ${NS2} 2> /dev/null 53 ip netns del ${NS3} 2> /dev/null 54 ip netns del ${NS4} 2> /dev/null 55 ip netns del ${NS5} 2> /dev/null 56 ip netns del ${NS6} 2> /dev/null 62 ip netns add ${NS1} 63 ip netns add ${NS2} 64 ip netns add ${NS3} 65 ip netn [all...] |
H A D | test_tunnel.sh | 58 ip netns add at_ns0 59 ip link add veth0 type veth peer name veth1 60 ip link set veth0 netns at_ns0 61 ip netns exec at_ns0 ip addr add 172.16.1.100/24 dev veth0 62 ip netns exec at_ns0 ip link set dev veth0 up 63 ip link set dev veth1 up mtu 1500 64 ip addr add dev veth1 172.16.1.200/24 75 ip netn [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/sgi/ |
H A D | ioc3-eth.c | 36 #include <linux/ip.h> 48 #include <net/ip.h> 109 static void ioc3_start(struct ioc3_private *ip); 110 static inline void ioc3_stop(struct ioc3_private *ip); 113 static void ioc3_free_rx_bufs(struct ioc3_private *ip); 114 static inline void ioc3_clean_tx_ring(struct ioc3_private *ip); 123 static inline int ioc3_alloc_skb(struct ioc3_private *ip, struct sk_buff **skb, in ioc3_alloc_skb() argument 139 d = dma_map_single(ip->dma_dev, new_skb->data, in ioc3_alloc_skb() 142 if (dma_mapping_error(ip->dma_dev, d)) { in ioc3_alloc_skb() 229 struct ioc3_private *ip in __ioc3_set_mac_address() local 243 struct ioc3_private *ip = netdev_priv(dev); ioc3_set_mac_address() local 260 struct ioc3_private *ip = netdev_priv(dev); ioc3_mdio_read() local 275 struct ioc3_private *ip = netdev_priv(dev); ioc3_mdio_write() local 290 struct ioc3_private *ip = netdev_priv(dev); ioc3_get_stats() local 367 struct ioc3_private *ip = netdev_priv(dev); ioc3_rx() local 447 struct ioc3_private *ip = netdev_priv(dev); ioc3_tx() local 494 struct ioc3_private *ip = netdev_priv(dev); ioc3_error() local 534 struct ioc3_private *ip = netdev_priv(dev_id); ioc3_interrupt() local 553 ioc3_setup_duplex(struct ioc3_private *ip) ioc3_setup_duplex() argument 573 struct ioc3_private *ip = from_timer(ip, t, ioc3_timer); ioc3_timer() local 587 ioc3_mii_init(struct ioc3_private *ip) ioc3_mii_init() argument 604 ioc3_mii_start(struct ioc3_private *ip) ioc3_mii_start() argument 610 ioc3_tx_unmap(struct ioc3_private *ip, int entry) ioc3_tx_unmap() argument 630 ioc3_clean_tx_ring(struct ioc3_private *ip) ioc3_clean_tx_ring() argument 648 ioc3_free_rx_bufs(struct ioc3_private *ip) ioc3_free_rx_bufs() argument 670 struct ioc3_private *ip = netdev_priv(dev); ioc3_alloc_rx_bufs() local 692 ioc3_ssram_disc(struct ioc3_private *ip) ioc3_ssram_disc() argument 718 struct ioc3_private *ip = netdev_priv(dev); ioc3_init() local 740 ioc3_start(struct ioc3_private *ip) ioc3_start() argument 772 ioc3_stop(struct ioc3_private *ip) ioc3_stop() argument 783 struct ioc3_private *ip = netdev_priv(dev); ioc3_open() local 802 struct ioc3_private *ip = netdev_priv(dev); ioc3_close() local 831 struct ioc3_private *ip; ioc3eth_probe() local 968 struct ioc3_private *ip = netdev_priv(dev); ioc3eth_remove() local 983 struct ioc3_private *ip = netdev_priv(dev); ioc3_start_xmit() local 1112 struct ioc3_private *ip = netdev_priv(dev); ioc3_timeout() local 1170 struct ioc3_private *ip = netdev_priv(dev); ioc3_get_link_ksettings() local 1182 struct ioc3_private *ip = netdev_priv(dev); ioc3_set_link_ksettings() local 1194 struct ioc3_private *ip = netdev_priv(dev); ioc3_nway_reset() local 1206 struct ioc3_private *ip = netdev_priv(dev); ioc3_get_link() local 1226 struct ioc3_private *ip = netdev_priv(dev); ioc3_ioctl() local 1238 struct ioc3_private *ip = netdev_priv(dev); ioc3_set_multicast_list() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/sgi/ |
H A D | ioc3-eth.c | 36 #include <linux/ip.h> 48 #include <net/ip.h> 109 static void ioc3_start(struct ioc3_private *ip); 110 static inline void ioc3_stop(struct ioc3_private *ip); 113 static void ioc3_free_rx_bufs(struct ioc3_private *ip); 114 static inline void ioc3_clean_tx_ring(struct ioc3_private *ip); 123 static inline int ioc3_alloc_skb(struct ioc3_private *ip, struct sk_buff **skb, in ioc3_alloc_skb() argument 139 d = dma_map_single(ip->dma_dev, new_skb->data, in ioc3_alloc_skb() 142 if (dma_mapping_error(ip->dma_dev, d)) { in ioc3_alloc_skb() 229 struct ioc3_private *ip in __ioc3_set_mac_address() local 243 struct ioc3_private *ip = netdev_priv(dev); ioc3_set_mac_address() local 260 struct ioc3_private *ip = netdev_priv(dev); ioc3_mdio_read() local 275 struct ioc3_private *ip = netdev_priv(dev); ioc3_mdio_write() local 290 struct ioc3_private *ip = netdev_priv(dev); ioc3_get_stats() local 367 struct ioc3_private *ip = netdev_priv(dev); ioc3_rx() local 447 struct ioc3_private *ip = netdev_priv(dev); ioc3_tx() local 494 struct ioc3_private *ip = netdev_priv(dev); ioc3_error() local 534 struct ioc3_private *ip = netdev_priv(dev_id); ioc3_interrupt() local 553 ioc3_setup_duplex(struct ioc3_private *ip) ioc3_setup_duplex() argument 573 struct ioc3_private *ip = from_timer(ip, t, ioc3_timer); ioc3_timer() local 587 ioc3_mii_init(struct ioc3_private *ip) ioc3_mii_init() argument 604 ioc3_mii_start(struct ioc3_private *ip) ioc3_mii_start() argument 610 ioc3_tx_unmap(struct ioc3_private *ip, int entry) ioc3_tx_unmap() argument 630 ioc3_clean_tx_ring(struct ioc3_private *ip) ioc3_clean_tx_ring() argument 648 ioc3_free_rx_bufs(struct ioc3_private *ip) ioc3_free_rx_bufs() argument 670 struct ioc3_private *ip = netdev_priv(dev); ioc3_alloc_rx_bufs() local 692 ioc3_ssram_disc(struct ioc3_private *ip) ioc3_ssram_disc() argument 718 struct ioc3_private *ip = netdev_priv(dev); ioc3_init() local 740 ioc3_start(struct ioc3_private *ip) ioc3_start() argument 772 ioc3_stop(struct ioc3_private *ip) ioc3_stop() argument 783 struct ioc3_private *ip = netdev_priv(dev); ioc3_open() local 802 struct ioc3_private *ip = netdev_priv(dev); ioc3_close() local 831 struct ioc3_private *ip; ioc3eth_probe() local 968 struct ioc3_private *ip = netdev_priv(dev); ioc3eth_remove() local 983 struct ioc3_private *ip = netdev_priv(dev); ioc3_start_xmit() local 1112 struct ioc3_private *ip = netdev_priv(dev); ioc3_timeout() local 1170 struct ioc3_private *ip = netdev_priv(dev); ioc3_get_link_ksettings() local 1182 struct ioc3_private *ip = netdev_priv(dev); ioc3_set_link_ksettings() local 1194 struct ioc3_private *ip = netdev_priv(dev); ioc3_nway_reset() local 1206 struct ioc3_private *ip = netdev_priv(dev); ioc3_get_link() local 1226 struct ioc3_private *ip = netdev_priv(dev); ioc3_ioctl() local 1238 struct ioc3_private *ip = netdev_priv(dev); ioc3_set_multicast_list() local [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/net/ |
H A D | amt.sh | 86 ip netns delete "${ns}" 2>/dev/null || true 94 ip netns add "${LISTENER}" || exit_cleanup 95 ip netns add "${GATEWAY}" || exit_cleanup "${LISTENER}" 96 ip netns add "${RELAY}" || exit_cleanup "${LISTENER}" "${GATEWAY}" 97 ip netns add "${SOURCE}" || exit_cleanup "${LISTENER}" "${GATEWAY}" \ 111 ip -netns "${ns}" link set dev lo up 114 ip link add l_gw type veth peer name gw_l 115 ip link add gw_relay type veth peer name relay_gw 116 ip link add relay_src type veth peer name src_relay 118 ip lin [all...] |
/kernel/linux/linux-6.6/lib/zstd/compress/ |
H A D | zstd_double_fast.c | 25 const BYTE* ip = base + ms->nextToUpdate; in ZSTD_fillDoubleHashTable() local 33 for (; ip + fastHashFillStep - 1 <= iend; ip += fastHashFillStep) { in ZSTD_fillDoubleHashTable() 34 U32 const curr = (U32)(ip - base); in ZSTD_fillDoubleHashTable() 37 size_t const smHash = ZSTD_hashPtr(ip + i, hBitsS, mls); in ZSTD_fillDoubleHashTable() 38 size_t const lgHash = ZSTD_hashPtr(ip + i, hBitsL, 8); in ZSTD_fillDoubleHashTable() 82 size_t hl0; /* the long hash at ip */ in ZSTD_compressBlock_doubleFast_noDict_generic() 85 U32 idxl0; /* the long match index for ip */ in ZSTD_compressBlock_doubleFast_noDict_generic() 88 const BYTE* matchl0; /* the long match for ip */ in ZSTD_compressBlock_doubleFast_noDict_generic() 89 const BYTE* matchs0; /* the short match for ip */ in ZSTD_compressBlock_doubleFast_noDict_generic() 92 const BYTE* ip = istart; /* the current position */ ZSTD_compressBlock_doubleFast_noDict_generic() local 269 const BYTE* ip = istart; ZSTD_compressBlock_doubleFast_dictMatchState_generic() local 541 const BYTE* ip = istart; ZSTD_compressBlock_doubleFast_extDict_generic() local [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/ |
H A D | router_mpath_nh.sh | 11 ip link set dev $h1 master vrf-h1 13 ip link set dev vrf-h1 up 14 ip link set dev $h1 up 16 ip address add 192.0.2.2/24 dev $h1 17 ip address add 2001:db8:1::2/64 dev $h1 19 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1 20 ip route add 2001:db8:2::/64 vrf vrf-h1 nexthop via 2001:db8:1::1 25 ip route del 2001:db8:2::/64 vrf vrf-h1 26 ip route del 198.51.100.0/24 vrf vrf-h1 28 ip addres [all...] |