Home
last modified time | relevance | path

Searched refs:ib (Results 1 – 8 of 8) sorted by relevance

/fs/ksmbd/
Dksmbd_work.c101 static inline void __ksmbd_iov_pin(struct ksmbd_work *work, void *ib, in __ksmbd_iov_pin() argument
104 work->iov[++work->iov_idx].iov_base = ib; in __ksmbd_iov_pin()
109 static int __ksmbd_iov_pin_rsp(struct ksmbd_work *work, void *ib, int len, in __ksmbd_iov_pin_rsp() argument
145 __ksmbd_iov_pin(work, ib, len); in __ksmbd_iov_pin_rsp()
159 int ksmbd_iov_pin_rsp(struct ksmbd_work *work, void *ib, int len) in ksmbd_iov_pin_rsp() argument
161 return __ksmbd_iov_pin_rsp(work, ib, len, NULL, 0); in ksmbd_iov_pin_rsp()
164 int ksmbd_iov_pin_rsp_read(struct ksmbd_work *work, void *ib, int len, in ksmbd_iov_pin_rsp_read() argument
167 return __ksmbd_iov_pin_rsp(work, ib, len, aux_buf, aux_size); in ksmbd_iov_pin_rsp_read()
Dksmbd_work.h131 int ksmbd_iov_pin_rsp_read(struct ksmbd_work *work, void *ib, int len,
133 int ksmbd_iov_pin_rsp(struct ksmbd_work *work, void *ib, int len);
/fs/ntfs3/
Dindex.c633 static bool index_buf_check(const struct INDEX_BUFFER *ib, u32 bytes, in index_buf_check() argument
636 const struct NTFS_RECORD_HEADER *rhdr = &ib->rhdr; in index_buf_check()
644 || (vbn && *vbn != le64_to_cpu(ib->vbn)) || (fo % sizeof(short)) || in index_buf_check()
651 return index_hdr_check(&ib->ihdr, in index_buf_check()
1025 struct INDEX_BUFFER *ib = node->index; in indx_write() local
1027 return ntfs_write_bh(ni->mi.sbi, &ib->rhdr, &node->nb, sync); in indx_write()
1041 struct INDEX_BUFFER *ib; in indx_read() local
1057 ib = in->index; in indx_read()
1058 if (!ib) { in indx_read()
1059 ib = kmalloc(bytes, GFP_NOFS); in indx_read()
[all …]
Dfslog.c2624 static inline bool check_index_buffer(const struct INDEX_BUFFER *ib, u32 bytes) in check_index_buffer() argument
2627 const struct NTFS_RECORD_HEADER *r = &ib->rhdr; in check_index_buffer()
2640 return check_index_header(&ib->ihdr, in check_index_buffer()
3027 struct INDEX_BUFFER *ib = NULL; in do_action() local
3496 ib = Add2Ptr(buffer_le, roff); in do_action()
3497 hdr = &ib->ihdr; in do_action()
3500 e1 = Add2Ptr(ib, aoff); in do_action()
3502 if (is_baad(&ib->rhdr)) in do_action()
3504 if (!check_lsn(&ib->rhdr, rlsn)) in do_action()
3509 if (!check_index_buffer(ib, bytes) || in do_action()
[all …]
Dntfs.h758 static inline bool ib_is_empty(const struct INDEX_BUFFER *ib) in ib_is_empty() argument
760 const struct NTFS_DE *first = hdr_first_de(&ib->ihdr); in ib_is_empty()
765 static inline bool ib_is_leaf(const struct INDEX_BUFFER *ib) in ib_is_leaf() argument
767 return !(ib->ihdr.flags & 1); in ib_is_leaf()
Dbitmap.c239 size_t ib, end_in = bit + len; in wnd_add_free_ext() local
293 ib = wnd->zone_bit == wnd->zone_end || in wnd_add_free_ext()
298 while (bit > ib && wnd_is_free_hlp(wnd, bit - 1, 1)) { in wnd_add_free_ext()
304 ib = wnd->zone_bit == wnd->zone_end || in wnd_add_free_ext()
309 while (end_in < ib && wnd_is_free_hlp(wnd, end_in, 1)) { in wnd_add_free_ext()
/fs/iomap/
Dbuffered-io.c1128 struct iomap_ioend *ib = container_of(b, struct iomap_ioend, io_list); in iomap_ioend_compare() local
1130 if (ia->io_offset < ib->io_offset) in iomap_ioend_compare()
1132 if (ia->io_offset > ib->io_offset) in iomap_ioend_compare()
/fs/cifs/
Dsmb2ops.c632 static int compare_iface(const void *ia, const void *ib) in compare_iface() argument
635 const struct cifs_server_iface *b = (struct cifs_server_iface *)ib; in compare_iface()