/include/linux/ |
D | capability.h | 25 __u32 cap[_KERNEL_CAPABILITY_U32S]; member 98 #define cap_raise(c, flag) ((c).cap[CAP_TO_INDEX(flag)] |= CAP_TO_MASK(flag)) 99 #define cap_lower(c, flag) ((c).cap[CAP_TO_INDEX(flag)] &= ~CAP_TO_MASK(flag)) 100 #define cap_raised(c, flag) ((c).cap[CAP_TO_INDEX(flag)] & CAP_TO_MASK(flag)) 106 c.cap[__capi] = a.cap[__capi] OP b.cap[__capi]; \ 114 c.cap[__capi] = OP a.cap[__capi]; \ 153 if (a.cap[__capi] != 0) in cap_isclear() 204 extern bool has_capability(struct task_struct *t, int cap); 206 struct user_namespace *ns, int cap); 207 extern bool has_capability_noaudit(struct task_struct *t, int cap); [all …]
|
D | mii.h | 492 static inline u16 mii_advertise_flowctrl(int cap) in mii_advertise_flowctrl() argument 496 if (cap & FLOW_CTRL_RX) in mii_advertise_flowctrl() 498 if (cap & FLOW_CTRL_TX) in mii_advertise_flowctrl() 513 u8 cap = 0; in mii_resolve_flowctrl_fdx() local 516 cap = FLOW_CTRL_TX | FLOW_CTRL_RX; in mii_resolve_flowctrl_fdx() 519 cap = FLOW_CTRL_RX; in mii_resolve_flowctrl_fdx() 521 cap = FLOW_CTRL_TX; in mii_resolve_flowctrl_fdx() 524 return cap; in mii_resolve_flowctrl_fdx()
|
D | netlink.h | 246 struct user_namespace *ns, int cap); 248 struct user_namespace *ns, int cap); 249 bool netlink_capable(const struct sk_buff *skb, int cap); 250 bool netlink_net_capable(const struct sk_buff *skb, int cap);
|
D | nvme.h | 130 #define NVME_CAP_MQES(cap) ((cap) & 0xffff) argument 131 #define NVME_CAP_TIMEOUT(cap) (((cap) >> 24) & 0xff) argument 132 #define NVME_CAP_STRIDE(cap) (((cap) >> 32) & 0xf) argument 133 #define NVME_CAP_NSSRC(cap) (((cap) >> 36) & 0x1) argument 134 #define NVME_CAP_MPSMIN(cap) (((cap) >> 48) & 0xf) argument 135 #define NVME_CAP_MPSMAX(cap) (((cap) >> 52) & 0xf) argument
|
D | lsm_audit.h | 82 int cap; member
|
D | pci.h | 283 struct pci_cap_saved_data cap; member 1061 int pci_find_capability(struct pci_dev *dev, int cap); 1062 int pci_find_next_capability(struct pci_dev *dev, u8 pos, int cap); 1063 int pci_find_ext_capability(struct pci_dev *dev, int cap); 1064 int pci_find_next_ext_capability(struct pci_dev *dev, int pos, int cap); 1246 struct pci_cap_saved_state *pci_find_saved_cap(struct pci_dev *dev, char cap); 1248 u16 cap); 1249 int pci_add_cap_save_buffer(struct pci_dev *dev, char cap, unsigned int size); 1251 u16 cap, unsigned int size); 1273 int pci_bus_find_capability(struct pci_bus *bus, unsigned int devfn, int cap); [all …]
|
D | vfio.h | 145 struct vfio_info_cap_header *cap,
|
D | nfs_fs.h | 332 static inline int nfs_server_capable(struct inode *inode, int cap) in nfs_server_capable() argument 334 return NFS_SERVER(inode)->caps & cap; in nfs_server_capable()
|
/include/linux/mlx5/ |
D | device.h | 1138 #define MLX5_CAP_GEN(mdev, cap) \ argument 1139 MLX5_GET(cmd_hca_cap, mdev->caps.hca_cur[MLX5_CAP_GENERAL], cap) 1141 #define MLX5_CAP_GEN_64(mdev, cap) \ argument 1142 MLX5_GET64(cmd_hca_cap, mdev->caps.hca_cur[MLX5_CAP_GENERAL], cap) 1144 #define MLX5_CAP_GEN_MAX(mdev, cap) \ argument 1145 MLX5_GET(cmd_hca_cap, mdev->caps.hca_max[MLX5_CAP_GENERAL], cap) 1147 #define MLX5_CAP_ETH(mdev, cap) \ argument 1149 mdev->caps.hca_cur[MLX5_CAP_ETHERNET_OFFLOADS], cap) 1151 #define MLX5_CAP_ETH_MAX(mdev, cap) \ argument 1153 mdev->caps.hca_max[MLX5_CAP_ETHERNET_OFFLOADS], cap) [all …]
|
/include/linux/sched/ |
D | cpufreq.h | 28 unsigned long freq, unsigned long cap) in map_util_freq() argument 30 return (freq + (freq >> 2)) * util / cap; in map_util_freq()
|
/include/media/ |
D | v4l2-dv-timings.h | 52 const struct v4l2_dv_timings_cap *cap, 73 const struct v4l2_dv_timings_cap *cap, 96 const struct v4l2_dv_timings_cap *cap,
|
D | v4l2-ioctl.h | 301 struct v4l2_capability *cap); 574 struct v4l2_dv_timings_cap *cap);
|
D | v4l2-subdev.h | 485 int (*g_sliced_vbi_cap)(struct v4l2_subdev *sd, struct v4l2_sliced_vbi_cap *cap); 701 struct v4l2_dv_timings_cap *cap);
|
/include/scsi/ |
D | scsi_host.h | 835 static unsigned char cap[] = { 0, in scsi_host_dif_capable() local 840 if (target_type >= ARRAY_SIZE(cap)) in scsi_host_dif_capable() 843 return shost->prot_capabilities & cap[target_type] ? target_type : 0; in scsi_host_dif_capable() 849 static unsigned char cap[] = { SHOST_DIX_TYPE0_PROTECTION, in scsi_host_dix_capable() local 854 if (target_type >= ARRAY_SIZE(cap)) in scsi_host_dix_capable() 857 return shost->prot_capabilities & cap[target_type]; in scsi_host_dix_capable()
|
/include/sound/ |
D | hda_chmap.h | 31 struct hdac_cea_channel_speaker_allocation *cap, int channels); 33 struct hdac_cea_channel_speaker_allocation *cap,
|
D | designware_i2s.h | 29 unsigned int cap; member
|
D | seq_kernel.h | 85 int cap, int type, int midi_channels, int midi_voices, char *portname);
|
/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 | 125 struct arc_cap cap; member
|
/include/trace/hooks/ |
D | sched.h | 75 unsigned long cap, unsigned long *next_freq), 76 TP_ARGS(util, freq, cap, next_freq));
|
/include/linux/platform_data/ |
D | ti-sysc.h | 136 const struct sysc_capabilities *cap; member
|
/include/linux/usb/ |
D | typec.h | 224 const struct typec_capability *cap);
|
/include/rdma/ |
D | opa_port_info.h | 294 u8 cap; /* 3 res, 5 bits */ member
|
/include/clocksource/ |
D | timer-ti-dm.h | 122 struct omap_dm_timer *omap_dm_timer_request_by_cap(u32 cap);
|
/include/net/ |
D | ieee802154_netdev.h | 356 u8 channel, u8 page, u8 cap);
|