/include/linux/ |
D | capability.h | 24 __u32 cap[_KERNEL_CAPABILITY_U32S]; member 96 #define cap_raise(c, flag) ((c).cap[CAP_TO_INDEX(flag)] |= CAP_TO_MASK(flag)) 97 #define cap_lower(c, flag) ((c).cap[CAP_TO_INDEX(flag)] &= ~CAP_TO_MASK(flag)) 98 #define cap_raised(c, flag) ((c).cap[CAP_TO_INDEX(flag)] & CAP_TO_MASK(flag)) 104 c.cap[__capi] = a.cap[__capi] OP b.cap[__capi]; \ 112 c.cap[__capi] = OP a.cap[__capi]; \ 151 if (a.cap[__capi] != 0) in cap_isclear() 202 extern bool has_capability(struct task_struct *t, int cap); 204 struct user_namespace *ns, int cap); 205 extern bool has_capability_noaudit(struct task_struct *t, int cap); [all …]
|
D | mii.h | 304 static inline u16 mii_advertise_flowctrl(int cap) in mii_advertise_flowctrl() argument 308 if (cap & FLOW_CTRL_RX) in mii_advertise_flowctrl() 310 if (cap & FLOW_CTRL_TX) in mii_advertise_flowctrl() 325 u8 cap = 0; in mii_resolve_flowctrl_fdx() local 328 cap = FLOW_CTRL_TX | FLOW_CTRL_RX; in mii_resolve_flowctrl_fdx() 331 cap = FLOW_CTRL_RX; in mii_resolve_flowctrl_fdx() 333 cap = FLOW_CTRL_TX; in mii_resolve_flowctrl_fdx() 336 return cap; in mii_resolve_flowctrl_fdx()
|
D | nvme.h | 106 #define NVME_CAP_MQES(cap) ((cap) & 0xffff) argument 107 #define NVME_CAP_TIMEOUT(cap) (((cap) >> 24) & 0xff) argument 108 #define NVME_CAP_STRIDE(cap) (((cap) >> 32) & 0xf) argument 109 #define NVME_CAP_NSSRC(cap) (((cap) >> 36) & 0x1) argument 110 #define NVME_CAP_MPSMIN(cap) (((cap) >> 48) & 0xf) argument 111 #define NVME_CAP_MPSMAX(cap) (((cap) >> 52) & 0xf) argument
|
D | netlink.h | 178 struct user_namespace *ns, int cap); 180 struct user_namespace *ns, int cap); 181 bool netlink_capable(const struct sk_buff *skb, int cap); 182 bool netlink_net_capable(const struct sk_buff *skb, int cap);
|
D | lsm_audit.h | 68 int cap; member
|
D | pci.h | 249 struct pci_cap_saved_data cap; member 887 int pci_find_capability(struct pci_dev *dev, int cap); 888 int pci_find_next_capability(struct pci_dev *dev, u8 pos, int cap); 889 int pci_find_ext_capability(struct pci_dev *dev, int cap); 890 int pci_find_next_ext_capability(struct pci_dev *dev, int pos, int cap); 1083 struct pci_cap_saved_state *pci_find_saved_cap(struct pci_dev *dev, char cap); 1085 u16 cap); 1086 int pci_add_cap_save_buffer(struct pci_dev *dev, char cap, unsigned int size); 1088 u16 cap, unsigned int size); 1121 int pci_bus_find_capability(struct pci_bus *bus, unsigned int devfn, int cap); [all …]
|
D | security.h | 73 int cap, int audit); 205 int cap); 207 int cap); 450 struct user_namespace *ns, int cap) in security_capable() argument 452 return cap_capable(cred, ns, cap, SECURITY_CAP_AUDIT); in security_capable() 456 struct user_namespace *ns, int cap) { in security_capable_noaudit() argument 457 return cap_capable(cred, ns, cap, SECURITY_CAP_NOAUDIT); in security_capable_noaudit()
|
D | iommu.h | 216 extern bool iommu_capable(struct bus_type *bus, enum iommu_cap cap); 366 static inline bool iommu_capable(struct bus_type *bus, enum iommu_cap cap) in iommu_capable() argument
|
D | nfs_fs.h | 295 static inline int nfs_server_capable(struct inode *inode, int cap) in nfs_server_capable() argument 297 return NFS_SERVER(inode)->caps & cap; in nfs_server_capable()
|
/include/linux/mlx5/ |
D | device.h | 944 #define MLX5_CAP_GEN(mdev, cap) \ argument 945 MLX5_GET(cmd_hca_cap, mdev->hca_caps_cur[MLX5_CAP_GENERAL], cap) 947 #define MLX5_CAP_GEN_MAX(mdev, cap) \ argument 948 MLX5_GET(cmd_hca_cap, mdev->hca_caps_max[MLX5_CAP_GENERAL], cap) 950 #define MLX5_CAP_ETH(mdev, cap) \ argument 952 mdev->hca_caps_cur[MLX5_CAP_ETHERNET_OFFLOADS], cap) 954 #define MLX5_CAP_ETH_MAX(mdev, cap) \ argument 956 mdev->hca_caps_max[MLX5_CAP_ETHERNET_OFFLOADS], cap) 958 #define MLX5_CAP_ROCE(mdev, cap) \ argument 959 MLX5_GET(roce_cap, mdev->hca_caps_cur[MLX5_CAP_ROCE], cap) [all …]
|
/include/media/ |
D | v4l2-dv-timings.h | 54 const struct v4l2_dv_timings_cap *cap, 75 const struct v4l2_dv_timings_cap *cap, 98 const struct v4l2_dv_timings_cap *cap,
|
D | v4l2-subdev.h | 458 int (*g_sliced_vbi_cap)(struct v4l2_subdev *sd, struct v4l2_sliced_vbi_cap *cap); 674 struct v4l2_dv_timings_cap *cap);
|
D | v4l2-ioctl.h | 291 struct v4l2_capability *cap); 556 struct v4l2_dv_timings_cap *cap);
|
/include/sound/ |
D | hda_chmap.h | 30 struct hdac_cea_channel_speaker_allocation *cap, int channels); 32 struct hdac_cea_channel_speaker_allocation *cap,
|
D | designware_i2s.h | 43 unsigned int cap; member
|
D | seq_kernel.h | 99 int cap, int type, int midi_channels, int midi_voices, char *portname);
|
/include/scsi/ |
D | scsi_host.h | 873 static unsigned char cap[] = { 0, in scsi_host_dif_capable() local 878 if (target_type >= ARRAY_SIZE(cap)) in scsi_host_dif_capable() 881 return shost->prot_capabilities & cap[target_type] ? target_type : 0; in scsi_host_dif_capable() 887 static unsigned char cap[] = { SHOST_DIX_TYPE0_PROTECTION, in scsi_host_dix_capable() local 892 if (target_type >= ARRAY_SIZE(cap)) in scsi_host_dix_capable() 895 return shost->prot_capabilities & cap[target_type]; in scsi_host_dix_capable()
|
D | osd_protocol.h | 623 static inline void osd_sec_set_caps(struct osd_capability_head *cap, in osd_sec_set_caps() argument 631 put_unaligned_le16(bit_mask, &cap->permissions_bit_mask); in osd_sec_set_caps()
|
D | osd_initiator.h | 236 u8 options, const void *cap, const u8 *cap_key);
|
/include/uapi/linux/ |
D | virtio_pci.h | 130 struct virtio_pci_cap cap; member 162 struct virtio_pci_cap cap; member
|
D | if_arcnet.h | 124 struct arc_cap cap; member
|
D | telephony.h | 83 int cap; member
|
/include/rdma/ |
D | opa_port_info.h | 291 u8 cap; /* 3 res, 5 bits */ member
|
/include/net/ |
D | ieee802154_netdev.h | 321 u8 channel, u8 page, u8 cap);
|
/include/linux/qed/ |
D | qed_eth_if.h | 161 u8 (*getcap)(struct qed_dev *cdev, int capid, u8 *cap);
|