Home
last modified time | relevance | path

Searched refs:if_flags (Results 1 – 29 of 29) sorted by relevance

/linux-4.4.14/fs/xfs/libxfs/
Dxfs_inode_fork.c281 ifp->if_flags &= ~XFS_IFEXTENTS; in xfs_iformat_local()
282 ifp->if_flags |= XFS_IFINLINE; in xfs_iformat_local()
352 ifp->if_flags |= XFS_IFEXTENTS; in xfs_iformat_extents()
410 ifp->if_flags &= ~XFS_IFEXTENTS; in xfs_iformat_btree()
411 ifp->if_flags |= XFS_IFBROOT; in xfs_iformat_btree()
444 ifp->if_flags |= XFS_IFEXTENTS; in xfs_iread_extents()
449 ifp->if_flags &= ~XFS_IFEXTENTS; in xfs_iread_extents()
553 ifp->if_flags &= ~XFS_IFBROOT; in xfs_iroot_realloc()
705 } else if ((ifp->if_flags & XFS_IFEXTENTS) && in xfs_idestroy_fork()
706 ((ifp->if_flags & XFS_IFEXTIREC) || in xfs_idestroy_fork()
[all …]
Dxfs_dir2_sf.c260 dp->i_df.if_flags &= ~XFS_IFEXTENTS; in xfs_dir2_block_to_sf()
261 dp->i_df.if_flags |= XFS_IFINLINE; in xfs_dir2_block_to_sf()
300 ASSERT(dp->i_df.if_flags & XFS_IFINLINE); in xfs_dir2_sf_addname()
663 dp->i_df.if_flags &= ~XFS_IFEXTENTS; /* just in case */ in xfs_dir2_sf_create()
666 dp->i_df.if_flags |= XFS_IFINLINE; in xfs_dir2_sf_create()
668 ASSERT(dp->i_df.if_flags & XFS_IFINLINE); in xfs_dir2_sf_create()
713 ASSERT(dp->i_df.if_flags & XFS_IFINLINE); in xfs_dir2_sf_lookup()
798 ASSERT(dp->i_df.if_flags & XFS_IFINLINE); in xfs_dir2_sf_removename()
883 ASSERT(dp->i_df.if_flags & XFS_IFINLINE); in xfs_dir2_sf_replace()
Dxfs_inode_fork.h61 unsigned char if_flags; /* per-fork flags */ member
Dxfs_bmap.c679 ASSERT(ifp->if_flags & XFS_IFEXTENTS); in xfs_bmap_btree_to_extents()
707 ASSERT((ifp->if_flags & XFS_IFBROOT) == 0); in xfs_bmap_btree_to_extents()
751 ifp->if_flags |= XFS_IFBROOT; in xfs_bmap_extents_to_btree()
879 ifp->if_flags &= ~XFS_IFINLINE; in xfs_bmap_local_to_extents_empty()
880 ifp->if_flags |= XFS_IFEXTENTS; in xfs_bmap_local_to_extents_empty()
921 ASSERT((ifp->if_flags & (XFS_IFINLINE|XFS_IFEXTENTS|XFS_IFEXTIREC)) == in xfs_bmap_local_to_extents()
1175 ip->i_afp->if_flags = XFS_IFEXTENTS; in xfs_bmap_add_attrfork()
1495 if (!(ifp->if_flags & XFS_IFEXTENTS) && in xfs_bmap_first_unused()
1548 if (!(ifp->if_flags & XFS_IFEXTENTS) && in xfs_bmap_last_before()
1578 if (!(ifp->if_flags & XFS_IFEXTENTS)) { in xfs_bmap_last_extent()
[all …]
Dxfs_attr_leaf.c510 ifp->if_flags &= ~XFS_IFEXTENTS; /* just in case */ in xfs_attr_shortform_create()
512 ifp->if_flags |= XFS_IFINLINE; in xfs_attr_shortform_create()
514 ASSERT(ifp->if_flags & XFS_IFINLINE); in xfs_attr_shortform_create()
544 ASSERT(ifp->if_flags & XFS_IFINLINE); in xfs_attr_shortform_add()
681 ASSERT(ifp->if_flags & XFS_IFINLINE); in xfs_attr_shortform_lookup()
708 ASSERT(args->dp->i_afp->if_flags == XFS_IFINLINE); in xfs_attr_shortform_getvalue()
Dxfs_attr.c478 ASSERT(dp->i_afp->if_flags & XFS_IFINLINE); in xfs_attr_remove()
Dxfs_dir2_block.c1081 ASSERT(ifp->if_flags & XFS_IFINLINE); in xfs_dir2_sf_to_block()
/linux-4.4.14/fs/xfs/
Dxfs_symlink.c153 if (ip->i_df.if_flags & XFS_IFINLINE) { in xfs_readlink()
313 ip->i_df.if_flags &= ~(XFS_IFEXTENTS | XFS_IFBROOT); in xfs_symlink()
314 ip->i_df.if_flags |= XFS_IFINLINE; in xfs_symlink()
450 ASSERT(ip->i_df.if_flags & XFS_IFEXTENTS); in xfs_inactive_symlink_rmt()
591 if (ip->i_df.if_flags & XFS_IFINLINE) { in xfs_inactive_symlink()
Dxfs_inode.c100 (ip->i_df.if_flags & XFS_IFEXTENTS) == 0) in xfs_ilock_data_map_shared()
113 (ip->i_afp->if_flags & XFS_IFEXTENTS) == 0) in xfs_ilock_attr_map_shared()
859 ip->i_df.if_flags = 0; in xfs_ialloc()
906 ip->i_df.if_flags = XFS_IFEXTENTS; in xfs_ialloc()
Dxfs_dir2_readdir.c73 ASSERT(dp->i_df.if_flags & XFS_IFINLINE); in xfs_dir2_sf_getdents()
Dxfs_iomap.c153 ASSERT(XFS_IFORK_PTR(ip, XFS_DATA_FORK)->if_flags & in xfs_iomap_write_direct()
Dxfs_ioctl.c921 if (ip->i_afp->if_flags & XFS_IFEXTENTS) in xfs_ioc_fsgetxattr()
929 if (ip->i_df.if_flags & XFS_IFEXTENTS) in xfs_ioc_fsgetxattr()
Dxfs_iops.c1277 if (!(ip->i_df.if_flags & XFS_IFINLINE)) in xfs_setup_inode()
Dxfs_qm.c1105 if (!(ifp->if_flags & XFS_IFEXTENTS)) { in xfs_qm_get_rtblks()
Dxfs_bmap_util.c840 if (!(ip->i_df.if_flags & XFS_IFEXTENTS)) in xfs_can_free_eofblocks()
Dxfs_aops.c310 (ip->i_df.if_flags & XFS_IFEXTENTS)); in xfs_map_blocks()
/linux-4.4.14/Documentation/networking/
Doperstates.txt30 ifinfomsg::if_flags & IFF_UP:
32 ifinfomsg::if_flags & IFF_RUNNING:
36 ifinfomsg::if_flags & IFF_LOWER_UP:
38 ifinfomsg::if_flags & IFF_DORMANT:
/linux-4.4.14/include/net/
Dif_inet6.h190 __u32 if_flags; member
/linux-4.4.14/net/ipv6/
Dndisc.c1151 if (in6_dev->if_flags & IF_RS_SENT) { in ndisc_router_discovery()
1156 in6_dev->if_flags |= IF_RA_RCVD; in ndisc_router_discovery()
1163 old_if_flags = in6_dev->if_flags; in ndisc_router_discovery()
1164 in6_dev->if_flags = (in6_dev->if_flags & ~(IF_RA_MANAGED | in ndisc_router_discovery()
1171 if (old_if_flags != in6_dev->if_flags) in ndisc_router_discovery()
Daddrconf.c419 ndev->if_flags |= IF_READY; in ipv6_add_dev()
3176 if (!(idev->if_flags & IF_READY)) in addrconf_notify()
3203 idev->if_flags |= IF_READY; in addrconf_notify()
3213 if (idev->if_flags & IF_READY) in addrconf_notify()
3216 idev->if_flags |= IF_READY; in addrconf_notify()
3376 idev->if_flags &= ~(IF_RS_SENT|IF_RA_RCVD|IF_READY); in addrconf_ifdown()
3450 if (idev->dead || !(idev->if_flags & IF_READY)) in addrconf_rs_timer()
3457 if (idev->if_flags & IF_RA_RCVD) in addrconf_rs_timer()
3532 if (!(idev->if_flags & IF_READY)) { in addrconf_dad_begin()
3620 if (idev->dead || !(idev->if_flags & IF_READY)) { in addrconf_dad_work()
[all …]
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/
Dfwsignal.c197 u16 if_flags; member
233 brcmu_maskset16(&(brcmf_skbcb(skb)->if_flags), \
237 brcmu_maskget16(brcmf_skbcb(skb)->if_flags, \
1844 skcb->if_flags, skcb->htod, rc); in brcmf_fws_commit_skb()
1910 skcb->if_flags = 0; in brcmf_fws_process_skb()
Dmsgbuf.c180 u8 if_flags; member
/linux-4.4.14/drivers/net/ethernet/emulex/benet/
Dbe_main.c1363 return (adapter->if_flags & BE_IF_FLAGS_ALL_PROMISCUOUS) == in be_in_all_promisc()
1372 if (adapter->if_flags & BE_IF_FLAGS_VLAN_PROMISCUOUS) in be_set_vlan_promisc()
1378 adapter->if_flags |= BE_IF_FLAGS_VLAN_PROMISCUOUS; in be_set_vlan_promisc()
1393 adapter->if_flags &= ~BE_IF_FLAGS_VLAN_PROMISCUOUS; in be_clear_vlan_promisc()
1428 } else if (adapter->if_flags & BE_IF_FLAGS_VLAN_PROMISCUOUS) { in be_vid_config()
1475 adapter->if_flags &= ~BE_IF_FLAGS_ALL_PROMISCUOUS; in be_clear_all_promisc()
1481 adapter->if_flags |= BE_IF_FLAGS_ALL_PROMISCUOUS; in be_set_all_promisc()
1488 if (adapter->if_flags & BE_IF_FLAGS_MCAST_PROMISCUOUS) in be_set_mc_promisc()
1493 adapter->if_flags |= BE_IF_FLAGS_MCAST_PROMISCUOUS; in be_set_mc_promisc()
1502 adapter->if_flags &= ~BE_IF_FLAGS_MCAST_PROMISCUOUS; in be_set_mc_list()
[all …]
Dbe.h542 u32 if_flags; /* Interface filtering flags */ member
Dbe_cmds.h1003 u32 if_flags; member
Dbe_cmds.c1957 req->if_flags = (value == ON) ? req->if_flags_mask : 0; in __be_cmd_rx_filter()
/linux-4.4.14/drivers/scsi/bnx2fc/
Dbnx2fc.h253 unsigned long if_flags; member
Dbnx2fc_fcoe.c1254 if (test_and_clear_bit(BNX2FC_CTLR_INIT_DONE, &interface->if_flags)) in bnx2fc_interface_release()
1397 set_bit(BNX2FC_CTLR_INIT_DONE, &interface->if_flags); in bnx2fc_interface_create()
/linux-4.4.14/net/core/
Ddev.c962 struct net_device *__dev_get_by_flags(struct net *net, unsigned short if_flags, in __dev_get_by_flags() argument
971 if (((dev->flags ^ if_flags) & mask) == 0) { in __dev_get_by_flags()