/linux-master/fs/smb/client/ |
H A D | smb2misc.c | 314 smb2_get_data_area_len(int *off, int *len, struct smb2_hdr *shdr) argument 319 *off = 0; 335 *off = le16_to_cpu( 341 *off = le16_to_cpu( 347 *off = le32_to_cpu( 353 *off = le16_to_cpu( 360 *off = ((struct smb2_read_rsp *)shdr)->DataOffset; 364 *off = le16_to_cpu( 370 *off = le32_to_cpu( 376 *off [all...] |
/linux-master/drivers/platform/x86/intel/ |
H A D | sdsi.c | 402 struct bin_attribute *attr, char *buf, loff_t off, 408 if (off) 416 struct bin_attribute *attr, char *buf, loff_t off, 422 if (off) 431 char *buf, loff_t off, size_t count) 437 if (off) 473 struct bin_attribute *attr, char *buf, loff_t off, 479 return certificate_read(SDSI_CMD_READ_STATE, 0, priv, buf, off, count); 485 struct bin_attribute *attr, char *buf, loff_t off, 491 return certificate_read(SDSI_CMD_READ_METER, 0, priv, buf, off, coun 401 provision_akc_write(struct file *filp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t off, size_t count) argument 415 provision_cap_write(struct file *filp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t off, size_t count) argument 430 certificate_read(u64 command, u64 control_flags, struct sdsi_priv *priv, char *buf, loff_t off, size_t count) argument 472 state_certificate_read(struct file *filp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t off, size_t count) argument 484 meter_certificate_read(struct file *filp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t off, size_t count) argument 496 meter_current_read(struct file *filp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t off, size_t count) argument 508 registers_read(struct file *filp, struct kobject *kobj, struct bin_attribute *attr, char *buf, loff_t off, size_t count) argument [all...] |
/linux-master/fs/ext4/ |
H A D | mballoc-test.c | 608 uint32_t order, off; local 620 off = mb_find_next_zero_bit(bb, max, 0); 621 grp->bb_first_free = off; 622 while (off < max) { 626 if (!(off & 1) && !mb_test_bit(off + 1, bb)) { 629 mb_clear_bit(off >> 1, bb_h); 632 off++; 635 off = mb_find_next_zero_bit(bb, max, off [all...] |
/linux-master/drivers/net/ethernet/netronome/nfp/nfpcore/ |
H A D | nfp_nffw.c | 238 * @off: Pointer to the CPP Address of the MIP 242 int nfp_nffw_info_mip_first(struct nfp_nffw_info *state, u32 *cpp_id, u64 *off) argument 251 *off = nffw_fwinfo_mip_offset_get(fwinfo); 256 *off &= ~(NFP_MU_ADDR_ACCESS_TYPE_MASK << locality_off); 257 *off |= NFP_MU_ADDR_ACCESS_TYPE_DIRECT << locality_off;
|
/linux-master/drivers/scsi/qedf/ |
H A D | qedf_attr.c | 107 struct bin_attribute *ba, char *buf, loff_t off, 116 ret = memory_read_from_buffer(buf, count, &off, 127 struct bin_attribute *ba, char *buf, loff_t off, 135 if (off != 0) 106 qedf_sysfs_read_grcdump(struct file *filep, struct kobject *kobj, struct bin_attribute *ba, char *buf, loff_t off, size_t count) argument 126 qedf_sysfs_write_grcdump(struct file *filep, struct kobject *kobj, struct bin_attribute *ba, char *buf, loff_t off, size_t count) argument
|
/linux-master/drivers/base/ |
H A D | topology.c | 27 loff_t off, size_t count) \ 32 off, count); \ 37 loff_t off, size_t count) \ 42 off, count); \
|
/linux-master/drivers/iommu/arm/arm-smmu/ |
H A D | arm-smmu-impl.c | 151 static u64 mrvl_mmu500_readq(struct arm_smmu_device *smmu, int page, int off) argument 157 return hi_lo_readq_relaxed(arm_smmu_page(smmu, page) + off); 160 static void mrvl_mmu500_writeq(struct arm_smmu_device *smmu, int page, int off, argument 167 hi_lo_writeq_relaxed(val, arm_smmu_page(smmu, page) + off);
|
/linux-master/drivers/w1/slaves/ |
H A D | w1_ds2406.c | 28 char *buf, loff_t off, size_t count) 36 if (off != 0) 65 char *buf, loff_t off, size_t count) 73 if (count != 1 || off != 0) 25 w1_f12_read_state( struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) argument 62 w1_f12_write_output( struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) argument
|
/linux-master/arch/xtensa/include/asm/ |
H A D | cmpxchg.h | 177 int off = (unsigned long)ptr % sizeof(u32); local 178 volatile u32 *p = ptr - off; 180 int bitoff = (sizeof(u32) - size - off) * BITS_PER_BYTE; 182 int bitoff = off * BITS_PER_BYTE;
|
/linux-master/include/uapi/linux/ |
H A D | mman.h | 46 __u64 off; member in struct:cachestat_range
|
/linux-master/drivers/misc/eeprom/ |
H A D | max6875.c | 108 char *buf, loff_t off, size_t count) 115 max_slice = (off + count - 1) >> SLICE_BITS; 116 for (slice = (off >> SLICE_BITS); slice <= max_slice; slice++) 119 memcpy(buf, &data->data[off], count); 106 max6875_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) argument
|
/linux-master/drivers/firmware/xilinx/ |
H A D | zynqmp-debug.c | 137 * @off: Offset within the file 148 loff_t *off) 162 if (*off != 0 || len <= 1 || len > PAGE_SIZE - 1) 199 * @off: Offset within the file 205 size_t len, loff_t *off) 207 return simple_read_from_buffer(ptr, len, off, debugfs_buf, 146 zynqmp_pm_debugfs_api_write(struct file *file, const char __user *ptr, size_t len, loff_t *off) argument 204 zynqmp_pm_debugfs_api_read(struct file *file, char __user *ptr, size_t len, loff_t *off) argument
|
/linux-master/arch/arm/mach-rockchip/ |
H A D | sleep.S | 20 setmode PSR_I_BIT | PSR_F_BIT | SVC_MODE, r1 @ set svc, irqs off
|
/linux-master/tools/include/uapi/linux/ |
H A D | mman.h | 46 __u64 off; member in struct:cachestat_range
|
/linux-master/include/uapi/linux/tc_act/ |
H A D | tc_pedit.h | 55 __u32 off; /*offset */ member in struct:tc_pedit_key
|
/linux-master/drivers/net/ethernet/broadcom/asp2/ |
H A D | bcmasp.h | 106 #define ASP_RX_FILTER_NET_PAT(sel, block, off) \ 107 (((sel) * 0xa04) + ((block) * 0x200) + (off) + 0x600) 108 #define ASP_RX_FILTER_NET_MASK(sel, block, off) \ 109 (((sel) * 0xa04) + ((block) * 0x200) + (off) + 0x700) 458 static inline u32 name##_rl(struct bcmasp_intf *intf, u32 off) \ 460 u32 reg = readl_relaxed(intf->m + off); \ 463 static inline void name##_wl(struct bcmasp_intf *intf, u32 val, u32 off)\ 465 writel_relaxed(val, intf->m + off); \ 483 static inline u64 name##_rq(struct bcmasp_intf *intf, u32 off) \ 485 u64 reg = readq_relaxed(intf->m + off); \ [all...] |
/linux-master/net/core/ |
H A D | datagram.c | 169 int *off, int *err, 176 if (unlikely(flags & MSG_PEEK && *off >= 0)) { 178 _off = *off; 200 *off = _off; 211 * @off: an offset in bytes to peek skb from. Returns an offset 243 unsigned int flags, int *off, int *err, 264 skb = __skb_try_recv_from_queue(sk, queue, flags, off, &error, 288 unsigned int flags, int *off, int *err) 296 skb = __skb_try_recv_datagram(sk, sk_queue, flags, off, err, 314 int off local 166 __skb_try_recv_from_queue(struct sock *sk, struct sk_buff_head *queue, unsigned int flags, int *off, int *err, struct sk_buff **last) argument 241 __skb_try_recv_datagram(struct sock *sk, struct sk_buff_head *queue, unsigned int flags, int *off, int *err, struct sk_buff **last) argument 286 __skb_recv_datagram(struct sock *sk, struct sk_buff_head *sk_queue, unsigned int flags, int *off, int *err) argument 743 size_t off; member in struct:csum_state [all...] |
/linux-master/io_uring/ |
H A D | timeout.c | 18 u32 off; member in struct:io_timeout 43 return !timeout->off || data->flags & IORING_TIMEOUT_MULTISHOT; 60 if (!timeout->off || (timeout->repeats && --timeout->repeats)) 410 timeout->off = 0; /* noseq */ 495 u32 off = READ_ONCE(sqe->off); local 499 if (off && is_timeout_link) 514 timeout->off = off; 515 if (unlikely(off 572 u32 tail, off = timeout->off; local [all...] |
/linux-master/fs/squashfs/ |
H A D | namei.c | 194 unsigned int blk, off, ino_num; local 197 off = le16_to_cpu(dire->offset); 200 ino = SQUASHFS_MKINODE(blk, off); 204 blk, off, ino_num);
|
/linux-master/arch/arm64/kvm/ |
H A D | guest.c | 65 static bool core_reg_offset_is_vreg(u64 off) argument 67 return off >= KVM_REG_ARM_CORE_REG(fp_regs.vregs) && 68 off < KVM_REG_ARM_CORE_REG(fp_regs.fpsr); 76 static int core_reg_size_from_offset(const struct kvm_vcpu *vcpu, u64 off) argument 80 switch (off) { 107 if (!IS_ALIGNED(off, size / sizeof(__u32))) 115 if (vcpu_has_sve(vcpu) && core_reg_offset_is_vreg(off)) 123 u64 off = core_reg_offset_from_id(reg->id); local 124 int size = core_reg_size_from_offset(vcpu, off); 132 switch (off) { 197 u32 off; local 221 u64 off; local [all...] |
/linux-master/tools/testing/selftests/net/ |
H A D | tap.c | 400 size_t off; local 404 off = build_test_packet_valid_udp_gso(pkt, 1021); 405 ret = write(self->fd, pkt, off); 406 ASSERT_EQ(ret, off); 412 size_t off; local 416 off = build_test_packet_valid_udp_csum(pkt, 1024); 417 ret = write(self->fd, pkt, off); 418 ASSERT_EQ(ret, off); 424 size_t off; local 428 off [all...] |
/linux-master/drivers/staging/media/av7110/ |
H A D | av7110_ipack.c | 47 int off; local 62 off = 9 + p->buf[8]; 63 streamid = p->buf[off]; 65 ai.off = 0; 66 ac3_off = ((p->buf[off + 2] << 8)| 67 p->buf[off + 3]); 69 f = dvb_filter_get_ac3info(p->buf + off + 3 + ac3_off, 72 nframes = (p->count - off - 3 - ac3_off) / 74 p->buf[off + 2] = (ac3_off >> 8) & 0xff; 75 p->buf[off [all...] |
/linux-master/drivers/net/wireless/ath/ath10k/ |
H A D | htt.c | 168 static void ath10k_rx_desc_wcn3990_get_offsets(struct htt_rx_ring_rx_desc_offsets *off) argument 171 off->mac80211_hdr_offset = __cpu_to_le16(desc_offset(rx_hdr_status)); 172 off->msdu_payload_offset = __cpu_to_le16(desc_offset(msdu_payload)); 173 off->ppdu_start_offset = __cpu_to_le16(desc_offset(ppdu_start)); 174 off->ppdu_end_offset = __cpu_to_le16(desc_offset(ppdu_end)); 175 off->mpdu_start_offset = __cpu_to_le16(desc_offset(mpdu_start)); 176 off->mpdu_end_offset = __cpu_to_le16(desc_offset(mpdu_end)); 177 off->msdu_start_offset = __cpu_to_le16(desc_offset(msdu_start)); 178 off->msdu_end_offset = __cpu_to_le16(desc_offset(msdu_end)); 179 off [all...] |
/linux-master/arch/sparc/net/ |
H A D | bpf_jit_comp_64.c | 91 static u32 WDISP10(u32 off) argument 93 u32 ret = ((off >> 2) & 0xff) << 5; 95 ret |= ((off >> (2 + 8)) & 0x03) << 19; 248 unsigned int off; local 250 off = (void *)func - here; 251 ctx->image[ctx->idx] = CALL | ((off >> 2) & 0x3fffffff); 619 unsigned int off = to_idx - from_idx; local 622 emit(br_opc | WDISP19(off << 2), ctx); 624 emit(br_opc | WDISP22(off << 2), ctx); 630 unsigned int off local 638 unsigned int off = to_idx - from_idx; local 817 u32 off = BPF_TAILCALL_CNT_SP_OFF; local 855 u32 off; local 901 const s16 off = insn->off; local [all...] |
/linux-master/drivers/xen/xenfs/ |
H A D | super.c | 32 size_t size, loff_t *off) 39 return simple_read_from_buffer(buf, size, off, tmp, strlen(tmp)); 31 capabilities_read(struct file *file, char __user *buf, size_t size, loff_t *off) argument
|